Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/unittest/
Dloader.py81 def loadTestsFromTestCase(self, testCaseClass): argument
83 if issubclass(testCaseClass, suite.TestSuite):
87 if testCaseClass in (case.TestCase, case.FunctionTestCase):
91 testCaseNames = self.getTestCaseNames(testCaseClass)
92 if not testCaseNames and hasattr(testCaseClass, 'runTest'):
94 loaded_suite = self.suiteClass(map(testCaseClass, testCaseNames))
210 def getTestCaseNames(self, testCaseClass): argument
216 testFunc = getattr(testCaseClass, attrname)
220 testCaseClass.__module__, testCaseClass.__qualname__, attrname
224 testFnNames = list(filter(shouldIncludeMethod, dir(testCaseClass)))
/external/vogar/src/vogar/target/junit/junit3/
DAlternateTestCaseBuilder.java46 Class<? extends TestCase> testCaseClass = testClass.asSubclass(TestCase.class); in runnerForClass() local
50 return testCaseTransformer.createSuite(testCaseClass); in runnerForClass()
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()
/external/google-breakpad/src/client/mac/tests/
DBreakpadFramework_Test.mm72 BreakpadFramework_Test *testCaseClass =
74 [testCaseClass setLastExceptionType:exception_type
78 [testCaseClass shouldHandleException];
/external/python/absl-py/absl/testing/
Dabsltest.py2239 def _is_suspicious_attribute(testCaseClass, name): argument
2243 attr = getattr(testCaseClass, name)
2353 def getTestCaseNames(self, testCaseClass): # pylint:disable=invalid-name argument
2355 for name in dir(testCaseClass):
2356 if _is_suspicious_attribute(testCaseClass, name):
2358 names = list(super(TestLoader, self).getTestCaseNames(testCaseClass))
2494 def getShardedTestCaseNames(testCaseClass): argument
2499 ordered_names = delegate_get_names(testCaseClass)
/external/python/cpython3/Doc/library/
Dunittest.rst1787 .. method:: loadTestsFromTestCase(testCaseClass)
1790 :class:`testCaseClass`.
1868 .. method:: getTestCaseNames(testCaseClass)
1870 Return a sorted sequence of method names found within *testCaseClass*;