新增测试用例

Signed-off-by: cxy20001123 <chenxingyu34@h-partners.com>
This commit is contained in:
cxy20001123 2024-07-05 08:31:30 +00:00
parent 70a5ff0a8e
commit 9db0af9370

View File

@ -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