未验证 提交 e404d810 编写于 作者: O openharmony_ci 提交者: Gitee

!7231 包管理删除entryDir和moduleSourceDir(monthly)

Merge pull request !7231 from SoftSquirrel/monthly_20221018
......@@ -103,7 +103,6 @@ export default function getBundleInfoForSelf() {
expect(data.appInfo.icon).assertEqual("$media:icon");
expect(data.appInfo.iconId).assertLarger(0);
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.removable).assertTrue(0);
expect(data.appInfo.accessTokenId).assertLarger(0);
......@@ -156,7 +155,6 @@ export default function getBundleInfoForSelf() {
expect(data.appInfo.icon).assertEqual("$media:icon");
expect(data.appInfo.iconId).assertLarger(0);
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.removable).assertTrue(0);
expect(data.appInfo.accessTokenId).assertLarger(0);
......@@ -211,7 +209,6 @@ export default function getBundleInfoForSelf() {
expect(data.hapModulesInfo[0].deviceTypes[1]).assertEqual("tablet");
expect(data.hapModulesInfo[0].installationFree).assertFalse();
expect(data.hapModulesInfo[0].hashValue).assertEqual("");
expect(data.hapModulesInfo[0].moduleSourceDir).assertEqual(SOURCE_DIR);
expect(data.reqPermissionDetails.length).assertEqual(0);
expect(data.permissionGrantStates.length).assertEqual(0);
expect(data.signatureInfo).assertEqual(null);
......@@ -250,7 +247,6 @@ export default function getBundleInfoForSelf() {
expect(data.hapModulesInfo[0].deviceTypes[1]).assertEqual("tablet");
expect(data.hapModulesInfo[0].installationFree).assertFalse();
expect(data.hapModulesInfo[0].hashValue).assertEqual("");
expect(data.hapModulesInfo[0].moduleSourceDir).assertEqual(SOURCE_DIR);
expect(data.reqPermissionDetails.length).assertEqual(0);
expect(data.permissionGrantStates.length).assertEqual(0);
expect(data.signatureInfo).assertEqual(null);
......@@ -1021,7 +1017,6 @@ export default function getBundleInfoForSelf() {
expect(data.appInfo.icon).assertEqual("$media:icon");
expect(data.appInfo.iconId).assertLarger(0);
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.removable).assertTrue(0);
expect(data.appInfo.accessTokenId).assertLarger(0);
......@@ -1059,7 +1054,6 @@ export default function getBundleInfoForSelf() {
expect(data.hapModulesInfo[0].deviceTypes[1]).assertEqual("tablet");
expect(data.hapModulesInfo[0].installationFree).assertFalse();
expect(data.hapModulesInfo[0].hashValue).assertEqual("");
expect(data.hapModulesInfo[0].moduleSourceDir).assertEqual(SOURCE_DIR);
console.info("checkCommonHapModuleInfo end");
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册