Home
last modified time | relevance | path

Searched refs:stub_function (Results 1 – 25 of 40) sorted by relevance

12

/external/autotest/client/common_lib/
Dtest_unittest.py48 self.god.stub_function(self.test, 'run_once_profiling')
49 self.god.stub_function(self.test, 'postprocess')
50 self.god.stub_function(self.test, 'process_failed_constraints')
55 self.god.stub_function(self.test, 'drop_caches_between_iterations')
56 self.god.stub_function(self.test, 'run_once')
57 self.god.stub_function(self.test, 'postprocess_iteration')
58 self.god.stub_function(self.test, 'analyze_perf_constraints')
77 self.god.stub_function(self.test, 'drop_caches_between_iterations')
78 self.god.stub_function(self.test, 'run_once')
104 self.god.stub_function(self.test.job, 'record')
[all …]
Dbase_utils_unittest.py23 self.god.stub_function(base_utils, "open")
106 self.god.stub_function(base_utils, "open")
144 self.god.stub_function(base_utils, "open")
163 self.god.stub_function(base_utils, "open")
164 self.god.stub_function(os.path, "isdir")
165 self.god.stub_function(os.path, "exists")
265 self.god.stub_function(base_utils, "open")
266 self.god.stub_function(os.path, "isdir")
284 self.god.stub_function(test_file, "close")
437 self.god.stub_function(base_utils, "urlopen")
[all …]
Dbarrier_unittest.disabled17 self.god.stub_function(utils, 'run')
43 self.god.stub_function(utils, 'run')
/external/autotest/client/bin/
Dkernel_unittest.py46 self.god.stub_function(time, "time")
47 self.god.stub_function(utils, "system")
48 self.god.stub_function(kernel, "_add_kernel_to_bootloader")
106 self.god.stub_function(time, "time")
107 self.god.stub_function(os, "mkdir")
108 self.god.stub_function(os, "chdir")
109 self.god.stub_function(os, "symlink")
110 self.god.stub_function(os, "remove")
111 self.god.stub_function(os.path, "isdir")
112 self.god.stub_function(os.path, "exists")
[all …]
Djob_unittest.py141 self.god.stub_function(os.path, 'exists')
142 self.god.stub_function(os.path, 'isdir')
143 self.god.stub_function(os, 'makedirs')
144 self.god.stub_function(os, 'mkdir')
145 self.god.stub_function(os, 'remove')
146 self.god.stub_function(shutil, 'rmtree')
147 self.god.stub_function(shutil, 'copyfile')
148 self.god.stub_function(job, 'open')
149 self.god.stub_function(utils, 'system')
150 self.god.stub_function(utils, 'drop_caches')
[all …]
Dpackage_unittest.py13 self.god.stub_function(os_dep, "command")
20 self.god.stub_function(os.path, "isfile")
21 self.god.stub_function(utils, "system_output")
22 self.god.stub_function(utils, "system")
104 self.god.stub_function(package, "info")
105 self.god.stub_function(utils, "system")
130 self.god.stub_function(utils, "system_output")
Dsetup_job_unittest.py130 self.god.stub_function(os.path, 'exists')
131 self.god.stub_function(os.path, 'isdir')
132 self.god.stub_function(os, 'makedirs')
133 self.god.stub_function(os, 'mkdir')
134 self.god.stub_function(os, 'remove')
135 self.god.stub_function(shutil, 'rmtree')
136 self.god.stub_function(shutil, 'copyfile')
137 self.god.stub_function(setup_job, 'open')
138 self.god.stub_function(utils, 'system')
Dpartition_unittest.py69 self.god.stub_function(os, 'popen')
106 self.god.stub_function(partition, 'partition')
Dlocal_host_unittest.py14 self.god.stub_function(local_host.utils, 'run')
25 self.god.stub_function(local_host.platform, 'node')
Dfsinfo_unittest.py12 self.god.stub_function(fsinfo, 'open')
/external/autotest/server/
Dautotest_unittest.py38 self.god.stub_function(utils, "get_server_dir")
39 self.god.stub_function(utils, "run")
40 self.god.stub_function(utils, "get")
41 self.god.stub_function(utils, "read_keyval")
42 self.god.stub_function(utils, "write_keyval")
43 self.god.stub_function(utils, "system")
44 self.god.stub_function(tempfile, "mkstemp")
45 self.god.stub_function(tempfile, "mktemp")
46 self.god.stub_function(os, "getcwd")
47 self.god.stub_function(os, "system")
[all …]
Dsubcommand_unittest.py59 self.god.stub_function(subcommand.os.path, 'abspath')
60 self.god.stub_function(subcommand.os.path, 'exists')
61 self.god.stub_function(subcommand.os, 'mkdir')
78 self.god.stub_function(subcommand.os, 'fork')
96 self.god.stub_function(subcommand.os, 'pipe')
97 self.god.stub_function(subcommand.os, 'fork')
98 self.god.stub_function(subcommand.os, 'close')
99 self.god.stub_function(subcommand.os, 'write')
100 self.god.stub_function(subcommand.cPickle, 'dumps')
101 self.god.stub_function(subcommand.os, '_exit')
[all …]
Drpm_kernel_unittest.py15 self.god.stub_function(utils, "run")
27 self.god.stub_function(self.kernel, "get_image_name")
28 self.god.stub_function(self.kernel, "get_vmlinux_name")
Dfrontend_unittest.py24 self.god.stub_function(utils, 'send_email')
58 self.god.stub_function(utils, 'send_email')
/external/autotest/client/bin/net/
Dnet_utils_unittest.py19 self.god.stub_function(utils, "system")
20 self.god.stub_function(utils, "system_output")
21 self.god.stub_function(utils, "module_is_loaded")
22 self.god.stub_function(net_utils, "open")
23 self.god.stub_function(time, 'sleep')
84 self.god.stub_function(socket, 'socket')
88 self.god.stub_function(s, 'bind')
89 self.god.stub_function(s, 'settimeout')
210 self.god.stub_function(os, 'listdir')
250 self.god.stub_function(os, 'listdir')
[all …]
Dnet_tc_unittest.py15 self.god.stub_function(utils, "system")
16 self.god.stub_function(utils, "system_output")
/external/autotest/scheduler/
Dagent_task_unittest.py39 self.god.stub_function(system_utils, 'get_drones')
41 self.god.stub_function(models.DroneSet, 'drone_sets_enabled')
56 self.god.stub_function(system_utils, 'get_drones')
58 self.god.stub_function(models.DroneSet, 'drone_sets_enabled')
Dmonitor_db_unittest.py458 self.god.stub_function(gc, 'collect')
459 self.god.stub_function(gc_stats, '_log_garbage_collector_stats')
866 self.god.stub_function(delay_task, 'abort')
868 self.god.stub_function(job, 'run')
870 self.god.stub_function(job, '_pending_count')
872 self.god.stub_function(job, 'request_abort')
918 self.god.stub_function(job, 'run')
971 self.god.stub_function(job, 'run')
1113 self.god.stub_function(models.DroneSet, 'drone_sets_enabled')
1159 self.god.stub_function(task, '_user_or_global_default_drone_set')
[all …]
Ddrone_manager_unittest.py87 self.god.stub_function(drones, 'get_drone')
260 self.god.stub_function(results_drone, 'set_autotest_install_dir')
377 self.god.stub_function(drones.drone_utility, 'create_host')
399 self.god.stub_function(drones, 'get_drone')
507 self.god.stub_function(drones.drone_utility, 'create_host')
Dthread_lib_unittest.py43 self.god.stub_function(drones.drone_utility, 'create_host')
155 self.god.stub_function(task_queue, 'wait_on_drones')
/external/autotest/database/
Ddb_utils_unittest.py20 self.god.stub_function(self.manager, 'execute')
21 self.god.stub_function(self.manager, 'get_db_name')
/external/autotest/client/tests/wb_kupdate/
Dwb_kupdate_unittest.py48 self._god.stub_function(self._wbkupdate_obj,
75 self._god.stub_function(self._wbkupdate_obj,
/external/autotest/server/hosts/
Dbase_classes_unittest.py18 self.god.stub_function(global_config.global_config,
31 self.god.stub_function(utils, "get_server_dir")
/external/autotest/tko/parsers/
Dversion_0_unittest.py22 self.god.stub_function(models.job, 'read_keyval')
23 self.god.stub_function(version_0.job, 'find_hostname')
24 self.god.stub_function(models.test, 'parse_host_keyval')
/external/autotest/client/common_lib/hosts/
Dbase_classes_unittest.py26 self.god.stub_function(base_classes.Host, 'run')

12