/third_party/python/Lib/unittest/ |
D | loader.py | 242 def discover(self, start_dir, pattern='test*.py', top_level_dir=None): argument 276 top_level_dir = start_dir 291 if os.path.isdir(os.path.abspath(start_dir)): 292 start_dir = os.path.abspath(start_dir) 293 if start_dir != top_level_dir: 294 is_not_importable = not os.path.isfile(os.path.join(start_dir, '__init__.py')) 298 __import__(start_dir) 302 the_module = sys.modules[start_dir] 303 top_part = start_dir.split('.')[0] 305 start_dir = os.path.abspath( [all …]
|
D | __init__.py | 80 return loader.discover(start_dir=this_dir, pattern=pattern)
|
/third_party/skia/buildtools/checkdeps/ |
D | checkdeps.py | 76 def CheckDirectory(self, start_dir): argument 94 for rules, file_paths in self.GetAllRulesAndFiles(start_dir): 261 start_dir = base_directory 265 start_dir = os.path.abspath(os.path.join(base_directory, args[0])) 272 if not start_dir.startswith(deps_checker.base_directory): 274 print('but %s is not a subdirectory of %s' % (start_dir, base_directory)) 278 print('Checking:', start_dir) 289 deps_checker.CheckDirectory(start_dir)
|
/third_party/python/Lib/unittest/test/ |
D | test_discovery.py | 336 start_dir=this_dir, pattern=pattern) 399 def _find_tests(start_dir, pattern, namespace=None): argument 400 _find_tests_args.append((start_dir, pattern)) 408 start_dir = os.path.abspath('/foo/bar/baz') 411 self.assertEqual(_find_tests_args, [(start_dir, 'pattern')]) 637 def discover(self, start_dir, pattern, top_level_dir): argument 638 self.args.append((start_dir, pattern, top_level_dir)) 650 def discover(self, start_dir, pattern, top_level_dir): argument 651 self.args.append((start_dir, pattern, top_level_dir)) 764 start_dir='foo', pattern='foo.py' [all …]
|
D | __main__.py | 11 package_tests = loader.discover(start_dir=this_dir, pattern=pattern,
|
D | test_program.py | 21 def _find_tests(start_dir, pattern): argument 23 self.assertEqual(start_dir, expectedPath)
|
/third_party/ltp/lib/tests/ |
D | tst_tmpdir_test.c | 52 char *start_dir = getcwd(NULL, PATH_MAX); in main() local 62 strcmp(tmp_dir, start_dir) != 0) { in main()
|
/third_party/python/Lib/ |
D | zipfile.py | 1157 self._zipfile.start_dir = self._fileobj.tell() 1170 self._zipfile.start_dir = self._fileobj.tell() 1173 self._fileobj.seek(self._zipfile.start_dir) 1266 self.start_dir = self.fp.tell() 1269 self.start_dir = 0 1274 self.fp.seek(self.start_dir) 1282 self.fp.seek(self.start_dir) 1290 self.start_dir = self.fp.tell() 1344 self.start_dir = offset_cd + concat 1345 fp.seek(self.start_dir, 0) [all …]
|
/third_party/python/Lib/idlelib/idle_test/ |
D | __init__.py | 14 package_tests = loader.discover(start_dir=this_dir, pattern='test*.py',
|
/third_party/python/Lib/unittest/test/testmock/ |
D | __main__.py | 11 package_tests = loader.discover(start_dir=this_dir, pattern=pattern,
|
/third_party/ltp/lib/ |
D | tst_test.c | 1272 const char *start_dir; in add_paths() local 1275 start_dir = tst_get_startwd(); in add_paths() 1278 SAFE_ASPRINTF(&new_path, "%s::%s", old_path, start_dir); in add_paths() 1280 SAFE_ASPRINTF(&new_path, "::%s", start_dir); in add_paths()
|
/third_party/python/Lib/test/support/ |
D | __init__.py | 154 package_tests = loader.discover(start_dir=pkg_dir,
|
/third_party/python/Doc/library/ |
D | unittest.rst | 1837 .. method:: discover(start_dir, pattern='test*.py', top_level_dir=None) 1871 *start_dir* can be a dotted module name as well as a directory. 1880 *start_dir* can be a :term:`namespace packages <namespace package>`. 2328 package_tests = loader.discover(start_dir=this_dir, pattern=pattern)
|
/third_party/python/Misc/NEWS.d/ |
D | 3.5.0a1.rst | 1677 Honour load_tests in the start_dir of discovery.
|
/third_party/libabigail/tests/data/test-read-dwarf/ |
D | test21-pr19092.so.abi | 3855 …<parameter type-id='type-id-250' name='start_dir' filepath='../.././libcpp/files.c' line='452' col…
|
/third_party/libabigail/tests/data/test-annotate/ |
D | test21-pr19092.so.abi | 5997 …<parameter type-id='type-id-250' name='start_dir' filepath='../.././libcpp/files.c' line='452' col…
|