From 8ccbe446336aa1d43e50aedc46780e2571719e3b Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Tue, 17 Sep 2019 10:50:39 +0900 Subject: [PATCH] [Applications][TCSACR-277][Add a new testcase] Change-Id: Ic05ce646bc669d9066dc28d1814c9df0b0928a07 Signed-off-by: Hwankyu Jhun --- .../Tizen.Applications.Tests/testcase/TSAppControl.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControl.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControl.cs index a63bfde..858a57c 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControl.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControl.cs @@ -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() + { + var componentId = "org.example.frame-component"; + + /* TEST CODE */ + _appControl.ComponentId = componentId; + Assert.IsInstanceOf(_appControl.ComponentId); + Assert.AreEqual(componentId, _appControl.ComponentId, "Property \"ComponentId\": the setting value should be equal to the getting value."); + } + + [Test] + [Category("P1")] + [Description("Test : AppControl's Properties")] [Property("SPEC", "Tizen.Applications.AppControl.SafeAppControlHandle A")] [Property("SPEC_URL", "-")] [Property("CRITERIA", "PRO")] -- 2.7.4