TDD用例整改003

Signed-off-by: c00680103 <chenzhihua24@hisilicon.com>
This commit is contained in:
c00680103 2024-11-08 13:29:17 +08:00
parent c39cff3c38
commit 1fa220325c

View File

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