Home
last modified time | relevance | path

Searched refs:mock_logger (Results 1 – 9 of 9) sorted by relevance

/external/toolchain-utils/crosperf/
Dexperiment_runner_unittest.py103 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 …]
Dbenchmark_run_unittest.py66 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,
Dresults_cache_unittest.py193 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',
Dmachine_manager_unittest.py73 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', '')
Dsettings_unittest.py190 def test_get_xbuddy_path(self, mock_downloader, mock_run, mock_logger): argument
224 if mock_logger:
Dsuite_runner_unittest.py30 mock_logger = mock.Mock(spec=logger.Logger) variable in SuiteRunnerTest
75 self.runner = suite_runner.SuiteRunner(self.mock_logger, 'verbose',
Dschedv2_unittest.py67 mock_logger = FakeLogger() variable in Schedv2Test
/external/autotest/server/cros/network/
Drf_switch_utils_test.py49 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(
Drf_switch_controller_test.py75 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(