Home
last modified time | relevance | path

Searched refs:getTestCaseNames (Results 1 – 4 of 4) sorted by relevance

/third_party/python/Lib/unittest/test/
Dtest_loader.py1178 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 …]
/third_party/python/Lib/unittest/
Dloader.py90 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__.py63 from .loader import (TestLoader, defaultTestLoader, makeSuite, getTestCaseNames,
/third_party/python/Doc/library/
Dunittest.rst1757 :meth:`getTestCaseNames`. By default these are the method names
1758 beginning with ``test``. If :meth:`getTestCaseNames` returns no
1831 .. method:: getTestCaseNames(testCaseClass)
1902 This affects :meth:`getTestCaseNames` and all the :meth:`loadTestsFrom\*`
1909 :meth:`getTestCaseNames` and all the :meth:`loadTestsFrom\*` methods.