Home
last modified time | relevance | path

Searched refs:test_path (Results 1 – 12 of 12) sorted by relevance

/tools/asuite/atest/test_finders/
Dtest_finder_utils.py162 def has_cc_class(test_path): argument
171 with open_cc(test_path) as class_file:
200 def get_java_parent_paths(test_path): argument
209 all_parent_test_paths = set([test_path])
210 parent = get_parent_cls_name(test_path)
215 package = test_filter_utils.get_package_name(test_path)
236 def has_method_in_file(test_path, methods): argument
248 if not os.path.isfile(test_path):
251 if constants.JAVA_EXT_RE.match(test_path):
255 if _methods.issubset(get_java_methods(test_path)):
[all …]
Dtest_filter_utils.py228 def is_parameterized_java_class(test_path): argument
237 with open(test_path) as class_file:
373 def get_fully_qualified_class_name(test_path): argument
385 package = get_package_name(test_path)
387 cls = os.path.splitext(os.path.split(test_path)[1])[0]
Dtest_finder_utils_unittest.py142 test_path = os.path.join(
147 test_path, frozenset(['PrintHelloWorld'])
152 test_path, frozenset(['PrintHelloWorld1'])
155 test_path = os.path.join(
160 test_path, frozenset(['testMethod1'])
163 test_path = os.path.join(
168 test_path, frozenset(['testMethod', 'testMethod2'])
171 test_path = os.path.join(
176 test_path, frozenset(['testMethod'])
183 test_path = os.path.join(
[all …]
Dmodule_finder.py430 def _get_rel_config(self, test_path): argument
439 test_dir = os.path.dirname(test_path)
447 def _get_test_infos(self, test_path, rel_config, module_name, test_filter): argument
460 rel_config = self._get_rel_config(test_path)
468 test_path if self._is_comparted_src(test_path) else None,
643 for test_path in test_paths:
645 test_path,
651 test_path, rel_config_path, module_name, test_filter
/tools/asuite/aidegen/lib/
Dide_common_util_unittest.py48 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)
Dsource_locator_unittest.py443 test_path = 'a/b/c'
445 test_path)
560 test_path = 'a/b/c'
561 source_locator.EclipseModuleData(mod_name, mod_info, test_path)
575 test_path = 'a/b/c'
577 test_path)
596 test_path = 'a/b/c'
598 test_path)
614 test_path = 'a/b/c'
616 test_path)
[all …]
Dide_util_unittest.py324 test_path = None
325 self.assertEqual(None, ide_obj._get_application_path(test_path))
327 test_path = 'a/b/c/d-e/f-gh/foo'
328 self.assertEqual(None, ide_obj._get_application_path(test_path))
330 test_path = 'a/b/c/d/intellij/foo'
331 self.assertEqual(None, ide_obj._get_application_path(test_path))
333 test_path = 'a/b/c/d/intellij-efg/foo'
334 self.assertEqual(None, ide_obj._get_application_path(test_path))
336 test_path = 'a/b/c/d/intellij-efg-hi/foo'
337 self.assertEqual(None, ide_obj._get_application_path(test_path))
[all …]
Dconfig_unittest.py233 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))
Dcommon_util_unittest.py211 test_path = os.path.join(unittest_constants.TEST_DATA_PATH, 'test.jar')
212 self.assertEqual(test_path, common_util.get_abs_path(test_path))
213 self.assertEqual(test_path, common_util.get_abs_path('test.jar'))
/tools/asuite/atest/integration_tests/
Datest_command_success_tests.py27 test_path = 'platform_testing/tests/example/instrumentation'
29 test_path, is_device_required=True, snapshot_include_paths=[test_path]
/tools/asuite/aidegen/idea/
Diml_unittest.py76 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/
Dsetup.py106 test_path = os.path.join(framework_dir,
108 result = subprocess.Popen('python3 %s' % test_path,