提交 59975ada 编写于 作者: C chengxingzhen

XTS用例适配错误码

Signed-off-by: Nchengxingzhen <chengxingzhen@huawei.com>
上级 e6c07a64
......@@ -267,7 +267,7 @@ describe('ActsAmsCallBackFourthScene', function () {
appManager.killProcessesByBundleName('xxxxxxxxx',
(error) => {
console.info('Acts_Ams_test_6400 killProcessesByBundleName error.code ' + error.code);
expect(error.code).assertEqual(2097215);
expect(error.code).assertEqual(2097183);
done();
});
})
......
......@@ -223,7 +223,7 @@ describe('ActsAmsCallBackSecondScene', function () {
(error, info) => {
console.info('Acts_Ams_test_3200 killProcessesByBundleName error.code: \
' + error.code + ',data [' + info + ']');
expect(error.code).assertEqual(2097215);
expect(error.code).assertEqual(2097183);
done();
});
})
......
......@@ -205,7 +205,7 @@ describe('ActsAmsTestSecondScene', function () {
console.log('Acts_test_3100 success: ' + data);
}).catch(err => {
console.log('Acts_test_3100 failed: ' + err.code);
expect(err.code).assertEqual(2097215);
expect(err.code).assertEqual(2097183);
done();
});
})
......
......@@ -207,7 +207,7 @@ describe('ActsAmsTestThirdScene', function () {
console.log('Acts_test_4700 success: ' + data);
}).catch(err => {
console.log('Acts_test_4700 failed: ' + err.code);
expect(err.code).assertEqual(2097215);
expect(err.code).assertEqual(2097183);
done();
});
})
......
......@@ -268,7 +268,7 @@ describe('ActsStServiceAbilityTest', function () {
done();
}
var context = featureAbility.getContext()
var result = context.getDisplayOrientation().then((data) => {
var result = await context.getDisplayOrientation().then((data) => {
clearTimeout(currentAlertTimeout);
console.debug("ACTS_AGetDisplayOrientation_0200====DisplayOrientation>"
+ JSON.stringify(DisplayOrientation) + " , err= " + err);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册