From: Seungbae Shin Date: Tue, 16 Oct 2018 11:57:29 +0000 (+0900) Subject: Add Exclude coverage check which can't be covered by this module X-Git-Tag: submit/tizen/20190709.022805^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_line_coverage;p=platform%2Fcore%2Fapi%2Fwav-player.git Add Exclude coverage check which can't be covered by this module As following errors can't be covered by wav-player testcase itself, exclude from coverage scope - sound_manager errors - malloc error Change-Id: I899dce266662a48182fb6f6e984ced85bdac0b5d --- diff --git a/src/wav_player_private.c b/src/wav_player_private.c index ee918db..904bcf5 100755 --- a/src/wav_player_private.c +++ b/src/wav_player_private.c @@ -96,10 +96,10 @@ int _start_with_stream_info(const char *path, sound_stream_info_h stream_info, u ret = sound_manager_get_type_from_stream_information(stream_info, &stream_type); if (ret) - return _convert_wav_player_error_code(__func__, ret); + return _convert_wav_player_error_code(__func__, ret); //LCOV_EXCL_LINE ret = sound_manager_get_index_from_stream_information(stream_info, &stream_id); if (ret) - return _convert_wav_player_error_code(__func__, ret); + return _convert_wav_player_error_code(__func__, ret); //LCOV_EXCL_LINE m_path[0] = '\0'; if (path[0] != '/') { @@ -113,7 +113,7 @@ int _start_with_stream_info(const char *path, sound_stream_info_h stream_info, u _completed_cb = _internal_complete_cb; cb_data = (_cb_data *)malloc(sizeof(_cb_data)); if (cb_data == NULL) - return _convert_wav_player_error_code(__func__, WAV_PLAYER_ERROR_INVALID_OPERATION); + return _convert_wav_player_error_code(__func__, WAV_PLAYER_ERROR_INVALID_OPERATION); //LCOV_EXCL_LINE cb_data->cb = callback; cb_data->user_data = user_data; }