未验证 提交 6ca58f38 编写于 作者: O openharmony_ci 提交者: Gitee

!3294 XTS隐式启动失败用例适配

Merge pull request !3294 from chengxingzhen/cherry-pick-1653474336
...@@ -21,7 +21,7 @@ import wantAgent from '@ohos.wantAgent'; ...@@ -21,7 +21,7 @@ import wantAgent from '@ohos.wantAgent';
import particleAbility from '@ohos.ability.particleAbility' import particleAbility from '@ohos.ability.particleAbility'
import backgroundTaskManager from '@ohos.backgroundTaskManager' import backgroundTaskManager from '@ohos.backgroundTaskManager'
const START_ABILITY_TIMEOUT = 1000; const START_ABILITY_TIMEOUT = 4000;
const TERMINATE_ABILITY_TIMEOUT = 1000; const TERMINATE_ABILITY_TIMEOUT = 1000;
const TIMEOUT = 1000; const TIMEOUT = 1000;
var subscriberInfo_ACTS_StartAbility_0100 = { var subscriberInfo_ACTS_StartAbility_0100 = {
...@@ -2035,7 +2035,7 @@ describe('ActsFeatureAbilityTest', function () { ...@@ -2035,7 +2035,7 @@ describe('ActsFeatureAbilityTest', function () {
id = setTimeout(timeout, START_ABILITY_TIMEOUT); id = setTimeout(timeout, START_ABILITY_TIMEOUT);
let Want = { let Want = {
action: "action.system.home", action: "action.system.homeability",
entities: [] entities: []
} }
var StartAbilityParameter = { var StartAbilityParameter = {
...@@ -2046,7 +2046,6 @@ describe('ActsFeatureAbilityTest', function () { ...@@ -2046,7 +2046,6 @@ describe('ActsFeatureAbilityTest', function () {
console.log('ACTS_StartAbility_1300 asyncCallback errCode : ' + JSON.stringify(err) console.log('ACTS_StartAbility_1300 asyncCallback errCode : ' + JSON.stringify(err)
+ " data: " + JSON.stringify(data)); + " data: " + JSON.stringify(data));
expect(err.code == 0).assertTrue(); expect(err.code == 0).assertTrue();
done();
}); });
}catch(error){ }catch(error){
console.log("ACTS_StartAbility_1300 : error = " + error); console.log("ACTS_StartAbility_1300 : error = " + error);
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
"entity.system.home" "entity.system.home"
], ],
"actions": [ "actions": [
"action.system.home" "action.system.homeability"
] ]
} }
], ],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册