mirror of
https://gitee.com/openharmony/window_window_manager
synced 2025-02-17 06:19:31 +00:00
update test/systemtest/wms/window_systemsubwindow_test.cpp.
Signed-off-by: 许静怡 <xujingyi19@huawei.com>
This commit is contained in:
parent
541842314c
commit
d95467ce40
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user