update test/systemtest/wms/window_effect_test.cpp.

Signed-off-by: yangningning <yangningning8@huawei.com>
This commit is contained in:
yangningning 2024-07-24 01:19:46 +00:00 committed by Gitee
parent 80599f9518
commit 9ec7e3c23a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -197,11 +197,7 @@ HWTEST_F(WindowEffectTest, WindowEffect07, Function | MediumTest | Level3)
ASSERT_EQ(WMError::WM_ERROR_INVALID_PARAM, window->SetBackdropBlurStyle(static_cast<WindowBlurStyle>(-1)));
ASSERT_EQ(WMError::WM_ERROR_INVALID_PARAM, window->SetBackdropBlurStyle(static_cast<WindowBlurStyle>(5)));
sleep(1);
WindowAccessibilityController::GetInstance().SetAnchorAndScale(0, 0, 2);
sleep(1);
WindowAccessibilityController::GetInstance().SetAnchorOffset(-100, -100);
ASSERT_EQ(WMError::WM_OK, window->Destroy());
}