Home
last modified time | relevance | path

Searched refs:create_mock_class (Results 1 – 16 of 16) sorted by relevance

/external/autotest/client/common_lib/test_utils/
Dmock_demo.py75 m1 = god.create_mock_class(A, "A")
77 m2 = god.create_mock_class(B, "B")
122 m3 = god.create_mock_class(D, "D")
Dmock.py350 def create_mock_class(self, cls, name, default_ret_val=None): member in mock_god
/external/autotest/server/
Dautotest_unittest.py21 self.host = self.god.create_mock_class(hosts.RemoteHost, "host")
23 self.host.job = self.god.create_mock_class(server_job.server_job,
26 self.host.job.sysinfo = self.god.create_mock_class(
28 self.host.job.profilers = self.god.create_mock_class(
211 cfile = self.god.create_mock_class(file, "file")
Dsubcommand_unittest.py259 cmd.result_pickle = self.god.create_mock_class(file, 'file')
260 return self.god.create_mock_class(cmd, 'subcommand')
/external/autotest/client/bin/net/
Dnet_utils_unittest.py220 f = self.god.create_mock_class(file, 'file')
227 f = self.god.create_mock_class(file, 'file')
236 f = self.god.create_mock_class(file, 'file')
254 f = self.god.create_mock_class(file, 'file')
285 f = self.god.create_mock_class(file, 'file')
710 f = self.god.create_mock_class(file, 'file')
842 f = self.god.create_mock_class(file, 'file')
886 s = self.god.create_mock_class(socket.socket, "socket")
1018 s = self.god.create_mock_class(socket.socket, "socket")
1058 s = self.god.create_mock_class(socket.socket, "socket")
[all …]
/external/autotest/database/
Ddb_utils_unittest.py17 self.manager = self.god.create_mock_class(migrate.MigrationManager,
Ddatabase_connection_unittest.py40 self._fake_backend = self.god.create_mock_class(
/external/autotest/server/hosts/
Dbase_classes_unittest.py43 installableObj = self.god.create_mock_class(installable,
/external/autotest/scheduler/
Ddrones_unittest.py20 self._mock_host = self.god.create_mock_class(ssh_host.SSHHost,
Ddrone_task_queue_unittest.py40 self._mock_host = self.god.create_mock_class(ssh_host.SSHHost,
Dmonitor_db_unittest.py528 self.mock_drone_manager = self.god.create_mock_class(
697 self._dispatcher = self.god.create_mock_class(monitor_db.Dispatcher,
706 task = self.god.create_mock_class(agent_task.AgentTask, name)
1041 hqe = self.god.create_mock_class(scheduler_models.HostQueueEntry,
Ddrone_manager_unittest.py376 mock_host = self.god.create_mock_class(self._DRONE_HOST, mock_hostname)
506 mock_host = self.god.create_mock_class(self._DRONE_HOST, mock_hostname)
Dscheduler_models_unittest.py273 dispatcher = self.god.create_mock_class(monitor_db.Dispatcher,
275 agent = self.god.create_mock_class(monitor_db.Agent, 'Agent')
Dthread_lib_unittest.py41 self._mock_host = self.god.create_mock_class(ssh_host.SSHHost,
/external/autotest/client/common_lib/
Dutils_unittest.py450 src_file = self.god.create_mock_class(file, "file")
451 dest_file = self.god.create_mock_class(file, "file")
/external/autotest/client/bin/
Djob_unittest.py191 my_harness = self.god.create_mock_class(harness.harness,