Lines Matching refs:path

54     def _determine_testable_module(self, path):  argument
67 for mod in self.module_info.get_module_names(path):
102 config_file = os.path.join(self.root_dir,
109 if custom_out_dir is None or not os.path.isabs(custom_out_dir):
110 out_dir = os.path.relpath(out_dir, self.root_dir)
111 vts_out_dir = os.path.join(out_dir, 'vts10', 'android-vts10', 'testcases')
182 config_file = os.path.join(self.root_dir, rel_config)
223 def _get_test_info_filter(self, path, methods, **kwargs): argument
238 _, file_name = test_finder_utils.get_dir_path_and_filename(path)
247 path)
252 if not test_finder_utils.has_cc_class(path):
254 "Can't find CC class in %s" % path)
262 os.path.relpath(path, self.root_dir)):
263 dir_items = [os.path.join(path, f) for f in os.listdir(path)]
287 test_dir = os.path.dirname(test_path)
291 return os.path.join(rel_module_dir, constants.MODULE_CONFIG)
314 os.path.dirname(rel_config))
347 rel_config = os.path.join(mod_info['path'][0],
377 test_config_path = os.path.join(self.root_dir, test_config)
419 search_dir = os.path.join(self.root_dir,
420 os.path.dirname(rel_config))
501 search_dir = os.path.join(self.root_dir,
502 os.path.dirname(rel_config))
538 def find_test_by_path(self, path): argument
555 logging.debug('Finding test by path: %s', path)
556 path, methods = test_finder_utils.split_methods(path)
559 path = os.path.realpath(path)
560 if not os.path.exists(path):
563 not test_finder_utils.has_method_in_file(path, methods)):
565 dir_path, _ = test_finder_utils.get_dir_path_and_filename(path)
571 rel_config = os.path.join(rel_module_dir, constants.MODULE_CONFIG)
572 test_filter = self._get_test_info_filter(path, methods,
574 return self._get_test_infos(path, rel_config, None, test_filter)