Home
last modified time | relevance | path

Searched refs:command2 (Results 1 – 3 of 3) sorted by relevance

/base/update/updater/test/unittest/misc_info_test/
Dmisc_info_unittest.cpp48 const std::string command2 = "--update_package=./updater/xxx.zip\n--retry_count=1"; variable
49 … EXPECT_EQ(strncpy_s(boot.update, sizeof(boot.update) - 1, command2.c_str(), command2.size()), 0);
/base/update/updater/test/unittest/updater_main_test/
Dupdater_main_unittest.cpp102 const std::string command2 = "--user_wipe_data"; variable
103 … EXPECT_EQ(strncpy_s(boot.update, sizeof(boot.update) - 1, command2.c_str(), command2.size()), 0);
130 const std::string command2 = "--update_package=/data/updater/updater.zip\n--retry_count=0"; variable
131 … EXPECT_EQ(strncpy_s(boot.update, sizeof(boot.update) - 1, command2.c_str(), command2.size()), 0);
/base/useriam/user_auth_framework/test/unittest/executors/
Dexecutor_unit_test.cpp234 auto command2 = MakeShared<MockIAsyncCommand>(); variable
235 ASSERT_NE(command2, nullptr);
236 EXPECT_CALL(*command2, OnHdiDisconnect()).Times(Exactly(0));
242 executor->AddCommand(command2);
244 executor->RemoveCommand(command2);