Home
last modified time | relevance | path

Searched refs:methods (Results 1 – 25 of 53) sorted by relevance

123

/tools/asuite/atest/test_finders/
Dmodule_finder.py280 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 …]
Dtest_finder_utils.py270 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 …]
Dtest_info.py139 if self.methods:
140 return {'%s#%s' % (self.class_name, m) for m in self.methods}
Dtf_integration_finder.py292 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/
Dmodule_finder.py221 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 …]
Dtest_finder_utils.py226 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 …]
Dtest_info.py118 if self.methods:
119 return {'%s#%s' % (self.class_name, m) for m in self.methods}
Dtf_integration_finder.py202 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/
Ddevelop_test_finders.md11 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.
Datest_structure.md60 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/
Ddevelop_test_finders.md11 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.
Datest_structure.md60 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/
Dpylintrc4 # 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/
Dpylintrc5 too-few-public-methods,
12 # Acloud uses PascalCase for functions/methods except for test methods which use
/tools/dexter/slicer/
Ddex_ir.cc171 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/
Dmedium.find_method1 Everything looks fine, found 4429 methods.
Dlarge.find_method1 Everything looks fine, found 55520 methods.
Dhello.find_method1 Everything looks fine, found 10 methods.
Dtry_catch.find_method1 Everything looks fine, found 5 methods.
Dentry_hooks.find_method1 Everything looks fine, found 19 methods.
Dmi.stats21 methods : 7
Dentry_hooks.stats21 methods : 28
Dlarge.am_stats21 methods : 175
Dexit_hooks.stats21 methods : 17
/tools/asuite/atest/test_runners/
Datest_tf_test_runner.py807 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)))

123