Home
last modified time | relevance | path

Searched refs:CMD (Results 1 - 10 of 10) sorted by relevance

/foundation/communication/dsoftbus/tests/core/discovery/ble/bt_state/
H A Ddisc_bt_state_mock_test.cpp101 using CMD = ExpectWrapper::ExpectCommand;
218 wrapper.Call(CMD::BLE_START_SCAN_EX, 1).Call(CMD::BLE_START_ADV_EX, 1).Call(CMD::GET_LOCAL_ADDR, 0).Build(); in HWTEST_F()
243 wrapper.Call(CMD::BLE_STOP_ADV, 1).Call(CMD::BLE_STOP_SCAN, 1).Build(); in HWTEST_F()
270 wrapper.Call(CMD::BLE_START_SCAN_EX, 1).Build(); in HWTEST_F()
295 wrapper.Call(CMD::BLE_STOP_SCAN, 1).Build(); in HWTEST_F()
321 wrapper.Call(CMD::BLE_START_ADV_EX, 1).Call(CMD in HWTEST_F()
[all...]
/foundation/ability/ability_runtime/tools/test/unittest/ability_delegator/
H A Dtest_observer_proxy_test.cpp41 const std::string CMD = "ls -l"; member
148 EXPECT_EQ(testObserverProxy.ExecuteShellCommand(CMD.c_str(), 0).stdResult.size(), 0); in HWTEST_F()
150 testObserverProxy.ExecuteShellCommand(CMD.c_str(), 0); in HWTEST_F()
171 testObserverProxy.TestStatus(CMD.c_str(), 0); in HWTEST_F()
173 testObserverProxy.TestStatus(CMD.c_str(), 0); in HWTEST_F()
174 testObserverProxy.TestStatus(CMD.c_str(), false); in HWTEST_F()
191 testObserverProxy.TestFinished(CMD.c_str(), 0); in HWTEST_F()
193 testObserverProxy.TestFinished(CMD.c_str(), 0); in HWTEST_F()
194 testObserverProxy.TestFinished(CMD.c_str(), false); in HWTEST_F()
H A Dshell_command_executor_test.cpp28 const std::string CMD = "ls"; member
48 Command_ = std::make_shared<ShellCommandExecutor>(CMD, TIMEOUT); in SetUp()
92 Command_->cmd_ = CMD; in HWTEST_F()
H A Dtest_observer_test.cpp41 const std::string CMD = "ls -l"; member
96 EXPECT_EQ(observer.ExecuteShellCommand(CMD.c_str(), TIMEOUT).stdResult.size(), 0); in HWTEST_F()
/foundation/ability/ability_runtime/tools/test/moduletest/ability_delegator/
H A Dtest_observer_module_test.cpp36 const std::string CMD = "ls -l"; member
79 EXPECT_EQ(observer.ExecuteShellCommand(CMD.c_str(), TIMEOUT).stdResult.size(), 0); in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/cj_ability_delegator_test/
H A Dcj_ability_delegator_test.cpp58 const std::string CMD = "ls -l"; member
/foundation/ability/ability_runtime/test/moduletest/ability_delegator_test/
H A Dability_delegator_module_test.cpp68 const std::string CMD = "ls -l"; member
422 EXPECT_NE(abilityDelegator.ExecuteShellCommand(CMD, TIMEOUT), nullptr); in HWTEST_F()
/foundation/distributeddatamgr/pasteboard/services/test/unittest/src/
H A Dpaste_service_test.cpp40 constexpr const char *CMD = "hidumper -s 3701 -a --data"; member
114 if ((ptr = popen(CMD, "r")) != nullptr) { in ExecuteCmd()
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/ability_delegator/
H A Dability_delegator_test.cpp76 const std::string CMD = "ls -l"; member
694 EXPECT_EQ(abilityDelegator.ExecuteShellCommand(CMD, TIMEOUT), nullptr); in HWTEST_F()
726 EXPECT_NE(abilityDelegator.ExecuteShellCommand(CMD, TIMEOUT), nullptr); in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/cj_ui_ability_test/
H A Dcj_ui_ability_test.cpp67 const std::string CMD = "ls -l"; member

Completed in 15 milliseconds