Searched refs:mock_cmd_exec (Results 1 – 6 of 6) sorted by relevance
/external/toolchain-utils/crosperf/ |
D | download_images_unittest.py | 36 mock_cmd_exec = mock.Mock(spec=command_executer.CommandExecuter) 43 logger_to_use=MOCK_LOGGER, cmd_exec=mock_cmd_exec) 65 self.assertEqual(mock_cmd_exec.RunCommand.call_count, 1) 72 mock_cmd_exec.RunCommand.assert_called_with(expected_args) 76 mock_cmd_exec.reset_mock() 92 self.assertEqual(mock_cmd_exec.RunCommand.call_count, 0) 93 self.assertEqual(mock_cmd_exec.ChrootRunCommand.call_count, 0) 99 mock_cmd_exec = mock.Mock(spec=command_executer.CommandExecuter) 104 logger_to_use=MOCK_LOGGER, cmd_exec=mock_cmd_exec) 118 self.assertEqual(mock_cmd_exec.RunCommand.call_count, 2) [all …]
|
D | machine_manager_unittest.py | 71 mock_cmd_exec = mock.Mock(spec=command_executer.CommandExecuter) variable in MachineManagerTest 90 self.mock_cmd_exec, 168 self.mock_cmd_exec.CrosRunCommand = mock_run_croscmd 169 self.mock_cmd_exec.RunCommand = mock_run_cmd 176 self.mock_cmd_exec.log_level = 'verbose' 255 self.mock_cmd_exec.CrosRunCommandWOutput = mock_cros_runcmd 673 mock_cmd_exec = mock.Mock(spec=command_executer.CommandExecuter) variable in CrosMachineTest 679 'average', self.mock_cmd_exec) 700 'average', self.mock_cmd_exec) 729 'average', self.mock_cmd_exec) [all …]
|
D | suite_runner_unittest.py | 28 mock_cmd_exec = mock.Mock(spec=command_executer.CommandExecuter) variable in SuiteRunnerTest 76 self.mock_cmd_exec, 167 self.mock_cmd_exec.CrosRunCommand = mock_cros_runcmd 203 self.mock_cmd_exec.CrosRunCommand = mock_cros_runcmd 238 self.mock_cmd_exec.ChrootRunCommandWOutput = mock_chroot_runcmd 239 self.mock_cmd_exec.CrosRunCommand = mock_cros_runcmd 264 self.mock_cmd_exec.ChrootRunCommandWOutput = mock_chroot_runcmd 301 self.mock_cmd_exec.RunCommandWOutput = mock_runcmd
|
D | experiment_runner_unittest.py | 104 mock_cmd_exec = mock.Mock(spec=command_executer.CommandExecuter) variable in ExperimentRunnerTest 127 cmd_exec=self.mock_cmd_exec) 136 cmd_exec=self.mock_cmd_exec) 171 cmd_exec=self.mock_cmd_exec) 197 cmd_exec=self.mock_cmd_exec) 223 cmd_exec=self.mock_cmd_exec) 251 cmd_exec=self.mock_cmd_exec) 276 cmd_exec=self.mock_cmd_exec) 404 cmd_exec=self.mock_cmd_exec)
|
D | results_cache_unittest.py | 194 self.mock_cmd_exec = mock.Mock(spec=command_executer.CommandExecuter) 212 self.mock_cmd_exec) 221 self.mock_cmd_exec.RunCommand = mock_runcmd 222 self.mock_cmd_exec.CopyFiles = mock_copyfiles 898 self.mock_cmd_exec = mock.Mock(spec=command_executer.CommandExecuter) 913 self.mock_cmd_exec) 1107 mock_cmd_exec = mock.Mock(spec=command_executer.CommandExecuter) 1109 mock_cmd_exec)
|
D | schedv2_unittest.py | 68 mock_cmd_exec = mock.Mock(spec=CommandExecuter) variable in Schedv2Test
|