Home
last modified time | relevance | path

Searched refs:test_info (Results 1 – 25 of 65) sorted by relevance

123

/tools/asuite/atest/
Dunittest_constants.py30 from test_finders import test_info
75 MODULE_INFO = test_info.TestInfo(MODULE_NAME,
79 MODULE_INFO_W_DALVIK = test_info.TestInfo(
85 MODULE_INFO_W_CONFIG = test_info.TestInfo(MODULE_CONFIG_NAME,
89 MODULE_INFO2 = test_info.TestInfo(MODULE2_NAME,
93 TEST_CONFIG_MODULE_INFO = test_info.TestInfo(
98 MODULE_INFO_HOST_1 = test_info.TestInfo(HOST_UNIT_TEST_NAME_1,
102 MODULE_INFO_HOST_2 = test_info.TestInfo(HOST_UNIT_TEST_NAME_2,
108 CLASS_FILTER = test_info.TestFilter(FULL_CLASS_NAME, frozenset())
111 PACKAGE_FILTER = test_info.TestFilter(PACKAGE, frozenset())
[all …]
Dcli_translator.py134 for test_info in found_test_infos:
138 test_info.test_name)
140 test_info.test_name, test_deps)
142 test_info.data[constants.TI_MODULE_ARG] = (
144 test_info.from_test_mapping = True
145 test_info.host = tm_test_detail.host
147 test_info.test_finder = finder_info
148 test_info.mainline_modules = mainline_modules
149 test_info.build_targets = {
150 x for x in test_info.build_targets
[all …]
Dtest_runner_handler_unittest.py34 from test_finders import test_info
46 MODULE_INFO_A = test_info.TestInfo(MODULE_NAME_A, FAKE_TR_NAME_A, set())
47 MODULE_INFO_A_AGAIN = test_info.TestInfo(MODULE_NAME_A_AGAIN, FAKE_TR_NAME_A,
49 MODULE_INFO_B = test_info.TestInfo(MODULE_NAME_B, FAKE_TR_NAME_B, set())
50 MODULE_INFO_B_AGAIN = test_info.TestInfo(MODULE_NAME_B_AGAIN, FAKE_TR_NAME_B,
52 BAD_TESTINFO = test_info.TestInfo('bad_name', MISSING_TR_NAME, set())
Datest_unittest.py37 from test_finders import test_info
178 t_info = test_info.TestInfo(test_name, 'mock_runner', build_targets)
231 no_install_test_info = test_info.TestInfo(
234 host_test_info = test_info.TestInfo(
237 device_test_info = test_info.TestInfo(
240 both_test_info = test_info.TestInfo(
Dcli_translator_unittest.py168 for test_info in test_infos:
169 if test_info == uc.MODULE_INFO:
172 test_info.data[constants.TI_MODULE_ARG])
176 test_info.data[constants.TI_MODULE_ARG])
216 for test_info in test_infos:
217 if test_info in [uc.MODULE_INFO, uc.MODULE_INFO2]:
220 test_info.data[constants.TI_MODULE_ARG])
221 elif test_info in [uc.CLASS_INFO, uc.CLASS_INFO2]:
224 test_info.data[constants.TI_MODULE_ARG])
/tools/asuite/atest-py2/
Dunittest_constants.py27 from test_finders import test_info
62 MODULE_INFO = test_info.TestInfo(MODULE_NAME,
66 MODULE_INFO2 = test_info.TestInfo(MODULE2_NAME,
72 CLASS_FILTER = test_info.TestFilter(FULL_CLASS_NAME, frozenset())
75 PACKAGE_FILTER = test_info.TestFilter(PACKAGE, frozenset())
88 CLASS_INFO = test_info.TestInfo(MODULE_NAME,
97 CLASS_INFO2 = test_info.TestInfo(MODULE2_NAME,
103 PACKAGE_INFO = test_info.TestInfo(MODULE_NAME,
107 PATH_INFO = test_info.TestInfo(MODULE_NAME,
111 EMPTY_PATH_INFO = test_info.TestInfo(MODULE_NAME,
[all …]
Dcli_translator.py110 for test_info in found_test_infos:
112 test_info.data[constants.TI_MODULE_ARG] = (
114 test_info.from_test_mapping = True
115 test_info.host = tm_test_detail.host
117 test_info.test_finder = finder_info
118 test_infos.add(test_info)
140 test_info=test_info_str)
438 for test_info in test_infos:
439 targets |= test_info.build_targets
513 for test_info in test_infos:
[all …]
Datest_unittest.py31 from test_finders import test_info
173 t_info = test_info.TestInfo(test_name, 'mock_runner', build_targets)
226 no_install_test_info = test_info.TestInfo(
229 host_test_info = test_info.TestInfo(
232 device_test_info = test_info.TestInfo(
235 both_test_info = test_info.TestInfo(
Dcli_translator_unittest.py158 for test_info in test_infos:
159 if test_info == uc.MODULE_INFO:
162 test_info.data[constants.TI_MODULE_ARG])
166 test_info.data[constants.TI_MODULE_ARG])
206 for test_info in test_infos:
207 if test_info in [uc.MODULE_INFO, uc.MODULE_INFO2]:
210 test_info.data[constants.TI_MODULE_ARG])
211 elif test_info in [uc.CLASS_INFO, uc.CLASS_INFO2]:
214 test_info.data[constants.TI_MODULE_ARG])
/tools/asuite/atest-py2/test_runners/
Drobolectric_test_runner.py89 for test_info in test_infos:
90 full_env_vars = self._get_full_build_environ(test_info,
92 run_cmd = self.generate_run_commands([test_info], extra_args)[0]
111 for test_info in test_infos:
116 full_env_vars = self._get_full_build_environ(test_info,
119 run_cmd = self.generate_run_commands([test_info], extra_args)[0]
132 def _get_full_build_environ(self, test_info=None, extra_args=None, event_file=None): argument
141 env_vars = self.generate_env_vars(test_info,
188 def generate_env_vars(test_info, extra_args, event_file=None): argument
207 filters = test_info.data.get(constants.TI_FILTER)
[all …]
Datest_tf_test_runner_unittest.py32 from test_finders import test_info
56 CLASS2_FILTER = test_info.TestFilter(FULL_CLASS2_NAME, frozenset())
57 METHOD2_FILTER = test_info.TestFilter(uc.FULL_CLASS_NAME, frozenset([uc.METHOD2_NAME]))
61 CLASS2_METHOD_FILTER = test_info.TestFilter(FULL_CLASS2_NAME,
63 MODULE2_INFO = test_info.TestInfo(uc.MODULE2_NAME,
69 CLASS1_INFO = test_info.TestInfo(uc.MODULE_NAME,
75 CLASS2_INFO = test_info.TestInfo(uc.MODULE_NAME,
81 CLASS3_INFO = test_info.TestInfo(uc.MODULE_NAME,
88 CLASS4_INFO = test_info.TestInfo(uc.MODULE_NAME,
94 CLASS1_CLASS2_MODULE_INFO = test_info.TestInfo(
[all …]
Dsuite_plan_test_runner.py119 for test_info in test_infos:
121 cmd_dict['test'] = test_info.test_name
123 cmd_dict['exe'] = self.EXECUTABLE % test_info.suite
/tools/asuite/atest/test_runners/
Drobolectric_test_runner.py95 for test_info in test_infos:
96 full_env_vars = self._get_full_build_environ(test_info,
98 run_cmd = self.generate_run_commands([test_info], extra_args)[0]
117 for test_info in test_infos:
121 full_env_vars = self._get_full_build_environ(test_info,
124 run_cmd = self.generate_run_commands([test_info], extra_args)[0]
138 def _get_full_build_environ(self, test_info=None, extra_args=None, argument
149 env_vars = self.generate_env_vars(test_info,
199 def generate_env_vars(test_info, extra_args, event_file=None): argument
219 filters = test_info.data.get(constants.TI_FILTER)
[all …]
Dsuite_plan_test_runner.py117 for test_info in test_infos:
119 cmd_dict['test'] = test_info.test_name
121 cmd_dict['exe'] = self.EXECUTABLE % test_info.suite
125 test_info.suite, '')
Datest_tf_test_runner_unittest.py37 from test_finders import test_info
61 CLASS2_FILTER = test_info.TestFilter(FULL_CLASS2_NAME, frozenset())
62 METHOD2_FILTER = test_info.TestFilter(uc.FULL_CLASS_NAME, frozenset([uc.METHOD2_NAME]))
66 CLASS2_METHOD_FILTER = test_info.TestFilter(FULL_CLASS2_NAME,
68 MODULE2_INFO = test_info.TestInfo(uc.MODULE2_NAME,
74 CLASS1_INFO = test_info.TestInfo(uc.MODULE_NAME,
80 CLASS2_INFO = test_info.TestInfo(uc.MODULE_NAME,
86 CLASS3_INFO = test_info.TestInfo(uc.MODULE_NAME,
93 CLASS4_INFO = test_info.TestInfo(uc.MODULE_NAME,
99 CLASS1_CLASS2_MODULE_INFO = test_info.TestInfo(
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/functional/
DMatchFilterTest.py142 test_info = self.match_filters[i]
146 pub_mf = test_info[0]
147 sub_mf = test_info[1]
148 expect_discovery = test_info[3]
152 pub_mf = test_info[1]
153 sub_mf = test_info[0]
154 expect_discovery = test_info[2]
158 if test_info[2] else "UNEXPECTED")
/tools/asuite/atest/test_finders/
Dsuite_plan_finder_unittest.py30 from test_finders import test_info
63 want_info = test_info.TestInfo(test_name=suite_plan,
72 want_info = test_info.TestInfo(test_name=suite_plan,
106 want_info = test_info.TestInfo(test_name=suite_name,
122 want_info = test_info.TestInfo(test_name=suite_name,
158 want_info = test_info.TestInfo(test_name=suite_int_name,
169 want_info = test_info.TestInfo(test_name=suite_int_name,
180 want_info = test_info.TestInfo(test_name=suite_int_name,
Dmodule_finder.py29 from test_finders import test_info
298 ti_filter = frozenset([test_info.TestFilter(
314 [test_info.TestFilter(full_class_name, methods)])
332 test_info.TestFilter(
339 [test_info.TestFilter(kwargs.get('class_name', None), methods)])
355 [test_info.TestFilter(package_name, methods)])
406 tinfo = self._process_test_info(test_info.TestInfo(
437 tinfo = self._process_test_info(test_info.TestInfo(
471 [test_info.TestFilter(class_name, methods)])
473 tinfo = self._process_test_info(test_info.TestInfo(
[all …]
Dsuite_plan_finder.py27 from test_finders import test_info
91 return test_info.TestInfo(
145 test_infos.append(test_info.TestInfo(
Dtest_info_unittest.py22 from test_finders import test_info
35 t_info = test_info.TestInfo('mock_name', 'mock_runner', build_targets)
/tools/asuite/atest-py2/test_finders/
Dsuite_plan_finder_unittest.py26 from test_finders import test_info
59 want_info = test_info.TestInfo(test_name=suite_plan,
68 want_info = test_info.TestInfo(test_name=suite_plan,
102 want_info = test_info.TestInfo(test_name=suite_name,
118 want_info = test_info.TestInfo(test_name=suite_name,
154 want_info = test_info.TestInfo(test_name=suite_int_name,
165 want_info = test_info.TestInfo(test_name=suite_int_name,
176 want_info = test_info.TestInfo(test_name=suite_int_name,
Dmodule_finder.py26 from test_finders import test_info
239 ti_filter = frozenset([test_info.TestFilter(
247 [test_info.TestFilter(full_class_name, methods)])
255 [test_info.TestFilter(test_finder_utils.get_cc_filter(
272 [test_info.TestFilter(package_name, methods)])
320 tinfo = self._process_test_info(test_info.TestInfo(
348 tinfo = self._process_test_info(test_info.TestInfo(
375 [test_info.TestFilter(class_name, methods)])
377 tinfo = self._process_test_info(test_info.TestInfo(
499 test_filter = frozenset([test_info.TestFilter(package, frozenset())])
Dtf_integration_finder.py28 from test_finders import test_info
205 test_filters.append(test_info.TestFilter(class_name, methods))
218 test_filters.append(test_info.TestFilter(
221 return test_info.TestInfo(
263 return [test_info.TestInfo(
Dsuite_plan_finder.py27 from test_finders import test_info
90 return test_info.TestInfo(
144 test_infos.append(test_info.TestInfo(
/tools/test/connectivity/acts/framework/tests/
Dacts_test_decorators_test.py61 test_decorators.test_info(uuid=TEST_TRACKER_UUID)(func)()
99 @test_decorators.test_info(uuid='SOME_UID')
109 @test_decorators.test_info(uuid='SOME_UID')
121 @test_decorators.test_info(uuid='SOME_UID')
131 @test_decorators.test_info(uuid='SOME_UID')
141 @test_decorators.test_info(uuid='SOME_UID')
151 @test_decorators.test_info(uuid='SOME_UID')
160 @test_decorators.test_info(uuid='SOME_UID')
168 @test_decorators.test_info(uuid='SOME_UID')
177 @test_decorators.test_info(uuid='SOME_UID')
[all …]

123