Lines Matching refs:suiteClass
22 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)
111 return self.suiteClass([inst])
119 return self.suiteClass([test])
131 return self.suiteClass(suites)
207 return self.suiteClass(tests)
256 yield _make_failed_import_test(name, self.suiteClass)
294 self.suiteClass)
299 def _makeLoader(prefix, sortUsing, suiteClass=None): argument
303 if suiteClass:
304 loader.suiteClass = suiteClass
311 suiteClass=suite.TestSuite): argument
312 return _makeLoader(prefix, sortUsing, suiteClass).loadTestsFromTestCase(testCaseClass)
315 suiteClass=suite.TestSuite): argument
316 return _makeLoader(prefix, sortUsing, suiteClass).loadTestsFromModule(module)