提交 6a00ccf6 编写于 作者: C chengxingzhen

XTS免安装测试套部件化整改

Signed-off-by: Nchengxingzhen <chengxingzhen@huawei.com>
上级 93abedb8
...@@ -100,24 +100,13 @@ export default function ActsAmsCallBackFifthScene() { ...@@ -100,24 +100,13 @@ export default function ActsAmsCallBackFifthScene() {
done(); done();
} }
function sleep(delay) {
let start = new Date().getTime();
while (true) {
if (new Date().getTime() - start > delay) {
break;
}
}
}
/* /*
* @tc.number : Acts_Ams_test_6600 * @tc.number : Acts_Ams_test_6600
* @tc.name : getProcessRunningInfos : Get All Running Processes Info * @tc.name : getProcessRunningInfos : Get All Running Processes Info
* @tc.desc : Get All Running Processes Info(by CallBack) * @tc.desc : Get All Running Processes Info(by CallBack)
*/ */
it('Acts_Ams_test_6600', 0, async function (done) { it('Acts_Ams_test_6600', 0, async function (done) {
console.info("sleep begin"); console.info("Acts_Ams_test_6600 begin");
sleep(5000);
console.info("sleep end");
appManager.getProcessRunningInfos( appManager.getProcessRunningInfos(
(error, info) => { (error, info) => {
console.info('Acts_Ams_test_6600 getProcessRunningInfos error.code \ console.info('Acts_Ams_test_6600 getProcessRunningInfos error.code \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册