Lines Matching refs:suiteClass
38 def _make_failed_import_test(name, suiteClass): argument
41 return _make_failed_test(name, ImportError(message), suiteClass, message)
43 def _make_failed_load_tests(name, exception, suiteClass): argument
46 name, exception, suiteClass, message)
48 def _make_failed_test(methodname, exception, suiteClass, message): argument
50 return suiteClass((test,)), message
52 def _make_skipped_test(methodname, exception, suiteClass): argument
58 return suiteClass((TestClass(methodname),))
74 suiteClass = suite.TestSuite variable in TestLoader
93 loaded_suite = self.suiteClass(map(testCaseClass, testCaseNames))
127 tests = self.suiteClass(tests)
133 module.__name__, e, self.suiteClass)
160 next_attribute, self.suiteClass)
184 part, e, self.suiteClass,
201 return self.suiteClass([inst])
209 return self.suiteClass([test])
221 return self.suiteClass(suites)
350 return self.suiteClass(tests)
438 return _make_skipped_test(name, e, self.suiteClass), False
441 _make_failed_import_test(name, self.suiteClass)
472 return _make_skipped_test(name, e, self.suiteClass), False
475 _make_failed_import_test(name, self.suiteClass)
497 def _makeLoader(prefix, sortUsing, suiteClass=None, testNamePatterns=None): argument
502 if suiteClass:
503 loader.suiteClass = suiteClass
510 suiteClass=suite.TestSuite): argument
511 return _makeLoader(prefix, sortUsing, suiteClass).loadTestsFromTestCase(
515 suiteClass=suite.TestSuite): argument
516 return _makeLoader(prefix, sortUsing, suiteClass).loadTestsFromModule(\