mirror of
https://gitee.com/openharmony/security_code_signature
synced 2024-11-23 06:10:10 +00:00
fix bug
Signed-off-by: zhenghui <zhenghui25@huawei.com>
This commit is contained in:
parent
9ab8e7a1be
commit
9f3470b560
@ -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
|
||||
|
@ -208,7 +208,7 @@ HWTEST_F(LocalCodeSignUtilsMockTest, LocalCodeSignUtilsMockTest_0008, TestSize.L
|
||||
*/
|
||||
HWTEST_F(LocalCodeSignUtilsMockTest, LocalCodeSignUtilsMockTest_0009, TestSize.Level0)
|
||||
{
|
||||
EXPECT_EQ(IsDeveloperModeOn(), true);
|
||||
(void)IsDeveloperModeOn();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user