提交 d42460e9 编写于 作者: X xinking129

change mistake

Signed-off-by: Nxinking129 <xinxin13@huawei.com>
上级 ec2e7486
......@@ -514,7 +514,7 @@ export default function abilityTest() {
});
await sleep(1000);
setTimeout(()=> {
abilityDelegator.executeShellCommand('pkill -f com.example.mytest4').then(data => {
abilityDelegator.executeShellCommand('pkill -f com.example.mytest5').then(data => {
console.log('pkill -f successful ' + JSON.stringify(data))
}).catch(err => {
console.log('pkill -f err is ' + JSON.stringify(err))
......@@ -527,12 +527,14 @@ export default function abilityTest() {
if (err.code) {
console.error(`startAbility failed, code is ${err.code}, message is ${err.message}`);
expect(true).assertFalse();
return;
}
console.info('startAbility succeed');
expect(true).assertTrue()
expect(true).assertTrue();
done();
});
},1000)
done();
})
/*
......@@ -573,11 +575,12 @@ export default function abilityTest() {
if (err.code) {
console.error(`startAbility failed, code is ${err.code}, message is ${err.message}`);
expect(true).assertFalse();
return;
}
console.info('startAbility succeed');
expect(true).assertTrue()
});
expect(true).assertTrue();
done();
});
})
})
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册