From a8fe6686784c66bc20a73dec7f5338b522fc4731 Mon Sep 17 00:00:00 2001 From: "Eunki, Hong" Date: Wed, 9 Feb 2022 13:18:49 +0900 Subject: [PATCH] [NUI][Non-ACR][Remove deprecated StyleManager TCT] Change-Id: I45809360690b2f74e34e01c16c6b5bd9abbbe8ac Signed-off-by: Eunki, Hong --- .../Tizen.NUI.Tests/testcase/TSStyleManager.cs | 35 ---------------------- 1 file changed, 35 deletions(-) diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSStyleManager.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSStyleManager.cs index ceb2073..4d0952e 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSStyleManager.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSStyleManager.cs @@ -73,41 +73,6 @@ namespace NUIStyleManager.Tests [Test] [Category("P1")] - [Description("Test StyleManager.Check whether StyleManager can change style successfully")] - [Property("SPEC", "Tizen.NUI.StyleManager.ApplyTheme M")] - [Property("SPEC_URL", "-")] - [Property("CRITERIA", "MR")] - [Property("AUTHOR", "Wu Youxia, youxia.wu@partner.samsung.com")] - public void ApplyTheme_CHECK_VALUE() - { - /* TEST CODE */ - StyleManager styleManager = StyleManager.Get(); - TextLabel text = new TextLabel("Hello"); - Window.Instance.GetDefaultLayer().Add(text); - styleManager.ApplyTheme(path); - float pointSize = text.PointSize; - Assert.AreEqual(10.0f, pointSize, "Should be equals to the set value of text.PointSize"); - } - - [Test] - [Category("P1")] - [Description("Test ApplyDefaultTheme.Check whether StyleManager can change style to default theme successfully")] - [Property("SPEC", "Tizen.NUI.StyleManager.ApplyDefaultTheme M")] - [Property("SPEC_URL", "-")] - [Property("CRITERIA", "MR")] - [Property("AUTHOR", "Wu Youxia, youxia.wu@partner.samsung.com")] - public void ApplyDefaultTheme_CHECK_VALUE() - { - /* TEST CODE */ - StyleManager styleManager = StyleManager.Get(); - TextLabel text = new TextLabel(); - Window.Instance.GetDefaultLayer().Add(text); - styleManager.ApplyDefaultTheme(); - Assert.AreEqual(2, text.AutoScrollLoopCount, "Should be equals to the set value of text.AutoScrollLoopCount"); - } - - [Test] - [Category("P1")] [Description("Test ApplyStyle.Check whether ApplyStyle can apply style successfully")] [Property("SPEC", "Tizen.NUI.StyleManager.ApplyStyle M")] [Property("SPEC_URL", "-")] -- 2.7.4