Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/unittest/
Dloader.py48 def loadTestsFromTestCase(self, testCaseClass): member in TestLoader
65 tests.append(self.loadTestsFromTestCase(obj))
105 return self.loadTestsFromTestCase(obj)
312 return _makeLoader(prefix, sortUsing, suiteClass).loadTestsFromTestCase(testCaseClass)
/external/python/cpython2/Lib/unittest/test/
Dtest_loader.py24 self.assertEqual(loader.loadTestsFromTestCase(Foo), tests)
37 self.assertEqual(loader.loadTestsFromTestCase(Foo), empty_suite)
54 loader.loadTestsFromTestCase(NotATestCase)
75 suite = loader.loadTestsFromTestCase(Foo)
1018 self.assertEqual(loader.loadTestsFromTestCase(Foo), tests_1)
1021 self.assertEqual(loader.loadTestsFromTestCase(Foo), tests_2)
1118 self.assertEqual(loader.loadTestsFromTestCase(Foo), tests)
1229 self.assertEqual(loader.loadTestsFromTestCase(Foo), tests)
Dtest_setups.py20 tests = unittest.defaultTestLoader.loadTestsFromTestCase(case)
466 suite = unittest.defaultTestLoader.loadTestsFromTestCase(Test)
498 _suite = unittest.defaultTestLoader.loadTestsFromTestCase(Test)
Dtest_program.py66 [self.loadTestsFromTestCase(Test_TestProgram.FooBar)])
/external/v8/tools/release/
Dscript_test.py43 alltests = map(unittest.TestLoader().loadTestsFromTestCase, [
/external/python/cpython2/Lib/test/
Dtest_multiprocessing.py2656 loadTestsFromTestCase = unittest.defaultTestLoader.loadTestsFromTestCase
2657 suite = unittest.TestSuite(loadTestsFromTestCase(tc) for tc in testcases)
/external/python/cpython2/Doc/library/
Dunittest.rst166 suite = unittest.TestLoader().loadTestsFromTestCase(TestStringMethods)
472 suite = unittest.TestLoader().loadTestsFromTestCase(WidgetTestCase)
1438 .. method:: loadTestsFromTestCase(testCaseClass)
1868 tests = loader.loadTestsFromTestCase(test_class)