Home
last modified time | relevance | path

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

123

/tools/asuite/atest/
Dunittest_constants.py30 from test_finders import test_info
65 MODULE_INFO = test_info.TestInfo(MODULE_NAME,
69 MODULE_INFO2 = test_info.TestInfo(MODULE2_NAME,
75 CLASS_FILTER = test_info.TestFilter(FULL_CLASS_NAME, frozenset())
78 PACKAGE_FILTER = test_info.TestFilter(PACKAGE, frozenset())
91 CLASS_INFO = test_info.TestInfo(MODULE_NAME,
100 CLASS_INFO2 = test_info.TestInfo(MODULE2_NAME,
106 PACKAGE_INFO = test_info.TestInfo(MODULE_NAME,
110 PATH_INFO = test_info.TestInfo(MODULE_NAME,
114 EMPTY_PATH_INFO = test_info.TestInfo(MODULE_NAME,
[all …]
Dtest_runner_handler_unittest.py30 from test_finders import test_info
42 MODULE_INFO_A = test_info.TestInfo(MODULE_NAME_A, FAKE_TR_NAME_A, set())
43 MODULE_INFO_A_AGAIN = test_info.TestInfo(MODULE_NAME_A_AGAIN, FAKE_TR_NAME_A,
45 MODULE_INFO_B = test_info.TestInfo(MODULE_NAME_B, FAKE_TR_NAME_B, set())
46 MODULE_INFO_B_AGAIN = test_info.TestInfo(MODULE_NAME_B_AGAIN, FAKE_TR_NAME_B,
48 BAD_TESTINFO = test_info.TestInfo('bad_name', MISSING_TR_NAME, set())
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)
439 for test_info in test_infos:
440 targets |= test_info.build_targets
514 for test_info in test_infos:
[all …]
Datest_unittest.py36 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(
/tools/tradefederation/core/atest/
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 …]
Dtest_runner_handler_unittest.py27 from test_finders import test_info
39 MODULE_INFO_A = test_info.TestInfo(MODULE_NAME_A, FAKE_TR_NAME_A, set())
40 MODULE_INFO_A_AGAIN = test_info.TestInfo(MODULE_NAME_A_AGAIN, FAKE_TR_NAME_A,
42 MODULE_INFO_B = test_info.TestInfo(MODULE_NAME_B, FAKE_TR_NAME_B, set())
43 MODULE_INFO_B_AGAIN = test_info.TestInfo(MODULE_NAME_B_AGAIN, FAKE_TR_NAME_B,
45 BAD_TESTINFO = test_info.TestInfo('bad_name', MISSING_TR_NAME, set())
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(
/tools/tradefederation/core/atest/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
Dexample_test_runner.py73 for test_info in test_infos:
75 'test': test_info.test_name}
/tools/asuite/atest/test_runners/
Drobolectric_test_runner.py90 for test_info in test_infos:
91 full_env_vars = self._get_full_build_environ(test_info,
93 run_cmd = self.generate_run_commands([test_info], extra_args)[0]
112 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]
133 def _get_full_build_environ(self, test_info=None, extra_args=None, argument
144 env_vars = self.generate_env_vars(test_info,
194 def generate_env_vars(test_info, extra_args, event_file=None): argument
214 filters = test_info.data.get(constants.TI_FILTER)
[all …]
Datest_tf_test_runner_unittest.py34 from test_finders import test_info
55 CLASS2_FILTER = test_info.TestFilter(FULL_CLASS2_NAME, frozenset())
56 METHOD2_FILTER = test_info.TestFilter(uc.FULL_CLASS_NAME, frozenset([uc.METHOD2_NAME]))
60 CLASS2_METHOD_FILTER = test_info.TestFilter(FULL_CLASS2_NAME,
62 MODULE2_INFO = test_info.TestInfo(uc.MODULE2_NAME,
68 CLASS1_INFO = test_info.TestInfo(uc.MODULE_NAME,
74 CLASS2_INFO = test_info.TestInfo(uc.MODULE_NAME,
80 CLASS3_INFO = test_info.TestInfo(uc.MODULE_NAME,
87 CLASS4_INFO = test_info.TestInfo(uc.MODULE_NAME,
93 CLASS1_CLASS2_MODULE_INFO = test_info.TestInfo(
[all …]
Dsuite_plan_test_runner.py118 for test_info in test_infos:
120 cmd_dict['test'] = test_info.test_name
122 cmd_dict['exe'] = self.EXECUTABLE % test_info.suite
Dexample_test_runner.py74 for test_info in test_infos:
76 'test': test_info.test_name}
/tools/test/connectivity/acts/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,
Dexample_finder.py19 from test_finders import test_info
34 return test_info.TestInfo(test_name=test,
Dcache_finder.py22 from test_finders import test_info
42 vars(test_info.TestInfo(None, None, None)).keys())
Dsuite_plan_finder.py27 from test_finders import test_info
91 return test_info.TestInfo(
145 test_infos.append(test_info.TestInfo(
/tools/tradefederation/core/atest/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,
Dexample_finder.py20 from test_finders import test_info
35 return test_info.TestInfo(test_name=test,
Dcache_finder.py21 from test_finders import test_info
41 vars(test_info.TestInfo(None, None, None)).keys())
Dsuite_plan_finder.py27 from test_finders import test_info
90 return test_info.TestInfo(
144 test_infos.append(test_info.TestInfo(

123