Home
last modified time | relevance | path

Searched refs:CreateMock (Results 1 – 25 of 29) sorted by relevance

12

/external/autotest/client/cros/cellular/wardmodem/
Dstate_machine_unittest.py31 self._transceiver = self._mox.CreateMock(at_transceiver.ATTransceiver)
32 self._state = self._mox.CreateMock(global_state.GlobalState)
33 self._task_loop = self._mox.CreateMock(task_loop.TaskLoop)
34 self._modem_conf = self._mox.CreateMock(
59 self._transceiver = self._mox.CreateMock(at_transceiver.ATTransceiver)
60 self._state = self._mox.CreateMock(global_state.GlobalState)
61 self._task_loop = self._mox.CreateMock(task_loop.TaskLoop)
62 self._modem_conf = self._mox.CreateMock(
Dat_transceiver_unittest.py57 self._mock_modem_channel = self._mox.CreateMock(at_channel.ATChannel)
59 self._mock_mm_channel = self._mox.CreateMock(at_channel.ATChannel)
61 self._mock_task_loop = self._mox.CreateMock(task_loop.TaskLoop)
203 mock_test_machine = self._mox.CreateMock(self.TestMachine)
226 mock_test_machine = self._mox.CreateMock(self.TestMachine)
Dtask_loop_unittest.py26 self._callback_mocker = self._mox.CreateMock(TaskLoopTestCase)
Dat_channel_unittest.py49 self._mox_task_loop = self.mox.CreateMock(task_loop.TaskLoop)
/external/autotest/server/cros/dynamic_suite/
Djob_status_unittest.py36 self.afe = self.mox.CreateMock(frontend.AFE)
37 self.tko = self.mox.CreateMock(frontend.TKO)
195 record_entity = self.mox.CreateMock(callable)
196 group = self.mox.CreateMock(host_spec.HostGroup)
201 status = self.mox.CreateMock(job_status.Status)
Dsuite_unittest.py63 self.afe = self.mox.CreateMock(frontend.AFE)
64 self.tko = self.mox.CreateMock(frontend.TKO)
68 self.getter = self.mox.CreateMock(control_file_getter.ControlFileGetter)
390 recorder = self.mox.CreateMock(base_job.base_job)
411 recorder = self.mox.CreateMock(base_job.base_job)
433 recorder = self.mox.CreateMock(base_job.base_job)
456 recorder = self.mox.CreateMock(base_job.base_job)
476 recorder = self.mox.CreateMock(base_job.base_job)
510 recorder = self.mox.CreateMock(base_job.base_job)
537 recorder = self.mox.CreateMock(base_job.base_job)
[all …]
Ddynamic_suite_unittest.py38 'job': self.mox.CreateMock(base_job.base_job),
146 spec = self.mox.CreateMock(dynamic_suite.SuiteSpec)
149 spec.devserver = self.mox.CreateMock(dev_server.ImageServer)
Dtools_unittest.py32 self.afe = self.mox.CreateMock(frontend.AFE)
33 self.tko = self.mox.CreateMock(frontend.TKO)
Dcontrol_file_getter_unittest.py35 self.dev_server = self.mox.CreateMock(dev_server.ImageServer)
Dreporting_unittest.py126 issue = self.mox.CreateMock(phapi_lib.Issue)
356 issue = self.mox.CreateMock(gdata_lib.Issue)
/external/autotest/site_utils/suite_scheduler/
Dboard_enumerator_unittest.py24 self.afe = self.mox.CreateMock(frontend.AFE)
31 mock = self.mox.CreateMock(frontend.Label)
Ddriver_unittest.py29 self.afe = self.mox.CreateMock(frontend.AFE)
32 self.mv = self.mox.CreateMock(manifest_versions.ManifestVersions)
45 event = self.mox.CreateMock(klass)
85 mocks.append(self.mox.CreateMock(frontend.Label))
Dbase_event_unittest.py76 self.sched = self.mox.CreateMock(deduping_scheduler.DedupingScheduler)
Dbuild_event_unittest.py27 self.mv = self.mox.CreateMock(manifest_versions.ManifestVersions)
Ddeduping_scheduler_unittest.py45 self.afe = self.mox.CreateMock(frontend.AFE)
/external/autotest/site_utils/
Dpubsub_utils_unittest.py88 credentials = self.mox.CreateMock(GoogleCredentials)
102 credentials = self.mox.CreateMock(GoogleCredentials)
122 credentials = self.mox.CreateMock(GoogleCredentials)
Dtest_runner_utils_unittest.py105 mock_process_1 = self.mox.CreateMock(subprocess.Popen)
106 mock_process_2 = self.mox.CreateMock(subprocess.Popen)
107 fake_stdout = self.mox.CreateMock(file)
/external/autotest/client/cros/cellular/wardmodem/state_machines/
Dnetwork_identity_machine_unittest.py25 self._task_loop = self._mox.CreateMock(task_loop.TaskLoop)
26 self._transceiver = self._mox.CreateMock(at_transceiver.ATTransceiver)
Drequest_response_unittest.py39 self._task_loop = self._mox.CreateMock(task_loop.TaskLoop)
40 self._transceiver = self._mox.CreateMock(at_transceiver.ATTransceiver)
/external/chromium-trace/catapult/telemetry/third_party/mox3/mox3/tests/
Dtest_mox.py1318 self.mox.CreateMock(TestClass)
1322 mock_obj = self.mox.CreateMock(TestClass)
1332 mock_obj = self.mox.CreateMock(TestClass)
1340 mock_obj = self.mox.CreateMock(TestClass)
1359 mock_obj = self.mox.CreateMock(TestClass)
1371 mock_obj = self.mox.CreateMock(CallableClass)
1381 mock_obj = self.mox.CreateMock(InheritsFromCallable)
1391 mock_obj = self.mox.CreateMock("string is not callable")
1396 mock_obj = self.mox.CreateMock(CallableClass)
1403 mock_obj = self.mox.CreateMock(CallableClass)
[all …]
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_channel_unittest.py37 self._mock_request_queue = self._mox.CreateMock(queue_class)
62 mock_process = self._subprocess_mox.CreateMock(multiprocessing.Process)
/external/protobuf/python/
Dmox.py164 def CreateMock(self, class_to_mock): member in Mox
224 stub = self.CreateMock(attr_to_replace)
/external/chromium-trace/catapult/telemetry/third_party/mox3/mox3/
Dmox.py244 def CreateMock(self, class_to_mock, attrs=None, bounded_to=None): member in Mox
329 stub = self.CreateMock(attr_to_replace, bounded_to=class_to_bind)
877 instance = self._mox.CreateMock(self._class_to_mock)
/external/autotest/server/cros/
Dhost_lock_manager_unittest.py74 self.afe = self.mox.CreateMock(frontend.AFE)
/external/autotest/site_utils/rpm_control_system/
Drpm_controller_unittest.py107 self.dli_ps = self.mox.CreateMock(dli.powerswitch)

12