Signed-off-by: lpf <liaopengfei@h-partners.com>

moveWindowTo   与   resize 接口测试
This commit is contained in:
lpf 2024-08-08 23:10:01 +08:00
parent 75a3bd2987
commit 90dea8cc52

View File

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