Home
last modified time | relevance | path

Searched refs:loadTestsFromTestCase (Results 1 – 17 of 17) sorted by relevance

/third_party/python/Lib/unittest/test/
Dtest_runner.py26 tests = unittest.defaultTestLoader.loadTestsFromTestCase(case)
267 suite = unittest.defaultTestLoader.loadTestsFromTestCase(TestableTest)
274 suite = unittest.defaultTestLoader.loadTestsFromTestCase(TestableTest)
296 suite = unittest.defaultTestLoader.loadTestsFromTestCase(TestableTest)
306 suite = unittest.defaultTestLoader.loadTestsFromTestCase(TestableTest)
705 suite = unittest.defaultTestLoader.loadTestsFromTestCase(TestableTest)
714 suite = unittest.defaultTestLoader.loadTestsFromTestCase(TestableTest)
746 suite = unittest.defaultTestLoader.loadTestsFromTestCase(TestableTest)
757 suite = unittest.defaultTestLoader.loadTestsFromTestCase(TestableTest)
Dtest_loader.py50 self.assertEqual(loader.loadTestsFromTestCase(Foo), tests)
63 self.assertEqual(loader.loadTestsFromTestCase(Foo), empty_suite)
80 loader.loadTestsFromTestCase(NotATestCase)
101 suite = loader.loadTestsFromTestCase(Foo)
1302 self.assertEqual(loader.loadTestsFromTestCase(Foo), tests_1)
1305 self.assertEqual(loader.loadTestsFromTestCase(Foo), tests_2)
1402 self.assertEqual(loader.loadTestsFromTestCase(Foo), tests)
1523 self.assertEqual(loader.loadTestsFromTestCase(Foo), tests)
Dtest_setups.py19 tests = unittest.defaultTestLoader.loadTestsFromTestCase(case)
466 suite = unittest.defaultTestLoader.loadTestsFromTestCase(Test)
500 _suite = unittest.defaultTestLoader.loadTestsFromTestCase(Test)
Dtest_program.py69 [self.loadTestsFromTestCase(Test_TestProgram.FooBar)])
73 [self.loadTestsFromTestCase(Test_TestProgram.FooBar)])
/third_party/python/Lib/unittest/
Dloader.py84 def loadTestsFromTestCase(self, testCaseClass): member in TestLoader
124 tests.append(self.loadTestsFromTestCase(obj))
193 return self.loadTestsFromTestCase(obj)
511 return _makeLoader(prefix, sortUsing, suiteClass).loadTestsFromTestCase(
/third_party/python/Lib/sqlite3/test/
Ddump.py78 [unittest.TestLoader().loadTestsFromTestCase(t) for t in tests]
Dtransactions.py205 [unittest.TestLoader().loadTestsFromTestCase(t) for t in tests]
Dbackup.py164 return unittest.TestLoader().loadTestsFromTestCase(BackupTests)
Dhooks.py272 [unittest.TestLoader().loadTestsFromTestCase(t) for t in tests]
Dregression.py423 [unittest.TestLoader().loadTestsFromTestCase(t) for t in tests]
Dfactory.py314 [unittest.TestLoader().loadTestsFromTestCase(t) for t in tests]
Dtypes.py459 [unittest.TestLoader().loadTestsFromTestCase(t) for t in tests]
Duserfunctions.py562 [unittest.TestLoader().loadTestsFromTestCase(t) for t in tests]
Ddbapi.py1051 [unittest.TestLoader().loadTestsFromTestCase(t) for t in tests]
/third_party/python/Lib/test/
Dtest_datetime.py52 tests.addTests(loader.loadTestsFromTestCase(cls))
/third_party/python/Misc/NEWS.d/
D3.10.0a5.rst512 Use :meth:`unittest.TestLoader().loadTestsFromTestCase` instead of
/third_party/python/Doc/library/
Dunittest.rst1751 .. method:: loadTestsFromTestCase(testCaseClass)
2304 tests = loader.loadTestsFromTestCase(test_class)