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

!6053 remove ModulesInfo, ModuleSourceDirs from ApplicationInfo

Merge pull request !6053 from 赵淦/master
...@@ -101,8 +101,6 @@ export default function getBundleInfoForSelf() { ...@@ -101,8 +101,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.moduleSourceDirs.length).assertEqual(1);
expect(data.appInfo.moduleSourceDirs[0]).assertEqual(SOURCE_DIR);
expect(data.appInfo.entryDir).assertEqual(SOURCE_DIR); 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);
...@@ -155,8 +153,6 @@ export default function getBundleInfoForSelf() { ...@@ -155,8 +153,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.moduleSourceDirs.length).assertEqual(1);
expect(data.appInfo.moduleSourceDirs[0]).assertEqual(SOURCE_DIR);
expect(data.appInfo.entryDir).assertEqual(SOURCE_DIR); 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);
...@@ -712,8 +708,6 @@ export default function getBundleInfoForSelf() { ...@@ -712,8 +708,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.moduleSourceDirs.length).assertEqual(1);
expect(data.appInfo.moduleSourceDirs[0]).assertEqual(SOURCE_DIR);
expect(data.appInfo.entryDir).assertEqual(SOURCE_DIR); 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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册