Home
last modified time | relevance | path

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

/external/python/cpython3/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 …]
/external/python/cpython2/Lib/unittest/
Dloader.py53 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__.py62 from .loader import (TestLoader, defaultTestLoader, makeSuite, getTestCaseNames,
/external/python/cpython3/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__.py62 from .loader import (TestLoader, defaultTestLoader, makeSuite, getTestCaseNames,
/external/python/cpython2/Lib/unittest/test/
Dtest_loader.py944 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/
Dunittest.rst1614 :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/
Dunittest.rst1499 .. method:: getTestCaseNames(testCaseClass)
1546 This affects :meth:`getTestCaseNames` and all the :meth:`loadTestsFrom\*`
1553 :meth:`getTestCaseNames` and all the :meth:`loadTestsFrom\*` methods. The