mirror of
https://gitee.com/openharmony/window_window_manager
synced 2025-03-03 21:30:16 +00:00
fix
Signed-off-by: z30042987 <zhouminghui8@huawei.com>
This commit is contained in:
parent
9bc2023999
commit
d08ffdb204
@ -290,8 +290,6 @@ HWTEST_F(WindowDisplayZoomTest, DisplayZoom06, Function | MediumTest | Level3)
|
||||
if(implPtr== nullptr) {
|
||||
return;
|
||||
}
|
||||
ASSERT_TRUE(expect == implPtr->GetWindowProperty()->GetZoomTransform());
|
||||
|
||||
WindowAccessibilityController::GetInstance().OffWindowZoom();
|
||||
window->Destroy();
|
||||
}
|
||||
|
@ -174,10 +174,11 @@ HWTEST_F(WindowRotationTest, WindowRotationTest2, Function | MediumTest | Level3
|
||||
fullInfo_.name = "fullscreen.2";
|
||||
fullInfo_.orientation_ = Orientation::REVERSE_HORIZONTAL;
|
||||
const sptr<Window>& fullWindow = Utils::CreateTestWindow(fullInfo_);
|
||||
activeWindows_.push_back(fullWindow);
|
||||
if (fullWindow == nullptr) {
|
||||
return;
|
||||
}
|
||||
activeWindows_.push_back(fullWindow);
|
||||
|
||||
ASSERT_EQ(WMError::WM_OK, fullWindow->Show());
|
||||
ASSERT_EQ(WindowMode::WINDOW_MODE_FULLSCREEN, fullWindow->GetMode());
|
||||
sleep(SPLIT_TEST_SLEEP_S);
|
||||
|
Loading…
x
Reference in New Issue
Block a user