/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | discover.py | 15 def DiscoverModules(start_dir, top_level_dir, pattern='*'): argument 28 top_level_dir = os.path.realpath(top_level_dir) 49 os.path.join(dir_path, filename), top_level_dir) 57 sys.path.insert(0, top_level_dir) 77 top_level_dir, argument 99 modules = DiscoverModules(start_dir, top_level_dir, pattern)
|
/external/python/cpython2/Lib/unittest/ |
D | loader.py | 145 def discover(self, start_dir, pattern='test*.py', top_level_dir=None): argument 167 if top_level_dir is None and self._top_level_dir is not None: 169 top_level_dir = self._top_level_dir 170 elif top_level_dir is None: 172 top_level_dir = start_dir 174 top_level_dir = os.path.abspath(top_level_dir) 176 if not top_level_dir in sys.path: 181 sys.path.insert(0, top_level_dir) 182 self._top_level_dir = top_level_dir 187 if start_dir != top_level_dir: [all …]
|
D | main.py | 211 top_level_dir = options.top 214 self.test = loader.discover(start_dir, pattern, top_level_dir)
|
/external/python/cpython3/Lib/unittest/ |
D | loader.py | 242 def discover(self, start_dir, pattern='test*.py', top_level_dir=None): argument 271 if top_level_dir is None and self._top_level_dir is not None: 273 top_level_dir = self._top_level_dir 274 elif top_level_dir is None: 276 top_level_dir = start_dir 278 top_level_dir = os.path.abspath(top_level_dir) 280 if not top_level_dir in sys.path: 285 sys.path.insert(0, top_level_dir) 286 self._top_level_dir = top_level_dir 293 if start_dir != top_level_dir: [all …]
|
/external/cronet/testing/scripts/ |
D | headless_python_unittests.py | 23 top_level_dir = os.path.join( 28 top_level_dir=top_level_dir, 30 coverage_source=[top_level_dir])
|
/external/python/cpython3/Lib/unittest/test/ |
D | __main__.py | 10 top_level_dir = os.path.dirname(os.path.dirname(this_dir)) 12 top_level_dir=top_level_dir)
|
D | test_discovery.py | 386 loader.discover('/foo/bar', top_level_dir='/foo') 407 top_level_dir = os.path.abspath('/foo/bar') 410 self.assertEqual(loader._top_level_dir, top_level_dir) 412 self.assertIn(top_level_dir, sys.path) 452 suite = loader.discover('/toplevel/startdir', top_level_dir='/toplevel') 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))
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | __main__.py | 10 top_level_dir = os.path.dirname(os.path.dirname(os.path.dirname(this_dir))) 12 top_level_dir=top_level_dir)
|
/external/python/cpython3/Tools/unittestgui/ |
D | unittestgui.py | 62 self.top_level_dir = '' 104 top_level_dir = self.top_level_dir or None 105 … tests = unittest.defaultTestLoader.discover(directory, self.test_file_glob_pattern, top_level_dir) 211 def __init__(self, master, top_level_dir, test_file_glob_pattern, *args, **kwargs): argument 212 self.top_level_dir = top_level_dir 214 self.dirVar.set(top_level_dir) 241 self.top_level_dir = self.dirVar.get() 272 d = DiscoverSettingsDialog(self.top, self.top_level_dir, self.test_file_glob_pattern) 273 self.top_level_dir = d.top_level_dir
|
/external/cronet/components/cronet/android/test/javaperftests/ |
D | run.py | 202 top_level_dir = os.path.dirname(os.path.realpath(__file__)) 203 expectations_files = [os.path.join(top_level_dir, 'expectations.config')] 205 top_level_dir=top_level_dir, 206 benchmark_dirs=[top_level_dir],
|
/external/python/cpython2/Lib/unittest/test/ |
D | test_discovery.py | 152 loader.discover('/foo/bar', top_level_dir='/foo') 173 top_level_dir = os.path.abspath('/foo/bar') 176 self.assertEqual(loader._top_level_dir, top_level_dir) 178 self.assertIn(top_level_dir, sys.path) 236 def discover(self, start_dir, pattern, top_level_dir): argument 237 self.args.append((start_dir, pattern, top_level_dir)) 249 def discover(self, start_dir, pattern, top_level_dir): argument 250 self.args.append((start_dir, pattern, top_level_dir))
|
/external/chromium-trace/catapult/common/py_trace_event/bin/ |
D | run_tests | 16 def _RunTestsOrDie(top_level_dir): argument 19 top_level_dir, path=[_PY_TRACE_EVENT_PATH], jobs=1)
|
/external/chromium-trace/catapult/common/py_utils/bin/ |
D | run_tests | 16 def _RunTestsOrDie(top_level_dir): argument 17 exit_code = run_with_typ.Run(top_level_dir, path=[_PY_UTILS_PATH])
|
/external/chromium-trace/catapult/common/eslint/bin/ |
D | run_tests | 19 def _RunTestsOrDie(top_level_dir): argument 20 exit_code = run_with_typ.Run(top_level_dir, path=[_ESLINT_PATH])
|
/external/toolchain-utils/ |
D | run_tests_for.py | 265 top_level_dir = path.split("/")[0] 266 if top_level_dir in all_dirs: 267 gather_test_dirs.add(top_level_dir)
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | __init__.py | 15 top_level_dir=top_dir)
|
/external/python/cpython2/Lib/idlelib/idle_test/ |
D | __init__.py | 13 top_level_dir=top_dir)
|
/external/chromium-trace/catapult/devil/bin/ |
D | run_py_tests | 24 return run_with_typ.Run(top_level_dir=_DEVIL_PATH)
|
D | run_py_devicetests | 46 top_level_dir=_DEVIL_PATH)
|
/external/yapf/ |
D | setup.py | 36 tests = loader.discover('yapftests', pattern='*_test.py', top_level_dir='.')
|
/external/chromium-trace/catapult/systrace/bin/ |
D | run_tests | 28 top_level_dir=_SYSTRACE_DIR)
|
/external/python/pyfakefs/pyfakefs/tests/ |
D | fake_filesystem_test.py | 811 top_level_dir = '/x' 812 self.assertFalse(self.filesystem.exists(top_level_dir)) 813 self.filesystem.create_dir(top_level_dir) 815 self.assertTrue(self.filesystem.exists(top_level_dir)) 816 self.filesystem.create_dir('%s/po' % top_level_dir) 817 self.filesystem.create_file('%s/po/control' % top_level_dir) 818 self.filesystem.create_file('%s/po/experiment' % top_level_dir) 819 self.filesystem.create_dir('%s/gv' % top_level_dir) 820 self.filesystem.create_file('%s/gv/control' % top_level_dir)
|
/external/python/cpython3/Lib/test/support/ |
D | __init__.py | 155 top_level_dir=top_dir,
|
/external/python/cpython2/Doc/library/ |
D | unittest.rst | 1505 .. method:: discover(start_dir, pattern='test*.py', top_level_dir=None) 1529 packages can continue discovery themselves. *top_level_dir* is stored so
|
/external/python/cpython3/Doc/library/ |
D | unittest.rst | 1837 .. method:: discover(start_dir, pattern='test*.py', top_level_dir=None) 1867 packages can continue discovery themselves. *top_level_dir* is stored so
|