Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/unittest/
Dloader.py22 def _make_failed_import_test(name, suiteClass): argument
25 suiteClass)
27 def _make_failed_load_tests(name, exception, suiteClass): argument
28 return _make_failed_test('LoadTestsFailure', name, exception, suiteClass)
30 def _make_failed_test(classname, methodname, exception, suiteClass): argument
35 return suiteClass((TestClass(methodname),))
45 suiteClass = suite.TestSuite variable in TestLoader
56 loaded_suite = self.suiteClass(map(testCaseClass, testCaseNames))
68 tests = self.suiteClass(tests)
74 self.suiteClass)
[all …]
/external/python/cpython2/Lib/unittest/test/
Dtest_loader.py76 self.assertIsInstance(suite, loader.suiteClass)
95 self.assertIsInstance(suite, loader.suiteClass)
97 expected = [loader.suiteClass([MyTestCase('test')])]
108 self.assertIsInstance(suite, loader.suiteClass)
122 self.assertIsInstance(suite, loader.suiteClass)
124 self.assertEqual(list(suite), [loader.suiteClass()])
375 self.assertIsInstance(suite, loader.suiteClass)
391 self.assertIsInstance(suite, loader.suiteClass)
406 self.assertIsInstance(suite, loader.suiteClass)
445 self.assertIsInstance(suite, loader.suiteClass)
[all …]
Dtest_program.py65 return self.suiteClass(
Dtest_discovery.py169 loader.suiteClass = str
/external/vogar/src/vogar/target/junit/junit3/
DTestSuiteTransformer.java49 public T transform(Class<?> suiteClass, Test test) { in transform() argument
51 suiteClass, "suite", suiteClass.getAnnotations()); in transform()
52 return transformTest(test, suiteClass.getName(), description); in transform()
/external/python/cpython2/Doc/library/
Dunittest.rst1558 .. attribute:: suiteClass
/external/python/cpython2/Doc/whatsnew/
D2.7.rst1952 :attr:`~unittest.TestLoader.suiteClass` attribute of