Home
last modified time | relevance | path

Searched refs:test_infos (Results 1 – 12 of 12) sorted by relevance

/tools/tradefederation/core/atest/test_runners/
Datest_tf_test_runner_unittest.py163 test_infos = self.tr._flatten_test_infos({uc.MODULE_INFO})
164 unittest_utils.assert_equal_testinfo_sets(self, test_infos, {uc.MODULE_INFO})
166 test_infos = self.tr._flatten_test_infos([uc.MODULE_INFO, MODULE2_INFO])
168 self, test_infos, {uc.MODULE_INFO, MODULE2_INFO})
170 test_infos = self.tr._flatten_test_infos({CLASS1_INFO})
171 unittest_utils.assert_equal_testinfo_sets(self, test_infos, {CLASS1_INFO})
173 test_infos = self.tr._flatten_test_infos({uc.INT_INFO})
174 unittest_utils.assert_equal_testinfo_sets(self, test_infos, {uc.INT_INFO})
176 test_infos = self.tr._flatten_test_infos({uc.METHOD_INFO})
177 unittest_utils.assert_equal_testinfo_sets(self, test_infos, {uc.METHOD_INFO})
[all …]
Dvts_tf_test_runner.py56 def run_tests(self, test_infos, extra_args): argument
63 run_cmds = self._generate_run_commands(test_infos, extra_args)
98 def _generate_run_commands(self, test_infos, extra_args): argument
112 for test_info in test_infos:
Datest_tf_test_runner.py47 def run_tests(self, test_infos, extra_args): argument
62 args = self._create_test_args(test_infos)
177 def _flatten_test_infos(self, test_infos): argument
200 for module, group in atest_utils.sort_and_group(test_infos, key):
265 def _create_test_args(self, test_infos): argument
273 test_infos = self._flatten_test_infos(test_infos)
275 for info in test_infos:
Dexample_test_runner.py30 def run_tests(self, test_infos, extra_args): argument
37 for test_info in test_infos:
Drobolectric_test_runner.py42 def run_tests(self, test_infos, extra_args): argument
49 for test_info in test_infos:
Dtest_runner_base.py54 def run_tests(self, test_infos, extra_args): argument
Dregression_test_runner.py37 def run_tests(self, test_infos, extra_args): argument
/tools/tradefederation/core/atest/
Dcli_translator_unittest.py42 test_infos = set()
45 test_infos.add(uc.MODULE_INFO)
47 test_infos.add(uc.CLASS_INFO)
48 return test_infos
99 test_infos = ctr._get_test_infos(
102 self, test_infos, expected_test_infos)
103 for test_info in test_infos:
120 targets, test_infos = self.ctr.translate([uc.CLASS_NAME])
123 unittest_utils.assert_strict_equal(self, test_infos, {uc.CLASS_INFO})
126 targets, test_infos = self.ctr.translate([uc.MODULE_NAME,
[all …]
Dtest_runner_handler.py54 def _group_tests_by_test_runners(test_infos): argument
66 sorted_test_infos = sorted(list(test_infos), key=key)
78 def get_test_runner_reqs(module_info, test_infos): argument
90 for test_runner, _ in _group_tests_by_test_runners(test_infos):
97 def run_all_tests(results_dir, test_infos, extra_args): argument
104 for test_runner, tests in _group_tests_by_test_runners(test_infos):
Dcli_translator.py70 test_infos = set()
86 test_infos.add(test_info)
92 return test_infos
143 def _gather_build_targets(self, test_infos): argument
145 for test_info in test_infos:
189 test_infos = self._get_test_infos(tests, test_details_list)
192 for test_info in test_infos:
194 build_targets = self._gather_build_targets(test_infos)
195 return build_targets, test_infos
Dtest_runner_handler_unittest.py52 def run_tests(self, test_infos, extra_args): argument
89 test_infos = [MODULE_INFO_A, MODULE_INFO_A_AGAIN, MODULE_INFO_B,
95 test_runner_handler._group_tests_by_test_runners(test_infos))
104 test_infos = [MODULE_INFO_A, MODULE_INFO_B]
110 test_infos))
Datest.py510 test_infos = set()
513 build_targets, test_infos = translator.translate(args.tests)
521 test_infos)
540 test_runner_handler.run_all_tests(results_dir, test_infos, extra_args)