/tools/asuite/atest/test_finders/ |
D | module_finder.py | 280 def _get_test_info_filter(self, path, methods, **kwargs): argument 300 kwargs.get('class_name', '*'), methods), frozenset())]) 310 for method in methods: 312 methods = frozenset(update_methods) 314 [test_info.TestFilter(full_class_name, methods)]) 333 test_finder_utils.get_cc_filter(file_class, methods), 339 [test_info.TestFilter(kwargs.get('class_name', None), methods)]) 350 if methods: 353 % str(methods)) 355 [test_info.TestFilter(package_name, methods)]) [all …]
|
D | test_finder_utils.py | 270 def has_method_in_file(test_path, methods): argument 286 _methods = set(re.sub(r'\[\S+\]', '', x) for x in methods) 308 methods)[0], methods) 314 _methods = set(re.sub(r'\/.*', '', x) for x in methods) 321 def extract_test_path(output, methods=None): argument 344 if not methods or match_obj.group('method_name') in methods: 347 elif not methods or has_method_in_file(test, methods): 458 def run_find_cmd(ref_type, search_dir, target, methods=None): argument 506 return extract_test_path(out, methods) 509 def find_class_file(search_dir, class_name, is_native_test=False, methods=None): argument [all …]
|
D | test_info.py | 139 if self.methods: 140 return {'%s#%s' % (self.class_name, m) for m in self.methods}
|
D | tf_integration_finder.py | 292 class_name, methods = test_finder_utils.split_methods(class_name) 295 test_filters.append(test_info.TestFilter(class_name, methods)) 309 class_name, methods))
|
/tools/asuite/atest-py2/test_finders/ |
D | module_finder.py | 221 def _get_test_info_filter(self, path, methods, **kwargs): argument 241 kwargs.get('class_name', '*'), methods), frozenset())]) 247 [test_info.TestFilter(full_class_name, methods)]) 253 if methods: 256 kwargs.get('class_name', '*'), methods), frozenset())]) 267 if methods: 270 % str(methods)) 272 [test_info.TestFilter(package_name, methods)]) 370 class_name, methods = test_finder_utils.split_methods(class_name) 375 [test_info.TestFilter(class_name, methods)]) [all …]
|
D | test_finder_utils.py | 226 def has_method_in_file(test_path, methods): argument 244 '|'.join([r'%s' % x for x in methods]))) 247 '|'.join([r'%s' % x for x in methods]))) 257 def extract_test_path(output, methods=None): argument 281 if not methods or match_obj.group('method_name') in methods: 399 def run_find_cmd(ref_type, search_dir, target, methods=None): argument 442 return extract_test_path(out, methods) 445 def find_class_file(search_dir, class_name, is_native_test=False, methods=None): argument 464 return run_find_cmd(ref_type, search_dir, class_name, methods) 828 def get_cc_filter(class_name, methods): argument [all …]
|
D | test_info.py | 118 if self.methods: 119 return {'%s#%s' % (self.class_name, m) for m in self.methods}
|
D | tf_integration_finder.py | 202 class_name, methods = test_finder_utils.split_methods(class_name) 205 test_filters.append(test_info.TestFilter(class_name, methods)) 219 class_name, methods))
|
/tools/asuite/atest-py2/docs/ |
D | develop_test_finders.md | 11 A test finder class holds find methods. A find method is given a string (the 15 test finder class can hold multiple find methods. The find methods are grouped 42 create a list of find methods that ```test_finder_handler``` will use to collect 43 the find methods from your test finder class. Take a look at 46 Define the find methods in your test finder class. These find methods must 52 This is used by the class decorator to identify the find methods of the class. 56 it. The find methods will be collected and executed before the default find 57 methods.
|
D | atest_structure.md | 60 determines which test finder methods to use and returns them for 75 Test finders are classes that host find methods. The find methods are called by 77 filename, class, etc). Find methods will also find the corresponding test
|
/tools/asuite/atest/docs/ |
D | develop_test_finders.md | 11 A test finder class holds find methods. A find method is given a string (the 15 test finder class can hold multiple find methods. The find methods are grouped 42 create a list of find methods that ```test_finder_handler``` will use to collect 43 the find methods from your test finder class. Take a look at 46 Define the find methods in your test finder class. These find methods must 52 This is used by the class decorator to identify the find methods of the class. 56 it. The find methods will be collected and executed before the default find 57 methods.
|
D | atest_structure.md | 60 determines which test finder methods to use and returns them for 75 Test finders are classes that host find methods. The find methods are called by 77 filename, class, etc). Find methods will also find the corresponding test
|
/tools/asuite/ |
D | pylintrc | 4 # TODO(patricktu@):Remove "too-few-public-methods" when project_info.py ok. 5 too-few-public-methods, 37 # Maximum number of public methods for a class (see R0904). 38 max-public-methods=40
|
/tools/acloud/ |
D | pylintrc | 5 too-few-public-methods, 12 # Acloud uses PascalCase for functions/methods except for test methods which use
|
/tools/dexter/slicer/ |
D | dex_ir.cc | 171 static void SortEncodedMethods(std::vector<EncodedMethod*>* methods) { in SortEncodedMethods() argument 172 std::sort(methods->begin(), methods->end(), in SortEncodedMethods() 237 IndexItems(methods, [](const own<MethodDecl>& a, const own<MethodDecl>& b) { in Normalize()
|
/tools/dexter/testdata/expected/ |
D | medium.find_method | 1 Everything looks fine, found 4429 methods.
|
D | large.find_method | 1 Everything looks fine, found 55520 methods.
|
D | hello.find_method | 1 Everything looks fine, found 10 methods.
|
D | try_catch.find_method | 1 Everything looks fine, found 5 methods.
|
D | entry_hooks.find_method | 1 Everything looks fine, found 19 methods.
|
D | mi.stats | 21 methods : 7
|
D | entry_hooks.stats | 21 methods : 28
|
D | large.am_stats | 21 methods : 175
|
D | exit_hooks.stats | 21 methods : 17
|
/tools/asuite/atest/test_runners/ |
D | atest_tf_test_runner.py | 807 methods = set() 809 if not test_filter.methods: 811 methods = set() 813 methods |= test_filter.methods 814 results.add(test_info.TestFilter(class_name, frozenset(methods)))
|