提交 1778643b 编写于 作者: Z zhoujun62

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: Nzhoujun62 <zhoujun62@huawei.com>
Change-Id: I117d27fe21fafaa1e3174b87466c279677346fdf
上级 4f7b6898
......@@ -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/" +
......
......@@ -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/" +
......
......@@ -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/" +
......
......@@ -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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册