Searched refs:MockCmd (Results 1 – 4 of 4) sorted by relevance
/external/autotest/server/hosts/ |
D | cros_host_unittest.py | 36 class MockCmd(object): class 66 MockCmd('cat /etc/lsb-release', 0, UNI_LSB_RELEASE_OUTPUT), 67 MockCmd('cros_config / name', 0, 'coral')) 72 MockCmd('cat /etc/lsb-release', 0, UNI_LSB_RELEASE_OUTPUT), 73 MockCmd('cros_config / name', 1, ''), 74 MockCmd('mosys platform model', 0, 'coral')) 79 MockCmd('cat /etc/lsb-release', 0, UNI_LSB_RELEASE_OUTPUT), 80 MockCmd('cros_config / name', 1, ''), 81 MockCmd('mosys platform model', 1, ''), 82 MockCmd('crossystem', 0, CROSSYSTEM_RESULT)) [all …]
|
D | cros_label_unittest.py | 113 class MockCmd(object): class 158 host = MockHost([], MockCmd(mosys_cmd, 0, '27\n')) 163 host = MockHost([], MockCmd(mosys_cmd, 1, '27\n')) 181 host = MockHost([], MockCmd(cros_config_cmd, 0, 'XXYZ\n')) 186 host = MockHost([], MockCmd(cros_config_cmd, 1, 'XXYZ\n')) 198 host = MockHost([], MockCmd('gsctool -a -f', 0, GSCTOOL_OUTPUT_PVT)) 202 host = MockHost([], MockCmd('gsctool -a -f', 0, GSCTOOL_OUTPUT_PREPVT)) 206 host = MockHost([], MockCmd('gsctool -a -f', 1, '')) 214 host = MockHost([], MockCmd('gsctool -a -f', 0, GSCTOOL_OUTPUT_PVT)) 219 host = MockHost([], MockCmd('gsctool -a -f', 0, GSCTOOL_OUTPUT_DEV_RW)) [all …]
|
D | servo_host_unittest.py | 11 class MockCmd(object): class
|
/external/llvm-project/debuginfo-tests/dexter/dex/command/ |
D | ParseCommand.py | 298 class MockCmd(CommandBase): class in TestParseCommand 319 TestParseCommand.MockCmd.get_name() : TestParseCommand.MockCmd 339 mocks = cmds.get(TestParseCommand.MockCmd.get_name(), None)
|