Home
last modified time | relevance | path

Searched refs:testCaseClass (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Lib/unittest/
Dloader.py84 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
[all …]
/third_party/python/Doc/library/
Dunittest.rst1751 .. method:: loadTestsFromTestCase(testCaseClass)
1754 :class:`testCaseClass`.
1831 .. method:: getTestCaseNames(testCaseClass)
1833 Return a sorted sequence of method names found within *testCaseClass*;