From 1b979226fe78799c0fa72e620926007b48c9a855 Mon Sep 17 00:00:00 2001 From: hyunho Date: Tue, 26 Nov 2019 18:48:12 +0900 Subject: [PATCH] [Mediakey][Non-ACR] Fix ambiguos step Change-Id: Id5d7b9fd5665e9cf0da1806eae19f35e4b19e691 Signed-off-by: hyunho --- .../testcase/TSMediaKey.cs | 9 ++++--- .../testcase/TSMediaKeyEventArgs.cs | 31 ++++++++++------------ 2 files changed, 19 insertions(+), 21 deletions(-) mode change 100755 => 100644 tct-suite-vs/Tizen.MediaKey.Manual.Tests/testcase/TSMediaKey.cs mode change 100755 => 100644 tct-suite-vs/Tizen.MediaKey.Manual.Tests/testcase/TSMediaKeyEventArgs.cs diff --git a/tct-suite-vs/Tizen.MediaKey.Manual.Tests/testcase/TSMediaKey.cs b/tct-suite-vs/Tizen.MediaKey.Manual.Tests/testcase/TSMediaKey.cs old mode 100755 new mode 100644 index b0d9dc8..7fd72d8 --- a/tct-suite-vs/Tizen.MediaKey.Manual.Tests/testcase/TSMediaKey.cs +++ b/tct-suite-vs/Tizen.MediaKey.Manual.Tests/testcase/TSMediaKey.cs @@ -41,12 +41,13 @@ namespace Tizen.System.Tests [Property("CRITERIA", "MCST")] [Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")] [Precondition(1, "[Mobile] Plug in the headset")] - [Precondition(2, "[TV] Prepare a remote controller")] - [Precondition(3, "Enter command \"sdb dlog -c\" to clear log")] - [Precondition(4, "Enter command \"sdb dlog | grep TCT\" to terminal")] + [Precondition(2, "[Wearable] Connect bluetooth headset")] + [Precondition(3, "[TV] Prepare a remote controller")] + [Precondition(4, "Enter command \"sdb dlog -c\" to clear log")] + [Precondition(5, "Enter command \"sdb dlog | grep TCT\" to terminal")] [Step(1, "[Emulator] In the emualtor, generating the media key event is not supported. So, you cannot test this TC. Please mark as PASS.")] [Step(2, "Click run TC")] - [Step(3, "[Mobile] Press Hard mediakey in the headset")] + [Step(3, "[Mobile/Wearable] Press Hard mediakey in the headset")] [Step(4, "[TV] Press Hard mediakey in the remote controller")] [Step(5, "Check if log show \"Pass\".")] [Postcondition(1, "Close the terminal")] diff --git a/tct-suite-vs/Tizen.MediaKey.Manual.Tests/testcase/TSMediaKeyEventArgs.cs b/tct-suite-vs/Tizen.MediaKey.Manual.Tests/testcase/TSMediaKeyEventArgs.cs old mode 100755 new mode 100644 index 98f0a42..acb6e08 --- a/tct-suite-vs/Tizen.MediaKey.Manual.Tests/testcase/TSMediaKeyEventArgs.cs +++ b/tct-suite-vs/Tizen.MediaKey.Manual.Tests/testcase/TSMediaKeyEventArgs.cs @@ -30,7 +30,7 @@ namespace Tizen.System.Tests var value = (int)args.Value; var status = (int)args.Status; - Tizen.Log.Info(TAG, "KeyValue " + keyValueArr[value] + " PASS"); + Tizen.Log.Info(TAG, "KeyValue PASS : " + keyValueArr[value]); } private void OnKeyStatusReceived(object sender, MediaKeyEventArgs args) @@ -51,20 +51,16 @@ namespace Tizen.System.Tests [Property("CRITERIA", "MCST")] [Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")] [Precondition(1, "[Mobile] Plug in the headset")] - [Precondition(2, "[TV] Prepare a remote controller")] - [Precondition(3, "Enter command \"sdb dlog -c\" to clear log")] - [Precondition(4, "Enter command \"sdb dlog | grep TCT\" to terminal")] + [Precondition(2, "[Wearable] Connect bluetooth headset")] + [Precondition(3, "[TV] Prepare a remote controller")] + [Precondition(4, "Enter command \"sdb dlog -c\" to clear log")] + [Precondition(5, "Enter command \"sdb dlog | grep TCT\" to terminal")] [Step(1, "[Emulator] In the emualtor, generating the media key event is not supported. So, you cannot test this TC. Please mark as PASS.")] [Step(2, "Click run TC")] - [Step(3, "[Mobile] Press Play button in the headset. Check if log show \" KeyValue Play Pass\"")] - [Step(4, "[Mobile] Press Stop button in the headset. Check if log show \" KeyValue Stop Pass\"")] - [Step(5, "[Mobile] Press Pause button in the headset. Check if log show \" KeyValue Pause Pass\"")] - [Step(6, "[Mobile] Press Previous button in the headset. Check if log show \" KeyValue Previous Pass\"")] - [Step(7, "[Mobile] Press Next button in the headset. Check if log show \" KeyValue Next Pass\"")] - [Step(8, "[Mobile] Press Media button in the headset. Check if log show \" KeyValue Media Pass\"")] - [Step(9, "[TV] Press Play button in the remote controller. Check if log show \" KeyValue Play Pass\"")] - [Step(10, "[TV] Press Stop button in the remote controller. Check if log show \" KeyValue Stop Pass\"")] - [Step(11, "[TV] Press Next button in the remote controller. Check if log show \" KeyValue Next Pass\"")] + [Step(3, "[Mobile/Wearable] Press button in the headset. Check if log show \" KeyValue Pass : \"")] + [Step(4, "[TV] Press Play button in the remote controller. Check if log show \" KeyValue Play Pass\"")] + [Step(5, "[TV] Press Stop button in the remote controller. Check if log show \" KeyValue Stop Pass\"")] + [Step(6, "[TV] Press Next button in the remote controller. Check if log show \" KeyValue Next Pass\"")] [Postcondition(1, "Unplug eraphone.")] public async Task Value_CHECK_EVENT() { @@ -91,12 +87,13 @@ namespace Tizen.System.Tests [Property("CRITERIA", "MCST")] [Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")] [Precondition(1, "[Mobile] Plug in the headset")] - [Precondition(2, "[TV] Prepare a remote controller")] - [Precondition(3, "Enter command \"sdb dlog -c\" to clear log")] - [Precondition(4, "Enter command \"sdb dlog | grep TCT\" to terminal")] + [Precondition(2, "[Wearable] Connect bluetooth headset")] + [Precondition(3, "[TV] Prepare a remote controller")] + [Precondition(4, "Enter command \"sdb dlog -c\" to clear log")] + [Precondition(5, "Enter command \"sdb dlog | grep TCT\" to terminal")] [Step(1, "[Emulator] In the emualtor, generating the media key event is not supported. So, you cannot test this TC. Please mark as PASS.")] [Step(2, "Click run TC")] - [Step(3, "[Mobile] Press Any button in the headset")] + [Step(3, "[Mobile/Wearable] Press Any button in the headset")] [Step(4, "[TV] Press Any button in the remote controller")] [Step(5, "Check if log show \" KeyStatus Press Pass\"")] [Step(6, "Check if log show \" KeyStatus Release Pass\"")] -- 2.7.4