From c3812a110533746e82c79d09bafb7002d2f3477b Mon Sep 17 00:00:00 2001 From: Jiyun Yang Date: Wed, 21 Apr 2021 15:11:17 +0900 Subject: [PATCH] [Non-ACR][NUI] Fix default theme value of TextLabel 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 --- tct-suite-vs/Tizen.NUI.Tests/testcase/TSStyleManager.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSStyleManager.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSStyleManager.cs index d49676b..ceb2073 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSStyleManager.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSStyleManager.cs @@ -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] -- 2.7.4