diff --git a/ability/ability_runtime/amscontextualinforquery/actsamsstaticabilitystagecontexttest/entry/src/main/ets/test/Ability.test.ets b/ability/ability_runtime/amscontextualinforquery/actsamsstaticabilitystagecontexttest/entry/src/main/ets/test/Ability.test.ets index bbefdd9c2bd7530934268ca3e11b965fb6bce0a8..aef55dcd6d1f77c947d84970332366b75bd565ca 100644 --- a/ability/ability_runtime/amscontextualinforquery/actsamsstaticabilitystagecontexttest/entry/src/main/ets/test/Ability.test.ets +++ b/ability/ability_runtime/amscontextualinforquery/actsamsstaticabilitystagecontexttest/entry/src/main/ets/test/Ability.test.ets @@ -102,7 +102,7 @@ export default function abilityTest() { expect(data.labelId.length).assertLarger(0); expect(data.icon).assertEqual("$media:icon"); expect(data.iconId.length).assertLarger(0); - expect(data.process).assertEqual(""); + expect(data.process).assertEqual("com.example.staticabilitystagecontext"); expect(data.supportedModes).assertEqual(0); expect(data.moduleSourceDirs.length).assertEqual(1); expect(data.moduleSourceDirs[0]).assertEqual("/data/app/el1/bundle/public/" + diff --git a/ability/ability_runtime/amscontextualinforquery/actsamsstaticextensioninfotest/entry/src/main/ets/test/Ability.test.ets b/ability/ability_runtime/amscontextualinforquery/actsamsstaticextensioninfotest/entry/src/main/ets/test/Ability.test.ets index 53d5695b47ef919a908598bc96a2d8621bc4c70f..d777a901cf67d23211504698eea008ed5c737c42 100644 --- a/ability/ability_runtime/amscontextualinforquery/actsamsstaticextensioninfotest/entry/src/main/ets/test/Ability.test.ets +++ b/ability/ability_runtime/amscontextualinforquery/actsamsstaticextensioninfotest/entry/src/main/ets/test/Ability.test.ets @@ -194,7 +194,7 @@ export default function abilityTest() { expect(data.labelId).assertEqual("16777216"); expect(data.icon).assertEqual("$media:icon"); expect(data.iconId).assertEqual("16777224"); - expect(data.process).assertEqual(""); + expect(data.process).assertEqual("com.example.staticextensioninfo"); expect(data.supportedModes).assertEqual(0); expect(data.moduleSourceDirs.length).assertEqual(1); expect(data.moduleSourceDirs[0]).assertEqual("/data/app/el1/bundle/public/" + @@ -376,7 +376,7 @@ export default function abilityTest() { expect(data.labelId.length).assertLarger(0); expect(data.icon).assertEqual("$media:icon"); expect(data.iconId.length).assertLarger(0); - expect(data.process).assertEqual(""); + expect(data.process).assertEqual("com.example.staticextensioninfo"); expect(data.supportedModes).assertEqual(0); expect(data.moduleSourceDirs.length).assertEqual(1); expect(data.moduleSourceDirs[0]).assertEqual("/data/app/el1/bundle/public/" + diff --git a/ability/ability_runtime/amscontextualinforquery/actsamsstaticinfomationquerytest/entry/src/main/ets/test/Ability.test.ets b/ability/ability_runtime/amscontextualinforquery/actsamsstaticinfomationquerytest/entry/src/main/ets/test/Ability.test.ets index 9f0e309acca3b27f5024d5910a32992b2ecb9013..8d9e234346592d846f7ac087e631eed737af93de 100644 --- a/ability/ability_runtime/amscontextualinforquery/actsamsstaticinfomationquerytest/entry/src/main/ets/test/Ability.test.ets +++ b/ability/ability_runtime/amscontextualinforquery/actsamsstaticinfomationquerytest/entry/src/main/ets/test/Ability.test.ets @@ -286,7 +286,7 @@ export default function abilityTest() { expect(data.labelId.length).assertLarger(0); expect(data.icon).assertEqual("$media:icon"); expect(data.iconId.length).assertLarger(0); - expect(data.process).assertEqual(""); + expect(data.process).assertEqual("com.example.staticinfomationquery"); expect(data.supportedModes).assertEqual(0); expect(data.moduleSourceDirs.length).assertEqual(1); expect(data.moduleSourceDirs[0]).assertEqual("/data/app/el1/bundle/public/" + diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/test/QueryExtensionAbilityInfos.test.ets b/bundlemanager/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/test/QueryExtensionAbilityInfos.test.ets index 84edf91bf0cfce0b3c28a7ca130e3ba6f154b371..2532987136379fa6084c6892c83f78e4a08c4334 100644 --- a/bundlemanager/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/test/QueryExtensionAbilityInfos.test.ets +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/test/QueryExtensionAbilityInfos.test.ets @@ -1019,7 +1019,7 @@ export default function QueryExtensionAbilityInfos() { expect(data[0].applicationInfo.labelIndex).assertEqual(data[0].applicationInfo.labelId); expect(data[0].applicationInfo.systemApp).assertTrue(); expect(data[0].applicationInfo.supportedModes).assertEqual(0); - expect(data[0].applicationInfo.process).assertEqual(""); + expect(data[0].applicationInfo.process).assertEqual("ohos.acts.bundle.stage"); expect(data[0].applicationInfo.entryDir).assertEqual("/data/app/el1/bundle/public/ohos.acts.bundle.stage/phone"); expect(data[0].applicationInfo.permissions.length).assertEqual(0); expect(data[0].applicationInfo.moduleSourceDirs[1]).assertEqual("/data/app/el1/bundle/public/ohos.acts.bundle.stage/phone");