From 82a581f4f9bfe60f41a47cd46e2943c8307d49f5 Mon Sep 17 00:00:00 2001 From: SoftSquirrel Date: Wed, 28 Dec 2022 14:39:18 +0800 Subject: [PATCH] Issue:#I665GE Description: delete entryDir and moduleSourceDir Sig: SIG_ApplicaitonFramework Feature or Bugfix: Feature Binary Source: No Signed-off-by: SoftSquirrel --- .../entry/src/main/ets/test/GetBundleInfoForSelf.test.ets | 6 ------ 1 file changed, 6 deletions(-) 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 25a7c50d9..8f246004d 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"); } -- GitLab