update test/systemtest/wms/window_systemsubwindow_test.cpp.

Signed-off-by: 许静怡 <xujingyi19@huawei.com>
This commit is contained in:
许静怡 2024-06-27 07:13:29 +00:00 committed by Gitee
parent 541842314c
commit d95467ce40
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -113,7 +113,7 @@ HWTEST_F(WindowSystemSubWindowTest, SystemSubWindow01, Function | MediumTest | L
struct Rect baseRect = {0, 0, 100, 200};
uint32_t baseFlags = 0;
sptr<Window> baseWindow = CreateBaseWindow(static_cast<WindowType>(*itor), baseRect, baseFlags);
if (baseWindow == nullptr){
if (baseWindow == nullptr) {
continue;
}
struct Rect rect = {0, 0, 100, 200};
@ -172,7 +172,7 @@ HWTEST_F(WindowSystemSubWindowTest, SystemSubWindow02, Function | MediumTest | L
struct Rect baseRect = {0, 0, 100, 200};
uint32_t baseFlags = 0;
sptr<Window> baseWindow = CreateBaseWindow(static_cast<WindowType>(*itor), baseRect, baseFlags);
if (baseWindow == nullptr){
if (baseWindow == nullptr) {
continue;
}