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";
{
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]