提交 68648427 编写于 作者: S SoftSquirrel

Issue:#I6ANQH

Description: 包管理删除entryDir和moduleSourceDir(monthly)
Sig: SIG_ApplicaitonFramework
Feature or Bugfix: Feature
Binary Source: No
Signed-off-by: NSoftSquirrel <xuhao47@huawei.com>
上级 271ff71a
...@@ -103,7 +103,6 @@ export default function getBundleInfoForSelf() { ...@@ -103,7 +103,6 @@ export default function getBundleInfoForSelf() {
expect(data.appInfo.icon).assertEqual("$media:icon"); expect(data.appInfo.icon).assertEqual("$media:icon");
expect(data.appInfo.iconId).assertLarger(0); expect(data.appInfo.iconId).assertLarger(0);
expect(data.appInfo.process).assertEqual(BUNDLE_NAME); expect(data.appInfo.process).assertEqual(BUNDLE_NAME);
expect(data.appInfo.entryDir).assertEqual(SOURCE_DIR);
expect(data.appInfo.codePath).assertEqual("/data/app/el1/bundle/public/ohos.acts.bundle.stage.test"); expect(data.appInfo.codePath).assertEqual("/data/app/el1/bundle/public/ohos.acts.bundle.stage.test");
expect(data.appInfo.removable).assertTrue(0); expect(data.appInfo.removable).assertTrue(0);
expect(data.appInfo.accessTokenId).assertLarger(0); expect(data.appInfo.accessTokenId).assertLarger(0);
...@@ -156,7 +155,6 @@ export default function getBundleInfoForSelf() { ...@@ -156,7 +155,6 @@ export default function getBundleInfoForSelf() {
expect(data.appInfo.icon).assertEqual("$media:icon"); expect(data.appInfo.icon).assertEqual("$media:icon");
expect(data.appInfo.iconId).assertLarger(0); expect(data.appInfo.iconId).assertLarger(0);
expect(data.appInfo.process).assertEqual(BUNDLE_NAME); expect(data.appInfo.process).assertEqual(BUNDLE_NAME);
expect(data.appInfo.entryDir).assertEqual(SOURCE_DIR);
expect(data.appInfo.codePath).assertEqual("/data/app/el1/bundle/public/ohos.acts.bundle.stage.test"); expect(data.appInfo.codePath).assertEqual("/data/app/el1/bundle/public/ohos.acts.bundle.stage.test");
expect(data.appInfo.removable).assertTrue(0); expect(data.appInfo.removable).assertTrue(0);
expect(data.appInfo.accessTokenId).assertLarger(0); expect(data.appInfo.accessTokenId).assertLarger(0);
...@@ -211,7 +209,6 @@ export default function getBundleInfoForSelf() { ...@@ -211,7 +209,6 @@ export default function getBundleInfoForSelf() {
expect(data.hapModulesInfo[0].deviceTypes[1]).assertEqual("tablet"); expect(data.hapModulesInfo[0].deviceTypes[1]).assertEqual("tablet");
expect(data.hapModulesInfo[0].installationFree).assertFalse(); expect(data.hapModulesInfo[0].installationFree).assertFalse();
expect(data.hapModulesInfo[0].hashValue).assertEqual(""); expect(data.hapModulesInfo[0].hashValue).assertEqual("");
expect(data.hapModulesInfo[0].moduleSourceDir).assertEqual(SOURCE_DIR);
expect(data.reqPermissionDetails.length).assertEqual(0); expect(data.reqPermissionDetails.length).assertEqual(0);
expect(data.permissionGrantStates.length).assertEqual(0); expect(data.permissionGrantStates.length).assertEqual(0);
expect(data.signatureInfo).assertEqual(null); expect(data.signatureInfo).assertEqual(null);
...@@ -250,7 +247,6 @@ export default function getBundleInfoForSelf() { ...@@ -250,7 +247,6 @@ export default function getBundleInfoForSelf() {
expect(data.hapModulesInfo[0].deviceTypes[1]).assertEqual("tablet"); expect(data.hapModulesInfo[0].deviceTypes[1]).assertEqual("tablet");
expect(data.hapModulesInfo[0].installationFree).assertFalse(); expect(data.hapModulesInfo[0].installationFree).assertFalse();
expect(data.hapModulesInfo[0].hashValue).assertEqual(""); expect(data.hapModulesInfo[0].hashValue).assertEqual("");
expect(data.hapModulesInfo[0].moduleSourceDir).assertEqual(SOURCE_DIR);
expect(data.reqPermissionDetails.length).assertEqual(0); expect(data.reqPermissionDetails.length).assertEqual(0);
expect(data.permissionGrantStates.length).assertEqual(0); expect(data.permissionGrantStates.length).assertEqual(0);
expect(data.signatureInfo).assertEqual(null); expect(data.signatureInfo).assertEqual(null);
...@@ -1021,7 +1017,6 @@ export default function getBundleInfoForSelf() { ...@@ -1021,7 +1017,6 @@ export default function getBundleInfoForSelf() {
expect(data.appInfo.icon).assertEqual("$media:icon"); expect(data.appInfo.icon).assertEqual("$media:icon");
expect(data.appInfo.iconId).assertLarger(0); expect(data.appInfo.iconId).assertLarger(0);
expect(data.appInfo.process).assertEqual(BUNDLE_NAME); expect(data.appInfo.process).assertEqual(BUNDLE_NAME);
expect(data.appInfo.entryDir).assertEqual(SOURCE_DIR);
expect(data.appInfo.codePath).assertEqual("/data/app/el1/bundle/public/ohos.acts.bundle.stage.test"); expect(data.appInfo.codePath).assertEqual("/data/app/el1/bundle/public/ohos.acts.bundle.stage.test");
expect(data.appInfo.removable).assertTrue(0); expect(data.appInfo.removable).assertTrue(0);
expect(data.appInfo.accessTokenId).assertLarger(0); expect(data.appInfo.accessTokenId).assertLarger(0);
...@@ -1059,7 +1054,6 @@ export default function getBundleInfoForSelf() { ...@@ -1059,7 +1054,6 @@ export default function getBundleInfoForSelf() {
expect(data.hapModulesInfo[0].deviceTypes[1]).assertEqual("tablet"); expect(data.hapModulesInfo[0].deviceTypes[1]).assertEqual("tablet");
expect(data.hapModulesInfo[0].installationFree).assertFalse(); expect(data.hapModulesInfo[0].installationFree).assertFalse();
expect(data.hapModulesInfo[0].hashValue).assertEqual(""); expect(data.hapModulesInfo[0].hashValue).assertEqual("");
expect(data.hapModulesInfo[0].moduleSourceDir).assertEqual(SOURCE_DIR);
console.info("checkCommonHapModuleInfo end"); console.info("checkCommonHapModuleInfo end");
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册