提交 315ded89 编写于 作者: L longwei

fix xts for bundleType

Change-Id: I394c2fde73df7b06f0a71520044ae83a66139c08
Signed-off-by: Nlongwei <longwei27@huawei.com>
上级 e553ea39
......@@ -10,6 +10,7 @@
"distributedNotificationEnabled": true,
"keepAlive": true,
"singleUser": true,
"bundleType": "atomicService",
"minAPIVersion": 9,
"targetAPIVersion": 9,
"car": {
......
......@@ -10,6 +10,7 @@
"distributedNotificationEnabled": true,
"keepAlive": true,
"singleUser": true,
"bundleType": "atomicService",
"minAPIVersion": 9,
"targetAPIVersion": 9,
"car": {
......
......@@ -10,6 +10,7 @@
"distributedNotificationEnabled": true,
"keepAlive": true,
"singleUser": true,
"bundleType": "atomicService",
"minAPIVersion": 9,
"targetAPIVersion": 9,
"car": {
......
......@@ -10,6 +10,7 @@
"distributedNotificationEnabled": true,
"keepAlive": true,
"singleUser": true,
"bundleType": "atomicService",
"minAPIVersion": 9,
"targetAPIVersion": 9,
"car": {
......
......@@ -10,6 +10,7 @@
"distributedNotificationEnabled": true,
"keepAlive": true,
"singleUser": true,
"bundleType": "atomicService",
"minAPIVersion": 9,
"targetAPIVersion": 9,
"targetBundleList": [
......
......@@ -10,6 +10,7 @@
"distributedNotificationEnabled": true,
"keepAlive": true,
"singleUser": true,
"bundleType": "atomicService",
"minAPIVersion": 9,
"targetAPIVersion": 9,
"car": {
......
......@@ -10,6 +10,7 @@
"distributedNotificationEnabled": true,
"keepAlive": true,
"singleUser": true,
"bundleType": "atomicService",
"minAPIVersion": 9,
"targetAPIVersion": 9,
"car": {
......
......@@ -13,10 +13,7 @@
"singleUser":true,
"minAPIVersion":9,
"targetAPIVersion":9,
"atomicService":{
"split":true,
"main":"testModule"
},
"bundleType": "atomicService",
"car":{
"apiCompatibleVersion":9,
"singleUser":false
......
......@@ -36,14 +36,11 @@ export default function getBundleInfoForSelf() {
console.info("getBundleInfoForSelfApplicationPro : " + i + " ==" + JSON.stringify(data.hapModulesInfo[i]));
}
expect(data.appInfo.bundleType).assertEqual(bundle.BundleType.ATOMIC_SERVICE);
expect(data.appInfo.split).assertEqual(true);
expect(bundle.ModuleType.SHARED).assertEqual(3);
expect(data.hapModulesInfo[0].type).assertEqual(bundle.ModuleType.FEATURE);
expect(data.hapModulesInfo[0].atomicServiceModuleType).assertEqual(bundle.AtomicServiceModuleType.NORMAL);
expect(data.hapModulesInfo[0].preloads.length).assertEqual(0);
expect(data.hapModulesInfo[0].dependencies.length).assertEqual(0);
expect(data.hapModulesInfo[1].type).assertEqual(bundle.ModuleType.ENTRY);
expect(data.hapModulesInfo[1].atomicServiceModuleType).assertEqual(bundle.AtomicServiceModuleType.MAIN);
expect(data.hapModulesInfo[1].preloads.length).assertEqual(1);
expect(data.hapModulesInfo[1].preloads[0].moduleName).assertEqual("feature");
expect(data.hapModulesInfo[1].dependencies.length).assertEqual(1);
......
......@@ -13,10 +13,7 @@
"singleUser":true,
"minAPIVersion":9,
"targetAPIVersion":9,
"atomicService":{
"split":true,
"main":"testModule"
},
"bundleType": "atomicService",
"car":{
"apiCompatibleVersion":9,
"singleUser":false
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册