[NUI][Non-ACR] Fix ScrollView TCT Fail issue 93/210793/1
authorhuiyu.eun <huiyu.eun@samsung.com>
Thu, 25 Jul 2019 01:30:19 +0000 (10:30 +0900)
committerhuiyu.eun <huiyu.eun@samsung.com>
Thu, 25 Jul 2019 01:30:19 +0000 (10:30 +0900)
Fix Size and PixelSize of TextEditor

Change-Id: I9113386178ab5374edc5fde07421cdfe60d26718
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextEditor.cs

index c89b742a5b0bf1697f2f0f197ccee253b667a134..ed7daf9af3008b20b6c59a18fb610498c7418309 100755 (executable)
@@ -1113,19 +1113,20 @@ namespace Tizen.NUI.Tests
         [Property("SPEC", "Tizen.NUI.BaseComponents.TextEditor.ScrollStateChanged E")]
         [Property("SPEC_URL", "-")]
         [Property("CRITERIA", "EVL")]
-        [Property("AUTHOR", "Xianbing Teng, xb.teng@samsung.com")]
+        [Property("AUTHOR", "Xianbing Teng, xb.teng@samsung.com")]\r
         public async Task ScrollStateChanged_CHECK_EVENT()
         {
             var textEditor = new TextEditor()
             {
-                Size2D = new Size2D(100, 60),
-                Text = "Hello Hello World World",
+                Size2D = new Size2D(50, 50),
+                Text = "Hello Hello World World Tizen!! Hello World, test Test Test Test",
                 Focusable = true,
             };
             Window.Instance.Add(textEditor);
             try
             {
                 textEditor.ScrollStateChanged += OnScrollStateChanged;
+                textEditor.PixelSize = 10.0f;
                 FocusManager.Instance.SetCurrentFocusView(textEditor);
                 await Task.Delay(500);
                 Assert.IsTrue(_flagScrollStateChanged, "ScrollStateChanged is not be called");