mirror of
https://gitee.com/openharmony/window_window_manager
synced 2024-11-23 23:10:54 +00:00
新增测试用例
Signed-off-by: cxy20001123 <chenxingyu34@h-partners.com>
This commit is contained in:
parent
70a5ff0a8e
commit
9db0af9370
@ -82,7 +82,7 @@ HWTEST_F(ScreenGroupInfoTest, InnerUnmarshalling, Function | SmallTest | Level1)
|
||||
{
|
||||
ScreenGroupInfo screenGroupInfoSrc;
|
||||
Parcel parcel;
|
||||
parcel.WriteUint32(21); //MAX_SCREEN_GROUP_INFO_SIZE + 1
|
||||
parcel.WriteUint32(21); // MAX_SCREEN_GROUP_INFO_SIZE + 1
|
||||
bool result = screenGroupInfoSrc.InnerUnmarshalling(parcel);
|
||||
ASSERT_FALSE(result);
|
||||
}
|
||||
@ -97,7 +97,7 @@ HWTEST_F(ScreenGroupInfoTest, Marshalling, Function | SmallTest | Level1)
|
||||
ScreenGroupInfo screenGroupInfoSrc;
|
||||
Parcel parcel;
|
||||
bool result = screenGroupInfoSrc.InnerUnmarshalling(parcel);
|
||||
ASSERT_TRUE(result);
|
||||
ASSERT_FALSE(result);
|
||||
}
|
||||
}
|
||||
} // namespace Rosen
|
||||
|
Loading…
Reference in New Issue
Block a user