Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/unittest2/
Dloader.py68 def loadTestsFromTestCase(self, testCaseClass): argument
70 if issubclass(testCaseClass, suite.TestSuite):
73 testCaseNames = self.getTestCaseNames(testCaseClass)
74 if not testCaseNames and hasattr(testCaseClass, 'runTest'):
76 loaded_suite = self.suiteClass(map(testCaseClass, testCaseNames))
151 def getTestCaseNames(self, testCaseClass): argument
154 def isTestMethod(attrname, testCaseClass=testCaseClass, argument
157 hasattr(getattr(testCaseClass, attrname), '__call__')
158 testFnNames = filter(isTestMethod, dir(testCaseClass))
313 def getTestCaseNames(testCaseClass, prefix, sortUsing=cmp): argument
[all …]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/test/
Dmain.py225 def getTestCaseNames(self, testCaseClass): argument
226 def isTestMethod(attrname, testCaseClass=testCaseClass): argument
227 if not hasattr(getattr(testCaseClass, attrname), '__call__'):
230 testFnNames = filter(isTestMethod, dir(testCaseClass))