/tools/asuite/atest/test_finders/ |
D | test_finder_utils.py | 197 def get_fully_qualified_class_name(test_path): argument 209 with open(test_path) as class_file: 214 cls = os.path.splitext(os.path.split(test_path)[1])[0] 218 'name.'% test_path) 221 def has_cc_class(test_path): argument 230 with open(test_path) as class_file: 270 def has_method_in_file(test_path, methods): argument 282 if not os.path.isfile(test_path): 284 if constants.JAVA_EXT_RE.match(test_path): 287 if _methods.issubset(get_java_methods(test_path)): [all …]
|
D | test_finder_utils_unittest.py | 155 test_path = os.path.join(uc.TEST_DATA_DIR, 'class_file_path_testing', 158 test_path, frozenset(['PrintHelloWorld']))) 160 test_path, frozenset(['PrintHelloWorld1']))) 161 test_path = os.path.join(uc.TEST_DATA_DIR, 'class_file_path_testing', 164 test_path, frozenset(['testMethod1']))) 165 test_path = os.path.join(uc.TEST_DATA_DIR, 'class_file_path_testing', 168 test_path, frozenset(['testMethod', 'testMethod2']))) 169 test_path = os.path.join(uc.TEST_DATA_DIR, 'class_file_path_testing', 172 test_path, frozenset(['testMethod']))) 176 test_path = os.path.join(uc.TEST_DATA_DIR, 'class_file_path_testing', [all …]
|
D | module_finder.py | 360 def _get_rel_config(self, test_path): argument 369 test_dir = os.path.dirname(test_path) 376 def _get_test_infos(self, test_path, rel_config, module_name, test_filter): argument 389 rel_config = self._get_rel_config(test_path) 397 test_path if self._is_comparted_src(test_path) else None) 536 for test_path in test_paths: 538 test_path, methods, class_name=class_name, 541 test_path, rel_config, module_name, test_filter)
|
/tools/asuite/aidegen/lib/ |
D | ide_common_util_unittest.py | 48 test_path = unittest_constants.TEST_DATA_PATH 49 IdeUtilCommonUnittests._TEST_PRJ_PATH3 = test_path 140 test_path = 'a/b/c/d.e' 142 ide_common_util.get_scripts_from_dir_path(test_path, 'd.e') 146 test_path, 'd.e'), None)
|
D | config_unittest.py | 233 test_path = '' 234 cfg.deprecated_version(ide_name, test_path) 238 cfg.deprecated_version(ide_name, test_path) 241 self.assertFalse(cfg.deprecated_version(test_ide, test_path))
|
D | common_util_unittest.py | 210 test_path = os.path.join(unittest_constants.TEST_DATA_PATH, 'test.jar') 211 self.assertEqual(test_path, common_util.get_abs_path(test_path)) 212 self.assertEqual(test_path, common_util.get_abs_path('test.jar'))
|
/tools/asuite/atest-py2/test_finders/ |
D | test_finder_utils.py | 169 def get_fully_qualified_class_name(test_path): argument 181 with open(test_path) as class_file: 186 cls = os.path.splitext(os.path.split(test_path)[1])[0] 190 'name.'% test_path) 193 def has_cc_class(test_path): argument 202 with open(test_path) as class_file: 226 def has_method_in_file(test_path, methods): argument 239 if not os.path.isfile(test_path): 242 if constants.JAVA_EXT_RE.match(test_path): 245 elif constants.CC_EXT_RE.match(test_path): [all …]
|
D | test_finder_utils_unittest.py | 138 test_path = os.path.join(uc.TEST_DATA_DIR, 'class_file_path_testing', 141 test_path, frozenset(['PrintHelloWorld']))) 143 test_path, frozenset(['PrintHelloWorld1']))) 144 test_path = os.path.join(uc.TEST_DATA_DIR, 'class_file_path_testing', 147 test_path, frozenset(['testMethod1']))) 148 test_path = os.path.join(uc.TEST_DATA_DIR, 'class_file_path_testing', 151 test_path, frozenset(['testMethod', 'testMethod2']))) 152 test_path = os.path.join(uc.TEST_DATA_DIR, 'class_file_path_testing', 155 test_path, frozenset(['testMethod'])))
|
D | module_finder.py | 276 def _get_rel_config(self, test_path): argument 285 test_dir = os.path.dirname(test_path) 292 def _get_test_infos(self, test_path, rel_config, module_name, test_filter): argument 305 rel_config = self._get_rel_config(test_path) 424 for test_path in test_paths: 426 test_path, methods, class_name=class_name, 428 tinfo = self._get_test_infos(test_path, rel_config,
|
/tools/asuite/aidegen/idea/ |
D | iml_unittest.py | 76 test_path = os.path.join(IMLGenUnittests._TEST_DIR, 'a/b/tests') 106 TEST_PATH=test_path, 122 test_path = os.path.join(IMLGenUnittests._TEST_DIR, 'a/b/tests') 138 TEST_PATH=test_path)
|
/tools/test/connectivity/acts/framework/ |
D | setup.py | 90 test_path = os.path.join(framework_dir, 92 result = subprocess.Popen('python3 %s' % test_path,
|