mirror of
https://gitee.com/openharmony/security_appverify
synced 2024-11-23 14:39:58 +00:00
新增接口未覆盖用例
Signed-off-by: junyi233 <zhengjun29@huawei.com>
This commit is contained in:
parent
9e6ade1afb
commit
6bfadd309e
@ -251,6 +251,8 @@ HWTEST_F(HapVerifyTest, HapVerify003, TestSize.Level0)
|
||||
HapVerifyResult hapVerifyResult;
|
||||
ASSERT_TRUE(ParseHapProfile(filePath, hapVerifyResult) == VERIFY_SUCCESS);
|
||||
|
||||
SignatureInfo hapSignInfo;
|
||||
ASSERT_TRUE(ParseHapSignatureInfo(filePath, hapSignInfo) == VERIFY_SUCCESS);
|
||||
ProvisionInfo profile = hapVerifyResult.GetProvisionInfo();
|
||||
ASSERT_EQ(profile.type, ProvisionType::RELEASE);
|
||||
ASSERT_EQ(profile.fingerprint, TEST_FINGERPRINT);
|
||||
|
Loading…
Reference in New Issue
Block a user