From: Seungbae Shin Date: Tue, 16 Oct 2018 12:09:28 +0000 (+0900) Subject: Add Exclude coverage check which can't be covered by this module X-Git-Tag: accepted/tizen/5.5/unified/20191031.031838~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F90%2F191390%2F1;p=platform%2Fcore%2Fapi%2Ftone-player.git Add Exclude coverage check which can't be covered by this module As sound_manager errors can't be covered by tone-player testcase itself, exclude from coverage scope Change-Id: If7c9cd02b6ae626db277e020e87670d1814acded --- diff --git a/src/tone_player.c b/src/tone_player.c index 17b7ab7..63844f6 100755 --- a/src/tone_player.c +++ b/src/tone_player.c @@ -72,11 +72,11 @@ int tone_player_start_new(tone_type_e tone, sound_stream_info_h stream_info, int ret = sound_manager_get_type_from_stream_information(stream_info, &stream_type); if (ret) - return __convert_tone_player_error_code(__func__, ret); + return __convert_tone_player_error_code(__func__, ret); //LCOV_EXCL_LINE ret = sound_manager_get_index_from_stream_information(stream_info, &stream_id); if (ret) - return __convert_tone_player_error_code(__func__, ret); + return __convert_tone_player_error_code(__func__, ret); //LCOV_EXCL_LINE ret = mm_sound_play_tone_with_stream_info(tone, stream_type, stream_id, vol, duration_ms, &player); if (ret == 0 && id != NULL)