From fffb43fef093ba7ad802bd39e0c501a43fe7f666 Mon Sep 17 00:00:00 2001 From: "dongsug.song" Date: Thu, 4 Oct 2018 14:17:19 +0900 Subject: [PATCH] [NUI][Non-ACR][Fix Tick_CHECK_EVENT error] Change-Id: If76db2b20dd60b8b8a22f4b7a0890c8861eaad3a --- tct-suite-vs/Tizen.NUI.Tests/testcase/TSTimer.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTimer.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTimer.cs index 6b5f0f7..3e5cad7 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTimer.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTimer.cs @@ -127,7 +127,7 @@ namespace Tizen.NUI.Tests [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")] public async Task Tick_CHECK_EVENT() { - Timer timer = new Timer(100); + Timer timer = new Timer(200); bool flag = false; timer.Tick += (source, e) => { @@ -135,7 +135,10 @@ namespace Tizen.NUI.Tests return false; }; timer.Start(); - await Task.Delay(150); + Tizen.Log.Fatal("NUI", $"Tick_CHECK_EVENT() : timer.Start() [TimeStamp:{DateTime.Now.ToString("hh:mm:ss.fff")}]"); + await Task.Delay(300); + timer.Stop(); + Tizen.Log.Fatal("NUI", $"Tick_CHECK_EVENT() : timer.Stop(), flag={flag} [TimeStamp:{DateTime.Now.ToString("hh:mm:ss.fff")}]"); Assert.IsTrue(flag, "The Tick Event has been triggerred!"); } -- 2.7.4