mirror of
https://gitee.com/openharmony/window_window_manager
synced 2024-11-23 06:50:40 +00:00
commit
55b3a62cc8
@ -207,7 +207,7 @@ HWTEST_F(WindowEffectTest, WindowEffect07, Function | MediumTest | Level3)
|
||||
*/
|
||||
HWTEST_F(WindowEffectTest, WindowEffect08, Function | MediumTest | Level3)
|
||||
{
|
||||
sptr<Window> window = Utils::CreateTestWindow(windowInfo_);
|
||||
const sptr<Window> &window = Utils::CreateTestWindow(windowInfo_);
|
||||
ASSERT_NE(nullptr, window);
|
||||
WindowAccessibilityController::GetInstance().OffWindowZoom();
|
||||
sleep(1);
|
||||
|
@ -277,7 +277,7 @@ HWTEST_F(WindowLayoutTest, LayoutWindow06, Function | MediumTest | Level3)
|
||||
ASSERT_EQ(WMError::WM_ERROR_INVALID_WINDOW, statBar->Show());
|
||||
}
|
||||
|
||||
ASSERT_EQ(WMError::WM_OK, sysWin->Show(0, true));
|
||||
ASSERT_EQ(WMError::WM_OK, sysWin->Show());
|
||||
|
||||
if (Utils::RectEqualTo(sysWin, Utils::displayRect_)) {
|
||||
ASSERT_TRUE(Utils::RectEqualTo(sysWin, Utils::displayRect_));
|
||||
@ -339,7 +339,7 @@ HWTEST_F(WindowLayoutTest, LayoutWindow07, Function | MediumTest | Level3)
|
||||
} else if (statBar->Show() == WMError::WM_ERROR_INVALID_WINDOW) {
|
||||
ASSERT_EQ(WMError::WM_ERROR_INVALID_WINDOW, statBar->Show());
|
||||
}
|
||||
ASSERT_EQ(WMError::WM_OK, sysWin->Show(0, true));
|
||||
ASSERT_EQ(WMError::WM_OK, sysWin->Show());
|
||||
|
||||
ASSERT_TRUE(Utils::RectEqualTo(sysWin, Utils::customAppRect_));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user