Add Exclude coverage check which can't be covered by this module
[platform/core/api/wav-player.git] / src / wav_player_private.c
index ee918db..904bcf5 100755 (executable)
@@ -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;
        }