未验证 提交 03fd1121 编写于 作者: O openharmony_ci 提交者: Gitee

!7566 包管理API9终审问题修改-xts适配-monthly

Merge pull request !7566 from wangtiantian/cherry-pick-1676274895
......@@ -281,7 +281,7 @@ export default function getBundleInfoForSelf() {
expect(data.hapModulesInfo[0].abilitiesInfo[0].icon).assertEqual("$media:icon");
expect(data.hapModulesInfo[0].abilitiesInfo[0].iconId).assertLarger(0);
expect(data.hapModulesInfo[0].abilitiesInfo[0].process).assertEqual("");
expect(data.hapModulesInfo[0].abilitiesInfo[0].isVisible).assertTrue();
expect(data.hapModulesInfo[0].abilitiesInfo[0].exported).assertTrue();
expect(data.hapModulesInfo[0].abilitiesInfo[0].type).assertEqual(1);
expect(data.hapModulesInfo[0].abilitiesInfo[0].orientation).assertEqual(bundle.DisplayOrientation.PORTRAIT);
expect(data.hapModulesInfo[0].abilitiesInfo[0].launchType).assertEqual(bundle.LaunchType.SINGLETON);
......@@ -311,7 +311,7 @@ export default function getBundleInfoForSelf() {
expect(data.hapModulesInfo[0].abilitiesInfo[0].windowSize.maxWindowHeight).assertEqual(0);
expect(data.hapModulesInfo[0].abilitiesInfo[0].windowSize.minWindowHeight).assertEqual(0);
expect(data.hapModulesInfo[0].abilitiesInfo[1].name).assertEqual("ohos.acts.bundle.stage.test.MainAbility1");
expect(data.hapModulesInfo[0].abilitiesInfo[1].launchType).assertEqual(bundle.LaunchType.STANDARD);
expect(data.hapModulesInfo[0].abilitiesInfo[1].launchType).assertEqual(bundle.LaunchType.MULTITON);
expect(data.hapModulesInfo[0].abilitiesInfo[1].orientation).assertEqual(bundle.DisplayOrientation.LANDSCAPE);
expect(data.hapModulesInfo[0].abilitiesInfo[2].name).assertEqual("ohos.acts.bundle.stage.test.MainAbility10");
expect(data.hapModulesInfo[0].abilitiesInfo[2].orientation).assertEqual(bundle.DisplayOrientation.LOCKED);
......@@ -387,7 +387,7 @@ export default function getBundleInfoForSelf() {
expect(data.hapModulesInfo[0].abilitiesInfo[0].icon).assertEqual("$media:icon");
expect(data.hapModulesInfo[0].abilitiesInfo[0].iconId).assertLarger(0);
expect(data.hapModulesInfo[0].abilitiesInfo[0].process).assertEqual("");
expect(data.hapModulesInfo[0].abilitiesInfo[0].isVisible).assertTrue();
expect(data.hapModulesInfo[0].abilitiesInfo[0].exported).assertTrue();
expect(data.hapModulesInfo[0].abilitiesInfo[0].type).assertEqual(1);
expect(data.hapModulesInfo[0].abilitiesInfo[0].orientation).assertEqual(bundle.DisplayOrientation.PORTRAIT);
expect(data.hapModulesInfo[0].abilitiesInfo[0].launchType).assertEqual(bundle.LaunchType.SINGLETON);
......@@ -417,7 +417,7 @@ export default function getBundleInfoForSelf() {
expect(data.hapModulesInfo[0].abilitiesInfo[0].windowSize.maxWindowHeight).assertEqual(0);
expect(data.hapModulesInfo[0].abilitiesInfo[0].windowSize.minWindowHeight).assertEqual(0);
expect(data.hapModulesInfo[0].abilitiesInfo[1].name).assertEqual("ohos.acts.bundle.stage.test.MainAbility1");
expect(data.hapModulesInfo[0].abilitiesInfo[1].launchType).assertEqual(bundle.LaunchType.STANDARD);
expect(data.hapModulesInfo[0].abilitiesInfo[1].launchType).assertEqual(bundle.LaunchType.MULTITON);
expect(data.hapModulesInfo[0].abilitiesInfo[1].orientation).assertEqual(bundle.DisplayOrientation.LANDSCAPE);
expect(data.hapModulesInfo[0].abilitiesInfo[2].name).assertEqual("ohos.acts.bundle.stage.test.MainAbility10");
expect(data.hapModulesInfo[0].abilitiesInfo[2].orientation).assertEqual(bundle.DisplayOrientation.LOCKED);
......@@ -493,7 +493,7 @@ export default function getBundleInfoForSelf() {
expect(extensionList[i].labelId).assertLarger(0);
expect(extensionList[i].descriptionId).assertLarger(0);
expect(extensionList[i].iconId).assertLarger(0);
expect(extensionList[i].isVisible).assertTrue();
expect(extensionList[i].exported).assertTrue();
expect(extensionList[i].extensionAbilityType).assertEqual(bundle.ExtensionAbilityType.FORM);
expect(extensionList[i].permissions.length).assertEqual(0);
expect(extensionList[i].applicationInfo).assertEqual(null);
......@@ -511,7 +511,7 @@ export default function getBundleInfoForSelf() {
expect(extensionList[i].labelId).assertLarger(0);
expect(extensionList[i].descriptionId).assertLarger(0);
expect(extensionList[i].iconId).assertLarger(0);
expect(extensionList[i].isVisible).assertTrue();
expect(extensionList[i].exported).assertTrue();
expect(extensionList[i].extensionAbilityType).assertEqual(bundle.ExtensionAbilityType.FORM);
expect(extensionList[i].permissions.length).assertEqual(0);
expect(extensionList[i].applicationInfo).assertEqual(null);
......@@ -618,7 +618,7 @@ export default function getBundleInfoForSelf() {
expect(extensionList[i].labelId).assertLarger(0);
expect(extensionList[i].descriptionId).assertLarger(0);
expect(extensionList[i].iconId).assertLarger(0);
expect(extensionList[i].isVisible).assertTrue();
expect(extensionList[i].exported).assertTrue();
expect(extensionList[i].extensionAbilityType).assertEqual(bundle.ExtensionAbilityType.FORM);
expect(extensionList[i].permissions.length).assertEqual(0);
expect(extensionList[i].applicationInfo).assertEqual(null);
......@@ -636,7 +636,7 @@ export default function getBundleInfoForSelf() {
expect(extensionList[i].labelId).assertLarger(0);
expect(extensionList[i].descriptionId).assertLarger(0);
expect(extensionList[i].iconId).assertLarger(0);
expect(extensionList[i].isVisible).assertTrue();
expect(extensionList[i].exported).assertTrue();
expect(extensionList[i].extensionAbilityType).assertEqual(bundle.ExtensionAbilityType.FORM);
expect(extensionList[i].permissions.length).assertEqual(0);
expect(extensionList[i].applicationInfo).assertEqual(null);
......@@ -1067,7 +1067,7 @@ export default function getBundleInfoForSelf() {
expect(data.icon).assertEqual("$media:icon");
expect(data.iconId).assertLarger(0);
expect(data.process).assertEqual("");
expect(data.isVisible).assertTrue();
expect(data.exported).assertTrue();
expect(data.type).assertEqual(1);
expect(data.permissions.length).assertEqual(0);
expect(data.readPermission).assertEqual("");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册