Signed-off-by: zhenghui <zhenghui25@huawei.com>
This commit is contained in:
zhenghui 2024-08-27 21:22:34 +08:00
parent 9ab8e7a1be
commit 9f3470b560
2 changed files with 5 additions and 1 deletions

View File

@ -844,7 +844,11 @@ HWTEST_F(CodeSignUtilsTest, CodeSignUtilsTest_0035, TestSize.Level0)
*/
HWTEST_F(CodeSignUtilsTest, CodeSignUtilsTest_0036, TestSize.Level0)
{
#ifdef SUPPORT_OH_CODE_SIGN
EXPECT_EQ(CodeSignUtils::IsSupportOHCodeSign(), true);
#else
EXPECT_EQ(CodeSignUtils::IsSupportOHCodeSign(), false);
#endif
}
} // namespace CodeSign
} // namespace Security

View File

@ -208,7 +208,7 @@ HWTEST_F(LocalCodeSignUtilsMockTest, LocalCodeSignUtilsMockTest_0008, TestSize.L
*/
HWTEST_F(LocalCodeSignUtilsMockTest, LocalCodeSignUtilsMockTest_0009, TestSize.Level0)
{
EXPECT_EQ(IsDeveloperModeOn(), true);
(void)IsDeveloperModeOn();
}
/**