[UTC][voice-control][Non-ACR][Remove unrequired TC] 25/286025/2
authorSuyeon Hwang <stom.hwang@samsung.com>
Mon, 26 Dec 2022 10:03:35 +0000 (19:03 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Tue, 27 Dec 2022 05:13:04 +0000 (05:13 +0000)
Change-Id: I743cf80c13a672229363443bec9f2f386ee7cbe0
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
src/utc/voice-control/tct-voice-control-core_mobile.h
src/utc/voice-control/tct-voice-control-core_tizeniot.h
src/utc/voice-control/tct-voice-control-core_tv.h
src/utc/voice-control/tct-voice-control-core_wearable.h
src/utc/voice-control/utc-voice-control.c

index 146fb05077b9f403bbc7d6be4aa954cefd4b3b76..378644b34009151d33b522d2c8f14693f7f8c2a3 100644 (file)
@@ -42,7 +42,6 @@ extern int utc_vc_get_current_language_n2(void);
 extern int utc_vc_get_state_p(void);
 extern int utc_vc_get_state_p2(void);
 extern int utc_vc_get_state_n(void);
-extern int utc_vc_get_state_n2(void);
 extern int utc_vc_get_service_state_p(void);
 extern int utc_vc_get_service_state_n(void);
 extern int utc_vc_get_service_state_n2(void);
@@ -200,7 +199,6 @@ testcase tc_array[] = {
        {"utc_vc_get_state_p",utc_vc_get_state_p,utc_voice_control_startup,utc_voice_control_cleanup},
        {"utc_vc_get_state_p2",utc_vc_get_state_p2,utc_voice_control_startup,utc_voice_control_cleanup},
        {"utc_vc_get_state_n",utc_vc_get_state_n,utc_voice_control_startup,utc_voice_control_cleanup},
-       {"utc_vc_get_state_n2",utc_vc_get_state_n2,utc_voice_control_startup,utc_voice_control_cleanup},
        {"utc_vc_get_service_state_p",utc_vc_get_service_state_p,utc_voice_control_startup,utc_voice_control_cleanup},
        {"utc_vc_get_service_state_n",utc_vc_get_service_state_n,utc_voice_control_startup,utc_voice_control_cleanup},
        {"utc_vc_get_service_state_n2",utc_vc_get_service_state_n2,utc_voice_control_startup,utc_voice_control_cleanup},
index 146fb05077b9f403bbc7d6be4aa954cefd4b3b76..378644b34009151d33b522d2c8f14693f7f8c2a3 100644 (file)
@@ -42,7 +42,6 @@ extern int utc_vc_get_current_language_n2(void);
 extern int utc_vc_get_state_p(void);
 extern int utc_vc_get_state_p2(void);
 extern int utc_vc_get_state_n(void);
-extern int utc_vc_get_state_n2(void);
 extern int utc_vc_get_service_state_p(void);
 extern int utc_vc_get_service_state_n(void);
 extern int utc_vc_get_service_state_n2(void);
@@ -200,7 +199,6 @@ testcase tc_array[] = {
        {"utc_vc_get_state_p",utc_vc_get_state_p,utc_voice_control_startup,utc_voice_control_cleanup},
        {"utc_vc_get_state_p2",utc_vc_get_state_p2,utc_voice_control_startup,utc_voice_control_cleanup},
        {"utc_vc_get_state_n",utc_vc_get_state_n,utc_voice_control_startup,utc_voice_control_cleanup},
-       {"utc_vc_get_state_n2",utc_vc_get_state_n2,utc_voice_control_startup,utc_voice_control_cleanup},
        {"utc_vc_get_service_state_p",utc_vc_get_service_state_p,utc_voice_control_startup,utc_voice_control_cleanup},
        {"utc_vc_get_service_state_n",utc_vc_get_service_state_n,utc_voice_control_startup,utc_voice_control_cleanup},
        {"utc_vc_get_service_state_n2",utc_vc_get_service_state_n2,utc_voice_control_startup,utc_voice_control_cleanup},
index 44cc5fbf6cd78802df81f4ed9d763704a40ebf1b..5ab23d700519d895d4aad61bee942e5da4960bbc 100644 (file)
@@ -40,7 +40,6 @@ extern int utc_vc_get_current_language_n2(void);
 extern int utc_vc_get_state_p(void);
 extern int utc_vc_get_state_p2(void);
 extern int utc_vc_get_state_n(void);
-extern int utc_vc_get_state_n2(void);
 extern int utc_vc_get_service_state_p(void);
 extern int utc_vc_get_service_state_n(void);
 extern int utc_vc_get_service_state_n2(void);
@@ -153,7 +152,6 @@ testcase tc_array[] = {
        {"utc_vc_get_state_p",utc_vc_get_state_p,utc_voice_control_startup,utc_voice_control_cleanup},
        {"utc_vc_get_state_p2",utc_vc_get_state_p2,utc_voice_control_startup,utc_voice_control_cleanup},
        {"utc_vc_get_state_n",utc_vc_get_state_n,utc_voice_control_startup,utc_voice_control_cleanup},
-       {"utc_vc_get_state_n2",utc_vc_get_state_n2,utc_voice_control_startup,utc_voice_control_cleanup},
        {"utc_vc_get_service_state_p",utc_vc_get_service_state_p,utc_voice_control_startup,utc_voice_control_cleanup},
        {"utc_vc_get_service_state_n",utc_vc_get_service_state_n,utc_voice_control_startup,utc_voice_control_cleanup},
        {"utc_vc_get_service_state_n2",utc_vc_get_service_state_n2,utc_voice_control_startup,utc_voice_control_cleanup},
index 146fb05077b9f403bbc7d6be4aa954cefd4b3b76..378644b34009151d33b522d2c8f14693f7f8c2a3 100644 (file)
@@ -42,7 +42,6 @@ extern int utc_vc_get_current_language_n2(void);
 extern int utc_vc_get_state_p(void);
 extern int utc_vc_get_state_p2(void);
 extern int utc_vc_get_state_n(void);
-extern int utc_vc_get_state_n2(void);
 extern int utc_vc_get_service_state_p(void);
 extern int utc_vc_get_service_state_n(void);
 extern int utc_vc_get_service_state_n2(void);
@@ -200,7 +199,6 @@ testcase tc_array[] = {
        {"utc_vc_get_state_p",utc_vc_get_state_p,utc_voice_control_startup,utc_voice_control_cleanup},
        {"utc_vc_get_state_p2",utc_vc_get_state_p2,utc_voice_control_startup,utc_voice_control_cleanup},
        {"utc_vc_get_state_n",utc_vc_get_state_n,utc_voice_control_startup,utc_voice_control_cleanup},
-       {"utc_vc_get_state_n2",utc_vc_get_state_n2,utc_voice_control_startup,utc_voice_control_cleanup},
        {"utc_vc_get_service_state_p",utc_vc_get_service_state_p,utc_voice_control_startup,utc_voice_control_cleanup},
        {"utc_vc_get_service_state_n",utc_vc_get_service_state_n,utc_voice_control_startup,utc_voice_control_cleanup},
        {"utc_vc_get_service_state_n2",utc_vc_get_service_state_n2,utc_voice_control_startup,utc_voice_control_cleanup},
index 2e754c345c5b199ffd5c376d3a04ad4ebc82f3d4..378ebec8238c4b24c942e19cfe43a88952269f28 100755 (executable)
@@ -575,35 +575,6 @@ int utc_vc_get_state_n(void)
        return 0;
 }
 
-/**
- * @testcase           utc_vc_get_state_n2
- * @since_tizen                2.4
- * @description                Negative UTC for get current state (Invalid state)
- */
-int utc_vc_get_state_n2(void)
-{
-       if (false == g_vc_supported) {
-               assert_eq(g_vc_init, false);
-
-               int ret = VC_ERROR_NONE;
-               vc_state_e state = -1;
-               ret = vc_get_state(&state);
-               assert_eq(ret, VC_ERROR_NOT_SUPPORTED);
-       } else {
-               assert_eq(g_vc_init, true);
-
-               int ret = VC_ERROR_NONE;
-               ret = vc_deinitialize();
-               assert_eq(ret, VC_ERROR_NONE);
-
-               vc_state_e state = -1;
-               ret = vc_get_state(&state);
-               assert_eq(ret, VC_ERROR_INVALID_STATE);
-       }
-
-       return 0;
-}
-
 /**
  * @testcase           utc_vc_get_service_state_p
  * @since_tizen                2.4