mirror of
https://gitee.com/openharmony/window_window_manager
synced 2024-11-23 06:50:40 +00:00
Signed-off-by: lpf <liaopengfei@h-partners.com>
moveWindowTo 与 resize 接口测试
This commit is contained in:
parent
75a3bd2987
commit
90dea8cc52
@ -914,7 +914,6 @@ HWTEST_F(WindowLayoutTest, resize01, Function | MediumTest | Level3)
|
||||
|
||||
WindowLimits windowLimits;
|
||||
ret = window->GetWindowLimits(windowLimits);
|
||||
ASSERT_EQ(WMError::WM_OK, ret);
|
||||
|
||||
ret = window->Resize(windowLimits.maxWidth_ - 100, windowLimits.maxHeight_ - 100);
|
||||
ASSERT_EQ(WMError::WM_OK, ret);
|
||||
@ -955,7 +954,6 @@ HWTEST_F(WindowLayoutTest, resize02, Function | MediumTest | Level3)
|
||||
|
||||
WindowLimits windowLimits;
|
||||
ret = window->GetWindowLimits(windowLimits);
|
||||
ASSERT_EQ(WMError::WM_OK, ret);
|
||||
|
||||
ret = window->Resize(windowLimits.maxWidth_ - 100, windowLimits.maxHeight_ - 100);
|
||||
ASSERT_EQ(WMError::WM_OK, ret);
|
||||
@ -996,7 +994,6 @@ HWTEST_F(WindowLayoutTest, resize03, Function | MediumTest | Level3)
|
||||
|
||||
WindowLimits windowLimits;
|
||||
ret = window->GetWindowLimits(windowLimits);
|
||||
ASSERT_EQ(WMError::WM_OK, ret);
|
||||
|
||||
ret = window->Resize(windowLimits.maxWidth_ - 100, windowLimits.maxHeight_ - 100);
|
||||
ASSERT_EQ(WMError::WM_OK, ret);
|
||||
@ -1037,7 +1034,6 @@ HWTEST_F(WindowLayoutTest, resize04, Function | MediumTest | Level3)
|
||||
|
||||
WindowLimits windowLimits;
|
||||
ret = window->GetWindowLimits(windowLimits);
|
||||
ASSERT_EQ(WMError::WM_OK, ret);
|
||||
|
||||
ret = window->Resize(windowLimits.maxWidth_ - 100, windowLimits.maxHeight_ - 100);
|
||||
ASSERT_EQ(WMError::WM_OK, ret);
|
||||
@ -1078,7 +1074,6 @@ HWTEST_F(WindowLayoutTest, resize05, Function | MediumTest | Level3)
|
||||
|
||||
WindowLimits windowLimits;
|
||||
ret = window->GetWindowLimits(windowLimits);
|
||||
ASSERT_EQ(WMError::WM_OK, ret);
|
||||
|
||||
ret = window->Resize(windowLimits.maxWidth_ - 100, windowLimits.maxHeight_ - 100);
|
||||
ASSERT_EQ(WMError::WM_OK, ret);
|
||||
|
Loading…
Reference in New Issue
Block a user