[NUI][TSCACR-464][Change name of an ImageView Property] 36/266736/4
authorseungho <sbsh.baek@samsung.com>
Thu, 18 Nov 2021 04:51:07 +0000 (13:51 +0900)
committerseunghobaek <sbsh.baek@samsung.com>
Thu, 3 Nov 2022 14:33:00 +0000 (23:33 +0900)
Change-Id: If487f0e5c48f46dcc38f5e590afb0b9523851c5b
Signed-off-by: seungho <sbsh.baek@samsung.com>
tct-suite-vs/Tizen.NUI.Tests/testcase/TSImageView.cs

index 3a2c0bd..143e81e 100755 (executable)
@@ -410,6 +410,27 @@ namespace Tizen.NUI.Tests
 
         [Test]
         [Category("P1")]
+        [Description("Test SynchronousLoading. Get the Image instance from handle instance.")]
+        [Property("SPEC", "Tizen.NUI.BaseComponents.ImageView.SynchronousLoading A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Seungho Baek, sbsh.baek@samsung.com")]
+        public void SynchronousLoading_SET_GET_VALUE()
+        {
+            /* TEST CODE */
+            ImageView imageView = new ImageView();
+            imageView.ParentOrigin = ParentOrigin.CenterLeft;
+            imageView.PivotPoint = PivotPoint.CenterLeft;
+            imageView.PositionUsesPivotPoint = true;
+            imageView.Size2D = new Size2D(150, 150);
+            imageView.ResourceUrl = image_path;
+            Window.Instance.GetDefaultLayer().Add(imageView);
+            imageView.SynchronousLoading = false;
+            Assert.IsFalse(imageView.SynchronousLoading, "Should be false!");
+        }
+
+        [Test]
+        [Category("P1")]
         [Description("Test CropToMask. Check whether CropToMask is readable and writable with true value.")]
         [Property("SPEC", "Tizen.NUI.BaseComponents.ImageView.CropToMask A")]
         [Property("SPEC_URL", "-")]