Home
last modified time | relevance | path

Searched refs:called (Results 1 – 25 of 70) sorted by relevance

123

/tools/asuite/aidegen/
Daidegen_main_unittest.py131 self.assertFalse(mock_main.called)
135 self.assertFalse(mock_ends_metrics.called)
171 self.assertFalse(mock_get_ide.called)
172 self.assertFalse(mock_launch_ide.called)
185 self.assertFalse(mock_launch_ide.called)
191 self.assertFalse(mock_launch_ide.called)
197 self.assertTrue(mock_launch_ide.called)
203 self.assertTrue(mock_launch_ide.called)
208 self.assertFalse(mock_get_ide.called)
209 self.assertTrue(mock_launch_ide.called)
[all …]
/tools/asuite/aidegen/lib/
Dmodule_info_util_unittest.py92 self.assertTrue(mock_json.called)
93 self.assertTrue(mock_log.called)
94 self.assertFalse(mock_time.called)
119 self.assertTrue(mock_json.called)
120 self.assertTrue(mock_log.called)
121 self.assertTrue(mock_gen_rust.called)
125 self.assertTrue(mock_build.called)
127 self.assertFalse(mock_reuse.called)
128 self.assertFalse(mock_fail.called)
156 self.assertTrue(mock_json.called)
[all …]
Dide_util_unittest.py109 self.assertTrue(mock_mac.called)
111 self.assertTrue(mock_linux.called)
147 self.assertTrue(mock_sys.called)
149 self.assertTrue(mock_sys.called)
151 self.assertTrue(mock_input.called)
152 self.assertTrue(mock_set.called)
154 self.assertTrue(mock_input.called)
155 self.assertTrue(mock_set.called)
170 self.assertFalse(mock_config.called)
171 self.assertFalse(mock_paths.called)
[all …]
Dconfig_unittest.py65 self.assertFalse(mock_file_open.called)
66 self.assertFalse(mock_json_load.called)
70 self.assertTrue(mock_file_open.called)
71 self.assertTrue(mock_json_load.called)
85 self.assertTrue(mock_error.called)
86 self.assertFalse(mock_info.called)
90 self.assertTrue(mock_info.called)
101 self.assertFalse(mock_file_open.called)
102 self.assertFalse(mock_json_dump.called)
113 self.assertTrue(mock_file_open.called)
[all …]
Dsource_locator_unittest.py52 self.assertFalse(mock_dirname.called)
57 self.assertTrue(mock_is_target.called)
58 self.assertTrue(mock_get_src.called)
61 self.assertTrue(mock_log.called)
465 self.assertTrue(mock_check_key.called)
503 self.assertTrue(mock_append_jar.called)
567 self.assertTrue(mock_base_init.called)
568 self.assertTrue(mock_method.called)
585 self.assertTrue(mock_src.called)
586 self.assertTrue(mock_class_jar.called)
[all …]
Dproject_file_gen_unittest.py160 self.assertFalse(mock_link.called)
167 self.assertTrue(mock_loggin_error.called)
209 self.assertFalse(mock_gen_xml.called)
212 self.assertTrue(mock_gen_xml.called)
236 self.assertFalse(mock_file_generate.called)
239 self.assertTrue(mock_file_generate.called)
248 self.assertFalse(mock_create_module.called)
251 self.assertFalse(mock_update_module.called)
254 self.assertTrue(mock_update_module.called)
281 self.assertTrue(mock_get_dep.called)
[all …]
Dclion_project_file_gen_unittest.py88 self.assertFalse(mock_mkdirs.called)
92 self.assertTrue(mock_mkdirs.called)
412 self.assertTrue(mock_parse.called)
413 self.assertTrue(mock_translate.called)
430 self.assertFalse(mock_parse.called)
431 self.assertFalse(mock_translate.called)
454 self.assertTrue(mock_includes.called)
455 self.assertTrue(mock_headers.called)
458 self.assertTrue(mock_includes.called)
459 self.assertTrue(mock_headers.called)
[all …]
Declipse_project_file_gen_unittest.py137 self.assertFalse(mock_mkdir.called)
140 self.assertTrue(mock_mkdir.called)
168 self.assertTrue(mock_gen_src.called)
169 self.assertTrue(mock_gen_r.called)
170 self.assertTrue(mock_gen_bin.called)
171 self.assertTrue(mock_gen_jar.called)
179 self.assertTrue(mock_gen_content.called)
180 self.assertTrue(mock_gen_file.called)
188 self.assertTrue(mock_gen_content.called)
189 self.assertTrue(mock_gen_file.called)
[all …]
Dproject_info_unittest.py128 self.assertTrue(mock_get_deps.called)
129 self.assertFalse(mock_get_sub_modules.called)
179 self.assertTrue(mock_info.called)
233 self.assertFalse(mock_batch.called)
245 self.assertFalse(mock_batch.called)
291 self.assertTrue(mock_print.called)
299 self.assertFalse(mock_format.called)
300 self.assertFalse(mock_print.called)
316 self.assertFalse(mock_print.called)
322 self.assertTrue(mock_print.called)
[all …]
Dmodule_info_unittest.py90 self.assertFalse(mock_remove.called)
91 self.assertFalse(mock_log.called)
92 self.assertTrue(mock_generate.called)
93 self.assertTrue(mock_dump.called)
97 self.assertTrue(mock_is_file.called)
100 self.assertFalse(mock_remove.called)
101 self.assertTrue(mock_log.called)
102 self.assertTrue(mock_dump.called)
106 self.assertTrue(mock_remove.called)
107 self.assertTrue(mock_dump.called)
Dnative_module_info_unittest.py144 self.assertTrue(mock_warn.called)
154 self.assertFalse(mock_warn.called)
171 self.assertFalse(mock_warn.called)
188 self.assertFalse(mock_warn.called)
205 self.assertFalse(mock_warn.called)
340 self.assertFalse(mock_base_load.called)
347 self.assertFalse(mock_get_json.called)
351 self.assertFalse(mock_base_load.called)
360 self.assertFalse(mock_get_json.called)
362 self.assertFalse(mock_load.called)
[all …]
Dnative_project_info_unittest.py63 self.assertTrue(mock_mod_info.called)
64 self.assertTrue(mock_print.called)
65 self.assertFalse(mock_info.called)
75 self.assertTrue(mock_mod_info.called)
76 self.assertTrue(mock_get_need.called)
77 self.assertTrue(mock_batch.called)
78 self.assertFalse(mock_print.called)
79 self.assertTrue(mock_info.called)
Daidegen_metrics_unittest.py44 self.assertFalse(mock_print_data.called)
49 self.assertTrue(mock_print_data.called)
50 self.assertTrue(mk_get.called)
51 self.assertTrue(mk_start.called)
59 self.assertTrue(mk_send.called)
66 self.assertTrue(mock_ends_metrics.called)
Dproject_config_unittest.py153 self.assertFalse(mock_get_rel.called)
173 self.assertTrue(mock_show_skip.called)
174 self.assertTrue(mock_get_atest.called)
175 self.assertTrue(mock_trans.called)
176 self.assertTrue(mock_check_whole.called)
/tools/asuite/aidegen/sdk/
Djdk_table_unittest.py67 self.assertTrue(mock_parse.called)
70 self.assertTrue(mock_parse.called)
71 self.assertTrue(mock_gen_file.called)
153 self.assertTrue(mock_gen_jdk.called)
154 self.assertTrue(mock_gen_sdk.called)
157 self.assertFalse(mock_xml_write.called)
161 self.assertTrue(mock_xml_write.called)
167 self.assertTrue(mock_gen_jdk.called)
234 self.assertTrue(mock_metrics.called)
258 self.assertTrue(mock_metrics.called)
[all …]
/tools/test/connectivity/acts/framework/tests/
Dtest_runner_test.py59 self.assertTrue(test_classes[class_names[0]].called)
60 self.assertFalse(test_classes[class_names[1]].called)
73 self.assertTrue(test_classes[class_names[0]].called)
74 self.assertTrue(test_classes[class_names[1]].called)
75 self.assertFalse(test_classes[class_names[2]].called)
88 self.assertTrue(test_classes[class_names[0]].called)
89 self.assertFalse(test_classes[class_names[1]].called)
102 self.assertTrue(test_classes[class_names[0]].called)
103 self.assertFalse(test_classes[class_names[1]].called)
104 self.assertTrue(test_classes[class_names[2]].called)
/tools/test/connectivity/acts/framework/tests/controllers/rohdeschwarz_lib/
Dcontest_test.py82 asserts.assert_true(dut_on_func.called, 'Function was not called.')
83 asserts.assert_true(protocol.send_ok.called, 'OK response not sent.')
94 asserts.assert_true(dut_off_func.called, 'Function was not called.')
95 asserts.assert_true(protocol.send_ok.called, 'OK response not sent.')
105 asserts.assert_true(protocol.send_ok.called, 'OK response not sent.')
115 asserts.assert_true(protocol.send_ok.called, 'OK response not sent.')
125 asserts.assert_true(protocol.send_ok.called, 'OK response not sent.')
135 asserts.assert_true(protocol.send_ok.called, 'OK response not sent.')
/tools/test/connectivity/acts/framework/tests/controllers/monsoon_lib/sampling/engine/
Dtransformer_test.py80 self.assertTrue(input_stream.initialize.called)
94 self.assertTrue(output_stream.initialize.called)
110 self.assertFalse(output_stream.add_indexed_buffer.called)
152 self.assertTrue(output_stream.end_stream.called)
206 self.assertFalse(output_stream.add_indexed_buffer.called)
217 self.assertTrue(output_stream.end_stream.called)
232 self.assertFalse(output_stream.add_indexed_buffer.called)
243 self.assertTrue(output_stream.end_stream.called)
/tools/asuite/aidegen/project/
Dsource_splitter_unittest.py131 self.assertTrue(mock_copy_srcs.called)
132 self.assertTrue(mock_keep_srcs.called)
133 self.assertTrue(mock_remove_srcs.called)
178 self.assertTrue(mock_remove.called)
230 self.assertTrue(mock_create_iml.called)
245 self.assertTrue(mock_create_iml.called)
246 self.assertFalse(mock_get_excludes.called)
249 self.assertTrue(mock_get_excludes.called)
/tools/test/connectivity/acts/framework/tests/controllers/
Diperf_server_test.py103 mock_makedirs.called,
187 start_proc.called,
200 stop_proc.called,
260 server._ssh_session.run_async.called,
275 server._ssh_session.run_async.called,
338 android_device.adb.shell_nb.called,
354 android_device.adb.shell_nb.called,
/tools/test/connectivity/acts/framework/tests/libs/proc/
Dprocess_test.py66 self.assertTrue(callback.called)
77 self.assertTrue(callback.called)
138 self.assertEqual(process._kill_process.called, True)
173 self.assertEqual(mocked_thread.join.called, True)
198 self.assertEqual(mocked_thread.join.called, True)
256 self.assertEqual(process.wait.called, True)
309 self.assertEqual(process._process.wait.called, True)
/tools/test/connectivity/acts/framework/tests/test_utils/power/tel/lab/
Dpower_tel_traffic_e2e_test.py96 self.assertTrue(test.start_tel_traffic.called,
98 self.assertTrue(test.init_simulation.called,
100 self.assertTrue(test.initialize_simulator.called,
102 self.assertTrue(test.collect_power_data.called,
104 self.assertTrue(test.get_iperf_results.called,
106 self.assertTrue(test.pass_fail_check.called,
/tools/asuite/aidegen/idea/
Dxml_gen_unittest.py77 self.assertTrue(mock_file_gen.called)
78 self.assertTrue(mock_pretty_xml.called)
90 self.assertFalse(mock_file_gen.called)
93 self.assertTrue(mock_file_gen.called)
107 self.assertTrue(mock_file_gen.called)
120 self.assertTrue(mock_create_xml.called)
/tools/acloud/internal/lib/
Dgcompute_client_test.py390 self.assertTrue(mock_wait.called)
843 self.assertTrue(mock_wait.called)
870 self.assertTrue(mock_wait.called)
901 self.assertTrue(mock_wait.called)
932 self.assertTrue(mock_wait.called)
952 self.assertTrue(mock_wait.called)
967 self.assertTrue(mock_wait.called)
990 self.assertTrue(mock_wait.called)
1437 if not sentinel.hitFingerPrintConflict.called:
/tools/repohooks/rh/
Dhooks_unittest.py297 self.assertFalse(mock_check.called)
316 self.assertFalse(mock_check.called)
694 self.assertFalse(mock_check.called)
708 self.assertFalse(mock_check.called)
742 self.assertFalse(mock_check.called)

123