diff --git a/BUILD.gn b/BUILD.gn index da9bf75da78edd7ee0b4bbbb1933ad4cc4010492..bf6e14266116b4abe9fe13908c0666a1cd31e8b6 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -34,7 +34,7 @@ group("tgt_backup_sa") { ] } -group("tgt_backup_tests") { +group("backup_tests") { testonly = true deps = [ @@ -42,3 +42,9 @@ group("tgt_backup_tests") { "tests/unittests", ] } + +group("file_share_tests") { + testonly = true + + deps = [ "test/unittest" ] +} diff --git a/backup.gni b/backup.gni index 3b07587daed90cb5f72e23289b33596f1e44f92c..348cfa2216f0fe63fb6e54bd486db25d1f5a18b2 100644 --- a/backup.gni +++ b/backup.gni @@ -12,7 +12,7 @@ # limitations under the License. path_backup = "//foundation/filemanagement/app_file_service" -path_module_out_tests = "filemanagement/app_file_service/backup" +path_module_out_tests = "app_file_service/app_file_service/backup" path_ability_runtime = "//foundation/ability/ability_runtime" path_access_token = "//base/security/access_token" diff --git a/bundle.json b/bundle.json index d81e5f73a9067cf8bbc51de3e9539ff9991670e6..d7c79de2a53329715e457cb6aa3f10b0756c7cd1 100644 --- a/bundle.json +++ b/bundle.json @@ -166,8 +166,8 @@ ], "test": [ "//foundation/filemanagement/app_file_service/test/fuzztest:fuzztest", - "//foundation/filemanagement/app_file_service/test/unittest:unittest", - "//foundation/filemanagement/app_file_service:tgt_backup_tests" + "//foundation/filemanagement/app_file_service:file_share_tests", + "//foundation/filemanagement/app_file_service:backup_tests" ] } } diff --git a/frameworks/native/backup_ext/src/untar_file.cpp b/frameworks/native/backup_ext/src/untar_file.cpp index f78ce3c9dc93679ea0ba7f08178d4e7912ff74e0..41b16c7e6d1c1329128367cc06757c8d67fe0f2e 100644 --- a/frameworks/native/backup_ext/src/untar_file.cpp +++ b/frameworks/native/backup_ext/src/untar_file.cpp @@ -740,7 +740,7 @@ std::tuple UntarFile::GetLongName(uint32_t recLen, uint32_t al break; } string pathLen = content.substr(pos, lenEnd - pos); - int recLen = std::atoi(pathLen.c_str()); + size_t recLen = static_cast(std::atoi(pathLen.c_str())); string KvPair = content.substr(lenEnd + 1, recLen - (lenEnd - pos + 1)); size_t eqPos = KvPair.find('='); if (eqPos == string::npos) { diff --git a/test/unittest/file_permission_native/BUILD.gn b/test/unittest/file_permission_native/BUILD.gn index bef7bfa9ca859c5012ef43d178284001561694f6..bb78d1e47dfb92c9f700d170bdb4a397935dacbb 100644 --- a/test/unittest/file_permission_native/BUILD.gn +++ b/test/unittest/file_permission_native/BUILD.gn @@ -24,7 +24,7 @@ ohos_unittest("file_permission_test") { blocklist = "${app_file_service_path}/cfi_blocklist.txt" } - module_out_path = "filemanagement/app_file_service" + module_out_path = "app_file_service/app_file_service/file_share" include_dirs = [ "include", "${app_file_service_path}/tests/mock/file_permission_native/include", diff --git a/test/unittest/file_share_native/BUILD.gn b/test/unittest/file_share_native/BUILD.gn index e5feaa09136c605cea131b7e0f855deed559c6c4..745736a50c9a557b7b8e5cbca8ca2ca91cbc9fd2 100644 --- a/test/unittest/file_share_native/BUILD.gn +++ b/test/unittest/file_share_native/BUILD.gn @@ -22,7 +22,7 @@ ohos_unittest("file_share_test") { debug = false } - module_out_path = "filemanagement/app_file_service" + module_out_path = "app_file_service/app_file_service/file_share" resource_config_file = "../resource/ohos_test.xml" sources = [ "file_share_test.cpp" ] diff --git a/test/unittest/file_share_ndk_test/file_share_permission_sup_test/BUILD.gn b/test/unittest/file_share_ndk_test/file_share_permission_sup_test/BUILD.gn index 5d75c18f5210be980fdfb5302a06606300896bb4..662683f46911c7203684d0fafaa033a5d2ee6ea3 100644 --- a/test/unittest/file_share_ndk_test/file_share_permission_sup_test/BUILD.gn +++ b/test/unittest/file_share_ndk_test/file_share_permission_sup_test/BUILD.gn @@ -24,7 +24,7 @@ ohos_unittest("file_share_permission_ndk_sup_test") { blocklist = "${app_file_service_path}/cfi_blocklist.txt" } - module_out_path = "filemanagement/app_file_service" + module_out_path = "app_file_service/app_file_service/file_share" include_dirs = [ "include", "${app_file_service_path}/interfaces/kits/ndk/fileshare/include", diff --git a/test/unittest/file_share_ndk_test/file_share_permission_test/BUILD.gn b/test/unittest/file_share_ndk_test/file_share_permission_test/BUILD.gn index 88e9a42ec5921fa56ea9eb766d01ca3ba0e2f9dc..ad79bbed76208daccb198fa1f690474b4711f002 100644 --- a/test/unittest/file_share_ndk_test/file_share_permission_test/BUILD.gn +++ b/test/unittest/file_share_ndk_test/file_share_permission_test/BUILD.gn @@ -23,7 +23,7 @@ ohos_unittest("file_share_permission_ndk_test") { debug = false } - module_out_path = "filemanagement/app_file_service" + module_out_path = "app_file_service/app_file_service/file_share" include_dirs = [ "include", "${app_file_service_path}/interfaces/kits/ndk/fileshare/include", diff --git a/test/unittest/file_uri_native/BUILD.gn b/test/unittest/file_uri_native/BUILD.gn index 447faf2f7e33bd5492a2f0a20c2d2a6c8e975976..96ab25bbfb49f9f4031165a78884432dcb9ff709 100644 --- a/test/unittest/file_uri_native/BUILD.gn +++ b/test/unittest/file_uri_native/BUILD.gn @@ -22,7 +22,7 @@ ohos_unittest("file_uri_test") { debug = false } - module_out_path = "filemanagement/app_file_service" + module_out_path = "app_file_service/app_file_service/file_share" resource_config_file = "../resource/ohos_test.xml" sources = [ "file_uri_test.cpp" ] diff --git a/test/unittest/file_uri_ndk_test/BUILD.gn b/test/unittest/file_uri_ndk_test/BUILD.gn index 006bc9fa0d3a596f27abb2657e46276c1f01424d..577727daf55526fab1ca479ec872615ba0359972 100644 --- a/test/unittest/file_uri_ndk_test/BUILD.gn +++ b/test/unittest/file_uri_ndk_test/BUILD.gn @@ -23,7 +23,7 @@ ohos_unittest("file_uri_ndk_test") { debug = false } - module_out_path = "filemanagement/app_file_service" + module_out_path = "app_file_service/app_file_service/file_share" include_dirs = [ "include", "${app_file_service_path}/interfaces/kits/ndk/fileuri/include", diff --git a/test/unittest/js_file_permission_test/permission/BUILD.gn b/test/unittest/js_file_permission_test/permission/BUILD.gn index 2073c5c28ec9aa38f7b320c07b88ba730588a0a7..b76e94fdbd87934f66db737f30b0c2ebcf59b555 100644 --- a/test/unittest/js_file_permission_test/permission/BUILD.gn +++ b/test/unittest/js_file_permission_test/permission/BUILD.gn @@ -13,7 +13,7 @@ import("//build/test.gni") ohos_js_unittest("FileShareTestPermission") { - module_out_path = "filemanagement/app_file_service" + module_out_path = "app_file_service/app_file_service/file_share" hap_profile = "./config.json" diff --git a/test/unittest/js_file_uri_test/BUILD.gn b/test/unittest/js_file_uri_test/BUILD.gn index 3a1d2cb6e5f98efd348ac23a535f8528122d1af3..5242b2e5553ee93d9db942c0600a36a815c89a7b 100644 --- a/test/unittest/js_file_uri_test/BUILD.gn +++ b/test/unittest/js_file_uri_test/BUILD.gn @@ -13,7 +13,7 @@ import("//build/test.gni") ohos_js_unittest("FileUriTest") { - module_out_path = "filemanagement/app_file_service" + module_out_path = "app_file_service/app_file_service/file_share" hap_profile = "./config.json" diff --git a/test/unittest/remote_file_share/BUILD.gn b/test/unittest/remote_file_share/BUILD.gn index 13ca80d731ae785ee3a156467c9e5a0abb6e8815..2c12469475e6c1f75e496a4863d95dcba242bfad 100644 --- a/test/unittest/remote_file_share/BUILD.gn +++ b/test/unittest/remote_file_share/BUILD.gn @@ -23,7 +23,7 @@ ohos_unittest("remote_file_share_test") { debug = false } - module_out_path = "filemanagement/app_file_service" + module_out_path = "app_file_service/app_file_service/file_share" fuzz_config_file = "${app_file_service_path}/test/fuzztest/remotefileshare_fuzzer" resource_config_file = "../resource/ohos_test.xml" diff --git a/tests/moduletests/backup_tool/tool_help_test.cpp b/tests/moduletests/backup_tool/tool_help_test.cpp index 26ad00ab11702163d59a7e05842e9a0e494a6a7a..3b6dc6cbd910a5a7123e8ab08e67298c8fb5bdb6 100644 --- a/tests/moduletests/backup_tool/tool_help_test.cpp +++ b/tests/moduletests/backup_tool/tool_help_test.cpp @@ -35,7 +35,7 @@ public: * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(ToolsTest, tool_help_0100, testing::ext::TestSize.Level0) +HWTEST_F(ToolsTest, tool_help_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "ToolsTest-begin tool_help_0100"; try { @@ -60,7 +60,7 @@ HWTEST_F(ToolsTest, tool_help_0100, testing::ext::TestSize.Level0) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(ToolsTest, tool_help_0200, testing::ext::TestSize.Level0) +HWTEST_F(ToolsTest, tool_help_0200, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "ToolsTest-begin tool_help_0200"; try { diff --git a/tests/unittests/BUILD.gn b/tests/unittests/BUILD.gn index 082474e55bc725f78829874c614c76ffa9f5435c..2467ce9a4f43073e880d5cf383cc7f7ed198b221 100644 --- a/tests/unittests/BUILD.gn +++ b/tests/unittests/BUILD.gn @@ -21,7 +21,7 @@ group("unittests") { "backup_api:backup_api_test", "backup_ext:backup_ext_test", "backup_sa:backup_sa_test", - "backup_tools:backup_test", - "backup_utils:backup_test", + "backup_tools:backup_tools_test", + "backup_utils:backup_utils_test", ] } diff --git a/tests/unittests/backup_tools/BUILD.gn b/tests/unittests/backup_tools/BUILD.gn index 0a0c1d50a5090e3fa56cf0a24ab54176d2790ff6..4a04dff01c15dc74910ff5234a165bf9ed89c6ed 100644 --- a/tests/unittests/backup_tools/BUILD.gn +++ b/tests/unittests/backup_tools/BUILD.gn @@ -148,7 +148,7 @@ ohos_unittest("backup_tool_restore_test") { use_exceptions = true } -group("backup_test") { +group("backup_tools_test") { testonly = true deps = [ diff --git a/tests/unittests/backup_utils/BUILD.gn b/tests/unittests/backup_utils/BUILD.gn index 4a16ef68cc82112f2fd75758e5f3cca2ca2b088a..9825597bac20c27453a48ff98e8b45b7a1ed177a 100644 --- a/tests/unittests/backup_utils/BUILD.gn +++ b/tests/unittests/backup_utils/BUILD.gn @@ -395,7 +395,7 @@ ohos_unittest("b_json_clear_data_test") { use_exceptions = true } -group("backup_test") { +group("backup_utils_test") { testonly = true deps = [ diff --git a/tests/unittests/backup_utils/b_anony/b_anony_test.cpp b/tests/unittests/backup_utils/b_anony/b_anony_test.cpp index fbe16d220b931208d1a4c23ef9705df5efb49e3b..382eebb6d92c377673b2fff2b2856a571619d7b1 100644 --- a/tests/unittests/backup_utils/b_anony/b_anony_test.cpp +++ b/tests/unittests/backup_utils/b_anony/b_anony_test.cpp @@ -36,7 +36,7 @@ public: * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BAnonyTest, b_anony_GetAnonyPath_0100, testing::ext::TestSize.Level0) +HWTEST_F(BAnonyTest, b_anony_GetAnonyPath_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BAnonyTest-begin b_anony_GetAnonyPath_0100"; try { diff --git a/tests/unittests/backup_utils/b_error/b_error_test.cpp b/tests/unittests/backup_utils/b_error/b_error_test.cpp index 861f6440af0707f2a4f2df9b1dc7bdc26fc3951d..2466b8b49bc5106a98d0af1bd4e660689cb7bd3e 100644 --- a/tests/unittests/backup_utils/b_error/b_error_test.cpp +++ b/tests/unittests/backup_utils/b_error/b_error_test.cpp @@ -36,7 +36,7 @@ public: * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_construction_0100, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_construction_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_construction_0100"; try { @@ -57,7 +57,7 @@ HWTEST_F(BErrorTest, b_error_construction_0100, testing::ext::TestSize.Level0) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_construction_0300, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_construction_0300, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_construction_0300"; try { @@ -79,7 +79,7 @@ HWTEST_F(BErrorTest, b_error_construction_0300, testing::ext::TestSize.Level0) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_construction_0500, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_construction_0500, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_construction_0500"; try { @@ -102,7 +102,7 @@ HWTEST_F(BErrorTest, b_error_construction_0500, testing::ext::TestSize.Level0) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_construction_0700, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_construction_0700, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_construction_0700"; try { @@ -125,7 +125,7 @@ HWTEST_F(BErrorTest, b_error_construction_0700, testing::ext::TestSize.Level0) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_construction_0900, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_construction_0900, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_construction_0900"; try { @@ -148,7 +148,7 @@ HWTEST_F(BErrorTest, b_error_construction_0900, testing::ext::TestSize.Level0) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_construction_0200, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_construction_0200, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_construction_0200"; try { @@ -171,7 +171,7 @@ HWTEST_F(BErrorTest, b_error_construction_0200, testing::ext::TestSize.Level0) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_construction_0400, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_construction_0400, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_construction_0400"; try { @@ -194,7 +194,7 @@ HWTEST_F(BErrorTest, b_error_construction_0400, testing::ext::TestSize.Level0) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_GetCode_0100, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_GetCode_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_GetCode_0100"; BError be(BError::Codes::OK); @@ -212,7 +212,7 @@ HWTEST_F(BErrorTest, b_error_GetCode_0100, testing::ext::TestSize.Level0) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_GetCode_0200, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_GetCode_0200, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_GetCode_0200"; BError be(BError::Codes::UTILS_INVAL_JSON_ENTITY); @@ -230,7 +230,7 @@ HWTEST_F(BErrorTest, b_error_GetCode_0200, testing::ext::TestSize.Level0) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_GetCode_0300, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_GetCode_0300, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_GetCode_0300"; BError be(BError::Codes::UTILS_INVAL_FILE_HANDLE); @@ -248,7 +248,7 @@ HWTEST_F(BErrorTest, b_error_GetCode_0300, testing::ext::TestSize.Level0) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_GetCode_0400, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_GetCode_0400, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_GetCode_0400"; BError be(BError::Codes::UTILS_INVAL_TARBALL_ARG); @@ -266,7 +266,7 @@ HWTEST_F(BErrorTest, b_error_GetCode_0400, testing::ext::TestSize.Level0) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_GetCode_0500, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_GetCode_0500, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_GetCode_0500"; BError be(BError::Codes::UTILS_INVAL_PROCESS_ARG); @@ -284,7 +284,7 @@ HWTEST_F(BErrorTest, b_error_GetCode_0500, testing::ext::TestSize.Level0) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_GetCode_0600, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_GetCode_0600, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_GetCode_0600"; BError be(BError::Codes::UTILS_INTERRUPTED_PROCESS); @@ -302,7 +302,7 @@ HWTEST_F(BErrorTest, b_error_GetCode_0600, testing::ext::TestSize.Level0) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_GetRawCode_0100, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_GetRawCode_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_GetRawCode_0100"; BError be(BError::Codes::OK); @@ -320,7 +320,7 @@ HWTEST_F(BErrorTest, b_error_GetRawCode_0100, testing::ext::TestSize.Level0) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_GetRawCode_0200, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_GetRawCode_0200, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_GetRawCode_0200"; BError be(BError::Codes::UTILS_INVAL_JSON_ENTITY); @@ -338,7 +338,7 @@ HWTEST_F(BErrorTest, b_error_GetRawCode_0200, testing::ext::TestSize.Level0) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_GetRawCode_0300, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_GetRawCode_0300, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_GetRawCode_0300"; BError be(BError::Codes::UTILS_INVAL_FILE_HANDLE); @@ -356,7 +356,7 @@ HWTEST_F(BErrorTest, b_error_GetRawCode_0300, testing::ext::TestSize.Level0) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_GetRawCode_0400, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_GetRawCode_0400, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_GetRawCode_0400"; BError be(BError::Codes::UTILS_INVAL_TARBALL_ARG); @@ -374,7 +374,7 @@ HWTEST_F(BErrorTest, b_error_GetRawCode_0400, testing::ext::TestSize.Level0) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_GetRawCode_0500, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_GetRawCode_0500, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_GetRawCode_0500"; BError be(BError::Codes::UTILS_INVAL_PROCESS_ARG); @@ -392,7 +392,7 @@ HWTEST_F(BErrorTest, b_error_GetRawCode_0500, testing::ext::TestSize.Level0) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_GetRawCode_0600, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_GetRawCode_0600, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_GetRawCode_0600"; BError be(BError::Codes::UTILS_INTERRUPTED_PROCESS); @@ -410,7 +410,7 @@ HWTEST_F(BErrorTest, b_error_GetRawCode_0600, testing::ext::TestSize.Level0) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_what_0100, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_what_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_what_0100"; BError be(BError::Codes::OK); @@ -428,7 +428,7 @@ HWTEST_F(BErrorTest, b_error_what_0100, testing::ext::TestSize.Level0) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_bool_0100, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_bool_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_bool_0100"; bool result = BError(); @@ -445,7 +445,7 @@ HWTEST_F(BErrorTest, b_error_bool_0100, testing::ext::TestSize.Level0) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_int_0100, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_int_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_int_0100"; int result = BError(); @@ -462,7 +462,7 @@ HWTEST_F(BErrorTest, b_error_int_0100, testing::ext::TestSize.Level0) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_GetCodeByErrno_0100, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_GetCodeByErrno_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_GetCodeByErrno_0100"; int32_t errnoSys = 0; @@ -480,7 +480,7 @@ HWTEST_F(BErrorTest, b_error_GetCodeByErrno_0100, testing::ext::TestSize.Level0) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_GetCodeByErrno_0200, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_GetCodeByErrno_0200, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_GetCodeByErrno_0200"; int32_t errnoSys = EPERM; @@ -498,7 +498,7 @@ HWTEST_F(BErrorTest, b_error_GetCodeByErrno_0200, testing::ext::TestSize.Level0) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_GetCodeByErrno_0300, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_GetCodeByErrno_0300, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_GetCodeByErrno_0300"; int32_t errnoSys = -EPERM; @@ -516,7 +516,7 @@ HWTEST_F(BErrorTest, b_error_GetCodeByErrno_0300, testing::ext::TestSize.Level0) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_GetBackupCodeByErrno_0100, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_GetBackupCodeByErrno_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_GetBackupCodeByErrno_0100"; int err = ERR_OK; @@ -534,7 +534,7 @@ HWTEST_F(BErrorTest, b_error_GetBackupCodeByErrno_0100, testing::ext::TestSize.L * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_GetBackupCodeByErrno_0200, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_GetBackupCodeByErrno_0200, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_GetBackupCodeByErrno_0200"; int err = BError(BError::Codes::SA_INVAL_ARG).GetCode(); @@ -555,7 +555,7 @@ HWTEST_F(BErrorTest, b_error_GetBackupCodeByErrno_0200, testing::ext::TestSize.L * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_GetBackupCodeByErrno_0300, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_GetBackupCodeByErrno_0300, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_GetBackupCodeByErrno_0300"; int err = -EPERM; @@ -573,7 +573,7 @@ HWTEST_F(BErrorTest, b_error_GetBackupCodeByErrno_0300, testing::ext::TestSize.L * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_GetBackupMsgByErrno_0100, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_GetBackupMsgByErrno_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_GetBackupMsgByErrno_0100"; int err = BError(BError::BackupErrorCode::E_PERM).GetCode(); @@ -594,7 +594,7 @@ HWTEST_F(BErrorTest, b_error_GetBackupMsgByErrno_0100, testing::ext::TestSize.Le * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BErrorTest, b_error_GetBackupMsgByErrno_0200, testing::ext::TestSize.Level0) +HWTEST_F(BErrorTest, b_error_GetBackupMsgByErrno_0200, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BErrorTest-begin b_error_GetBackupMsgByErrno_0200"; int err = -EPERM; diff --git a/tests/unittests/backup_utils/b_filesystem/b_dir_test.cpp b/tests/unittests/backup_utils/b_filesystem/b_dir_test.cpp index a893b8164c10988793a11426ab7691631597b7d0..6cd5d7f4f84a45329a61c2857bda2b2c44120286 100644 --- a/tests/unittests/backup_utils/b_filesystem/b_dir_test.cpp +++ b/tests/unittests/backup_utils/b_filesystem/b_dir_test.cpp @@ -48,7 +48,7 @@ public: * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BDirTest, b_dir_GetDirFiles_0100, testing::ext::TestSize.Level0) +HWTEST_F(BDirTest, b_dir_GetDirFiles_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BDirTest-begin b_dir_GetDirFiles_0100"; try { @@ -86,7 +86,7 @@ HWTEST_F(BDirTest, b_dir_GetDirFiles_0100, testing::ext::TestSize.Level0) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BDirTest, b_dir_GetDirFiles_0104, testing::ext::TestSize.Level0) +HWTEST_F(BDirTest, b_dir_GetDirFiles_0104, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BDirTest-begin b_dir_GetDirFiles_0104"; try { diff --git a/tests/unittests/backup_utils/b_filesystem/b_file_hash_test.cpp b/tests/unittests/backup_utils/b_filesystem/b_file_hash_test.cpp index bedfa2e60bd566005d67345090e3cd916e1a411a..e745dedf4766bfc5f51eb532433f31a54e61edbc 100644 --- a/tests/unittests/backup_utils/b_filesystem/b_file_hash_test.cpp +++ b/tests/unittests/backup_utils/b_filesystem/b_file_hash_test.cpp @@ -58,7 +58,7 @@ static tuple GetTestFile(const TestManager &tm) * @tc.type: FUNC * @tc.level Level 1 */ -HWTEST_F(BFileHashTest, b_file_hash_HashWithSHA256_0100, testing::ext::TestSize.Level0) +HWTEST_F(BFileHashTest, b_file_hash_HashWithSHA256_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BFileHashTest-begin b_file_hash_HashWithSHA256_0100"; try { @@ -83,7 +83,7 @@ HWTEST_F(BFileHashTest, b_file_hash_HashWithSHA256_0100, testing::ext::TestSize. * @tc.type: FUNC * @tc.level Level 1 */ -HWTEST_F(BFileHashTest, b_file_hash_HashWithSHA256_0101, testing::ext::TestSize.Level0) +HWTEST_F(BFileHashTest, b_file_hash_HashWithSHA256_0101, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BFileHashTest-begin b_file_hash_HashWithSHA256_0101"; try { diff --git a/tests/unittests/backup_utils/b_json/b_json_cached_entity_test.cpp b/tests/unittests/backup_utils/b_json/b_json_cached_entity_test.cpp index 2cebb5ad9f746b921925adac923302d4649761b3..61868d40fd2afcf184ec6ab844001b765cb77f7c 100644 --- a/tests/unittests/backup_utils/b_json/b_json_cached_entity_test.cpp +++ b/tests/unittests/backup_utils/b_json/b_json_cached_entity_test.cpp @@ -43,7 +43,7 @@ public: * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonCachedEntityTest, b_json_construction_0100, testing::ext::TestSize.Level0) +HWTEST_F(BJsonCachedEntityTest, b_json_construction_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonCachedEntityTest-begin b_json_construction_0100"; try { @@ -68,7 +68,7 @@ HWTEST_F(BJsonCachedEntityTest, b_json_construction_0100, testing::ext::TestSize * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonCachedEntityTest, b_json_construction_0101, testing::ext::TestSize.Level0) +HWTEST_F(BJsonCachedEntityTest, b_json_construction_0101, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonCachedEntityTest-begin b_json_construction_0101"; try { @@ -93,7 +93,7 @@ HWTEST_F(BJsonCachedEntityTest, b_json_construction_0101, testing::ext::TestSize * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonCachedEntityTest, b_json_construction_0102, testing::ext::TestSize.Level0) +HWTEST_F(BJsonCachedEntityTest, b_json_construction_0102, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonCachedEntityTest-begin b_json_construction_0102"; try { @@ -118,7 +118,7 @@ HWTEST_F(BJsonCachedEntityTest, b_json_construction_0102, testing::ext::TestSize * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonCachedEntityTest, b_json_construction_0104, testing::ext::TestSize.Level0) +HWTEST_F(BJsonCachedEntityTest, b_json_construction_0104, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonCachedEntityTest-begin b_json_construction_0104"; try { @@ -143,7 +143,7 @@ HWTEST_F(BJsonCachedEntityTest, b_json_construction_0104, testing::ext::TestSize * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonCachedEntityTest, b_json_construction_0105, testing::ext::TestSize.Level0) +HWTEST_F(BJsonCachedEntityTest, b_json_construction_0105, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonCachedEntityTest-begin b_json_construction_0105"; try { @@ -168,7 +168,7 @@ HWTEST_F(BJsonCachedEntityTest, b_json_construction_0105, testing::ext::TestSize * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonCachedEntityTest, b_json_construction_0106, testing::ext::TestSize.Level0) +HWTEST_F(BJsonCachedEntityTest, b_json_construction_0106, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonCachedEntityTest-begin b_json_construction_0106"; try { @@ -193,7 +193,7 @@ HWTEST_F(BJsonCachedEntityTest, b_json_construction_0106, testing::ext::TestSize * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonCachedEntityTest, b_json_construction_0107, testing::ext::TestSize.Level0) +HWTEST_F(BJsonCachedEntityTest, b_json_construction_0107, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonCachedEntityTest-begin b_json_construction_0107"; try { @@ -218,7 +218,7 @@ HWTEST_F(BJsonCachedEntityTest, b_json_construction_0107, testing::ext::TestSize * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonCachedEntityTest, b_json_Structuralize_0100, testing::ext::TestSize.Level0) +HWTEST_F(BJsonCachedEntityTest, b_json_Structuralize_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonCachedEntityTest-begin b_json_Structuralize_0100"; try { @@ -244,7 +244,7 @@ HWTEST_F(BJsonCachedEntityTest, b_json_Structuralize_0100, testing::ext::TestSiz * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonCachedEntityTest, b_json_GetFd_0100, testing::ext::TestSize.Level0) +HWTEST_F(BJsonCachedEntityTest, b_json_GetFd_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonCachedEntityTest-begin b_json_GetFd_0100"; try { @@ -270,7 +270,7 @@ HWTEST_F(BJsonCachedEntityTest, b_json_GetFd_0100, testing::ext::TestSize.Level0 * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonCachedEntityTest, b_json_Persist_0100, testing::ext::TestSize.Level0) +HWTEST_F(BJsonCachedEntityTest, b_json_Persist_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonCachedEntityTest-begin b_json_Persist_0100"; try { @@ -296,7 +296,7 @@ HWTEST_F(BJsonCachedEntityTest, b_json_Persist_0100, testing::ext::TestSize.Leve * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonCachedEntityTest, b_json_ReloadFromFile_0100, testing::ext::TestSize.Level0) +HWTEST_F(BJsonCachedEntityTest, b_json_ReloadFromFile_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonCachedEntityTest-begin b_json_ReloadFromFile_0100"; try { @@ -323,7 +323,7 @@ HWTEST_F(BJsonCachedEntityTest, b_json_ReloadFromFile_0100, testing::ext::TestSi * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonCachedEntityTest, b_json_ReloadFromString_0100, testing::ext::TestSize.Level0) +HWTEST_F(BJsonCachedEntityTest, b_json_ReloadFromString_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonCachedEntityTest-begin b_json_ReloadFromString_0100"; try { diff --git a/tests/unittests/backup_utils/b_json/b_json_entity_ext_manage_test.cpp b/tests/unittests/backup_utils/b_json/b_json_entity_ext_manage_test.cpp index 239a274bd5d832f0ff427e16b675148c0f5a7598..f13dd9d0bd8890c3209ef291394f66f1dfaffa99 100644 --- a/tests/unittests/backup_utils/b_json/b_json_entity_ext_manage_test.cpp +++ b/tests/unittests/backup_utils/b_json/b_json_entity_ext_manage_test.cpp @@ -132,7 +132,7 @@ struct stat GetFileStat(const string &pathTestFile) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0100, testing::ext::TestSize.Level0) +HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonEntityExtManageTest-begin b_json_entity_ext_manage_0100"; try { @@ -175,7 +175,7 @@ HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0100, testing::ext:: * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0200, testing::ext::TestSize.Level0) +HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0200, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonEntityExtManageTest-begin b_json_entity_ext_manage_0200"; try { @@ -228,7 +228,7 @@ HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0200, testing::ext:: * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0300, testing::ext::TestSize.Level0) +HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0300, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonEntityExtManageTest-begin b_json_entity_ext_manage_0300"; try { @@ -291,7 +291,7 @@ HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0300, testing::ext:: * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0400, testing::ext::TestSize.Level0) +HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0400, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonEntityExtManageTest-begin b_json_entity_ext_manage_0400"; try { @@ -355,7 +355,7 @@ HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0400, testing::ext:: * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0500, testing::ext::TestSize.Level0) +HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0500, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonEntityExtManageTest-begin b_json_entity_ext_manage_0500"; try { @@ -410,7 +410,7 @@ HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0500, testing::ext:: * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0700, testing::ext::TestSize.Level0) +HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0700, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonEntityExtManageTest-begin b_json_entity_ext_manage_0700"; try { @@ -435,7 +435,7 @@ HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0700, testing::ext:: * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0800, testing::ext::TestSize.Level0) +HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0800, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonEntityExtManageTest-begin b_json_entity_ext_manage_0800"; try { @@ -460,7 +460,7 @@ HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0800, testing::ext:: * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0801, testing::ext::TestSize.Level0) +HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0801, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonEntityExtManageTest-begin b_json_entity_ext_manage_0801"; try { @@ -485,7 +485,7 @@ HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0801, testing::ext:: * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0802, testing::ext::TestSize.Level0) +HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0802, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonEntityExtManageTest-begin b_json_entity_ext_manage_0802"; try { @@ -510,7 +510,7 @@ HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0802, testing::ext:: * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0803, testing::ext::TestSize.Level0) +HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0803, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonEntityExtManageTest-begin b_json_entity_ext_manage_0803"; try { @@ -535,7 +535,7 @@ HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0803, testing::ext:: * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0804, testing::ext::TestSize.Level0) +HWTEST_F(BJsonEntityExtManageTest, b_json_entity_ext_manage_0804, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonEntityExtManageTest-begin b_json_entity_ext_manage_0804"; try { diff --git a/tests/unittests/backup_utils/b_json/b_json_entity_extension_config_test.cpp b/tests/unittests/backup_utils/b_json/b_json_entity_extension_config_test.cpp index 937245c1a69843d10747136cb6af89dbfba5a67e..3da3ab4c133b0375b1fcbb8b7885c688ad5e848c 100644 --- a/tests/unittests/backup_utils/b_json/b_json_entity_extension_config_test.cpp +++ b/tests/unittests/backup_utils/b_json/b_json_entity_extension_config_test.cpp @@ -70,7 +70,7 @@ static vector DEFAULT_EXCLUDE_DIR = {}; * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonEntityExtensionConfigTest, b_json_entity_extension_config_0100, testing::ext::TestSize.Level0) +HWTEST_F(BJsonEntityExtensionConfigTest, b_json_entity_extension_config_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonEntityExtensionConfigTest-begin b_json_entity_extension_config_0100"; try { @@ -102,7 +102,7 @@ HWTEST_F(BJsonEntityExtensionConfigTest, b_json_entity_extension_config_0100, te * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonEntityExtensionConfigTest, b_json_entity_extension_config_0200, testing::ext::TestSize.Level0) +HWTEST_F(BJsonEntityExtensionConfigTest, b_json_entity_extension_config_0200, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonEntityExtensionConfigTest-begin b_json_entity_extension_config_0200"; try { @@ -133,7 +133,7 @@ HWTEST_F(BJsonEntityExtensionConfigTest, b_json_entity_extension_config_0200, te * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonEntityExtensionConfigTest, b_json_entity_extension_config_0300, testing::ext::TestSize.Level0) +HWTEST_F(BJsonEntityExtensionConfigTest, b_json_entity_extension_config_0300, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonEntityExtensionConfigTest-begin b_json_entity_extension_config_0300"; try { @@ -164,7 +164,7 @@ HWTEST_F(BJsonEntityExtensionConfigTest, b_json_entity_extension_config_0300, te * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonEntityExtensionConfigTest, b_json_entity_extension_config_0400, testing::ext::TestSize.Level0) +HWTEST_F(BJsonEntityExtensionConfigTest, b_json_entity_extension_config_0400, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonEntityExtensionConfigTest-begin b_json_entity_extension_config_0400"; try { diff --git a/tests/unittests/backup_utils/b_json/b_report_entity_test.cpp b/tests/unittests/backup_utils/b_json/b_report_entity_test.cpp index 5bc9fd7472bc363c2913486005d066a7f2243e7d..6624bba1a13c2b4255889a3f553a1ded722741a4 100644 --- a/tests/unittests/backup_utils/b_json/b_report_entity_test.cpp +++ b/tests/unittests/backup_utils/b_json/b_report_entity_test.cpp @@ -63,7 +63,7 @@ static tuple GetTestFile(const TestManager &tm, const string con * @tc.type: FUNC * @tc.level Level 1 */ -HWTEST_F(BReportEntityTest, b_report_entity_GetReportInfos_0100, testing::ext::TestSize.Level0) +HWTEST_F(BReportEntityTest, b_report_entity_GetReportInfos_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BReportEntityTest-begin b_report_entity_GetReportInfos_0100"; try { diff --git a/tests/unittests/backup_utils/b_jsonutil/b_jsonutil_other_test.cpp b/tests/unittests/backup_utils/b_jsonutil/b_jsonutil_other_test.cpp index 397424299389c68292755f0ce341891c5fffc52f..a45a423d16c83c59519d95a742b07f6b644c9165 100644 --- a/tests/unittests/backup_utils/b_jsonutil/b_jsonutil_other_test.cpp +++ b/tests/unittests/backup_utils/b_jsonutil/b_jsonutil_other_test.cpp @@ -69,7 +69,7 @@ void BJsonUtilTest::TearDownTestCase() * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonUtilTest, b_jsonutil_BuildExtensionErrInfo_0101, testing::ext::TestSize.Level0) +HWTEST_F(BJsonUtilTest, b_jsonutil_BuildExtensionErrInfo_0101, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonUtilTest-begin BuildExtensionErrInfo_0101"; try { @@ -104,7 +104,7 @@ HWTEST_F(BJsonUtilTest, b_jsonutil_BuildExtensionErrInfo_0101, testing::ext::Tes * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonUtilTest, b_jsonutil_BuildExtensionErrInfo_0201, testing::ext::TestSize.Level0) +HWTEST_F(BJsonUtilTest, b_jsonutil_BuildExtensionErrInfo_0201, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonUtilTest-begin BuildExtensionErrInfo_0201"; try { @@ -137,7 +137,7 @@ HWTEST_F(BJsonUtilTest, b_jsonutil_BuildExtensionErrInfo_0201, testing::ext::Tes * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonUtilTest, b_jsonutil_BuildOnProcessRetInfo_0301, testing::ext::TestSize.Level0) +HWTEST_F(BJsonUtilTest, b_jsonutil_BuildOnProcessRetInfo_0301, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonUtilTest-begin BuildOnProcessRetInfo_0301"; try { @@ -183,7 +183,7 @@ HWTEST_F(BJsonUtilTest, b_jsonutil_BuildOnProcessRetInfo_0301, testing::ext::Tes * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfoJson_0401, testing::ext::TestSize.Level0) +HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfoJson_0401, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonUtilTest-begin BuildBundleInfoJson_0401"; try { @@ -227,7 +227,7 @@ HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfoJson_0401, testing::ext::TestS * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonUtilTest, b_jsonutil_BuildOnProcessErrInfo_0501, testing::ext::TestSize.Level0) +HWTEST_F(BJsonUtilTest, b_jsonutil_BuildOnProcessErrInfo_0501, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonUtilTest-begin BuildOnProcessErrInfo_0501"; try { @@ -283,7 +283,7 @@ HWTEST_F(BJsonUtilTest, b_jsonutil_BuildOnProcessErrInfo_0501, testing::ext::Tes * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleNameIndexInfo_0601, testing::ext::TestSize.Level0) +HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleNameIndexInfo_0601, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonUtilTest-begin BuildBundleNameIndexInfo_0601"; try { @@ -311,7 +311,7 @@ HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleNameIndexInfo_0601, testing::ext:: * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonUtilTest, b_jsonutil_BuildInitSessionErrInfo_0701, testing::ext::TestSize.Level0) +HWTEST_F(BJsonUtilTest, b_jsonutil_BuildInitSessionErrInfo_0701, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonUtilTest-begin BuildInitSessionErrInfo_0701"; try { @@ -368,7 +368,7 @@ HWTEST_F(BJsonUtilTest, b_jsonutil_BuildInitSessionErrInfo_0701, testing::ext::T * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonUtilTest, b_jsonutil_WriteToStr_0801, testing::ext::TestSize.Level0) +HWTEST_F(BJsonUtilTest, b_jsonutil_WriteToStr_0801, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonUtilTest-begin WriteToStr_0801"; try { diff --git a/tests/unittests/backup_utils/b_jsonutil/b_jsonutil_test.cpp b/tests/unittests/backup_utils/b_jsonutil/b_jsonutil_test.cpp index 11bd5ee79e0afd090333e132ad3a85799ea3bd4b..44a5f6da591723b1b17397f02611219a82e0bc2a 100644 --- a/tests/unittests/backup_utils/b_jsonutil/b_jsonutil_test.cpp +++ b/tests/unittests/backup_utils/b_jsonutil/b_jsonutil_test.cpp @@ -51,7 +51,7 @@ public: * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonUtilTest, b_jsonutil_ParseBundleNameIndexStr_0100, testing::ext::TestSize.Level0) +HWTEST_F(BJsonUtilTest, b_jsonutil_ParseBundleNameIndexStr_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonUtilTest-begin b_dir_GetDirFiles_0100"; try { @@ -74,7 +74,7 @@ HWTEST_F(BJsonUtilTest, b_jsonutil_ParseBundleNameIndexStr_0100, testing::ext::T * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonUtilTest, b_jsonutil_ParseBundleNameIndexStr_0200, testing::ext::TestSize.Level0) +HWTEST_F(BJsonUtilTest, b_jsonutil_ParseBundleNameIndexStr_0200, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonUtilTest-begin ParseBundleNameIndexStr_0200"; try { @@ -97,7 +97,7 @@ HWTEST_F(BJsonUtilTest, b_jsonutil_ParseBundleNameIndexStr_0200, testing::ext::T * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0100, testing::ext::TestSize.Level0) +HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonUtilTest-begin BuildBundleInfos_0100"; try { @@ -131,7 +131,7 @@ HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0100, testing::ext::TestSize * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0200, testing::ext::TestSize.Level0) +HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0200, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonUtilTest-begin BuildBundleInfos_0200"; try { @@ -163,7 +163,7 @@ HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0200, testing::ext::TestSize * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0300, testing::ext::TestSize.Level0) +HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0300, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonUtilTest-begin BuildBundleInfos_0300"; try { @@ -195,7 +195,7 @@ HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0300, testing::ext::TestSize * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0301, testing::ext::TestSize.Level0) +HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0301, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonUtilTest-begin BuildBundleInfos_0301"; try { @@ -227,7 +227,7 @@ HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0301, testing::ext::TestSize * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0400, testing::ext::TestSize.Level0) +HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0400, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonUtilTest-begin BuildBundleInfos_0400"; try { @@ -262,7 +262,7 @@ HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0400, testing::ext::TestSize * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0500, testing::ext::TestSize.Level0) +HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0500, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonUtilTest-begin BuildBundleInfos_0500"; try { @@ -296,7 +296,7 @@ HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0500, testing::ext::TestSize * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0600, testing::ext::TestSize.Level0) +HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0600, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonUtilTest-begin BuildBundleInfos_0600"; try { @@ -330,7 +330,7 @@ HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0600, testing::ext::TestSize * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0700, testing::ext::TestSize.Level0) +HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0700, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonUtilTest-begin BuildBundleInfos_0700"; try { @@ -363,7 +363,7 @@ HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0700, testing::ext::TestSize * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0800, testing::ext::TestSize.Level0) +HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0800, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonUtilTest-begin BuildBundleInfos_0800"; try { @@ -396,7 +396,7 @@ HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0800, testing::ext::TestSize * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0900, testing::ext::TestSize.Level0) +HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0900, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonUtilTest-begin BuildBundleInfos_0900"; try { @@ -429,7 +429,7 @@ HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_0900, testing::ext::TestSize * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_1000, testing::ext::TestSize.Level0) +HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_1000, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonUtilTest-begin BuildBundleInfos_1000"; try { @@ -462,7 +462,7 @@ HWTEST_F(BJsonUtilTest, b_jsonutil_BuildBundleInfos_1000, testing::ext::TestSize * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonUtilTest, b_jsonutil_FindBundleInfoByName_0100, testing::ext::TestSize.Level0) +HWTEST_F(BJsonUtilTest, b_jsonutil_FindBundleInfoByName_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonUtilTest-begin FindBundleInfoByName_0100"; try { @@ -489,7 +489,7 @@ HWTEST_F(BJsonUtilTest, b_jsonutil_FindBundleInfoByName_0100, testing::ext::Test * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonUtilTest, b_jsonutil_FindBundleInfoByName_0200, testing::ext::TestSize.Level0) +HWTEST_F(BJsonUtilTest, b_jsonutil_FindBundleInfoByName_0200, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonUtilTest-begin FindBundleInfoByName_0200"; try { @@ -521,7 +521,7 @@ HWTEST_F(BJsonUtilTest, b_jsonutil_FindBundleInfoByName_0200, testing::ext::Test * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonUtilTest, b_jsonutil_FindBundleInfoByName_0300, testing::ext::TestSize.Level0) +HWTEST_F(BJsonUtilTest, b_jsonutil_FindBundleInfoByName_0300, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonUtilTest-begin FindBundleInfoByName_0300"; try { @@ -553,7 +553,7 @@ HWTEST_F(BJsonUtilTest, b_jsonutil_FindBundleInfoByName_0300, testing::ext::Test * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonUtilTest, b_jsonutil_BuildOnProcessRetInfo_0100, testing::ext::TestSize.Level0) +HWTEST_F(BJsonUtilTest, b_jsonutil_BuildOnProcessRetInfo_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonUtilTest-begin BuildOnProcessRetInfo_0100"; try { @@ -580,7 +580,7 @@ HWTEST_F(BJsonUtilTest, b_jsonutil_BuildOnProcessRetInfo_0100, testing::ext::Tes * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonUtilTest, b_jsonutil_BuildExtensionErrInfo_0100, testing::ext::TestSize.Level0) +HWTEST_F(BJsonUtilTest, b_jsonutil_BuildExtensionErrInfo_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonUtilTest-begin BuildExtensionErrInfo_0100"; try { @@ -609,7 +609,7 @@ HWTEST_F(BJsonUtilTest, b_jsonutil_BuildExtensionErrInfo_0100, testing::ext::Tes * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BJsonUtilTest, b_jsonutil_BuildExtensionErrInfo_0200, testing::ext::TestSize.Level0) +HWTEST_F(BJsonUtilTest, b_jsonutil_BuildExtensionErrInfo_0200, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BJsonUtilTest-begin BuildExtensionErrInfo_0200"; try { diff --git a/tests/unittests/backup_utils/b_process/b_process_test.cpp b/tests/unittests/backup_utils/b_process/b_process_test.cpp index 1c8534d996f59898e6f58c861e0e5a68300e9a27..fc817142274857f041910ba33b5d577e84880dc3 100644 --- a/tests/unittests/backup_utils/b_process/b_process_test.cpp +++ b/tests/unittests/backup_utils/b_process/b_process_test.cpp @@ -51,7 +51,7 @@ static bool DetectFatalLog(string_view output) * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_0100, testing::ext::TestSize.Level0) +HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_0100, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BProcessTest-begin SUB_backup_tool_BProcess_0100"; try { @@ -86,7 +86,7 @@ HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_0100, testing::ext::TestSize.Lev * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_0200, testing::ext::TestSize.Level0) +HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_0200, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BProcessTest-begin SUB_backup_tool_BProcess_0200"; try { @@ -114,7 +114,7 @@ HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_0200, testing::ext::TestSize.Lev * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_0300, testing::ext::TestSize.Level0) +HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_0300, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BProcessTest-begin SUB_backup_tool_BProcess_0300"; try { @@ -141,7 +141,7 @@ HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_0300, testing::ext::TestSize.Lev * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_0400, testing::ext::TestSize.Level0) +HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_0400, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BProcessTest-begin SUB_backup_tool_BProcess_0400"; try { @@ -168,7 +168,7 @@ HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_0400, testing::ext::TestSize.Lev * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_0500, testing::ext::TestSize.Level0) +HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_0500, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BProcessTest-begin SUB_backup_tool_BProcess_0500"; try { @@ -195,7 +195,7 @@ HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_0500, testing::ext::TestSize.Lev * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_0600, testing::ext::TestSize.Level0) +HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_0600, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BProcessTest-begin SUB_backup_tool_BProcess_0600"; try { @@ -222,7 +222,7 @@ HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_0600, testing::ext::TestSize.Lev * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_0700, testing::ext::TestSize.Level0) +HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_0700, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BProcessTest-begin SUB_backup_tool_BProcess_0700"; try { @@ -249,7 +249,7 @@ HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_0700, testing::ext::TestSize.Lev * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_0800, testing::ext::TestSize.Level0) +HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_0800, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BProcessTest-begin SUB_backup_tool_BProcess_0800"; try { @@ -276,7 +276,7 @@ HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_0800, testing::ext::TestSize.Lev * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_0900, testing::ext::TestSize.Level0) +HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_0900, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BProcessTest-begin SUB_backup_tool_BProcess_0900"; try { @@ -301,7 +301,7 @@ HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_0900, testing::ext::TestSize.Lev * @tc.level Level 0 * @tc.require: I6F3GV */ -HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_1000, testing::ext::TestSize.Level0) +HWTEST_F(BProcessTest, SUB_backup_tool_BProcess_1000, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "BProcessTest-begin SUB_backup_tool_BProcess_1000"; try {