Home
last modified time | relevance | path

Searched refs:create_mock_class (Results 1 – 21 of 21) 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,
27 self.host.job.sysinfo = self.god.create_mock_class(
29 self.host.job.profilers = self.god.create_mock_class(
209 cfile = self.god.create_mock_class(file, "file")
Ddeb_kernel_unittest.py15 self.host = self.god.create_mock_class(hosts.RemoteHost, "host")
16 self.host.bootloader = self.god.create_mock_class(
Drpm_kernel_unittest.py24 host = self.god.create_mock_class(hosts.RemoteHost, "host")
25 host.bootloader = self.god.create_mock_class(bootloader.Bootloader,
Dsource_kernel_unittest.py12 self.host = self.god.create_mock_class(hosts.RemoteHost, "host")
Dsubcommand_unittest.py260 cmd.result_pickle = self.god.create_mock_class(file, 'file')
261 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/client/bin/
Dkernel_unittest.py16 bootloader = god.create_mock_class(boottool.boottool, "boottool")
49 job_ = self.god.create_mock_class(job.job, "job")
51 self.kernel.job.bootloader = self.god.create_mock_class(
132 self.job = self.god.create_mock_class(job.job, "job")
133 self.job.bootloader = self.god.create_mock_class(boottool.boottool,
180 self.logfile = self.god.create_mock_class(file, "file")
593 mock_file = self.god.create_mock_class(file, "file")
Djob_unittest.py183 my_harness = self.god.create_mock_class(harness.harness,
/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/
Dbootloader_unittest.py26 return self.god.create_mock_class(hosts.RemoteHost, "host")
Dbase_classes_unittest.py53 installableObj = self.god.create_mock_class(installable,
/external/autotest/scheduler/
Ddrones_unittest.py19 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.py561 self.mock_drone_manager = self.god.create_mock_class(
730 self._dispatcher = self.god.create_mock_class(monitor_db.Dispatcher,
739 task = self.god.create_mock_class(agent_task.AgentTask, name)
1256 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.py267 dispatcher = self.god.create_mock_class(monitor_db.BaseDispatcher,
269 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/
Dbase_utils_unittest.py446 src_file = self.god.create_mock_class(file, "file")
447 dest_file = self.god.create_mock_class(file, "file")