[Non-ACR][NUI] Fix default theme value of TextLabel 06/257206/1
authorJiyun Yang <ji.yang@samsung.com>
Wed, 21 Apr 2021 06:11:17 +0000 (15:11 +0900)
committerJiyun Yang <ji.yang@samsung.com>
Wed, 21 Apr 2021 06:14:18 +0000 (15:14 +0900)
Default theme is no longer have a TextColor value for TextLabel.
Instead, it defines AutoScrollLoopCount for TextLabel.

Change-Id: Idd326d865d01ac423c354801024db891a9c46c50
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
tct-suite-vs/Tizen.NUI.Tests/testcase/TSStyleManager.cs

index d49676b..ceb2073 100755 (executable)
@@ -103,11 +103,7 @@ namespace NUIStyleManager.Tests
             TextLabel text = new TextLabel();
             Window.Instance.GetDefaultLayer().Add(text);
             styleManager.ApplyDefaultTheme();
-            Color bg = text.TextColor;
-            Assert.AreEqual(0.0f, bg.R, "Should be equals to the set value of text.BackGroundColor.R");
-            Assert.AreEqual(0.0f, bg.G, "Should be equals to the set value of text.BackGroundColor.G");
-            Assert.AreEqual(0.0f, bg.B, "Should be equals to the set value of text.BackGroundColor.B");
-            Assert.AreEqual(1.0f, bg.A, "Should be equals to the set value of text.BackGroundColor.A");
+            Assert.AreEqual(2, text.AutoScrollLoopCount, "Should be equals to the set value of text.AutoScrollLoopCount");
         }
 
         [Test]