/tools/tradefederation/core/atest/ |
D | unittest_constants.py | 27 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 …]
|
D | cli_translator.py | 91 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 …]
|
D | test_runner_handler_unittest.py | 27 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())
|
D | atest_unittest.py | 28 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(
|
D | atest.py | 380 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:
|
D | cli_translator_unittest.py | 154 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])
|
D | atest_execution_info_unittest.py | 150 test_info = test_runner_base.TestResult(**RESULT_TEST_TEMPLATE._asdict()) 151 return test_info._replace(**kwargs)
|
D | test_finder_handler_unittest.py | 24 from test_finders import test_info 44 return test_info.TestInfo(test_name=test,
|
/tools/tradefederation/core/atest/test_runners/ |
D | robolectric_test_runner.py | 89 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 …]
|
D | atest_tf_test_runner_unittest.py | 33 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 …]
|
D | suite_plan_test_runner.py | 119 for test_info in test_infos: 121 cmd_dict['test'] = test_info.test_name 123 cmd_dict['exe'] = self.EXECUTABLE % test_info.suite
|
D | suite_plan_test_runner_unittest.py | 24 from test_finders import test_info 47 t_info = test_info.TestInfo(suite_name, 80 t_info = test_info.TestInfo(suite_name,
|
D | example_test_runner.py | 73 for test_info in test_infos: 75 'test': test_info.test_name}
|
D | vts_tf_test_runner.py | 123 for test_info in test_infos: 126 cmd_dict['test'] = test_info.test_name
|
D | atest_tf_test_runner.py | 33 from test_finders import test_info 444 test_info.TestInfo(test_name=module, 483 results.add(test_info.TestFilter(class_name, frozenset(methods)))
|
D | robolectric_test_runner_unittest.py | 26 from test_finders import test_info 43 test_infos = [test_info.TestInfo("Robo1",
|
/tools/test/connectivity/acts/tests/google/wifi/aware/functional/ |
D | MatchFilterTest.py | 145 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/ |
D | suite_plan_finder_unittest.py | 26 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,
|
D | module_finder.py | 27 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())])
|
D | tf_integration_finder.py | 28 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(
|
D | suite_plan_finder.py | 27 from test_finders import test_info 90 return test_info.TestInfo( 142 return test_info.TestInfo(
|
D | tf_integration_finder_unittest.py | 28 from test_finders import test_info 36 INT_CLASS_INFO = test_info.TestInfo( 42 INT_METHOD_INFO = test_info.TestInfo(
|
D | example_finder.py | 20 from test_finders import test_info 35 return test_info.TestInfo(test_name=test,
|
D | module_finder_unittest.py | 32 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/ |
D | test_decorators.py | 19 def test_info(predicate=None, **keyed_info): function 62 return test_info(
|