Home
last modified time | relevance | path

Searched refs:class_name (Results 1 – 20 of 20) sorted by relevance

/tools/tradefederation/core/atest/test_finders/
Dmodule_finder.py360 def find_test_by_kernel_class_name(self, module_name, class_name): argument
370 class_name, methods = test_finder_utils.split_methods(class_name)
375 [test_info.TestFilter(class_name, methods)])
376 if test_finder_utils.is_test_from_kernel_xml(test_config_path, class_name):
389 def find_test_by_class_name(self, class_name, module_name=None, argument
406 class_name, methods = test_finder_utils.split_methods(class_name)
412 test_paths = test_finder_utils.find_class_file(search_dir, class_name,
416 'researching from repo root.', class_name, rel_config)
418 class_name,
426 test_path, methods, class_name=class_name,
[all …]
Dtf_integration_finder.py163 class_name = None
165 name, class_name = name.split(':')
173 t_info = self._get_test_info(name, test_file, class_name)
178 def _get_test_info(self, name, test_file, class_name): argument
201 if class_name:
202 class_name, methods = test_finder_utils.split_methods(class_name)
204 if '.' in class_name:
205 test_filters.append(test_info.TestFilter(class_name, methods))
209 class_name)
211 class_name)
[all …]
Dtest_finder_utils.py445 def find_class_file(search_dir, class_name, is_native_test=False, methods=None): argument
460 elif '.' in class_name:
464 return run_find_cmd(ref_type, search_dir, class_name, methods)
828 def get_cc_filter(class_name, methods): argument
840 return ":".join(["%s.%s" % (class_name, x) for x in methods])
841 return "%s.*" % class_name
Dtest_info.py119 return {'%s#%s' % (self.class_name, m) for m in self.methods}
120 return {self.class_name}
/tools/asuite/atest/test_finders/
Dmodule_finder.py363 def find_test_by_kernel_class_name(self, module_name, class_name): argument
373 class_name, methods = test_finder_utils.split_methods(class_name)
380 [test_info.TestFilter(class_name, methods)])
381 if test_finder_utils.is_test_from_kernel_xml(test_config_path, class_name):
394 def find_test_by_class_name(self, class_name, module_name=None, argument
411 class_name, methods = test_finder_utils.split_methods(class_name)
412 search_class_name = class_name
427 'researching from repo root.', class_name, rel_config)
437 test_path, methods, class_name=class_name,
456 module_name, class_name = module_class.split(':')
[all …]
Dtf_integration_finder.py167 class_name = None
169 name, class_name = name.split(':')
177 t_info = self._get_test_info(name, test_file, class_name)
182 def _get_test_info(self, name, test_file, class_name): argument
205 if class_name:
206 class_name, methods = test_finder_utils.split_methods(class_name)
208 if '.' in class_name:
209 test_filters.append(test_info.TestFilter(class_name, methods))
213 class_name)
215 class_name)
[all …]
Dtest_finder_utils.py455 def find_class_file(search_dir, class_name, is_native_test=False, methods=None): argument
470 elif '.' in class_name:
474 return run_find_cmd(ref_type, search_dir, class_name, methods)
841 def get_cc_filter(class_name, methods): argument
854 return ":".join(["%s.%s" % (class_name, x) for x in sorted_methods])
855 return "%s.*" % class_name
Dtest_info.py118 return {'%s#%s' % (self.class_name, m) for m in self.methods}
119 return {self.class_name}
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/engine/
Dtransformer.py53 class_name = self.__class__.__qualname__
55 logging.debug('%s transformer beginning.', class_name)
57 logging.debug('%s transformation started.', class_name)
61 logging.exception('%s ran into an exception.', class_name)
64 logging.debug('%s transformation ended.', class_name)
66 logging.debug('%s finished.', class_name)
/tools/test/connectivity/acts/framework/acts/
Dbase_test.py515 class_name = self.__class__.__name__
516 tr_record = records.TestResultRecord(test_name, class_name)
526 full_test_name = '%s.%s' % (class_name, self.test_name)
527 if any(name in retry_tests for name in [class_name, full_test_name]):
879 class_name = self.__class__.__name__
881 if class_name in quiet_tests:
885 full_test_name = '%s.%s' % (class_name, test_name)
Derror.py10 class_name = self.__class__.__name__
12 self.error_code = getattr(ActsErrorCode, class_name)
/tools/test/connectivity/acts/framework/acts/test_utils/instrumentation/device/command/
Dinstrumentation_command_builder.py158 def add_test_method(self, class_name, test_method): argument
161 self._classes.append('{}#{}'.format(class_name, test_method))
163 def add_test_class(self, class_name): argument
166 self._classes.append(class_name)
/tools/tradefederation/core/atest/test_runners/
Datest_tf_test_runner.py573 key = lambda x: x.class_name
574 for class_name, group in atest_utils.sort_and_group(filters, key):
576 assert class_name is not None
584 results.add(test_info.TestFilter(class_name, frozenset(methods)))
Drobolectric_test_runner.py210 env_var['ROBOTEST_FILTER'] = robo_filter.class_name
/tools/asuite/atest/test_runners/
Datest_tf_test_runner.py613 key = lambda x: x.class_name
614 for class_name, group in atest_utils.sort_and_group(filters, key):
616 assert class_name is not None
624 results.add(test_info.TestFilter(class_name, frozenset(methods)))
Drobolectric_test_runner.py217 env_var['ROBOTEST_FILTER'] = robo_filter.class_name
/tools/test/connectivity/acts/framework/acts/test_utils/abstract_devices/
Dbluetooth_handsfree_abstract_device.py335 class_name = controller.__class__.__name__
336 if class_name in self._controller_abstract_devices:
337 return self._controller_abstract_devices[class_name](controller)
/tools/test/connectivity/acts/framework/tests/
Dtest_runner_test.py46 return {class_name: Mock() for class_name in class_names}
/tools/dexter/dexter/
Ddexter.cc34 static std::string ClassNameToDescriptor(const char* class_name) { in ClassNameToDescriptor() argument
37 for (auto p = class_name; *p != '\0'; ++p) { in ClassNameToDescriptor()
/tools/tradefederation/core/isolation/
Disolation_runner.proto78 string class_name = 4; field