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 ff85a999bb65168077850b74eff56fc424ae2122..9e40c5b25a874050113336db6ed8715b54b0fea9 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 @@ -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("");