提交 82a581f4 编写于 作者: S SoftSquirrel

Issue:#I665GE

Description: delete entryDir and moduleSourceDir
Sig: SIG_ApplicaitonFramework
Feature or Bugfix: Feature
Binary Source: No
Signed-off-by: NSoftSquirrel <xuhao47@huawei.com>
上级 512a2d9d
...@@ -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('');
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);
...@@ -155,7 +154,6 @@ export default function getBundleInfoForSelf() { ...@@ -155,7 +154,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('');
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);
...@@ -209,7 +207,6 @@ export default function getBundleInfoForSelf() { ...@@ -209,7 +207,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('');
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);
...@@ -248,7 +245,6 @@ export default function getBundleInfoForSelf() { ...@@ -248,7 +245,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('');
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);
...@@ -1019,7 +1015,6 @@ export default function getBundleInfoForSelf() { ...@@ -1019,7 +1015,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('');
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);
...@@ -1056,7 +1051,6 @@ export default function getBundleInfoForSelf() { ...@@ -1056,7 +1051,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('');
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.
先完成此消息的编辑!
想要评论请 注册