Searched refs:mock_result (Results 1 – 8 of 8) sorted by relevance
/external/toolchain-utils/bestflags/ |
D | pipeline_worker_test.py | 58 mock_result = {1: 1995, 2: 59, 9: 1027} 64 completed_queue.put((9, mock_result[9])) 74 completed_queue.put((2, mock_result[2])) 75 completed_queue.put((1, mock_result[1])) 85 if identifier in mock_result: 86 self.assertTrue(task.GetResult(TEST_STAGE), mock_result[identifier])
|
/external/toolchain-utils/crosperf/ |
D | benchmark_run_unittest.py | 167 mock_result = mock.Mock(spec=Result) 168 mock_result.retval = 0 169 return mock_result 173 mock_result = mock.Mock(spec=Result) 174 mock_result.retval = 1 175 return mock_result 369 def test_run_test(self, mock_result, mock_runner): argument 399 self.assertEqual(mock_result.call_count, 1) 400 mock_result.assert_called_with(
|
D | results_report_unittest.py | 137 mock_result = MockResult(log, label, log_level, machine) 138 mock_result.keyvals = keyvals 139 run.result = mock_result
|
/external/autotest/scheduler/ |
D | drones_unittest.py | 45 mock_result = utils.CmdResult(stdout=cPickle.dumps('mock return')) 50 mock_result) 67 mock_result = utils.CmdResult(stdout=cPickle.dumps(mock_return)) 72 mock_result)
|
D | drone_task_queue_unittest.py | 75 mock_result = utils.CmdResult( 81 ).and_return(mock_result) 91 mock_result = utils.CmdResult(stdout=cPickle.dumps(self.mock_return)) 96 mock_result)
|
D | thread_lib_unittest.py | 64 mock_result = utils.CmdResult(stdout=cPickle.dumps(self.mock_return)) 69 mock_result) 199 mock_result = utils.CmdResult( 205 ).and_return(mock_result) 218 mock_result = utils.CmdResult(stdout=cPickle.dumps(self.mock_return)) 223 mock_result)
|
D | drone_manager_unittest.py | 413 mock_result = utils.CmdResult( 420 ).and_return(mock_result)
|
/external/autotest/client/bin/ |
D | local_host_unittest.py | 75 mock_result = mock.MagicMock() 76 mock_run.side_effect = error.CmdError('yes', mock_result) 82 self.assertEqual(exc_cm.exception.result_obj, mock_result) 97 mock_result = mock.MagicMock() 98 mock_run.side_effect = error.CmdTimeoutError('yes', mock_result) 104 self.assertEqual(exc_cm.exception.result_obj, mock_result)
|