Searched refs:testCaseClass (Results 1 – 1 of 1) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/ |
D | loader.py | 48 def loadTestsFromTestCase(self, testCaseClass): argument 50 if issubclass(testCaseClass, suite.TestSuite): 53 testCaseNames = self.getTestCaseNames(testCaseClass) 54 if not testCaseNames and hasattr(testCaseClass, 'runTest'): 56 loaded_suite = self.suiteClass(map(testCaseClass, testCaseNames)) 131 def getTestCaseNames(self, testCaseClass): argument 134 def isTestMethod(attrname, testCaseClass=testCaseClass, argument 137 hasattr(getattr(testCaseClass, attrname), '__call__') 138 testFnNames = filter(isTestMethod, dir(testCaseClass)) 305 def getTestCaseNames(testCaseClass, prefix, sortUsing=cmp): argument [all …]
|