Add descriptions for checking line coverage 32/182932/2
authorsooyeon.kim <sooyeon.kim@samsung.com>
Fri, 29 Jun 2018 01:04:52 +0000 (10:04 +0900)
committersooyeon.kim <sooyeon.kim@samsung.com>
Thu, 5 Jul 2018 09:44:26 +0000 (18:44 +0900)
Change-Id: I02dc255b70e7a20a5e37970499cf3b780b3c1016
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
client/tts.c

index 54420f9..188af5b 100644 (file)
@@ -514,6 +514,7 @@ int tts_set_credential(tts_h tts, const char* credential)
        return TTS_ERROR_NONE;
 }
 
+//LCOV_EXCL_START
 int tts_set_server_tts(tts_h tts, const char* credential)
 {
        if (0 != __tts_get_feature_enabled()) {
@@ -598,6 +599,7 @@ int tts_set_server_tts(tts_h tts, const char* credential)
 
        return TTS_ERROR_NONE;
 }
+// LCOV_EXCL_STOP
 
 static Eina_Bool __tts_connect_daemon(void *data)
 {
@@ -711,6 +713,7 @@ int tts_prepare(tts_h tts)
        return TTS_ERROR_NONE;
 }
 
+//LCOV_EXCL_START
 int tts_prepare_sync(tts_h tts)
 {
        if (0 != __tts_get_feature_enabled()) {
@@ -749,6 +752,7 @@ int tts_prepare_sync(tts_h tts)
 
        return TTS_ERROR_NONE;
 }
+//LCOV_EXCL_STOP
 
 int tts_unprepare(tts_h tts)
 {
@@ -1233,6 +1237,7 @@ int tts_add_text(tts_h tts, const char* text, const char* language, int voice_ty
        return ret;
 }
 
+//LCOV_EXCL_START
 static void __tts_play_async(void *data)
 {
        tts_h tts = (tts_h)data;
@@ -1339,7 +1344,7 @@ int tts_play_async(tts_h tts)
 
        return TTS_ERROR_NONE;
 }
-
+//LCOV_EXCL_STOP
 int tts_play(tts_h tts)
 {
        if (0 != __tts_get_feature_enabled()) {
@@ -1419,7 +1424,7 @@ int tts_play(tts_h tts)
 
        return TTS_ERROR_NONE;
 }
-
+//LCOV_EXCL_START
 static void __tts_stop_async(void *data)
 {
        tts_h tts = (tts_h)data;
@@ -1521,7 +1526,7 @@ int tts_stop_aync(tts_h tts)
 
        return TTS_ERROR_NONE;
 }
-
+//LCOV_EXCL_STOP
 int tts_stop(tts_h tts)
 {
        if (0 != __tts_get_feature_enabled()) {
@@ -1595,7 +1600,7 @@ int tts_stop(tts_h tts)
 
        return TTS_ERROR_NONE;
 }
-
+//LCOV_EXCL_START
 static void __tts_pause_async(void *data)
 {
        tts_h tts = (tts_h)data;
@@ -1698,7 +1703,7 @@ int tts_pause_async(tts_h tts)
 
        return TTS_ERROR_NONE;
 }
-
+//LCOV_EXCL_STOP
 int tts_pause(tts_h tts)
 {
        if (0 != __tts_get_feature_enabled()) {
@@ -2492,6 +2497,7 @@ int tts_unset_engine_changed_cb(tts_h tts)
        return 0;
 }
 
+//LCOV_EXCL_START
 int tts_add_pcm(tts_h tts, int event, const void* data, unsigned int data_size, int audio_type, int rate)
 {
        if (0 != __tts_get_feature_enabled()) {
@@ -2796,3 +2802,4 @@ int tts_repeat(tts_h tts, char** text_repeat, int* utt_id)
 
        return TTS_ERROR_NONE;
 }
+//LCOV_EXCL_STOP