[NUI][Non-ACR] Add missing TC [ViewStyle.CornerRadius] 45/264945/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 6 Oct 2021 03:18:30 +0000 (12:18 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Wed, 6 Oct 2021 03:20:03 +0000 (12:20 +0900)
Change-Id: I77d8e9b2f3f6359e33faefd8cac084ddb936b215
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
tct-suite-vs/Tizen.NUI.Tests/testcase/TSViewStyle.cs

index 5636cfb..b16e806 100755 (executable)
@@ -360,6 +360,22 @@ namespace Tizen.NUI.Tests
 
         [Test]
         [Category("P1")]
+        [Description("Test CornerRadius. Check whether CornerRadius is readable and writable.")]
+        [Property("SPEC", "Tizen.NUI.BaseComponents.ViewStyle.CornerRadius A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Eunki Hong, eunkiki.hong@samsung.com")]
+        public void CornerRadius_SET_GET_VALUE()
+        {
+            /* TEST CODE */
+            var testValue = new Vector4(1.1f, 2.2f, 3.3f, 4.4f);
+            style.CornerRadius = testValue;
+            Assert.IsNotNull(style.CornerRadius, "CornerRadius should be not null.");
+            Assert.IsTrue(testValue.Equals(style.CornerRadius), "Should be equal to the set value");
+        }
+
+        [Test]
+        [Category("P1")]
         [Description("Test CornerRadiusPolicy. Check whether CornerRadiusPolicy is readable and writable.")]
         [Property("SPEC", "Tizen.NUI.BaseComponents.ViewStyle.CornerRadiusPolicy A")]
         [Property("SPEC_URL", "-")]