[NUI][Non-ACR][Fix testhub fail issue] 08/237808/1
authorDongsug Song <dongsug.song@samsung.com>
Mon, 6 Jul 2020 01:23:24 +0000 (10:23 +0900)
committerDongsug Song <dongsug.song@samsung.com>
Mon, 6 Jul 2020 01:23:24 +0000 (10:23 +0900)
Change-Id: If5c804fcd6452885f65535ca2819be46672dd77b

tct-suite-vs/Tizen.NUI.Tests/testcase/TSLottieAnimationView.cs

index 7624db637c86eb7eba2050c0c83b416c4f8e42b4..c68339fff7856cf5ad5a632038e6ef85b06d2da8 100755 (executable)
@@ -322,29 +322,29 @@ namespace Tizen.NUI.BaseComponents.Tests
             NUIApplication.GetDefaultWindow().Add(lottie);
             await Task.Delay(500);
 
-            var min = 10;
-            var max = 20;
+            var min = 5;
+            var max = 9;
             lottie.SetMinMaxFrame(min, max);
-            await Task.Delay(100);
+            await Task.Delay(300);
 
             lottie.StopBehavior = LottieAnimationView.StopBehaviorType.MinimumFrame;
             lottie.Play();
-            await Task.Delay(100);
-
+            await Task.Delay(300);\r
+            L.Debug(tag, $"1. stop behavior ={lottie.StopBehavior} total frame={lottie.TotalFrame}");
             lottie.Stop();
-            await Task.Delay(100);
+            await Task.Delay(300);
 
-            L.Debug(tag, $"2. current frame={lottie.CurrentFrame}");
+            L.Debug(tag, $"2. current frame={lottie.CurrentFrame}, min={min}, max={max}");
             Assert.IsTrue(min == lottie.CurrentFrame, "should be same as previously set value");
 
             lottie.StopBehavior = LottieAnimationView.StopBehaviorType.MaximumFrame;
             lottie.Play();
-            await Task.Delay(100);
-
+            await Task.Delay(300);
+            L.Debug(tag, $"2-1. stop behavior ={lottie.StopBehavior}");
             lottie.Stop();
-            await Task.Delay(100);
+            await Task.Delay(300);
 
-            L.Debug(tag, $"3. current frame={lottie.CurrentFrame}");
+            L.Debug(tag, $"3. current frame={lottie.CurrentFrame}, min={min}, max={max}");
             Assert.IsTrue(max == lottie.CurrentFrame, "should be same as previously set value");
 
             L.Debug(tag, $"if some fail comes above, this will be not be shown!");