[VoiceControl][Non-ACR] Add dummy engine for testing on emulator, revise precondition 09/299909/2
authorulgal-park <ulgal.park@samsung.com>
Thu, 12 Oct 2023 02:27:16 +0000 (11:27 +0900)
committerulgal-park <ulgal.park@samsung.com>
Thu, 12 Oct 2023 02:33:08 +0000 (11:33 +0900)
Change-Id: I094651c13e36317055acba793738ed8526aaea40

tct-suite-vs/Resource/Tizen.VoiceControl.Manual.Tests/org.tizen.vc-engine-dummy-1.0.0-i586.tpk [new file with mode: 0644]
tct-suite-vs/Tizen.VoiceControl.Manual.Tests/testcase/TSCurrentLanguageChangedEventArgs.cs
tct-suite-vs/Tizen.VoiceControl.Manual.Tests/testcase/TSErrorOccuredEventArgs.cs
tct-suite-vs/Tizen.VoiceControl.Manual.Tests/testcase/TSRecognitionResult.cs
tct-suite-vs/Tizen.VoiceControl.Manual.Tests/testcase/TSRecognitionResultEventArgs.cs
tct-suite-vs/Tizen.VoiceControl.Manual.Tests/testcase/TSServiceStateChangedEventArgs.cs

diff --git a/tct-suite-vs/Resource/Tizen.VoiceControl.Manual.Tests/org.tizen.vc-engine-dummy-1.0.0-i586.tpk b/tct-suite-vs/Resource/Tizen.VoiceControl.Manual.Tests/org.tizen.vc-engine-dummy-1.0.0-i586.tpk
new file mode 100644 (file)
index 0000000..f8ffeab
Binary files /dev/null and b/tct-suite-vs/Resource/Tizen.VoiceControl.Manual.Tests/org.tizen.vc-engine-dummy-1.0.0-i586.tpk differ
index aebbb35..9704ad6 100755 (executable)
@@ -35,6 +35,8 @@ namespace Tizen.Uix.VoiceControl.Tests
         [Property("CRITERIA", "PRO")]
         [Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
         [Precondition(1, "Can not test on TV / Wearable profiles. Please mark pass on TV / Wearable profiles. (Impossible to change the language during the test on TV / Wearable profiles)")]
+        [Precondition(2, "If testing on the emulator, select the engine from Settings > Language and Input > Voice Control to 'Voice control dummy engine'.")]
+        [Precondition(3, "Otherwise, select the engine from Settings > Language and Input > Voice Control to 'Samsung voice control engine'.")]
         [Step(1, "Click run TC. If feature is not supported, TC will automatically pass.")]
         [Step(2, "Change the Language from Settings > Language and Input > Voice Control")]
         [Step(3, "Click 'Langauge Changed' button if you find the new language to be displayed in the label")]
@@ -77,6 +79,8 @@ namespace Tizen.Uix.VoiceControl.Tests
         [Property("CRITERIA", "PRO")]
         [Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
         [Precondition(1, "Can not test on TV / Wearable profiles. Please mark pass on TV / Wearable profiles. (Impossible to change the language during the test on TV / Wearable profiles)")]
+        [Precondition(2, "If testing on the emulator, select the engine from Settings > Language and Input > Voice Control to 'Voice control dummy engine'.")]
+        [Precondition(3, "Otherwise, select the engine from Settings > Language and Input > Voice Control to 'Samsung voice control engine'.")]
         [Step(1, "Click run TC. If feature is not supported, TC will automatically pass.")]
         [Step(2, "Change the Language from Settings > Language and Input > Voice Control")]
         [Step(3, "Click 'Langauge Changed' button if you find the new language to be displayed in the label")]
index f07dca5..1688a36 100755 (executable)
@@ -41,9 +41,11 @@ namespace Tizen.Uix.VoiceControl.Tests
         [Property("CRITERIA", "PRE")]
         [Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
         [Precondition(1, "Can not test on TV emulator and Wearable. Please mark pass on TV emulator and Wearable. (Impossible to run voice control panel on TV emulator and Wearable)")]
+        [Precondition(2, "If testing on the emulator, select the engine from Settings > Language and Input > Voice Control to 'Voice control dummy engine'.")]
+        [Precondition(3, "Otherwise, select the engine from Settings > Language and Input > Voice Control to 'Samsung voice control engine'.")]
         [Step(1, "Click run TC. If feature is not supported, TC will automatically pass.")]
         [Step(2, "Open a new terminal with root mode")]
-        [Step(3, "Type the command 'pkill -f vc-engine-default' (In case of TV target , 'pkill -f voice-client') but do not execute it")]
+        [Step(3, "Type the command 'pkill -f vc-engine' (In case of TV target , 'pkill -f voice-client') but do not execute it")]
         [Step(4, "Run voice panel from notifications (In case of TV target, remote control 'voice button' click)")]
         [Step(5, "Enter the command when the text of the panel become 'listening' (In case of TV target, when the UI is showing.)")]
         [Step(6, "Click 'Error Occured' button, the TC will pass based on whether the error event occured or not")]
index 36866a5..50258e5 100755 (executable)
@@ -36,6 +36,8 @@ namespace Tizen.Uix.VoiceControl.Tests
         [Property("CRITERIA", "PRE")]
         [Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
         [Precondition(1, "Can not test on TV / Wearable profiles. Please mark pass on TV / Wearable profiles. (Impossible to run voice control panel on TV / Wearable profiles)")]
+        [Precondition(2, "If testing on the emulator, select the engine from Settings > Language and Input > Voice Control to 'Voice control dummy engine'.")]
+        [Precondition(3, "Otherwise, select the engine from Settings > Language and Input > Voice Control to 'Samsung voice control engine'.")]
         [Step(1, "Click run. If feature is not supported, TC will automatically pass.")]
         [Step(2, "Launch voice control panel from notifications")]
         [Step(3, "When the voice control panel displays 'Listening', say the command 'stop'")]
@@ -81,6 +83,8 @@ namespace Tizen.Uix.VoiceControl.Tests
         [Property("CRITERIA", "PRO")]
         [Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
         [Precondition(1, "Can not test on TV / Wearable profiles. Please mark pass on TV / Wearable profiles. (Impossible to run voice control panel on TV / Wearable profiles)")]
+        [Precondition(2, "If testing on the emulator, select the engine from Settings > Language and Input > Voice Control to 'Voice control dummy engine'.")]
+        [Precondition(3, "Otherwise, select the engine from Settings > Language and Input > Voice Control to 'Samsung voice control engine'.")]
         [Step(1, "Click run. If feature is not supported, TC will automatically pass.")]
         [Step(2, "Launch voice control panel from notifications")]
         [Step(3, "When the voice control panel displays 'Listening', say the command 'stop'")]
@@ -127,6 +131,8 @@ namespace Tizen.Uix.VoiceControl.Tests
         [Property("CRITERIA", "PRO")]
         [Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
         [Precondition(1, "Can not test on TV / Wearable profiles. Please mark pass on TV / Wearable profiles. (Impossible to run voice control panel on TV / Wearable profiles)")]
+        [Precondition(2, "If testing on the emulator, select the engine from Settings > Language and Input > Voice Control to 'Voice control dummy engine'.")]
+        [Precondition(3, "Otherwise, select the engine from Settings > Language and Input > Voice Control to 'Samsung voice control engine'.")]
         [Step(1, "Click run. If feature is not supported, TC will automatically pass.")]
         [Step(2, "Launch voice control panel from notifications")]
         [Step(3, "When the voice control panel displays 'Listening', say the command 'stop'")]
index dafda09..c240115 100755 (executable)
@@ -36,6 +36,8 @@ namespace Tizen.Uix.VoiceControl.Tests
         [Property("CRITERIA", "PRO")]
         [Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
         [Precondition(1, "Can not test on TV / Wearable profiles. Please mark pass on TV / Wearable profiles. (Impossible to run voice control panel on TV / Wearable profiles)")]
+        [Precondition(2, "If testing on the emulator, select the engine from Settings > Language and Input > Voice Control to 'Voice control dummy engine'.")]
+        [Precondition(3, "Otherwise, select the engine from Settings > Language and Input > Voice Control to 'Samsung voice control engine'.")]
         [Step(1, "Click run. If feature is not supported, TC will automatically pass.")]
         [Step(2, "Launch voice control panel from notifications")]
         [Step(3, "When the voice control panel displays 'Listening', say the command 'stop'")]
index c51c8c2..e58f075 100755 (executable)
@@ -41,6 +41,8 @@ namespace Tizen.Uix.VoiceControl.Tests
         [Property("CRITERIA", "PRE")]
         [Property("AUTHOR", "Suyeon Hwang, stom.hwang@samsung.com")]
         [Precondition(1, "Can not test on TV emulator and Wearable. Please mark pass on TV emulator and Wearable. (Impossible to run voice control panel on TV emulator and Wearable)")]
+        [Precondition(2, "If testing on the emulator, select the engine from Settings > Language and Input > Voice Control to 'Voice control dummy engine'.")]
+        [Precondition(3, "Otherwise, select the engine from Settings > Language and Input > Voice Control to 'Samsung voice control engine'.")]
         [Step(1, "Click run. If feature is not supported, TC will automatically pass.")]
         [Step(2, "Launch voice control panel from notifications (In case of TV target, remote control 'voice button' click for Step 3)")]
         [Step(3, "When the voice control panel displays 'Listening', say the command 'stop' (In case of TV target, when the UI is showing. say the command 'stop')")]
@@ -85,6 +87,8 @@ namespace Tizen.Uix.VoiceControl.Tests
         [Property("CRITERIA", "PRE")]
         [Property("AUTHOR", "Suyeon Hwang, stom.hwang@samsung.com")]
         [Precondition(1, "Can not test on TV emulator and Wearable. Please mark pass on TV emulator and Wearable. (Impossible to run voice control panel on TV emulator and Wearable)")]
+        [Precondition(2, "If testing on the emulator, select the engine from Settings > Language and Input > Voice Control to 'Voice control dummy engine'.")]
+        [Precondition(3, "Otherwise, select the engine from Settings > Language and Input > Voice Control to 'Samsung voice control engine'.")]
         [Step(1, "Click run. If feature is not supported, TC will automatically pass.")]
         [Step(2, "Launch voice control panel from notifications (In case of TV target, remote control 'voice button' click for Step 3)")]
         [Step(3, "When the voice control panel displays 'Listening', say the command 'stop' (In case of TV target, when the UI is showing. say the command 'stop')")]