From 1778643bbd5f5d5f3856796236e8c76f97bd1a5b Mon Sep 17 00:00:00 2001 From: zhoujun62 Date: Sat, 13 Aug 2022 10:55:24 +0800 Subject: [PATCH] IssueNo:#I5LMJ8:'keepalive' parameter should be used with 'process' parameter Description:'keepalive' parameter should be used with 'process' parameter Sig:SIG_ApplicationFramework Feature or Bugfix:Feature Binary Source:No Signed-off-by: zhoujun62 Change-Id: I117d27fe21fafaa1e3174b87466c279677346fdf --- .../entry/src/main/ets/test/Ability.test.ets | 2 +- .../entry/src/main/ets/test/Ability.test.ets | 4 ++-- .../entry/src/main/ets/test/Ability.test.ets | 2 +- .../src/main/ets/test/QueryExtensionAbilityInfos.test.ets | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) 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 bbefdd9c2..aef55dcd6 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 53d5695b4..d777a901c 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 9f0e309ac..8d9e23434 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 84edf91bf..253298713 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"); -- GitLab