From: Hwankyu Jhun Date: Tue, 17 Sep 2019 01:50:39 +0000 (+0900) Subject: [Applications][TCSACR-277][Add a new testcase] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F45%2F213945%2F1;p=test%2Ftct%2Fcsharp%2Fapi.git [Applications][TCSACR-277][Add a new testcase] Change-Id: Ic05ce646bc669d9066dc28d1814c9df0b0928a07 Signed-off-by: Hwankyu Jhun --- diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControl.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControl.cs index a63bfdedb..858a57ce5 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControl.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControl.cs @@ -219,6 +219,23 @@ namespace Tizen.Applications.Tests Assert.AreEqual(uri, _appControl.Uri, "Propety \"Uri\": the set value and the get value should be equal"); } + [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")]