[Tizen.Applications.Common][TCSACR-304][Modify a testcase] 19/228119/1
authorInkyun Kil <inkyun.kil@samsung.com>
Thu, 19 Mar 2020 06:51:10 +0000 (15:51 +0900)
committerInkyun Kil <inkyun.kil@samsung.com>
Thu, 19 Mar 2020 06:56:48 +0000 (15:56 +0900)
Change-Id: I8a0c41d9225ac99875e7ac499af714b72ad37be1
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
tct-suite-vs/Resource/Tizen.Applications.Tests/org.tizen.example.ComponentBasedSample-1.0.0.tpk [new file with mode: 0755]
tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationInfo.cs [changed mode: 0644->0755]

diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/org.tizen.example.ComponentBasedSample-1.0.0.tpk b/tct-suite-vs/Resource/Tizen.Applications.Tests/org.tizen.example.ComponentBasedSample-1.0.0.tpk
new file mode 100755 (executable)
index 0000000..21c9500
Binary files /dev/null and b/tct-suite-vs/Resource/Tizen.Applications.Tests/org.tizen.example.ComponentBasedSample-1.0.0.tpk differ
old mode 100644 (file)
new mode 100755 (executable)
index 5cdf17a..424aad5
@@ -17,6 +17,7 @@ namespace Tizen.Applications.Tests
         public ApplicationInfo _appInfor;
         private const string AppId = "BasicTpkApp01";
         private const string AppLocalLabel = "BasicTpkApp01";
+        private const string ComponentBasedAppId = "org.tizen.example.ComponentBasedSample";
         private const string MetaKey = "myMetaDataKey1";
         private const string CategoryName1 = "myCategory1";
         private const string CategoryName2 = "myCategory2";
@@ -166,6 +167,10 @@ namespace Tizen.Applications.Tests
         {
             ApplicationComponentType result = _appInfor.ComponentType;
             Assert.IsTrue(result == ApplicationComponentType.UIApplication, "Application component type of " + AppId + " is not correct");
+
+            ApplicationInfo compApp = new ApplicationInfo(ComponentBasedAppId);
+            result = compApp.ComponentType;
+            Assert.IsTrue(result == ApplicationComponentType.ComponentBasedApplication, "Application component type of " + ComponentBasedAppId + " is not correct");
         }
 
         [Test]