/external/toolchain-utils/crosperf/ |
D | experiment_runner_unittest.py | 103 mock_logger = FakeLogger() variable in ExperimentRunnerTest 126 log=self.mock_logger, 135 log=self.mock_logger, 161 self.mock_logger.Reset() 170 log=self.mock_logger, 177 self.assertEqual(self.mock_logger.LogStartDotsCount, 1) 178 self.assertEqual(self.mock_logger.LogAppendDotCount, 1) 179 self.assertEqual(self.mock_logger.LogEndDotsCount, 1) 180 self.assertEqual(self.mock_logger.dot_count, 2) 183 self.assertEqual(self.mock_logger.output_msgs, [all …]
|
D | benchmark_run_unittest.py | 66 self.mock_logger = logger.GetLogger(log_dir='', mock=True) 123 self.mock_machine_manager, self.mock_logger, 264 self.mock_machine_manager, self.mock_logger, 292 self.mock_machine_manager, self.mock_logger, 320 self.mock_machine_manager, self.mock_logger, 338 self.mock_machine_manager, self.mock_logger, 345 self.mock_logger.LogError = MockLogError 378 self.mock_machine_manager, self.mock_logger, 406 mock_result.assert_called_with(self.mock_logger, 'average', self.test_label, 415 self.mock_machine_manager, self.mock_logger,
|
D | results_cache_unittest.py | 193 self.mock_logger = mock.Mock(spec=logger.Logger) 211 self.result = Result(self.mock_logger, self.mock_label, 'average', 897 self.mock_logger = mock.Mock(spec=logger.Logger) 912 self.result = TelemetryResult(self.mock_logger, self.mock_label, 'average', 924 self.result = TelemetryResult(self.mock_logger, self.mock_label, 'average', 942 self.mock_logger = mock.Mock(spec=logger.Logger) 968 self.mock_logger, 1108 fake_result = Result(self.mock_logger, self.mock_label, 'average',
|
D | machine_manager_unittest.py | 73 mock_logger = mock.Mock(spec=logger.Logger) variable in MachineManagerTest 91 self.mock_logger) 427 self.mock_logger.reset_mock() 429 self.assertEqual(self.mock_logger.call_count, 0) 447 mock_logger = mock.Mock(spec=logger.Logger) 459 mock_logger, 'verbose', '')
|
D | settings_unittest.py | 190 def test_get_xbuddy_path(self, mock_downloader, mock_run, mock_logger): argument 224 if mock_logger:
|
D | suite_runner_unittest.py | 30 mock_logger = mock.Mock(spec=logger.Logger) variable in SuiteRunnerTest 75 self.runner = suite_runner.SuiteRunner(self.mock_logger, 'verbose',
|
D | schedv2_unittest.py | 67 mock_logger = FakeLogger() variable in Schedv2Test
|
/external/autotest/server/cros/network/ |
D | rf_switch_utils_test.py | 49 with mock.patch('logging.Logger.error') as mock_logger: 51 mock_logger.assert_called_with( 59 with mock.patch('logging.Logger.debug') as mock_logger: 61 mock_logger.assert_called_with(
|
D | rf_switch_controller_test.py | 75 with mock.patch('logging.Logger.error') as mock_logger: 78 mock_logger.assert_called_with( 90 with mock.patch('logging.Logger.error') as mock_logger: 93 mock_logger.assert_called_with(
|