提交 5db8031f 编写于 作者: C chengxingzhen

XTS系统API拆分

Signed-off-by: Nchengxingzhen <chengxingzhen@huawei.com>
上级 01d35d79
......@@ -267,12 +267,11 @@ describe('ActsAmsCallBackFourthScene', function () {
let maxnum = 30;
let result = await missionManager.getMissionInfos("", maxnum);
for (let i = 0; i < result.length; i++) {
console.info('Acts_Ams_test_11900 getMissionInfos result[' + i + "]: " + JSON.stringify(result[i]));
console.info('getMissionInfos result[' + i + "]: " + JSON.stringify(result[i]));
}
missionManager.clearAllMissions(
(error, info) => {
console.info('Acts_Ams_test_11900 clearAllMissions error.code: \
' + error.code + ',data [' + info + ']');
console.info('clearAllMissions error.code: \ ' + error.code + ',data [' + info + ']');
expect(error.code).assertEqual(0);
done();
});
......
......@@ -62,29 +62,6 @@ describe('ConnectAbilityTest', function () {
})
})
/*
* @tc.number: SUB_AA_JsApi_StartAbility_0400
* @tc.name: testAbility0400.
* @tc.desc: StartAbility-want only configure the bundleName and abilityName-bundleName
* values to be wrong values.
*/
it("SUB_AA_JsApi_StartAbility_0400", 0, async function (done) {
let parameter = {
'want': {
'bundleName': 'com.example.mytestw.TwoAbility1111',
'abilityName': mainAbilityName
}
}
await featureAbility.startAbility(parameter).then((data) => {
console.log('testAbility0400 data: ' + JSON.stringify(data))
expect().assertFail()
}).catch((error) => {
console.log('testAbility0400 error: ' + JSON.stringify(error))
expect(errCode1).assertEqual(error.code)
})
done()
})
/*
* @tc.number: SUB_AA_JsApi_StartAbility_0500
* @tc.name: testAbility0500.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册