Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/unittest/
Dloader.py48 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))
133 def getTestCaseNames(self, testCaseClass): argument
136 def isTestMethod(attrname, testCaseClass=testCaseClass, argument
139 hasattr(getattr(testCaseClass, attrname), '__call__')
140 testFnNames = filter(isTestMethod, dir(testCaseClass))
307 def getTestCaseNames(testCaseClass, prefix, sortUsing=cmp): argument
[all …]
/external/vogar/src/vogar/target/junit/junit3/
DTestSuiteTransformer.java87 Class<? extends TestCase> testCaseClass = testCase.getClass(); in makeDescription() local
92 Method method = testCaseClass.getMethod(methodName); in makeDescription()
98 return Description.createTestDescription(testCaseClass, methodName, annotations); in makeDescription()
DAlternateTestCaseBuilder.java46 Class<? extends TestCase> testCaseClass = testClass.asSubclass(TestCase.class); in runnerForClass() local
50 return testCaseTransformer.createSuite(testCaseClass); in runnerForClass()
/external/droiddriver/src/io/appium/droiddriver/helpers/
DD2ActivityInstrumentationTestCase2.java49 protected void scrubClass(final Class<?> testCaseClass) throws IllegalAccessException { in scrubClass() argument
53 if (testCaseClass.isAssignableFrom(fieldClass) && !field.getType().isPrimitive() in scrubClass()
/external/google-breakpad/src/client/mac/tests/
DBreakpadFramework_Test.mm73 BreakpadFramework_Test *testCaseClass =
75 [testCaseClass setLastExceptionType:exception_type
79 [testCaseClass shouldHandleException];
/external/python/cpython2/Doc/library/
Dunittest.rst1438 .. method:: loadTestsFromTestCase(testCaseClass)
1441 :class:`testCaseClass`.
1499 .. method:: getTestCaseNames(testCaseClass)
1501 Return a sorted sequence of method names found within *testCaseClass*;