Signed-off-by: z30042987 <zhouminghui8@huawei.com>
This commit is contained in:
z30042987 2023-08-17 17:08:38 +08:00
parent 9bc2023999
commit d08ffdb204
2 changed files with 2 additions and 3 deletions

View File

@ -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();
}

View File

@ -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);