diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlemanagerstagetest/entry/src/main/ets/test/GetBundleInfoForSelf.test.ets b/bundlemanager/bundle_standard/bundlemanager/actsbundlemanagerstagetest/entry/src/main/ets/test/GetBundleInfoForSelf.test.ets index 25a7c50d9588b01e18fb12bb6cdaea09674bf7d9..8f246004dbfc593564975e7d01f7eb9d8f3bcebc 100644 --- a/bundlemanager/bundle_standard/bundlemanager/actsbundlemanagerstagetest/entry/src/main/ets/test/GetBundleInfoForSelf.test.ets +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlemanagerstagetest/entry/src/main/ets/test/GetBundleInfoForSelf.test.ets @@ -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(''); 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); @@ -155,7 +154,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(''); 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); @@ -209,7 +207,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(''); expect(data.reqPermissionDetails.length).assertEqual(0); expect(data.permissionGrantStates.length).assertEqual(0); expect(data.signatureInfo).assertEqual(null); @@ -248,7 +245,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(''); expect(data.reqPermissionDetails.length).assertEqual(0); expect(data.permissionGrantStates.length).assertEqual(0); expect(data.signatureInfo).assertEqual(null); @@ -1019,7 +1015,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(''); 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); @@ -1056,7 +1051,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(''); console.info("checkCommonHapModuleInfo end"); }