add TDD ut case WindowAccessibilityController::SetAnchorOffset

Signed-off-by: 闫瀚林0424 <yanhanlin6@huawei.com>
Change-Id: I81b67b1b522cdc73e8bbc6791d189e245b1b9bea
This commit is contained in:
闫瀚林0424 2024-10-29 11:48:47 +08:00
parent e05c12d86c
commit 7aabcee9d5

View File

@ -169,6 +169,8 @@ HWTEST_F(WindowDisplayZoomTest, DisplayZoom03, Function | MediumTest | Level3)
WindowAccessibilityController::GetInstance().SetAnchorAndScale(0, 0, 2);
sleep(1);
WindowAccessibilityController::GetInstance().SetAnchorOffset(0, 0);
sleep(1);
WindowAccessibilityController::GetInstance().OffWindowZoom();
sleep(1);