Home
last modified time | relevance | path

Searched refs:testCaseClass (Results 1 – 9 of 9) 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/python/cpython3/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 …]
/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*;
/external/python/cpython3/Doc/library/
Dunittest.rst1608 .. method:: loadTestsFromTestCase(testCaseClass)
1611 :class:`testCaseClass`.
1688 .. method:: getTestCaseNames(testCaseClass)
1690 Return a sorted sequence of method names found within *testCaseClass*;
/external/conscrypt/benchmark-android/
Dvogar.jarMETA-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties ...