Lines Matching defs:suiteClass
38 def _make_failed_import_test(name, suiteClass):
45 suiteClass)
47 def _make_failed_load_tests(name, exception, suiteClass):
48 return _make_failed_test('LoadTestsFailure', name, exception, suiteClass)
50 def _make_failed_test(classname, methodname, exception, suiteClass):
55 return suiteClass((TestClass(methodname),))
65 suiteClass = suite.TestSuite
76 loaded_suite = self.suiteClass(map(testCaseClass, testCaseNames))
88 tests = self.suiteClass(tests)
94 self.suiteClass)
129 return self.suiteClass([parent(obj.__name__)])
137 return self.suiteClass([test])
149 return self.suiteClass(suites)
225 return self.suiteClass(tests)
262 yield _make_failed_import_test(name, self.suiteClass)
300 self.suiteClass)
305 def _makeLoader(prefix, sortUsing, suiteClass=None):
309 if suiteClass:
310 loader.suiteClass = suiteClass
317 suiteClass=suite.TestSuite):
318 return _makeLoader(prefix, sortUsing, suiteClass).loadTestsFromTestCase(testCaseClass)
321 suiteClass=suite.TestSuite):
322 return _makeLoader(prefix, sortUsing, suiteClass).loadTestsFromModule(module)