[NUI][Non-ACR][Fix tc fail] 37/284737/1
authorBowon Ryu <bowon.ryu@samsung.com>
Thu, 24 Nov 2022 12:56:06 +0000 (21:56 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Thu, 24 Nov 2022 13:01:00 +0000 (22:01 +0900)
the default value of FontSizeScale may be different depending on Theme(or profile).
in tizen_7.5, the default value is different from tizen_7.0 according to UX requirements.

but since tct has not yet branch out to tizen_7.0,
so I deleted the default value check tc to satisfy the 2 versions tc pass.

Change-Id: I796948cb067df33b6068d4eefdaa04cd800bbd31
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextEditor.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextField.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextLabel.cs

index b1c6525..a0bb07a 100755 (executable)
@@ -1363,7 +1363,7 @@ namespace Tizen.NUI.Tests
 
         [Test]
         [Category("P1")]
-        [Description("Test FontSizeScale. Check the default FontSizeScale and whether FontSizeScale is readable and writable.")]
+        [Description("Test FontSizeScale. Check whether FontSizeScale is readable and writable.")]
         [Property("SPEC", "Tizen.NUI.BaseComponents.TextEditor.FontSizeScale A")]
         [Property("SPEC_URL", "-")]
         [Property("CRITERIA", "PRW")]
@@ -1372,7 +1372,6 @@ namespace Tizen.NUI.Tests
         {
             /* TEST CODE */
             TextEditor textEditor = new TextEditor();
-            Assert.AreEqual(1.0, textEditor.FontSizeScale, "Retrieved the default FontSizeScale should be equal to 1.0");
             float scale = 0.5f;
             textEditor.FontSizeScale = scale;
             Assert.AreEqual(scale, textEditor.FontSizeScale, "Retrieved FontSizeScale should be equal to set value");
index fe2039b..7b3e742 100755 (executable)
@@ -1386,7 +1386,7 @@ namespace Tizen.NUI.Tests
 
         [Test]
         [Category("P1")]
-        [Description("Test FontSizeScale. Check the default FontSizeScale whether FontSizeScale is readable and writable.")]
+        [Description("Test FontSizeScale. Check whether FontSizeScale is readable and writable.")]
         [Property("SPEC", "Tizen.NUI.BaseComponents.TextField.FontSizeScale A")]
         [Property("SPEC_URL", "-")]
         [Property("CRITERIA", "PRW")]
@@ -1395,7 +1395,6 @@ namespace Tizen.NUI.Tests
         {
             /* TEST CODE */
             TextField textField = new TextField();
-            Assert.AreEqual(1.0, textField.FontSizeScale, "Retrieved the default FontSizeScale should be equal to 1.0");
             float scale = 0.5f;
             textField.FontSizeScale = scale;
             Assert.AreEqual(scale, textField.FontSizeScale, "Retrieved FontSizeScale should be equal to set value");
index 92936bc..8b55995 100755 (executable)
@@ -782,7 +782,7 @@ namespace Tizen.NUI.Tests
 
         [Test]
         [Category("P1")]
-        [Description("Test FontSizeScale. Check the default FontSizeScale and whether FontSizeScale is readable and writable.")]
+        [Description("Test FontSizeScale. Check whether FontSizeScale is readable and writable.")]
         [Property("SPEC", "Tizen.NUI.BaseComponents.TextLabel.FontSizeScale A")]
         [Property("SPEC_URL", "-")]
         [Property("CRITERIA", "PRW")]
@@ -791,7 +791,6 @@ namespace Tizen.NUI.Tests
         {
             /* TEST CODE */
             TextLabel textLabel = new TextLabel();
-            Assert.AreEqual(1.0, textLabel.FontSizeScale, "Retrieved the default FontSizeScale should be equal to 1.0");
             float scale = 0.5f;
             textLabel.FontSizeScale = scale;
             Assert.AreEqual(scale, textLabel.FontSizeScale, "Retrieved FontSizeScale should be equal to set value");