Add Exclude coverage check which can't be covered by this module 90/191390/1 tizen_line_coverage
authorSeungbae Shin <seungbae.shin@samsung.com>
Tue, 16 Oct 2018 12:09:28 +0000 (21:09 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Tue, 16 Oct 2018 12:09:28 +0000 (21:09 +0900)
As sound_manager errors can't be covered by tone-player testcase itself, exclude from coverage scope

Change-Id: If7c9cd02b6ae626db277e020e87670d1814acded

src/tone_player.c

index 17b7ab7..63844f6 100755 (executable)
@@ -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)