Lines Matching refs:testCaseClass
84 def loadTestsFromTestCase(self, testCaseClass): argument
86 if issubclass(testCaseClass, suite.TestSuite):
90 testCaseNames = self.getTestCaseNames(testCaseClass)
91 if not testCaseNames and hasattr(testCaseClass, 'runTest'):
93 loaded_suite = self.suiteClass(map(testCaseClass, testCaseNames))
223 def getTestCaseNames(self, testCaseClass): argument
229 testFunc = getattr(testCaseClass, attrname)
233 testCaseClass.__module__, testCaseClass.__qualname__, attrname
237 testFnNames = list(filter(shouldIncludeMethod, dir(testCaseClass)))
506 def getTestCaseNames(testCaseClass, prefix, sortUsing=util.three_way_cmp, testNamePatterns=None): argument
507 …n _makeLoader(prefix, sortUsing, testNamePatterns=testNamePatterns).getTestCaseNames(testCaseClass)
509 def makeSuite(testCaseClass, prefix='test', sortUsing=util.three_way_cmp, argument
512 testCaseClass)