提交 b3e26f7e 编写于 作者: Z zhoujun62

solve Multihap_WindowStageLifecycleTest_002 fail problem

Signed-off-by: Nzhoujun62 <zhoujun62@huawei.com>
上级 4f7b6898
......@@ -156,8 +156,7 @@ export default function abilityTest() {
expect(listKeyTemp[0]).assertEqual("Hap2MainAbility4 onWindowStageCreate");
expect(listKeyTemp[1]).assertEqual("Hap2MainAbility4 onWindowStageActive");
expect(listKeyTemp[2]).assertEqual("Hap2MainAbility4 onWindowStageInactive");
expect(listKeyTemp[3]).assertEqual("Hap2MainAbility4 onWindowStageInactive");
expect(listKeyTemp[4]).assertEqual("Hap2MainAbility4 onWindowStageDestroy");
expect(listKeyTemp[3]).assertEqual("Hap2MainAbility4 onWindowStageDestroy");
globalThis.ApplicationContext4
.unregisterAbilityLifecycleCallback(globalThis.mainAbility4CallBackId, (error, data) => {
console.log(TAG + ": unregisterAbilityLifecycleCallback success, err: " + JSON.stringify(error) +
......@@ -796,4 +795,4 @@ export default function abilityTest() {
console.info("---------------Multihap_WindowStageLifecycleTest_010 is end---------------")
})
})
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册