Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/atest/
Dunittest_constants.py27 from test_finders import test_info
59 MODULE_INFO = test_info.TestInfo(MODULE_NAME,
63 CLASS_FILTER = test_info.TestFilter(FULL_CLASS_NAME, frozenset())
66 PACKAGE_FILTER = test_info.TestFilter(PACKAGE, frozenset())
79 CLASS_INFO = test_info.TestInfo(MODULE_NAME,
83 PACKAGE_INFO = test_info.TestInfo(MODULE_NAME,
87 PATH_INFO = test_info.TestInfo(MODULE_NAME,
91 EMPTY_PATH_INFO = test_info.TestInfo(MODULE_NAME,
99 METHOD_FILTER = test_info.TestFilter(FULL_CLASS_NAME, frozenset([METHOD_NAME]))
100 METHOD_INFO = test_info.TestInfo(
[all …]
Dcli_translator.py91 test_info = finder.find_method(finder.test_finder_instance,
95 if test_info:
97 test_info.data[constants.TI_MODULE_ARG] = (
99 test_info.from_test_mapping = True
100 test_info.host = tm_test_detail.host
101 test_infos.add(test_info)
108 test_info_str = str(test_info)
122 test_info=test_info_str)
142 test_info = mod_finder.find_test_by_module_name(results[0])
143 if test_info:
[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())
Datest_unittest.py28 from test_finders import test_info
170 t_info = test_info.TestInfo(test_name, 'mock_runner', build_targets)
223 no_install_test_info = test_info.TestInfo(
226 host_test_info = test_info.TestInfo(
229 device_test_info = test_info.TestInfo(
232 both_test_info = test_info.TestInfo(
Datest.py380 for test_info in test_infos:
381 _print_module_info_from_module_name(mod_info, test_info.test_name)
383 print("\t\t{}".format(", ".join(test_info.build_targets)))
384 for build_target in test_info.build_targets:
385 if build_target != test_info.test_name:
Dcli_translator_unittest.py154 for test_info in test_infos:
155 if test_info == uc.MODULE_INFO:
158 test_info.data[constants.TI_MODULE_ARG])
162 test_info.data[constants.TI_MODULE_ARG])
Datest_execution_info_unittest.py150 test_info = test_runner_base.TestResult(**RESULT_TEST_TEMPLATE._asdict())
151 return test_info._replace(**kwargs)
Dtest_finder_handler_unittest.py24 from test_finders import test_info
44 return test_info.TestInfo(test_name=test,
/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,
186 def generate_env_vars(test_info, extra_args, event_file=None): argument
205 filters = test_info.data.get(constants.TI_FILTER)
[all …]
Datest_tf_test_runner_unittest.py33 from test_finders import test_info
51 CLASS2_FILTER = test_info.TestFilter(FULL_CLASS2_NAME, frozenset())
52 METHOD2_FILTER = test_info.TestFilter(uc.FULL_CLASS_NAME, frozenset([uc.METHOD2_NAME]))
56 CLASS2_METHOD_FILTER = test_info.TestFilter(FULL_CLASS2_NAME,
58 MODULE2_INFO = test_info.TestInfo(uc.MODULE2_NAME,
64 CLASS1_INFO = test_info.TestInfo(uc.MODULE_NAME,
70 CLASS2_INFO = test_info.TestInfo(uc.MODULE_NAME,
76 CLASS3_INFO = test_info.TestInfo(uc.MODULE_NAME,
83 CLASS4_INFO = test_info.TestInfo(uc.MODULE_NAME,
89 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
Dsuite_plan_test_runner_unittest.py24 from test_finders import test_info
47 t_info = test_info.TestInfo(suite_name,
80 t_info = test_info.TestInfo(suite_name,
Dexample_test_runner.py73 for test_info in test_infos:
75 'test': test_info.test_name}
Dvts_tf_test_runner.py123 for test_info in test_infos:
126 cmd_dict['test'] = test_info.test_name
Datest_tf_test_runner.py33 from test_finders import test_info
444 test_info.TestInfo(test_name=module,
483 results.add(test_info.TestFilter(class_name, frozenset(methods)))
Drobolectric_test_runner_unittest.py26 from test_finders import test_info
43 test_infos = [test_info.TestInfo("Robo1",
/tools/test/connectivity/acts/tests/google/wifi/aware/functional/
DMatchFilterTest.py145 test_info = self.match_filters[i]
149 pub_mf = test_info[0]
150 sub_mf = test_info[1]
151 expect_discovery = test_info[3]
155 pub_mf = test_info[1]
156 sub_mf = test_info[0]
157 expect_discovery = test_info[2]
161 if test_info[2] else "UNEXPECTED")
/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,
Dmodule_finder.py27 from test_finders import test_info
233 ti_filter = frozenset([test_info.TestFilter(
241 [test_info.TestFilter(full_class_name, methods)])
249 [test_info.TestFilter(test_finder_utils.get_cc_filter(
266 [test_info.TestFilter(package_name, methods)])
308 return self._process_test_info(test_info.TestInfo(
330 return self._process_test_info(test_info.TestInfo(
436 test_filter = frozenset([test_info.TestFilter(package, frozenset())])
Dtf_integration_finder.py28 from test_finders import test_info
206 filters = frozenset([test_info.TestFilter(class_name, methods)])
207 return test_info.TestInfo(
249 return test_info.TestInfo(
Dsuite_plan_finder.py27 from test_finders import test_info
90 return test_info.TestInfo(
142 return test_info.TestInfo(
Dtf_integration_finder_unittest.py28 from test_finders import test_info
36 INT_CLASS_INFO = test_info.TestInfo(
42 INT_METHOD_INFO = test_info.TestInfo(
Dexample_finder.py20 from test_finders import test_info
35 return test_info.TestInfo(test_name=test,
Dmodule_finder_unittest.py32 from test_finders import test_info
38 FLAT_METHOD_INFO = test_info.TestInfo(
46 CLASS_INFO_MODULE_2 = test_info.TestInfo(
52 CC_CLASS_INFO_MODULE_2 = test_info.TestInfo(
/tools/test/connectivity/acts/framework/acts/
Dtest_decorators.py19 def test_info(predicate=None, **keyed_info): function
62 return test_info(

12