diff --git a/test/moduletest/bm/bm_command_dump_module_test.cpp b/test/moduletest/bm/bm_command_dump_module_test.cpp index d40076c0c4fd6a7bc67dbc3cdb40088145266324..cf647f8853545e26f07e8d06f21dc2c11b53a923 100644 --- a/test/moduletest/bm/bm_command_dump_module_test.cpp +++ b/test/moduletest/bm/bm_command_dump_module_test.cpp @@ -91,7 +91,7 @@ void BmCommandDumpModuleTest::SetMockObjects(BundleManagerShellCommand &cmd) con * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump -a" command. */ -HWTEST_F(BmCommandDumpModuleTest, Bm_Command_Dump_ModuleTest_0100, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpModuleTest, Bm_Command_Dump_ModuleTest_0100, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -115,7 +115,7 @@ HWTEST_F(BmCommandDumpModuleTest, Bm_Command_Dump_ModuleTest_0100, Function | Me * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump --all" command. */ -HWTEST_F(BmCommandDumpModuleTest, Bm_Command_Dump_ModuleTest_0200, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpModuleTest, Bm_Command_Dump_ModuleTest_0200, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { diff --git a/test/moduletest/bm/bm_command_install_module_test.cpp b/test/moduletest/bm/bm_command_install_module_test.cpp index 1a2b21637113e884a40a0500f942512cc50f4d06..f46e342b64ba268f0cdec221d7b21d3bd13b3fe7 100644 --- a/test/moduletest/bm/bm_command_install_module_test.cpp +++ b/test/moduletest/bm/bm_command_install_module_test.cpp @@ -91,7 +91,7 @@ void BmCommandInstallModuleTest::SetMockObjects(BundleManagerShellCommand &cmd) * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -p " command. */ -HWTEST_F(BmCommandInstallModuleTest, Bm_Command_Install_ModuleTest_0100, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallModuleTest, Bm_Command_Install_ModuleTest_0100, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -116,7 +116,7 @@ HWTEST_F(BmCommandInstallModuleTest, Bm_Command_Install_ModuleTest_0100, Functio * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -p -r" command. */ -HWTEST_F(BmCommandInstallModuleTest, Bm_Command_Install_ModuleTest_0200, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallModuleTest, Bm_Command_Install_ModuleTest_0200, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { diff --git a/test/moduletest/bm/bm_command_uninstall_module_test.cpp b/test/moduletest/bm/bm_command_uninstall_module_test.cpp index d726a0f1245f3d2373141fdf9e346688707a03a8..89821b22baea77842a615288acbac17c4d5a4366 100644 --- a/test/moduletest/bm/bm_command_uninstall_module_test.cpp +++ b/test/moduletest/bm/bm_command_uninstall_module_test.cpp @@ -91,7 +91,7 @@ void BmCommandUninstallModuleTest::SetMockObjects(BundleManagerShellCommand &cmd * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall -n " command. */ -HWTEST_F(BmCommandUninstallModuleTest, Bm_Command_Uninstall_ModuleTest_0100, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallModuleTest, Bm_Command_Uninstall_ModuleTest_0100, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -115,7 +115,7 @@ HWTEST_F(BmCommandUninstallModuleTest, Bm_Command_Uninstall_ModuleTest_0100, Fun * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall -n -m " command. */ -HWTEST_F(BmCommandUninstallModuleTest, Bm_Command_Uninstall_ModuleTest_0200, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallModuleTest, Bm_Command_Uninstall_ModuleTest_0200, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), diff --git a/test/systemtest/bm/bm_command_dump_system_test.cpp b/test/systemtest/bm/bm_command_dump_system_test.cpp index cc3ba96197b8db7782cb715a095caf693572dac0..147b2da938e743fcdda55450d6d90885e1df0947 100644 --- a/test/systemtest/bm/bm_command_dump_system_test.cpp +++ b/test/systemtest/bm/bm_command_dump_system_test.cpp @@ -59,7 +59,7 @@ void BmCommandDumpSystemTest::TearDown() * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump -a" command. */ -HWTEST_F(BmCommandDumpSystemTest, Bm_Command_Dump_SystemTest_0100, Function | MediumTest | Level0) +HWTEST_F(BmCommandDumpSystemTest, Bm_Command_Dump_SystemTest_0100, Function | MediumTest | TestSize.Level0) { // uninstall the bundle ToolSystemTest::UninstallBundle(STRING_BUNDLE_NAME); @@ -82,7 +82,7 @@ HWTEST_F(BmCommandDumpSystemTest, Bm_Command_Dump_SystemTest_0100, Function | Me * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump -n " command. */ -HWTEST_F(BmCommandDumpSystemTest, Bm_Command_Dump_SystemTest_0200, Function | MediumTest | Level0) +HWTEST_F(BmCommandDumpSystemTest, Bm_Command_Dump_SystemTest_0200, Function | MediumTest | TestSize.Level0) { // uninstall the bundle ToolSystemTest::UninstallBundle(STRING_BUNDLE_NAME); @@ -105,7 +105,7 @@ HWTEST_F(BmCommandDumpSystemTest, Bm_Command_Dump_SystemTest_0200, Function | Me * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump -n " command. */ -HWTEST_F(BmCommandDumpSystemTest, Bm_Command_Dump_SystemTest_0300, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpSystemTest, Bm_Command_Dump_SystemTest_0300, Function | MediumTest | TestSize.Level1) { // dump an invalid bundle std::string command = "bm dump -n " + STRING_BUNDLE_NAME_INVALID; diff --git a/test/systemtest/bm/bm_command_install_system_test.cpp b/test/systemtest/bm/bm_command_install_system_test.cpp index 96945f6ffc6968cafd96c7a6b5de7a5428f3c9a4..a0890c8472fc550084306b600ef0e44f534192be 100644 --- a/test/systemtest/bm/bm_command_install_system_test.cpp +++ b/test/systemtest/bm/bm_command_install_system_test.cpp @@ -60,7 +60,7 @@ void BmCommandInstallSystemTest::TearDown() * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -p " command. */ -HWTEST_F(BmCommandInstallSystemTest, Bm_Command_Install_SystemTest_0100, Function | MediumTest | Level0) +HWTEST_F(BmCommandInstallSystemTest, Bm_Command_Install_SystemTest_0100, Function | MediumTest | TestSize.Level0) { // uninstall the bundle ToolSystemTest::UninstallBundle(STRING_BUNDLE_NAME); @@ -79,7 +79,7 @@ HWTEST_F(BmCommandInstallSystemTest, Bm_Command_Install_SystemTest_0100, Functio * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -p " command. */ -HWTEST_F(BmCommandInstallSystemTest, Bm_Command_Install_SystemTest_0200, Function | MediumTest | Level0) +HWTEST_F(BmCommandInstallSystemTest, Bm_Command_Install_SystemTest_0200, Function | MediumTest | TestSize.Level0) { // install an invalid bundle std::string command = "bm install -p " + STRING_BUNDLE_PATH_INVALID; @@ -93,7 +93,7 @@ HWTEST_F(BmCommandInstallSystemTest, Bm_Command_Install_SystemTest_0200, Functio * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -p -r" command. */ -HWTEST_F(BmCommandInstallSystemTest, Bm_Command_Install_SystemTest_0300, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallSystemTest, Bm_Command_Install_SystemTest_0300, Function | MediumTest | TestSize.Level1) { // uninstall the bundle ToolSystemTest::UninstallBundle(STRING_BUNDLE_NAME); diff --git a/test/systemtest/bm/bm_command_uninstall_system_test.cpp b/test/systemtest/bm/bm_command_uninstall_system_test.cpp index 0f3cb5804f4fe0f61c24134d1b84da55b4630fc2..158151ebc0c4b3c3a281257555bd284aab408f5e 100644 --- a/test/systemtest/bm/bm_command_uninstall_system_test.cpp +++ b/test/systemtest/bm/bm_command_uninstall_system_test.cpp @@ -60,7 +60,7 @@ void BmCommandUninstallSystemTest::TearDown() * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall -n " command. */ -HWTEST_F(BmCommandUninstallSystemTest, Bm_Command_Uninstall_SystemTest_0100, Function | MediumTest | Level0) +HWTEST_F(BmCommandUninstallSystemTest, Bm_Command_Uninstall_SystemTest_0100, Function | MediumTest | TestSize.Level0) { // uninstall the bundle ToolSystemTest::UninstallBundle(STRING_BUNDLE_NAME); @@ -79,7 +79,7 @@ HWTEST_F(BmCommandUninstallSystemTest, Bm_Command_Uninstall_SystemTest_0100, Fun * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall -n " command. */ -HWTEST_F(BmCommandUninstallSystemTest, Bm_Command_Uninstall_SystemTest_0200, Function | MediumTest | Level0) +HWTEST_F(BmCommandUninstallSystemTest, Bm_Command_Uninstall_SystemTest_0200, Function | MediumTest | TestSize.Level0) { // uninstall an invalid bundle std::string command = "bm uninstall -n " + STRING_BUNDLE_NAME_INVALID; diff --git a/test/unittest/bm/bm_command_dump_dependencies_test.cpp b/test/unittest/bm/bm_command_dump_dependencies_test.cpp index d8fbf0e7c9db195f6e23d5ea4b454d6c1621493e..178e74e725be337d4cd0c1fc56f330914ee977ec 100644 --- a/test/unittest/bm/bm_command_dump_dependencies_test.cpp +++ b/test/unittest/bm/bm_command_dump_dependencies_test.cpp @@ -90,7 +90,7 @@ void BmCommandDumpDependenciesTest::SetMockObjects(BundleManagerShellCommand &cm * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-dependencies" command. */ -HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_0100, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_0100, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -112,7 +112,7 @@ HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_0100, F * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-dependencies xxx" command. */ -HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_0200, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_0200, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -135,7 +135,7 @@ HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_0200, F * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-dependencies -x" command. */ -HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_0300, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_0300, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -158,7 +158,7 @@ HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_0300, F * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-dependencies -xxx" command. */ -HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_0400, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_0400, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -181,7 +181,7 @@ HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_0400, F * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-dependencies --x" command. */ -HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_0500, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_0500, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -204,7 +204,7 @@ HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_0500, F * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-dependencies --xxx" command. */ -HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_0600, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_0600, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -227,7 +227,7 @@ HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_0600, F * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-dependencies -h" command. */ -HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_0700, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_0700, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -250,7 +250,7 @@ HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_0700, F * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-dependencies --help" command. */ -HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_0800, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_0800, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -273,7 +273,7 @@ HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_0800, F * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-dependencies -n" command. */ -HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_0900, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_0900, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -296,7 +296,7 @@ HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_0900, F * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-dependencies -n " command. */ -HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_1000, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_1000, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -320,7 +320,7 @@ HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_1000, F * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-dependencies -m" command. */ -HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_1100, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_1100, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -340,7 +340,7 @@ HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_1100, F * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-dependencies -m " command. */ -HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_1200, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_1200, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -361,7 +361,7 @@ HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_1200, F * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-dependencies -n -m " command. */ -HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_1300, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_1300, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -387,7 +387,7 @@ HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_1300, F * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-dependencies -n -XXX " command. */ -HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_1400, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_1400, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -413,7 +413,7 @@ HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_1400, F * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-dependencies -xxx " command. */ -HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_1500, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpDependenciesTest, Bm_Command_Dump_DumpDependencies_1500, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), diff --git a/test/unittest/bm/bm_command_dump_test.cpp b/test/unittest/bm/bm_command_dump_test.cpp index 8fd94364098b1eb19cbdd8b4643227733c366f58..bd068e79252654c0682443a1b2ffcfa6c6f1a59b 100644 --- a/test/unittest/bm/bm_command_dump_test.cpp +++ b/test/unittest/bm/bm_command_dump_test.cpp @@ -92,7 +92,7 @@ void BmCommandDumpTest::SetMockObjects(BundleManagerShellCommand &cmd) const * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump" command. */ -HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_0100, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_0100, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -114,7 +114,7 @@ HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_0100, Function | MediumTest | Level1 * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump xxx" command. */ -HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_0200, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_0200, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -137,7 +137,7 @@ HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_0200, Function | MediumTest | Level1 * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump -x" command. */ -HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_0300, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_0300, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -160,7 +160,7 @@ HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_0300, Function | MediumTest | Level1 * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump -xxx" command. */ -HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_0400, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_0400, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -183,7 +183,7 @@ HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_0400, Function | MediumTest | Level1 * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump --x" command. */ -HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_0500, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_0500, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -206,7 +206,7 @@ HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_0500, Function | MediumTest | Level1 * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump --xxx" command. */ -HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_0600, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_0600, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -229,7 +229,7 @@ HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_0600, Function | MediumTest | Level1 * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump -h" command. */ -HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_0700, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_0700, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -252,7 +252,7 @@ HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_0700, Function | MediumTest | Level1 * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump --help" command. */ -HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_0800, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_0800, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -275,7 +275,7 @@ HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_0800, Function | MediumTest | Level1 * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump -a" command. */ -HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_0900, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_0900, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -298,7 +298,7 @@ HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_0900, Function | MediumTest | Level1 * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump --all" command. */ -HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_1000, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_1000, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -321,7 +321,7 @@ HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_1000, Function | MediumTest | Level1 * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump -n" command. */ -HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_1100, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_1100, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -344,7 +344,7 @@ HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_1100, Function | MediumTest | Level1 * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump -n " command. */ -HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_1200, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_1200, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -368,7 +368,7 @@ HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_1200, Function | MediumTest | Level1 * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump -s" command. */ -HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_1300, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_1300, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -388,7 +388,7 @@ HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_1300, Function | MediumTest | Level1 * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump -n -s" command. */ -HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_1400, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_1400, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -410,7 +410,7 @@ HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_1400, Function | MediumTest | Level1 * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump -n -u" command. */ -HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_1500, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_1500, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -432,7 +432,7 @@ HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_1500, Function | MediumTest | Level1 * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump -n -d" command. */ -HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_1700, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_1700, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -454,7 +454,7 @@ HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_1700, Function | MediumTest | Level1 * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump -n -d " command. */ -HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_1800, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_1800, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -477,7 +477,7 @@ HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_1800, Function | MediumTest | Level1 * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump -n -XXX " command. */ -HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_1900, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_1900, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -500,7 +500,7 @@ HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_1900, Function | MediumTest | Level1 * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump -xx " command. */ -HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_2100, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_2100, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -521,7 +521,7 @@ HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_2100, Function | MediumTest | Level1 * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump -d " command. */ -HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_2200, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_2200, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -542,7 +542,7 @@ HWTEST_F(BmCommandDumpTest, Bm_Command_Dump_2200, Function | MediumTest | Level1 * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-shared" command. */ -HWTEST_F(BmCommandDumpTest, Bm_Command_Shared_0001, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpTest, Bm_Command_Shared_0001, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -564,7 +564,7 @@ HWTEST_F(BmCommandDumpTest, Bm_Command_Shared_0001, Function | MediumTest | Leve * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-shared -n" command. */ -HWTEST_F(BmCommandDumpTest, Bm_Command_Shared_0002, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpTest, Bm_Command_Shared_0002, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -587,7 +587,7 @@ HWTEST_F(BmCommandDumpTest, Bm_Command_Shared_0002, Function | MediumTest | Leve * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-shared -xxx" command. */ -HWTEST_F(BmCommandDumpTest, Bm_Command_Shared_0003, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpTest, Bm_Command_Shared_0003, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -610,7 +610,7 @@ HWTEST_F(BmCommandDumpTest, Bm_Command_Shared_0003, Function | MediumTest | Leve * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-shared -h" command. */ -HWTEST_F(BmCommandDumpTest, Bm_Command_Shared_0005, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpTest, Bm_Command_Shared_0005, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -633,7 +633,7 @@ HWTEST_F(BmCommandDumpTest, Bm_Command_Shared_0005, Function | MediumTest | Leve * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-shared -n " command. */ -HWTEST_F(BmCommandDumpTest, Bm_Command_Shared_0006, Function | MediumTest | Level1) +HWTEST_F(BmCommandDumpTest, Bm_Command_Shared_0006, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), diff --git a/test/unittest/bm/bm_command_install_test.cpp b/test/unittest/bm/bm_command_install_test.cpp index 1f2334719e9d7f69665d267a74d8b4253e10f807..0952368922bf76492e77a1ed04e3028bbe5030e9 100644 --- a/test/unittest/bm/bm_command_install_test.cpp +++ b/test/unittest/bm/bm_command_install_test.cpp @@ -91,7 +91,7 @@ void BmCommandInstallTest::SetMockObjects(BundleManagerShellCommand &cmd) const * @tc.name: ExecCommand * @tc.desc: Verify the "bm install" command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_0100, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_0100, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -113,7 +113,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_0100, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install xxx" command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_0200, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_0200, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -136,7 +136,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_0200, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -x" command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_0300, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_0300, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -159,7 +159,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_0300, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -xxx" command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_0400, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_0400, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -182,7 +182,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_0400, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install --x" command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_0500, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_0500, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -205,7 +205,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_0500, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install --xxx" command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_0600, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_0600, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -228,7 +228,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_0600, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install --h" command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_0700, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_0700, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -251,7 +251,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_0700, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install --help" command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_0800, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_0800, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -274,7 +274,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_0800, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -p" command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_0900, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_0900, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -297,7 +297,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_0900, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -r" command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_1000, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_1000, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -321,7 +321,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_1000, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -p " command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_1100, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_1100, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -346,7 +346,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_1100, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -p -r" command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_1200, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_1200, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -372,7 +372,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_1200, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -r -p " command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_1300, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_1300, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -398,7 +398,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_1300, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -p " command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_1600, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_1600, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -424,7 +424,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_1600, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -p " command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_1700, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_1700, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -450,7 +450,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_1700, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -p " command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_1800, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_1800, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -476,7 +476,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_1800, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install --bundle-path " command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_1900, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_1900, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -502,7 +502,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_1900, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -p " command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_2000, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_2000, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -528,7 +528,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_2000, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -p " command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_2100, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_2100, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -554,7 +554,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_2100, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -p -r" command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_2300, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_2300, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -581,7 +581,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_2300, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -r -p " command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_2400, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_2400, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -608,7 +608,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_2400, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -p -r " command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_2600, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_2600, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -635,7 +635,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_2600, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -p -u xxx" command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_2700, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_2700, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -663,7 +663,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_2700, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -p -u" command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_2800, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_2800, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -690,7 +690,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_2800, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -p -w" command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3000, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3000, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -716,7 +716,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3000, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -p -w " command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3100, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3100, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -743,7 +743,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3100, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -p -XXX " command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3200, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3200, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -771,7 +771,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3200, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -p -w " command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3300, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3300, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -798,7 +798,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3300, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -p -w " command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3400, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3400, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -825,7 +825,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3400, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install" command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3500, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3500, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -849,7 +849,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3500, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -s " command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3600, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3600, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -874,7 +874,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3600, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -s " command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3700, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3700, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -899,7 +899,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3700, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -s " command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3800, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3800, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -925,7 +925,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3800, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -s " command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3900, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3900, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -951,7 +951,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_3900, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -s " command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_4000, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_4000, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -977,7 +977,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_4000, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -s " command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_4100, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_4100, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -1003,7 +1003,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_4100, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -s " command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_4200, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_4200, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -1029,7 +1029,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_4200, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -s " command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_4300, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_4300, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -1055,7 +1055,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_4300, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -s " command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_4400, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_4400, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -1081,7 +1081,7 @@ HWTEST_F(BmCommandInstallTest, Bm_Command_Install_4400, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm install -s " command. */ -HWTEST_F(BmCommandInstallTest, Bm_Command_Install_4500, Function | MediumTest | Level1) +HWTEST_F(BmCommandInstallTest, Bm_Command_Install_4500, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { diff --git a/test/unittest/bm/bm_command_overlay_test.cpp b/test/unittest/bm/bm_command_overlay_test.cpp index 0f3f4c064b1ff7265942e5819e4e5923de654f09..b390a7fda608d4f5d7df723b939606b600e95d37 100644 --- a/test/unittest/bm/bm_command_overlay_test.cpp +++ b/test/unittest/bm/bm_command_overlay_test.cpp @@ -90,7 +90,7 @@ void BmCommandOverlayTest::SetMockObjects(BundleManagerShellCommand &cmd) const * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-overlay" command. */ -HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0001, Function | MediumTest | Level1) +HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0001, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -112,7 +112,7 @@ HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0001, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-overlay -xxx" command. */ -HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0002, Function | MediumTest | Level1) +HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0002, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -135,7 +135,7 @@ HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0002, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-overlay -b" command. */ -HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0003, Function | MediumTest | Level1) +HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0003, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -158,7 +158,7 @@ HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0003, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-overlay -m" command. */ -HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0004, Function | MediumTest | Level1) +HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0004, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -181,7 +181,7 @@ HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0004, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-overlay -t" command. */ -HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0005, Function | MediumTest | Level1) +HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0005, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -204,7 +204,7 @@ HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0005, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-overlay -u" command. */ -HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0006, Function | MediumTest | Level1) +HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0006, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -227,7 +227,7 @@ HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0006, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-overlay -h" command. */ -HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0007, Function | MediumTest | Level1) +HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0007, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -250,7 +250,7 @@ HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0007, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-overlay -b " command. */ -HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0008, Function | MediumTest | Level1) +HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0008, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -274,7 +274,7 @@ HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0008, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-overlay -m " command. */ -HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0009, Function | MediumTest | Level1) +HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0009, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -298,7 +298,7 @@ HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0009, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-overlay -t " command. */ -HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0010, Function | MediumTest | Level1) +HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0010, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -323,7 +323,7 @@ HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0010, Function | MediumTest | * @tc.desc: Verify the "bm dump-overlay -b * -m -t " command. */ -HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0017, Function | MediumTest | Level1) +HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0017, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -353,7 +353,7 @@ HWTEST_F(BmCommandOverlayTest, Bm_Command_Overlay_0017, Function | MediumTest | * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-target-overlay" command. */ -HWTEST_F(BmCommandOverlayTest, Bm_Command_Target_Overlay_0001, Function | MediumTest | Level1) +HWTEST_F(BmCommandOverlayTest, Bm_Command_Target_Overlay_0001, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -375,7 +375,7 @@ HWTEST_F(BmCommandOverlayTest, Bm_Command_Target_Overlay_0001, Function | Medium * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-target-overlay -b" command. */ -HWTEST_F(BmCommandOverlayTest, Bm_Command_Target_Overlay_0002, Function | MediumTest | Level1) +HWTEST_F(BmCommandOverlayTest, Bm_Command_Target_Overlay_0002, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -398,7 +398,7 @@ HWTEST_F(BmCommandOverlayTest, Bm_Command_Target_Overlay_0002, Function | Medium * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-target-overlay -xxx" command. */ -HWTEST_F(BmCommandOverlayTest, Bm_Command_Target_Overlay_0003, Function | MediumTest | Level1) +HWTEST_F(BmCommandOverlayTest, Bm_Command_Target_Overlay_0003, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -421,7 +421,7 @@ HWTEST_F(BmCommandOverlayTest, Bm_Command_Target_Overlay_0003, Function | Medium * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-target-overlay -m" command. */ -HWTEST_F(BmCommandOverlayTest, Bm_Command_Target_Overlay_0004, Function | MediumTest | Level1) +HWTEST_F(BmCommandOverlayTest, Bm_Command_Target_Overlay_0004, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -444,7 +444,7 @@ HWTEST_F(BmCommandOverlayTest, Bm_Command_Target_Overlay_0004, Function | Medium * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-target-overlay -u" command. */ -HWTEST_F(BmCommandOverlayTest, Bm_Command_Target_Overlay_0005, Function | MediumTest | Level1) +HWTEST_F(BmCommandOverlayTest, Bm_Command_Target_Overlay_0005, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -467,7 +467,7 @@ HWTEST_F(BmCommandOverlayTest, Bm_Command_Target_Overlay_0005, Function | Medium * @tc.name: ExecCommand * @tc.desc: Verify the "bm dump-target-overlay -h" command. */ -HWTEST_F(BmCommandOverlayTest, Bm_Command_Target_Overlay_0006, Function | MediumTest | Level1) +HWTEST_F(BmCommandOverlayTest, Bm_Command_Target_Overlay_0006, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), diff --git a/test/unittest/bm/bm_command_quickfix_test.cpp b/test/unittest/bm/bm_command_quickfix_test.cpp index 0d7f1b72d54afd33606e5da6c8484b9b6c64ee61..5e5de600dc66febc975f69c40e836932bc3da11e 100644 --- a/test/unittest/bm/bm_command_quickfix_test.cpp +++ b/test/unittest/bm/bm_command_quickfix_test.cpp @@ -71,7 +71,7 @@ HWTEST_F(BmCommandQuickFixTest, Bm_Command_QuickFix_0100, TestSize.Level1) int argc = sizeof(argv) / sizeof(argv[0]) - 1; BundleManagerShellCommand cmd(argc, argv); - + EXPECT_EQ(cmd.ExecCommand(), "error: parameter is not enough.\n" + HELP_MSG_QUICK_FIX); } diff --git a/test/unittest/bm/bm_command_test.cpp b/test/unittest/bm/bm_command_test.cpp index d42d7b38534815028871c5d9208e5945b04eabd5..15641b96b7abb0eb64f1cd3c872f4e0cc57bd365 100644 --- a/test/unittest/bm/bm_command_test.cpp +++ b/test/unittest/bm/bm_command_test.cpp @@ -173,7 +173,7 @@ void BmCommandTest::SetMockObjects(BundleManagerShellCommand &cmd) const * @tc.name: ExecCommand * @tc.desc: Verify the "bm" command. */ -HWTEST_F(BmCommandTest, Bm_Command_0001, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_0001, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -205,7 +205,7 @@ HWTEST_F(BmCommandTest, Bm_Command_0001, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm xxx" command. */ -HWTEST_F(BmCommandTest, Bm_Command_0002, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_0002, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -238,7 +238,7 @@ HWTEST_F(BmCommandTest, Bm_Command_0002, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm -xxx" command. */ -HWTEST_F(BmCommandTest, Bm_Command_0003, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_0003, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -271,7 +271,7 @@ HWTEST_F(BmCommandTest, Bm_Command_0003, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm --xxx" command. */ -HWTEST_F(BmCommandTest, Bm_Command_0004, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_0004, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -304,7 +304,7 @@ HWTEST_F(BmCommandTest, Bm_Command_0004, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm help" command. */ -HWTEST_F(BmCommandTest, Bm_Command_0005, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_0005, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -337,7 +337,7 @@ HWTEST_F(BmCommandTest, Bm_Command_0005, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm clean" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Clean_0001, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Clean_0001, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -356,7 +356,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Clean_0001, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm clean xx" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Clean_0002, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Clean_0002, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -376,7 +376,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Clean_0002, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm clean -n" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Clean_0003, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Clean_0003, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -396,7 +396,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Clean_0003, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm clean -n " command. */ -HWTEST_F(BmCommandTest, Bm_Command_Clean_0004, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Clean_0004, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -417,7 +417,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Clean_0004, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm clean -n xxx" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Clean_0005, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Clean_0005, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -439,7 +439,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Clean_0005, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm clean -n -d" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Clean_0006, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Clean_0006, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -461,7 +461,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Clean_0006, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm clean -n -c" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Clean_0007, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Clean_0007, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -483,7 +483,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Clean_0007, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm clean -c" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Clean_0008, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Clean_0008, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -503,7 +503,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Clean_0008, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm clean -d" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Clean_0009, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Clean_0009, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -523,7 +523,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Clean_0009, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm clean -n -d -u" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Clean_0010, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Clean_0010, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -547,7 +547,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Clean_0010, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm clean -n -d -u " command. */ -HWTEST_F(BmCommandTest, Bm_Command_Clean_0012, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Clean_0012, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -572,7 +572,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Clean_0012, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm clean -h" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Clean_0013, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Clean_0013, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -591,7 +591,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Clean_0013, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm clean -xxx" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Clean_0014, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Clean_0014, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -611,7 +611,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Clean_0014, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm clean -n -d -xxx " command. */ -HWTEST_F(BmCommandTest, Bm_Command_Clean_0015, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Clean_0015, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -636,7 +636,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Clean_0015, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm clean -xxx " command. */ -HWTEST_F(BmCommandTest, Bm_Command_Clean_0016, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Clean_0016, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -657,7 +657,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Clean_0016, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm clean -h" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Clean_0017, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Clean_0017, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -677,7 +677,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Clean_0017, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm enable" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Enable_0001, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Enable_0001, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -696,7 +696,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Enable_0001, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm enable -n " command. */ -HWTEST_F(BmCommandTest, Bm_Command_Enable_0002, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Enable_0002, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -716,7 +716,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Enable_0002, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm enable -n " command. */ -HWTEST_F(BmCommandTest, Bm_Command_Enable_0003, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Enable_0003, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -737,7 +737,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Enable_0003, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm enable -n -a " command. */ -HWTEST_F(BmCommandTest, Bm_Command_Enable_0004, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Enable_0004, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -759,7 +759,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Enable_0004, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm enable -n -a " command. */ -HWTEST_F(BmCommandTest, Bm_Command_Enable_0005, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Enable_0005, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -782,7 +782,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Enable_0005, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm enable -x" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Enable_0006, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Enable_0006, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -803,7 +803,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Enable_0006, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm enable -n -u" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Enable_0007, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Enable_0007, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -825,7 +825,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Enable_0007, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm enable -n -u " command. */ -HWTEST_F(BmCommandTest, Bm_Command_Enable_0009, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Enable_0009, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -848,7 +848,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Enable_0009, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm enable -h" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Enable_0010, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Enable_0010, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -868,7 +868,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Enable_0010, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm enable -n -xxx " command. */ -HWTEST_F(BmCommandTest, Bm_Command_Enable_0011, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Enable_0011, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -891,7 +891,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Enable_0011, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm disable" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Disable_0001, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Disable_0001, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -910,7 +910,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Disable_0001, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm disable -n " command. */ -HWTEST_F(BmCommandTest, Bm_Command_Disable_0002, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Disable_0002, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -930,7 +930,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Disable_0002, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm disable -n " command. */ -HWTEST_F(BmCommandTest, Bm_Command_Disable_0003, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Disable_0003, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -951,7 +951,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Disable_0003, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm disable -n -a " command. */ -HWTEST_F(BmCommandTest, Bm_Command_Disable_0004, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Disable_0004, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -973,7 +973,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Disable_0004, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm disable -n -a " command. */ -HWTEST_F(BmCommandTest, Bm_Command_Disable_0005, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Disable_0005, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -996,7 +996,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Disable_0005, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm disable -n -u " command. */ -HWTEST_F(BmCommandTest, Bm_Command_Disable_0006, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Disable_0006, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -1018,7 +1018,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Disable_0006, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm disable -n -u " command. */ -HWTEST_F(BmCommandTest, Bm_Command_Disable_0007, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Disable_0007, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -1041,7 +1041,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Disable_0007, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm disable -x" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Disable_0008, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Disable_0008, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -1061,7 +1061,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Disable_0008, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm disable -h" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Disable_0009, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Disable_0009, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -1081,7 +1081,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Disable_0009, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm disable -n -xxx " command. */ -HWTEST_F(BmCommandTest, Bm_Command_Disable_0011, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Disable_0011, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -1104,7 +1104,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Disable_0011, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm get" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Get_0001, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Get_0001, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -1127,7 +1127,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Get_0001, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm get -u" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Get_0002, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Get_0002, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -1154,7 +1154,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Get_0002, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm get -x" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Get_0003, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Get_0003, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -1178,7 +1178,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Get_0003, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm get -u -x" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Get_0004, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Get_0004, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -1203,7 +1203,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Get_0004, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm get -u xxx" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Get_0005, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Get_0005, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -1228,7 +1228,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Get_0005, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm get --udid" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Get_0006, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Get_0006, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -1255,7 +1255,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Get_0006, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm get --xxx" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Get_0007, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Get_0007, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -1279,7 +1279,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Get_0007, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm get --udid -x" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Get_0008, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Get_0008, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -1304,7 +1304,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Get_0008, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm get -u xxx" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Get_0009, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Get_0009, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -1329,7 +1329,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Get_0009, Function | MediumTest | Level1) * @tc.name: ExecCommand * @tc.desc: Verify the "bm get -h" command. */ -HWTEST_F(BmCommandTest, Bm_Command_Get_0010, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, Bm_Command_Get_0010, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -1353,7 +1353,7 @@ HWTEST_F(BmCommandTest, Bm_Command_Get_0010, Function | MediumTest | Level1) * @tc.name: test GetBundlePath * @tc.desc: Verify the "GetBundlePath". */ -HWTEST_F(BmCommandTest, GetBundlePath_0001, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, GetBundlePath_0001, Function | MediumTest | TestSize.Level1) { // install a bundle char *argv[] = { @@ -1410,7 +1410,7 @@ HWTEST_F(BmCommandTest, GetBundlePath_0001, Function | MediumTest | Level1) * @tc.name: ShellCommand * @tc.desc: Verify the ShellCommand. */ -HWTEST_F(BmCommandTest, ShellCommand_0010, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, ShellCommand_0010, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -1429,7 +1429,7 @@ HWTEST_F(BmCommandTest, ShellCommand_0010, Function | MediumTest | Level1) * @tc.name: ShellCommand * @tc.desc: Verify the ShellCommand. */ -HWTEST_F(BmCommandTest, ShellCommand_0020, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, ShellCommand_0020, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -1449,7 +1449,7 @@ HWTEST_F(BmCommandTest, ShellCommand_0020, Function | MediumTest | Level1) * @tc.name: ShellCommand * @tc.desc: Verify the ShellCommand. */ -HWTEST_F(BmCommandTest, ShellCommand_0030, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, ShellCommand_0030, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -1473,7 +1473,7 @@ HWTEST_F(BmCommandTest, ShellCommand_0030, Function | MediumTest | Level1) * @tc.name: ShellCommand * @tc.desc: Verify the ShellCommand. */ -HWTEST_F(BmCommandTest, ShellCommand_0040, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, ShellCommand_0040, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -1494,7 +1494,7 @@ HWTEST_F(BmCommandTest, ShellCommand_0040, Function | MediumTest | Level1) * @tc.name: ShellCommand * @tc.desc: Verify the ShellCommand. */ -HWTEST_F(BmCommandTest, ShellCommand_0050, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, ShellCommand_0050, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -1515,7 +1515,7 @@ HWTEST_F(BmCommandTest, ShellCommand_0050, Function | MediumTest | Level1) * @tc.name: ShellCommand * @tc.desc: Verify the ShellCommand. */ -HWTEST_F(BmCommandTest, ShellCommand_0060, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, ShellCommand_0060, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -1536,7 +1536,7 @@ HWTEST_F(BmCommandTest, ShellCommand_0060, Function | MediumTest | Level1) * @tc.name: ShellCommand * @tc.desc: Verify the ShellCommand. */ -HWTEST_F(BmCommandTest, ShellCommand_0070, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, ShellCommand_0070, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -1557,7 +1557,7 @@ HWTEST_F(BmCommandTest, ShellCommand_0070, Function | MediumTest | Level1) * @tc.name: ShellCommand * @tc.desc: Verify the ShellCommand. */ -HWTEST_F(BmCommandTest, ShellCommand_0080, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, ShellCommand_0080, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -1578,7 +1578,7 @@ HWTEST_F(BmCommandTest, ShellCommand_0080, Function | MediumTest | Level1) * @tc.name: BundleManagerShellCommand * @tc.desc: Verify the BundleManagerShellCommand. */ -HWTEST_F(BmCommandTest, BundleManagerShellCommand_0090, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, BundleManagerShellCommand_0090, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -1597,7 +1597,7 @@ HWTEST_F(BmCommandTest, BundleManagerShellCommand_0090, Function | MediumTest | * @tc.name: BundleManagerShellCommand * @tc.desc: Verify the BundleManagerShellCommand. */ -HWTEST_F(BmCommandTest, BundleManagerShellCommand_0100, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, BundleManagerShellCommand_0100, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -1619,7 +1619,7 @@ HWTEST_F(BmCommandTest, BundleManagerShellCommand_0100, Function | MediumTest | * @tc.name: BundleManagerShellCommand * @tc.desc: Verify the copy-ap. */ -HWTEST_F(BmCommandTest, BundleManagerShellCommand_0110, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, BundleManagerShellCommand_0110, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -1639,7 +1639,7 @@ HWTEST_F(BmCommandTest, BundleManagerShellCommand_0110, Function | MediumTest | * @tc.name: BundleManagerShellCommand * @tc.desc: Verify the copy-ap. */ -HWTEST_F(BmCommandTest, BundleManagerShellCommand_0120, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, BundleManagerShellCommand_0120, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -1660,7 +1660,7 @@ HWTEST_F(BmCommandTest, BundleManagerShellCommand_0120, Function | MediumTest | * @tc.name: BundleManagerShellCommand * @tc.desc: Verify the copy-ap. */ -HWTEST_F(BmCommandTest, BundleManagerShellCommand_0130, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, BundleManagerShellCommand_0130, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -1684,7 +1684,7 @@ HWTEST_F(BmCommandTest, BundleManagerShellCommand_0130, Function | MediumTest | * @tc.name: BundleManagerShellCommand * @tc.desc: Verify the copy-ap. */ -HWTEST_F(BmCommandTest, BundleManagerShellCommand_0140, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, BundleManagerShellCommand_0140, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -1705,7 +1705,7 @@ HWTEST_F(BmCommandTest, BundleManagerShellCommand_0140, Function | MediumTest | * @tc.name: BundleManagerShellCommand * @tc.desc: Verify the copy-ap. */ -HWTEST_F(BmCommandTest, BundleManagerShellCommand_0150, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, BundleManagerShellCommand_0150, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -1726,7 +1726,7 @@ HWTEST_F(BmCommandTest, BundleManagerShellCommand_0150, Function | MediumTest | * @tc.name: BundleManagerShellCommand * @tc.desc: Verify the copy-ap. */ -HWTEST_F(BmCommandTest, BundleManagerShellCommand_0160, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, BundleManagerShellCommand_0160, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -1747,7 +1747,7 @@ HWTEST_F(BmCommandTest, BundleManagerShellCommand_0160, Function | MediumTest | * @tc.name: BundleManagerShellCommand * @tc.desc: Verify the copy-ap. */ -HWTEST_F(BmCommandTest, BundleManagerShellCommand_0170, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, BundleManagerShellCommand_0170, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -1768,7 +1768,7 @@ HWTEST_F(BmCommandTest, BundleManagerShellCommand_0170, Function | MediumTest | * @tc.name: BundleManagerShellCommand * @tc.desc: Verify the copy-ap. */ -HWTEST_F(BmCommandTest, BundleManagerShellCommand_0180, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, BundleManagerShellCommand_0180, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -1789,7 +1789,7 @@ HWTEST_F(BmCommandTest, BundleManagerShellCommand_0180, Function | MediumTest | * @tc.name: BundleManagerShellCommand * @tc.desc: Verify the copy-ap. */ -HWTEST_F(BmCommandTest, BundleManagerShellCommand_0190, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, BundleManagerShellCommand_0190, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -1820,7 +1820,7 @@ HWTEST_F(BmCommandTest, BundleManagerShellCommand_0190, Function | MediumTest | * @tc.name: BundleManagerShellCommand * @tc.desc: Verify the copy-ap. */ -HWTEST_F(BmCommandTest, BundleManagerShellCommand_0200, Function | MediumTest | Level1) +HWTEST_F(BmCommandTest, BundleManagerShellCommand_0200, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), diff --git a/test/unittest/bm/bm_command_uninstall_test.cpp b/test/unittest/bm/bm_command_uninstall_test.cpp index 75f51b8994e4a0dd54a1ce7c96ac815118135a68..66a8ce7acfebc8aaebdb83efa2035843f6d56b7f 100644 --- a/test/unittest/bm/bm_command_uninstall_test.cpp +++ b/test/unittest/bm/bm_command_uninstall_test.cpp @@ -90,7 +90,7 @@ void BmCommandUninstallTest::SetMockObjects(BundleManagerShellCommand &cmd) cons * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall" command. */ -HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_0100, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_0100, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -112,7 +112,7 @@ HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_0100, Function | MediumTes * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall xxx" command. */ -HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_0200, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_0200, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -135,7 +135,7 @@ HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_0200, Function | MediumTes * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall -x" command. */ -HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_0300, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_0300, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -158,7 +158,7 @@ HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_0300, Function | MediumTes * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall -xxx" command. */ -HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_0400, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_0400, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -181,7 +181,7 @@ HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_0400, Function | MediumTes * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall --x" command. */ -HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_0500, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_0500, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -204,7 +204,7 @@ HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_0500, Function | MediumTes * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall --xxx" command. */ -HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_0600, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_0600, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -227,7 +227,7 @@ HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_0600, Function | MediumTes * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall --h" command. */ -HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_0700, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_0700, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -250,7 +250,7 @@ HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_0700, Function | MediumTes * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall --help" command. */ -HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_0800, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_0800, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -273,7 +273,7 @@ HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_0800, Function | MediumTes * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall -n" command. */ -HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_0900, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_0900, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -296,7 +296,7 @@ HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_0900, Function | MediumTes * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall -n " command. */ -HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_1000, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_1000, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -320,7 +320,7 @@ HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_1000, Function | MediumTes * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall -n -m" command. */ -HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_1100, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_1100, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -345,7 +345,7 @@ HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_1100, Function | MediumTes * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall -m " command. */ -HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_1200, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_1200, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -369,7 +369,7 @@ HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_1200, Function | MediumTes * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall -n -m " command. */ -HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_1300, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_1300, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -395,7 +395,7 @@ HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_1300, Function | MediumTes * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall -n -u" command. */ -HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_1400, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_1400, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -420,7 +420,7 @@ HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_1400, Function | MediumTes * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall -n -k" command. */ -HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_1600, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_1600, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -445,7 +445,7 @@ HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_1600, Function | MediumTes * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall -n -k xxx" command. */ -HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_1700, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_1700, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -471,7 +471,7 @@ HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_1700, Function | MediumTes * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall -n xxx" command. */ -HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_1800, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_1800, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -495,7 +495,7 @@ HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_1800, Function | MediumTes * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall -xxx " command. */ -HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_1900, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_1900, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -519,7 +519,7 @@ HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_1900, Function | MediumTes * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall -n -u " command. */ -HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_2000, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_2000, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -545,7 +545,7 @@ HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_2000, Function | MediumTes * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall -n -k 1" command. */ -HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_2100, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_2100, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -571,7 +571,7 @@ HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_2100, Function | MediumTes * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall -cc " command. */ -HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_2200, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_2200, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -595,7 +595,7 @@ HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_2200, Function | MediumTes * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall -n -k 1 -v 1 -s" command. */ -HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_2300, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_2300, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -624,7 +624,7 @@ HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_2300, Function | MediumTes * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall -k xxxx" command. */ -HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_2400, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_2400, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -647,7 +647,7 @@ HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_2400, Function | MediumTes * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall -v 1" command. */ -HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_2500, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_2500, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -670,7 +670,7 @@ HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_2500, Function | MediumTes * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall -s" command. */ -HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_2600, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_2600, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()), @@ -693,7 +693,7 @@ HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_2600, Function | MediumTes * @tc.name: ExecCommand * @tc.desc: Verify the "bm uninstall -n -k" command. */ -HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_2700, Function | MediumTest | Level1) +HWTEST_F(BmCommandUninstallTest, Bm_Command_Uninstall_2700, Function | MediumTest | TestSize.Level1) { char *argv[] = { const_cast(TOOL_NAME.c_str()),