mirror of
https://gitee.com/openharmony/window_window_manager
synced 2025-02-17 06:19:31 +00:00
fix
Signed-off-by: z30042987 <zhouminghui8@huawei.com>
This commit is contained in:
parent
ab1894a039
commit
6a7a3702ef
@ -84,7 +84,7 @@ HWTEST_F(WindowMultiAbilityTest, MultiAbilityWindow01, Function | MediumTest | L
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @tc.name: MultiAbilityWindow04
|
* @tc.name: MultiAbilityWindow02
|
||||||
* @tc.desc: Five scene process in one thread, create/show/hide/destroy in order
|
* @tc.desc: Five scene process in one thread, create/show/hide/destroy in order
|
||||||
* @tc.type: FUNC
|
* @tc.type: FUNC
|
||||||
*/
|
*/
|
||||||
@ -130,6 +130,15 @@ HWTEST_F(WindowMultiAbilityTest, MultiAbilityWindow02, Function | MediumTest | L
|
|||||||
if (scene4->GoDestroy() == WMError::WM_OK) {
|
if (scene4->GoDestroy() == WMError::WM_OK) {
|
||||||
ASSERT_EQ(WMError::WM_OK, scene4->GoDestroy());
|
ASSERT_EQ(WMError::WM_OK, scene4->GoDestroy());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @tc.name: MultiAbilityWindow2
|
||||||
|
* @tc.desc: Five scene process in one thread, create/show/hide/destroy in order
|
||||||
|
* @tc.type: FUNC
|
||||||
|
*/
|
||||||
|
HWTEST_F(WindowMultiAbilityTest, MultiAbilityWindow2, Function | MediumTest | Level3)
|
||||||
|
{
|
||||||
sptr<WindowScene> scene5 = Utils::CreateWindowScene();
|
sptr<WindowScene> scene5 = Utils::CreateWindowScene();
|
||||||
if (scene5->GoForeground() == WMError::WM_OK) {
|
if (scene5->GoForeground() == WMError::WM_OK) {
|
||||||
ASSERT_EQ(WMError::WM_OK, scene5->GoForeground());
|
ASSERT_EQ(WMError::WM_OK, scene5->GoForeground());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user