[Applications][TCSACR-277][Add a new testcase] 45/213945/1
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 17 Sep 2019 01:50:39 +0000 (10:50 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Tue, 17 Sep 2019 01:50:39 +0000 (10:50 +0900)
Change-Id: Ic05ce646bc669d9066dc28d1814c9df0b0928a07
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControl.cs

index a63bfde..858a57c 100755 (executable)
@@ -222,6 +222,23 @@ namespace Tizen.Applications.Tests
         [Test]
         [Category("P1")]
         [Description("Test : AppControl's Properties")]
+        [Property("SPEC", "Tizen.Applications.AppControl.ComponentId A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
+        public void ComponentId_PROPERTY_SET_GET()\r
+        {\r
+            var componentId = "org.example.frame-component";\r
+\r
+            /* TEST CODE */\r
+            _appControl.ComponentId = componentId;\r
+            Assert.IsInstanceOf<string>(_appControl.ComponentId);\r
+            Assert.AreEqual(componentId, _appControl.ComponentId, "Property \"ComponentId\": the setting value should be equal to the getting value.");\r
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test : AppControl's Properties")]
         [Property("SPEC", "Tizen.Applications.AppControl.SafeAppControlHandle A")]
         [Property("SPEC_URL", "-")]
         [Property("CRITERIA", "PRO")]