/tools/tradefederation/core/atest/ |
D | unittest_constants.py | 27 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 …]
|
D | cli_translator.py | 110 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 …]
|
D | cli_translator_unittest.py | 158 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])
|
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 | 31 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(
|
D | atest.py | 420 for test_info in test_infos: 421 _print_module_info_from_module_name(mod_info, test_info.test_name) 423 print("\t\t{}".format(", ".join(test_info.build_targets))) 424 for build_target in test_info.build_targets: 425 if build_target != test_info.test_name:
|
/tools/asuite/atest/ |
D | unittest_constants.py | 30 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 …]
|
D | cli_translator.py | 109 for test_info in found_test_infos: 111 test_info.data[constants.TI_MODULE_ARG] = ( 113 test_info.from_test_mapping = True 114 test_info.host = tm_test_detail.host 116 test_info.test_finder = finder_info 117 test_infos.add(test_info) 139 test_info=test_info_str) 422 for test_info in test_infos: 423 targets |= test_info.build_targets 497 for test_info in test_infos: [all …]
|
D | cli_translator_unittest.py | 159 for test_info in test_infos: 160 if test_info == uc.MODULE_INFO: 163 test_info.data[constants.TI_MODULE_ARG]) 167 test_info.data[constants.TI_MODULE_ARG]) 207 for test_info in test_infos: 208 if test_info in [uc.MODULE_INFO, uc.MODULE_INFO2]: 211 test_info.data[constants.TI_MODULE_ARG]) 212 elif test_info in [uc.CLASS_INFO, uc.CLASS_INFO2]: 215 test_info.data[constants.TI_MODULE_ARG])
|
D | test_runner_handler_unittest.py | 30 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())
|
D | atest_unittest.py | 36 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(
|
D | atest.py | 427 for test_info in test_infos: 428 _print_module_info_from_module_name(mod_info, test_info.test_name) 430 sorted_build_targets = sorted(list(test_info.build_targets)) 433 if build_target != test_info.test_name:
|
/tools/asuite/atest/test_runners/ |
D | atest_tf_test_runner_unittest.py | 34 from test_finders import test_info 58 CLASS2_FILTER = test_info.TestFilter(FULL_CLASS2_NAME, frozenset()) 59 METHOD2_FILTER = test_info.TestFilter(uc.FULL_CLASS_NAME, frozenset([uc.METHOD2_NAME])) 63 CLASS2_METHOD_FILTER = test_info.TestFilter(FULL_CLASS2_NAME, 65 MODULE2_INFO = test_info.TestInfo(uc.MODULE2_NAME, 71 CLASS1_INFO = test_info.TestInfo(uc.MODULE_NAME, 77 CLASS2_INFO = test_info.TestInfo(uc.MODULE_NAME, 83 CLASS3_INFO = test_info.TestInfo(uc.MODULE_NAME, 90 CLASS4_INFO = test_info.TestInfo(uc.MODULE_NAME, 96 CLASS1_CLASS2_MODULE_INFO = test_info.TestInfo( [all …]
|
D | robolectric_test_runner.py | 90 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 …]
|
/tools/tradefederation/core/atest/test_runners/ |
D | atest_tf_test_runner_unittest.py | 32 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 …]
|
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, 188 def generate_env_vars(test_info, extra_args, event_file=None): argument 207 filters = test_info.data.get(constants.TI_FILTER) [all …]
|
/tools/asuite/atest/test_finders/ |
D | module_finder.py | 28 from test_finders import test_info 241 ti_filter = frozenset([test_info.TestFilter( 249 [test_info.TestFilter(full_class_name, methods)]) 257 [test_info.TestFilter(test_finder_utils.get_cc_filter( 274 [test_info.TestFilter(package_name, methods)]) 322 tinfo = self._process_test_info(test_info.TestInfo( 351 tinfo = self._process_test_info(test_info.TestInfo( 380 [test_info.TestFilter(class_name, methods)]) 382 tinfo = self._process_test_info(test_info.TestInfo( 510 test_filter = frozenset([test_info.TestFilter(package, frozenset())])
|
D | suite_plan_finder_unittest.py | 30 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,
|
D | tf_integration_finder.py | 30 from test_finders import test_info 209 test_filters.append(test_info.TestFilter(class_name, methods)) 222 test_filters.append(test_info.TestFilter( 225 return test_info.TestInfo( 268 return [test_info.TestInfo(
|
D | module_finder_unittest.py | 35 from test_finders import test_info 46 KERNEL_CLASS_FILTER = test_info.TestFilter(KERNEL_TEST_CLASS, frozenset()) 49 KERNEL_MODULE_CLASS_INFO = test_info.TestInfo( 53 FLAT_METHOD_INFO = test_info.TestInfo( 61 CLASS_INFO_MODULE_2 = test_info.TestInfo( 67 CC_CLASS_INFO_MODULE_2 = test_info.TestInfo(
|
/tools/tradefederation/core/atest/test_finders/ |
D | module_finder.py | 26 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())])
|
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 | tf_integration_finder.py | 28 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(
|
D | module_finder_unittest.py | 32 from test_finders import test_info 43 KERNEL_CLASS_FILTER = test_info.TestFilter(KERNEL_TEST_CLASS, frozenset()) 46 KERNEL_MODULE_CLASS_INFO = test_info.TestInfo( 50 FLAT_METHOD_INFO = test_info.TestInfo( 58 CLASS_INFO_MODULE_2 = test_info.TestInfo( 64 CC_CLASS_INFO_MODULE_2 = test_info.TestInfo(
|
/tools/test/connectivity/acts/tests/google/wifi/aware/functional/ |
D | MatchFilterTest.py | 142 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")
|