From f10ae8ef43ba9e31c6ab05f8f783747a42b00c11 Mon Sep 17 00:00:00 2001 From: HJ Date: Wed, 11 Aug 2021 17:43:22 +0800 Subject: [PATCH] huangjun42@huawei.com Signed-off-by: HJ --- .../appverify/test/unittest/src/hap_verify_test.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/interfaces/innerkits/appverify/test/unittest/src/hap_verify_test.cpp b/interfaces/innerkits/appverify/test/unittest/src/hap_verify_test.cpp index 31499b3..4a5b70c 100644 --- a/interfaces/innerkits/appverify/test/unittest/src/hap_verify_test.cpp +++ b/interfaces/innerkits/appverify/test/unittest/src/hap_verify_test.cpp @@ -63,7 +63,7 @@ void HapVerifyTest::TearDown() * @tc.desc: The static function will return true; * @tc.type: FUNC */ -HWTEST_F(HapVerifyTest, HapVerifyEnableDebug001, TestSize.Level1) +HWTEST_F(HapVerifyTest, HapVerifyEnableDebug001, TestSize.Level0) { ASSERT_TRUE(EnableDebugMode()); } @@ -73,7 +73,7 @@ HWTEST_F(HapVerifyTest, HapVerifyEnableDebug001, TestSize.Level1) * @tc.desc: The static function will return verify result; * @tc.type: FUNC */ -HWTEST_F(HapVerifyTest, HapVerify001, TestSize.Level1) +HWTEST_F(HapVerifyTest, HapVerify001, TestSize.Level0) { /* * @tc.steps: step1. input a invalid path to function of HapVerify. @@ -135,7 +135,7 @@ HWTEST_F(HapVerifyTest, HapVerify001, TestSize.Level1) * @tc.desc: The static function will return verify result of signed file; * @tc.type: FUNC */ -HWTEST_F(HapVerifyTest, HapVerifyOsApp001, TestSize.Level1) +HWTEST_F(HapVerifyTest, HapVerifyOsApp001, TestSize.Level0) { /* * @tc.steps: step1. input a signed file to verify. @@ -160,7 +160,7 @@ HWTEST_F(HapVerifyTest, HapVerifyOsApp001, TestSize.Level1) * @tc.desc: The static function will return verify result of signed file; * @tc.type: FUNC */ -HWTEST_F(HapVerifyTest, HapVerify002, TestSize.Level1) +HWTEST_F(HapVerifyTest, HapVerify002, TestSize.Level0) { std::string fileContent[TEST_FILE_NUM] = {HAP_FILE_ECC_SIGN_BASE64, HAP_FILE_RSA_SIGN_BASE64}; std::string filePath[TEST_FILE_NUM] = {"./signed_ecc.hap", "./signed_rsa.hap"}; @@ -230,4 +230,4 @@ HWTEST_F(HapVerifyTest, HapVerify002, TestSize.Level1) ASSERT_TRUE(HapVerify(errorfilePath[i], verifyRet) == VERIFY_APP_PKCS7_FAIL); } } -} \ No newline at end of file +} -- Gitee