未验证 提交 a3fe2288 编写于 作者: O openharmony_ci 提交者: Gitee

!5112 solve Multihap_WindowStageLifecycleTest_002 fail problem

Merge pull request !5112 from zhoujun62/my_xts_acts1
......@@ -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.
先完成此消息的编辑!
想要评论请 注册