From 515aa1cded8dfa6f0fcbdce12b289f34d14da668 Mon Sep 17 00:00:00 2001 From: chengxingzhen Date: Wed, 25 May 2022 18:24:04 +0800 Subject: [PATCH] =?UTF-8?q?xts=E9=9A=90=E5=BC=8F=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E7=94=A8=E4=BE=8B=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chengxingzhen --- .../entry/src/main/js/test/FeatureAbilityJsunit.test.js | 5 ++--- .../sceneproject/startability/src/main/config.json | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/test/FeatureAbilityJsunit.test.js b/aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/test/FeatureAbilityJsunit.test.js index 7701df3cf..144e7fd7d 100755 --- a/aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/test/FeatureAbilityJsunit.test.js +++ b/aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/test/FeatureAbilityJsunit.test.js @@ -21,7 +21,7 @@ import wantAgent from '@ohos.wantAgent'; import particleAbility from '@ohos.ability.particleAbility' import backgroundTaskManager from '@ohos.backgroundTaskManager' -const START_ABILITY_TIMEOUT = 1000; +const START_ABILITY_TIMEOUT = 4000; const TERMINATE_ABILITY_TIMEOUT = 1000; const TIMEOUT = 1000; var subscriberInfo_ACTS_StartAbility_0100 = { @@ -2035,7 +2035,7 @@ describe('ActsFeatureAbilityTest', function () { id = setTimeout(timeout, START_ABILITY_TIMEOUT); let Want = { - action: "action.system.home", + action: "action.system.homeability", entities: [] } var StartAbilityParameter = { @@ -2046,7 +2046,6 @@ describe('ActsFeatureAbilityTest', function () { console.log('ACTS_StartAbility_1300 asyncCallback errCode : ' + JSON.stringify(err) + " data: " + JSON.stringify(data)); expect(err.code == 0).assertTrue(); - done(); }); }catch(error){ console.log("ACTS_StartAbility_1300 : error = " + error); diff --git a/aafwk/aafwk_standard/featureability/sceneproject/startability/src/main/config.json b/aafwk/aafwk_standard/featureability/sceneproject/startability/src/main/config.json index 97e97726c..b5540465f 100644 --- a/aafwk/aafwk_standard/featureability/sceneproject/startability/src/main/config.json +++ b/aafwk/aafwk_standard/featureability/sceneproject/startability/src/main/config.json @@ -32,7 +32,7 @@ "entity.system.home" ], "actions": [ - "action.system.home" + "action.system.homeability" ] } ], -- GitLab