Home
last modified time | relevance | path

Searched refs:create_mock_class (Results 1 – 9 of 9) 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(
215 cfile = self.god.create_mock_class(file, "file")
Dsubcommand_unittest.py266 cmd.result_pickle = self.god.create_mock_class(file, 'file')
267 return self.god.create_mock_class(cmd, 'subcommand')
/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/client/bin/
Djob_unittest.py194 my_harness = self.god.create_mock_class(harness.harness,
/external/autotest/client/common_lib/
Dutils_unittest.py461 src_file = self.god.create_mock_class(file, "file")
462 dest_file = self.god.create_mock_class(file, "file")