Lines Matching refs:path
52 def _determine_testable_module(self, path): argument
65 for mod in self.module_info.get_module_names(path):
100 config_file = os.path.join(self.root_dir,
107 if custom_out_dir is None or not os.path.isabs(custom_out_dir):
108 out_dir = os.path.relpath(out_dir, self.root_dir)
109 vts_out_dir = os.path.join(out_dir, 'vts10', 'android-vts10', 'testcases')
180 config_file = os.path.join(self.root_dir, rel_config)
221 def _get_test_info_filter(self, path, methods, **kwargs): argument
236 _, file_name = test_finder_utils.get_dir_path_and_filename(path)
245 path)
250 if not test_finder_utils.has_cc_class(path):
252 "Can't find CC class in %s" % path)
260 os.path.relpath(path, self.root_dir)):
261 dir_items = [os.path.join(path, f) for f in os.listdir(path)]
285 test_dir = os.path.dirname(test_path)
289 return os.path.join(rel_module_dir, constants.MODULE_CONFIG)
312 os.path.dirname(rel_config))
345 rel_config = os.path.join(mod_info['path'][0],
372 test_config_path = os.path.join(self.root_dir, test_config)
408 search_dir = os.path.join(self.root_dir,
409 os.path.dirname(rel_config))
490 search_dir = os.path.join(self.root_dir,
491 os.path.dirname(rel_config))
527 def find_test_by_path(self, path): argument
544 logging.debug('Finding test by path: %s', path)
545 path, methods = test_finder_utils.split_methods(path)
548 path = os.path.realpath(path)
549 if not os.path.exists(path):
552 not test_finder_utils.has_method_in_file(path, methods)):
554 dir_path, _ = test_finder_utils.get_dir_path_and_filename(path)
560 rel_config = os.path.join(rel_module_dir, constants.MODULE_CONFIG)
561 test_filter = self._get_test_info_filter(path, methods,
563 return self._get_test_infos(path, rel_config, None, test_filter)