未验证 提交 08ae2181 编写于 作者: O openharmony_ci 提交者: Gitee

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

Merge pull request !3315 from chengxingzhen/cherry-pick-1653561079
...@@ -596,7 +596,6 @@ describe('ActsFeatureAbilityTest', function () { ...@@ -596,7 +596,6 @@ describe('ActsFeatureAbilityTest', function () {
console.log('ACTS_StartAbility_1000 asyncCallback errCode : ' + JSON.stringify(err) console.log('ACTS_StartAbility_1000 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_1000 : error = " + error); console.log("ACTS_StartAbility_1000 : error = " + error);
...@@ -643,7 +642,7 @@ describe('ActsFeatureAbilityTest', function () { ...@@ -643,7 +642,7 @@ describe('ActsFeatureAbilityTest', function () {
{ {
want: want:
{ {
action: "action.system.home", action: "action.system.homeability",
entities: ["entity.system.home"], entities: ["entity.system.home"],
type: "MIMETYPE", type: "MIMETYPE",
options: { options: {
...@@ -726,7 +725,7 @@ describe('ActsFeatureAbilityTest', function () { ...@@ -726,7 +725,7 @@ describe('ActsFeatureAbilityTest', function () {
{ {
want: want:
{ {
action: "action.system.home", action: "action.system.homeability",
entities: ["entity.system.home"], entities: ["entity.system.home"],
type: "MIMETYPE", type: "MIMETYPE",
options: { options: {
...@@ -901,7 +900,7 @@ describe('ActsFeatureAbilityTest', function () { ...@@ -901,7 +900,7 @@ describe('ActsFeatureAbilityTest', function () {
{ {
want: want:
{ {
action: "action.system.home", action: "action.system.homeability",
entities: ["entity.system.home"], entities: ["entity.system.home"],
type: "MIMETYPE", type: "MIMETYPE",
options: { options: {
...@@ -986,7 +985,7 @@ describe('ActsFeatureAbilityTest', function () { ...@@ -986,7 +985,7 @@ describe('ActsFeatureAbilityTest', function () {
{ {
want: want:
{ {
action: "action.system.home", action: "action.system.homeability",
entities: ["entity.system.home"], entities: ["entity.system.home"],
type: "MIMETYPE", type: "MIMETYPE",
options: { options: {
...@@ -2035,7 +2034,7 @@ describe('ActsFeatureAbilityTest', function () { ...@@ -2035,7 +2034,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 +2045,6 @@ describe('ActsFeatureAbilityTest', function () { ...@@ -2046,7 +2045,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.
先完成此消息的编辑!
想要评论请 注册