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.py83 def loadTestsFromTestCase(self, testCaseClass): argument
85 if issubclass(testCaseClass, suite.TestSuite):
89 testCaseNames = self.getTestCaseNames(testCaseClass)
90 if not testCaseNames and hasattr(testCaseClass, 'runTest'):
92 loaded_suite = self.suiteClass(map(testCaseClass, testCaseNames))
222 def getTestCaseNames(self, testCaseClass): argument
225 def isTestMethod(attrname, testCaseClass=testCaseClass, argument
228 callable(getattr(testCaseClass, attrname))
229 testFnNames = list(filter(isTestMethod, dir(testCaseClass)))
497 def getTestCaseNames(testCaseClass, prefix, sortUsing=util.three_way_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/tensorflow/tensorflow/python/platform/
Dgoogletest.py78 def getShardedTestCaseNames(testCaseClass): argument
80 for testcase in sorted(delegate_get_names(testCaseClass)):
/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.rst1574 .. method:: loadTestsFromTestCase(testCaseClass)
1577 :class:`testCaseClass`.
1654 .. method:: getTestCaseNames(testCaseClass)
1656 Return a sorted sequence of method names found within *testCaseClass*;