From 4b4918fc949483c697612df90933216b6f31e34f Mon Sep 17 00:00:00 2001 From: "huiyu.eun" Date: Wed, 13 Nov 2019 13:04:01 +0900 Subject: [PATCH] [NUI][Non-ACR] Fix Test Steps Change-Id: I9c131f402f0a4883787423777d04f57e126d0700 Signed-off-by: huiyu.eun --- .../testcase/TSNUIApplication.cs | 3 +- .../Tizen.NUI.Manual.Tests/testcase/TSTouch.cs | 44 +++++++++++----------- .../Tizen.NUI.Manual.Tests/testcase/TSView.cs | 4 +- .../Tizen.NUI.Manual.Tests/testcase/TSWindow.cs | 4 +- 4 files changed, 28 insertions(+), 27 deletions(-) diff --git a/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSNUIApplication.cs b/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSNUIApplication.cs index a17be28..b2a9f11 100755 --- a/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSNUIApplication.cs +++ b/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSNUIApplication.cs @@ -372,7 +372,8 @@ namespace Tizen.NUI.Tests [Precondition(3, "Enter command \"sdb dlog | grep TestCase\" to terminal")] [Step(1, "Click run TC")] [Step(2, "Click Pause button")] - [Step(3, "Check if log show \"[TestCase][OnResume][NUIApplication] Pass\".")] + [Step(3, "Click Resume button")] + [Step(4, "Check if log show \"[TestCase][OnResume][NUIApplication] Pass\".")] [Postcondition(1, "Close the terminal")] public async Task OnResume_MANUAL_TEST() { diff --git a/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSTouch.cs b/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSTouch.cs index 0a959e1..200580b 100755 --- a/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSTouch.cs +++ b/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSTouch.cs @@ -189,11 +189,11 @@ namespace Tizen.NUI.Tests [Step(1, "If test on TV, connect the mouse to the TV")] [Step(2, "Click run button to run TC")] [Step(3, "Touch the window. If on the TV, click left mouse button.")] - [Step(4, "TC will pass after touch or click.")] + [Step(4, "TC will pass after touch or click window.")] [Postcondition(1, "NA")] public async Task GetDeviceId_RETURN_VALUE() { - CreateView("Touch or click"); + CreateView("Touch or click window"); _window.TouchEvent += OnTouchEventGetDeviceId; // Waits for user confirmation. await ManualTest.WaitForConfirm(); @@ -218,11 +218,11 @@ namespace Tizen.NUI.Tests [Step(1, "If test on TV, connect the mouse to the TV")] [Step(2, "Click run button to run TC")] [Step(3, "Touch the window. If on the TV, click left mouse button.")] - [Step(4, "TC will pass after touch or click.")] + [Step(4, "TC will pass after touch or click window.")] [Postcondition(1, "NA")] public async Task GetEllipseRadius_RETURN_VALUE() { - CreateView("Touch or click"); + CreateView("Touch or click window"); _window.TouchEvent += OnTouchEventGetEllipseRadius; // Waits for user confirmation. await ManualTest.WaitForConfirm(); @@ -246,12 +246,12 @@ namespace Tizen.NUI.Tests [Property("AUTHOR", "Wenfeng Ge, wenfeng.ge@samsung.com")] [Step(1, "If test on TV, connect the mouse to the TV")] [Step(2, "Click run button to run TC")] - [Step(3, "Touch the window. If on the TV, click left mouse button.")] - [Step(4, "TC will pass after touch or click.")] + [Step(3, "Touch the 'Touch me!!' text label. If on the TV, click left mouse button.")] + [Step(4, "TC will pass after touch or click text label.")] [Postcondition(1, "NA")] public async Task GetHitView_RETURN_VALUE() { - CreateView("Touch or click"); + CreateView("Touch or click text label"); _label = new TextLabel() { Size2D = new Size2D(500, 156), @@ -259,7 +259,7 @@ namespace Tizen.NUI.Tests BackgroundColor = Color.Green, PointSize = 28, Focusable = true, - Text = "default" + Text = "Touch me!!" }; _window.Add(_label); _label.TouchEvent += OnTouchEventGetHitView; @@ -286,11 +286,11 @@ namespace Tizen.NUI.Tests [Step(1, "If test on TV, connect the mouse to the TV")] [Step(2, "Click run button to run TC")] [Step(3, "Touch the window. If on the TV, click left mouse button.")] - [Step(4, "TC will pass after touch or click.")] + [Step(4, "TC will pass after touch or click window.")] [Postcondition(1, "NA")] public async Task GetLocalPosition_RETURN_VALUE() { - CreateView("Touch or click"); + CreateView("Touch or click window"); _window.TouchEvent += OnTouchEventGetLocalPosition; // Waits for user confirmation. await ManualTest.WaitForConfirm(); @@ -315,11 +315,11 @@ namespace Tizen.NUI.Tests [Step(1, "If test on TV, connect the mouse to the TV")] [Step(2, "Click run button to run TC")] [Step(3, "Touch the window. If on the TV, click left mouse button.")] - [Step(4, "TC will pass after touch or click.")] + [Step(4, "TC will pass after touch or click window.")] [Postcondition(1, "NA")] public async Task GetPointCount_RETURN_VALUE() { - CreateView("Touch or click"); + CreateView("Touch or click window"); _window.TouchEvent += OnTouchEventGetPointCount; // Waits for user confirmation. await ManualTest.WaitForConfirm(); @@ -344,11 +344,11 @@ namespace Tizen.NUI.Tests [Step(1, "If test on TV, connect the mouse to the TV")] [Step(2, "Click run button to run TC")] [Step(3, "Touch the window. If on the TV, click left mouse button.")] - [Step(4, "TC will pass after touch or click.")] + [Step(4, "TC will pass after touch or click window.")] [Postcondition(1, "NA")] public async Task GetPressure_RETURN_VALUE() { - CreateView("Touch or click"); + CreateView("Touch or click window"); _window.TouchEvent += OnTouchEventGetPressure; // Waits for user confirmation. await ManualTest.WaitForConfirm(); @@ -373,11 +373,11 @@ namespace Tizen.NUI.Tests [Step(1, "If test on TV, connect the mouse to the TV")] [Step(2, "Click run button to run TC")] [Step(3, "Touch the window. If on the TV, click left mouse button.")] - [Step(4, "TC will pass after touch or click.")] + [Step(4, "TC will pass after touch or click window.")] [Postcondition(1, "NA")] public async Task GetRadius_RETURN_VALUE() { - CreateView("Touch or click"); + CreateView("Touch or click window"); _window.TouchEvent += OnTouchEventGetRadius; // Waits for user confirmation. await ManualTest.WaitForConfirm(); @@ -402,11 +402,11 @@ namespace Tizen.NUI.Tests [Step(1, "If test on TV, connect the mouse to the TV")] [Step(2, "Click run button to run TC")] [Step(3, "Touch the window. If on the TV, click left mouse button.")] - [Step(4, "TC will pass after touch or click.")] + [Step(4, "TC will pass after touch or click window.")] [Postcondition(1, "NA")] public async Task GetScreenPosition_RETURN_VALUE() { - CreateView("Touch or click"); + CreateView("Touch or click window"); _window.TouchEvent += OnTouchEventGetScreenPosition; // Waits for user confirmation. await ManualTest.WaitForConfirm(); @@ -431,11 +431,11 @@ namespace Tizen.NUI.Tests [Step(1, "If test on TV, connect the mouse to the TV")] [Step(2, "Click run button to run TC")] [Step(3, "Touch the window. If on the TV, click left mouse button.")] - [Step(4, "TC will pass after touch or click.")] + [Step(4, "TC will pass after touch or click window.")] [Postcondition(1, "NA")] public async Task GetState_RETURN_VALUE() { - CreateView("Touch or click"); + CreateView("Touch or click window"); _window.TouchEvent += OnTouchEventGetState; // Waits for user confirmation. await ManualTest.WaitForConfirm(); @@ -460,11 +460,11 @@ namespace Tizen.NUI.Tests [Step(1, "If test on TV, connect the mouse to the TV")] [Step(2, "Click run button to run TC")] [Step(3, "Touch the window. If on the TV, click left mouse button.")] - [Step(4, "TC will pass after touch or click.")] + [Step(4, "TC will pass after touch or click window.")] [Postcondition(1, "NA")] public async Task GetTime_RETURN_VALUE() { - CreateView("Touch or click"); + CreateView("Touch or click window"); _window.TouchEvent += OnTouchEventGetTime; // Waits for user confirmation. await ManualTest.WaitForConfirm(); diff --git a/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSView.cs b/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSView.cs index 6a298e4..bb1c48f 100755 --- a/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSView.cs +++ b/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSView.cs @@ -150,7 +150,7 @@ namespace Tizen.NUI.Tests [Test] [Category("P1")] - [Description("Test: Handle event input a key. Try to input a key to trigger the event.")] + [Description("Test: Handle event TouchEvent.")] [Property("SPEC", "Tizen.NUI.BaseComponents.View.TouchEvent E")] [Property("SPEC_URL", "-")] [Property("CRITERIA", "EVL")] @@ -158,7 +158,7 @@ namespace Tizen.NUI.Tests [Precondition(1, "If test on TV, prepare mouse and connect to TV.")] [Step(1, "If test on TV, connect the mouse to the TV")] [Step(2, "Click run button to run TC")] - [Step(3, "Touch the window. If on the TV, click left mouse button.")] + [Step(3, "Touch the button. If on the TV, click left mouse button.")] [Step(4, "TC will pass after touch or click.")] [Postcondition(1, "NA")] public async Task TouchEvent_CB() diff --git a/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSWindow.cs b/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSWindow.cs index c1b41e6..3931c3d 100755 --- a/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSWindow.cs +++ b/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSWindow.cs @@ -163,7 +163,7 @@ namespace Tizen.NUI.Tests [Step(1, "If test on TV, connect the mouse to the TV")] [Step(2, "Click run button to run TC")] [Step(3, "Touch the window. If on the TV, click left mouse button.")] - [Step(4, "TC will pass after touch or click.")] + [Step(4, "TC will pass after touch or click window.")] [Postcondition(1, "NA")] public async Task TouchEvent_CB() { @@ -175,7 +175,7 @@ namespace Tizen.NUI.Tests } else { - CreateView("Touch or click me"); + CreateView("Touch or click window"); _window.TouchEvent += OnWindowEvent; // Waits for user confirmation. await ManualTest.WaitForConfirm(); -- 2.7.4