/external/toolchain-utils/crosperf/ |
D | experiment_runner_unittest.py | 103 mock_logger = FakeLogger() variable in ExperimentRunnerTest 126 log=self.mock_logger, 136 log=self.mock_logger, 162 self.mock_logger.Reset() 172 log=self.mock_logger, 179 self.assertEqual(self.mock_logger.LogStartDotsCount, 1) 180 self.assertEqual(self.mock_logger.LogAppendDotCount, 1) 181 self.assertEqual(self.mock_logger.LogEndDotsCount, 1) 182 self.assertEqual(self.mock_logger.dot_count, 2) 185 self.assertEqual(self.mock_logger.output_msgs, [ [all …]
|
D | benchmark_run_unittest.py | 66 self.mock_logger = logger.GetLogger(log_dir='', mock=True) 122 self.test_cache_conditions, self.mock_machine_manager, self.mock_logger, 262 self.test_cache_conditions, self.mock_machine_manager, self.mock_logger, 289 self.test_cache_conditions, self.mock_machine_manager, self.mock_logger, 316 self.test_cache_conditions, self.mock_machine_manager, self.mock_logger, 333 self.test_cache_conditions, self.mock_machine_manager, self.mock_logger, 340 self.mock_logger.LogError = MockLogError 372 self.test_cache_conditions, self.mock_machine_manager, self.mock_logger, 401 self.mock_logger, 'average', self.test_label, None, "{'Score':100}", '', 407 self.test_cache_conditions, 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', 899 self.mock_logger = mock.Mock(spec=logger.Logger) 913 self.result = TelemetryResult(self.mock_logger, self.mock_label, 'average', 925 self.result = TelemetryResult(self.mock_logger, self.mock_label, 'average', 943 self.mock_logger = mock.Mock(spec=logger.Logger) 969 self.mock_logger, 1105 fake_result = Result(self.mock_logger, self.mock_label, 'average',
|
D | machine_manager_unittest.py | 72 mock_logger = mock.Mock(spec=logger.Logger) variable in MachineManagerTest 89 self.mock_logger) 425 self.mock_logger.reset_mock() 427 self.assertEqual(self.mock_logger.call_count, 0) 445 mock_logger = mock.Mock(spec=logger.Logger) 457 mock_logger, 'verbose', '')
|
D | settings_unittest.py | 188 def test_get_xbuddy_path(self, mock_downloader, mock_run, mock_logger): argument 222 if mock_logger:
|
D | suite_runner_unittest.py | 30 mock_logger = mock.Mock(spec=logger.Logger) variable in SuiteRunnerTest 75 self.mock_logger, 'verbose', self.mock_cmd_exec, self.mock_cmd_term)
|
D | schedv2_unittest.py | 67 mock_logger = FakeLogger() variable in Schedv2Test
|
/external/python/oauth2client/tests/contrib/ |
D | test__appengine_ndb.py | 62 def test_validate_success(self, mock_logger): argument 67 mock_logger.info.assert_called_once_with('validate: Got type %s', 71 def test_validate_none(self, mock_logger): argument 75 mock_logger.info.assert_called_once_with('validate: Got type %s', 79 def test_validate_bad_type(self, mock_logger): argument 84 mock_logger.info.assert_called_once_with('validate: Got type %s', 107 def test_validate_success(self, mock_logger): argument 111 mock_logger.info.assert_called_once_with('validate: Got type %s', 115 def test_validate_none(self, mock_logger): argument 119 mock_logger.info.assert_called_once_with('validate: Got type %s', [all …]
|
D | test_locked_file.py | 116 def test_lock_timeout_error(self, mock_time, mock_logger, mock_open): argument 126 self.assertTrue(mock_logger.warn.called) 131 def test_lock_timeout_error_no_fh(self, mock_time, mock_logger, mock_open): argument 144 self.assertTrue(mock_logger.warn.called)
|
/external/python/oauth2client/tests/ |
D | test_util.py | 48 def test_enforcement_warning(self, mock_logger): argument 56 self.assertTrue(mock_logger.warning.called) 59 def test_enforcement_ignore(self, mock_logger): argument 67 self.assertFalse(mock_logger.warning.called)
|
/external/autotest/server/cros/network/ |
D | rf_switch_utils_test.py | 50 with mock.patch('logging.Logger.error') as mock_logger: 52 mock_logger.assert_called_with( 60 with mock.patch('logging.Logger.debug') as mock_logger: 62 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(
|
/external/python/google-api-python-client/tests/ |
D | test__helpers.py | 64 def test_enforcement_warning(self, mock_logger): argument 73 self.assertTrue(mock_logger.warning.called) 76 def test_enforcement_ignore(self, mock_logger): argument 84 self.assertFalse(mock_logger.warning.called)
|