mirror of
https://gitee.com/openharmony/window_window_manager
synced 2024-11-23 23:10:54 +00:00
TDD用例整改003
Signed-off-by: c00680103 <chenzhihua24@hisilicon.com>
This commit is contained in:
parent
c39cff3c38
commit
1fa220325c
@ -169,7 +169,7 @@ HWTEST_F(ScreenSceneTest, DisplayIdTest01, Function | SmallTest | Level3)
|
||||
ScreenScene screenScene("UNKNOWN");
|
||||
DisplayId setDisplayId = 0;
|
||||
screenScene.SetDisplayId(setDisplayId);
|
||||
auto getDisplayId = screenScene.GetDisplayId();
|
||||
screenScene.GetDisplayId();
|
||||
ASSERT_EQ(1, screenScene.GetWindowId());
|
||||
}
|
||||
|
||||
@ -183,7 +183,7 @@ HWTEST_F(ScreenSceneTest, DisplayIdTest02, Function | SmallTest | Level3)
|
||||
ScreenScene screenScene("UNKNOWN");
|
||||
DisplayId setDisplayId = 100;
|
||||
screenScene.SetDisplayId(setDisplayId);
|
||||
auto getDisplayId = screenScene.GetDisplayId();
|
||||
screenScene.GetDisplayId();
|
||||
ASSERT_EQ(1, screenScene.GetWindowId());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user