diff --git a/interfaces/innerkits/appverify/src/provision/provision_verify.cpp b/interfaces/innerkits/appverify/src/provision/provision_verify.cpp index 6bdd753f603f58fe05aacb801d878570a1d8b464..bb089d1b9107b3ec66156ab3c9bd3aefb7eaa853 100644 --- a/interfaces/innerkits/appverify/src/provision/provision_verify.cpp +++ b/interfaces/innerkits/appverify/src/provision/provision_verify.cpp @@ -309,10 +309,10 @@ bool CheckDeviceID(const std::vector& deviceIds, const std::string& if (iter == deviceIds.end()) { DeviceTypeManager& deviceTypeManager = DeviceTypeManager::GetInstance(); if (!deviceTypeManager.GetDeviceTypeInfo()) { - HAPVERIFY_LOG_ERROR("current device is not authorized"); + HAPVERIFY_LOG_ERROR("current device is not authorized."); return false; } - HAPVERIFY_LOG_INFO("current device is a debug device"); + HAPVERIFY_LOG_INFO("current device is a debug device."); } return true; } diff --git a/interfaces/innerkits/appverify/test/BUILD.gn b/interfaces/innerkits/appverify/test/BUILD.gn index 27890a4b4444a6e1b3cdd3ce673366fab40b9261..648b6360ac46f31486b639f8ef2dabc6629dbc94 100644 --- a/interfaces/innerkits/appverify/test/BUILD.gn +++ b/interfaces/innerkits/appverify/test/BUILD.gn @@ -13,7 +13,7 @@ import("//build/test.gni") -module_output_path = "appverify/verify" +module_output_path = "appverify/appverify" config("verify_test_config") { visibility = [ ":*" ] diff --git a/interfaces/innerkits/appverify/test/unittest/src/hap_signing_block_utils_test.cpp b/interfaces/innerkits/appverify/test/unittest/src/hap_signing_block_utils_test.cpp index 032d400aebb4ddfe223497682def1544ba102270..6bf6dc07ebdde89aaa3ff666771679d14d925eec 100644 --- a/interfaces/innerkits/appverify/test/unittest/src/hap_signing_block_utils_test.cpp +++ b/interfaces/innerkits/appverify/test/unittest/src/hap_signing_block_utils_test.cpp @@ -293,7 +293,7 @@ HWTEST_F(HapSigningBlockUtilsTest, GetCentralDirectoryOffsetTest001, TestSize.Le * @tc.desc: test function of classify optional block * @tc.type: FUNC */ -HWTEST_F(HapSigningBlockUtilsTest, ClassifyHapSubSigningBlock001, TestSize.Level1) +HWTEST_F(HapSigningBlockUtilsTest, ClassifyHapSubSigningBlock001, TestSize.Level2) { /* * @tc.steps: step1. run function with input of property block diff --git a/interfaces/innerkits/appverify/test/unittest/src/hap_verify_openssl_utils_test.cpp b/interfaces/innerkits/appverify/test/unittest/src/hap_verify_openssl_utils_test.cpp index fba4704759acdc1b138b0d95730cc1c8acd8ce85..18fe0ab1af0db240e0f82c549a26ee7d53c75a53 100644 --- a/interfaces/innerkits/appverify/test/unittest/src/hap_verify_openssl_utils_test.cpp +++ b/interfaces/innerkits/appverify/test/unittest/src/hap_verify_openssl_utils_test.cpp @@ -58,7 +58,7 @@ void HapVerifyOpensslUtilsTest::TearDown() * @tc.desc: use invalid input to verify pkcs7, The function will return false; * @tc.type: FUNC */ -HWTEST_F(HapVerifyOpensslUtilsTest, VerifyPkcs7_001, TestSize.Level1) +HWTEST_F(HapVerifyOpensslUtilsTest, VerifyPkcs7_001, TestSize.Level2) { /* * @tc.steps: step1. use a null input to run OpensslVerifyPkcs7