提交 33ff1a98 编写于 作者: 1 18870373690 提交者: gaolang

fixed c9c3cf57 from https://gitee.com/gaolang7/xts_acts/pulls/9375

Signed-off-by: N18870373690 <gaolang7@huawei.com>
Change-Id: I9b605bf1b2df524b4c8346c0ffdb3da08ee35fbd
上级 ec60c9da
...@@ -930,7 +930,7 @@ export default function lifecycleTest() { ...@@ -930,7 +930,7 @@ export default function lifecycleTest() {
}).catch((error) => { }).catch((error) => {
console.log(TAG + " terminateSelfwithresult error: " + JSON.stringify(error)); console.log(TAG + " terminateSelfwithresult error: " + JSON.stringify(error));
}); });
}, 2500); }, 2700);
setTimeout(function () { setTimeout(function () {
var str = { var str = {
"bundleName": "com.example.windowstagelifecycle_xts", "bundleName": "com.example.windowstagelifecycle_xts",
...@@ -954,7 +954,7 @@ export default function lifecycleTest() { ...@@ -954,7 +954,7 @@ export default function lifecycleTest() {
console.error(TAG + ' start failed. Cause: ' + JSON.stringify(error)); console.error(TAG + ' start failed. Cause: ' + JSON.stringify(error));
}) })
}, 500); }, 500);
}, 4000); }, 4500);
setTimeout(function () { setTimeout(function () {
console.log(TAG + " secondCallback listKey : " + JSON.stringify(globalThis.list12)); console.log(TAG + " secondCallback listKey : " + JSON.stringify(globalThis.list12));
console.log(TAG + " secondCallback callbackid : " + JSON.stringify(globalThis.callbackid12)); console.log(TAG + " secondCallback callbackid : " + JSON.stringify(globalThis.callbackid12));
...@@ -983,7 +983,7 @@ export default function lifecycleTest() { ...@@ -983,7 +983,7 @@ export default function lifecycleTest() {
console.log("------------Singlehap_WindowStageLifeCycleTest_1200 END-------------"); console.log("------------Singlehap_WindowStageLifeCycleTest_1200 END-------------");
done(); done();
}); });
}, 6200); }, 7000);
}); });
/* /*
...@@ -1073,7 +1073,7 @@ export default function lifecycleTest() { ...@@ -1073,7 +1073,7 @@ export default function lifecycleTest() {
console.log(TAG + " terminateSelfwithresult error: " + JSON.stringify(error)); console.log(TAG + " terminateSelfwithresult error: " + JSON.stringify(error));
}); });
}, 500); }, 500);
}, 4500); }, 4700);
setTimeout(function () { setTimeout(function () {
var str = { var str = {
"bundleName": "com.example.windowstagelifecycle_xts", "bundleName": "com.example.windowstagelifecycle_xts",
...@@ -1109,7 +1109,7 @@ export default function lifecycleTest() { ...@@ -1109,7 +1109,7 @@ export default function lifecycleTest() {
}) })
}, 500); }, 500);
}, 500); }, 500);
}, 5500); }, 6000);
setTimeout(function () { setTimeout(function () {
console.log(TAG + " secondCallback listKey1 : " + JSON.stringify(globalThis.list1)); console.log(TAG + " secondCallback listKey1 : " + JSON.stringify(globalThis.list1));
let templist1 = globalThis.list1; let templist1 = globalThis.list1;
...@@ -1173,7 +1173,7 @@ export default function lifecycleTest() { ...@@ -1173,7 +1173,7 @@ export default function lifecycleTest() {
done(); done();
}); });
}, 100); }, 100);
}, 9000); }, 9700);
}); });
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册