Searched refs:getTestCaseNames (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython3/Lib/unittest/test/ |
D | test_loader.py | 1178 self.assertEqual(loader.getTestCaseNames(Test), ['test_1', 'test_2']) 1189 self.assertEqual(loader.getTestCaseNames(Test), []) 1205 names = loader.getTestCaseNames(BadCase) 1228 self.assertEqual(loader.getTestCaseNames(TestC), names) 1243 self.assertEqual(loader.getTestCaseNames(MyTest), []) 1246 self.assertEqual(loader.getTestCaseNames(MyTest), ['test_1']) 1249 self.assertEqual(loader.getTestCaseNames(MyTest), ['test_1', 'test_2']) 1252 self.assertEqual(loader.getTestCaseNames(MyTest), ['test_1', 'test_2']) 1255 self.assertEqual(loader.getTestCaseNames(MyTest), []) 1274 self.assertEqual(loader.getTestCaseNames(MyTest), ['test_1']) [all …]
|
/external/python/cpython2/Lib/unittest/ |
D | loader.py | 53 testCaseNames = self.getTestCaseNames(testCaseClass) 133 def getTestCaseNames(self, testCaseClass): member in TestLoader 307 def getTestCaseNames(testCaseClass, prefix, sortUsing=cmp): function 308 return _makeLoader(prefix, sortUsing).getTestCaseNames(testCaseClass)
|
D | __init__.py | 62 from .loader import (TestLoader, defaultTestLoader, makeSuite, getTestCaseNames,
|
/external/python/cpython3/Lib/unittest/ |
D | loader.py | 90 testCaseNames = self.getTestCaseNames(testCaseClass) 223 def getTestCaseNames(self, testCaseClass): member in TestLoader 506 def getTestCaseNames(testCaseClass, prefix, sortUsing=util.three_way_cmp, testNamePatterns=None): function 507 …return _makeLoader(prefix, sortUsing, testNamePatterns=testNamePatterns).getTestCaseNames(testCase…
|
D | __init__.py | 62 from .loader import (TestLoader, defaultTestLoader, makeSuite, getTestCaseNames,
|
/external/python/cpython2/Lib/unittest/test/ |
D | test_loader.py | 944 self.assertEqual(loader.getTestCaseNames(Test), ['test_1', 'test_2']) 955 self.assertEqual(loader.getTestCaseNames(Test), []) 971 names = loader.getTestCaseNames(BadCase) 994 self.assertEqual(loader.getTestCaseNames(TestC), names) 1190 self.assertEqual(loader.getTestCaseNames(Foo), test_names) 1210 self.assertEqual(set(loader.getTestCaseNames(Foo)), set(test_names))
|
/external/python/cpython3/Doc/library/ |
D | unittest.rst | 1614 :meth:`getTestCaseNames`. By default these are the method names 1615 beginning with ``test``. If :meth:`getTestCaseNames` returns no 1688 .. method:: getTestCaseNames(testCaseClass) 1755 This affects :meth:`getTestCaseNames` and all the :meth:`loadTestsFrom\*` 1762 :meth:`getTestCaseNames` and all the :meth:`loadTestsFrom\*` methods.
|
/external/python/cpython2/Doc/library/ |
D | unittest.rst | 1499 .. method:: getTestCaseNames(testCaseClass) 1546 This affects :meth:`getTestCaseNames` and all the :meth:`loadTestsFrom\*` 1553 :meth:`getTestCaseNames` and all the :meth:`loadTestsFrom\*` methods. The
|