提交 d86b04ca 编写于 作者: J jiangwensai

fix xts

Signed-off-by: Njiangwensai <jiangwensai@huawei.com>

Change-Id: I5e9cadc9a51116f250714e0b83be82eaa197ed9d
上级 75d2284d
...@@ -223,10 +223,13 @@ describe('ActsAmsTestSecondScene', function () { ...@@ -223,10 +223,13 @@ describe('ActsAmsTestSecondScene', function () {
* @tc.desc : Kill Processes By BundleName(by Promise) * @tc.desc : Kill Processes By BundleName(by Promise)
*/ */
it('Acts_Ams_test_3100', 0, async function (done) { it('Acts_Ams_test_3100', 0, async function (done) {
var info = await appManager.killProcessesByBundleName('XXXXXXXXXXXX'); console.info('Acts_test_3100 killProcessesByBundleName data');
console.info('Acts_Ams_test_3100 killProcessesByBundleName data [' + info + ']'); appManager.killProcessesByBundleName('XXXXXXXXXXXX').then(data => {
expect(info).assertEqual(2097215); console.log('Acts_test_3100 success: ' + data);
done(); }).catch(err => {
setTimeout(timeout, 5000); console.log('Acts_test_3100 failed: ' + err.code);
expect(err.code).assertEqual(2097215);
done();
});
}) })
}) })
\ No newline at end of file
...@@ -245,10 +245,13 @@ describe('ActsAmsTestThirdScene', function () { ...@@ -245,10 +245,13 @@ describe('ActsAmsTestThirdScene', function () {
* @tc.desc : Kill Processes By BundleName(by Promise) * @tc.desc : Kill Processes By BundleName(by Promise)
*/ */
it('Acts_Ams_test_4700', 0, async function (done) { it('Acts_Ams_test_4700', 0, async function (done) {
var info = await appManager.killProcessesByBundleName('XXXXXXXX'); console.info('Acts_test_4700 killProcessesByBundleName data');
console.info('Acts_Ams_test_4700 killProcessesByBundleName data [' + info + ']'); appManager.killProcessesByBundleName('XXXXXXXX').then(data => {
expect(info.code).assertEqual(2097215); console.log('Acts_test_4700 success: ' + data);
done(); }).catch(err => {
setTimeout(timeout, 5000); console.log('Acts_test_4700 failed: ' + err.code);
expect(err.code).assertEqual(2097215);
done();
});
}) })
}) })
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册