提交 4a12695c 编写于 作者: Z zhaogan

Issue: #I5X0HU

Description: remove ModulesInfo, ModuleSourceDirs from ApplicationInfo
Sig: SIG_ApplicaitonFramework
Feature or Bugfix: Bugfix
Binary Source: No
Signed-off-by: Nzhaogan <zhaogan2@huawei.com>
上级 6aca6cb1
......@@ -101,8 +101,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.moduleSourceDirs.length).assertEqual(1);
expect(data.appInfo.moduleSourceDirs[0]).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.removable).assertTrue(0);
......@@ -155,8 +153,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.moduleSourceDirs.length).assertEqual(1);
expect(data.appInfo.moduleSourceDirs[0]).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.removable).assertTrue(0);
......@@ -712,8 +708,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.moduleSourceDirs.length).assertEqual(1);
expect(data.appInfo.moduleSourceDirs[0]).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.removable).assertTrue(0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册