Home
last modified time | relevance | path

Searched refs:sortUsing (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/unittest/
Dloader.py299 def _makeLoader(prefix, sortUsing, suiteClass=None): argument
301 loader.sortTestMethodsUsing = sortUsing
307 def getTestCaseNames(testCaseClass, prefix, sortUsing=cmp): argument
308 return _makeLoader(prefix, sortUsing).getTestCaseNames(testCaseClass)
310 def makeSuite(testCaseClass, prefix='test', sortUsing=cmp, argument
312 return _makeLoader(prefix, sortUsing, suiteClass).loadTestsFromTestCase(testCaseClass)
314 def findTestCases(module, prefix='test', sortUsing=cmp, argument
316 return _makeLoader(prefix, sortUsing, suiteClass).loadTestsFromModule(module)
/external/python/cpython3/Lib/unittest/
Dloader.py497 def _makeLoader(prefix, sortUsing, suiteClass=None, testNamePatterns=None): argument
499 loader.sortTestMethodsUsing = sortUsing
506 def getTestCaseNames(testCaseClass, prefix, sortUsing=util.three_way_cmp, testNamePatterns=None): argument
507 …return _makeLoader(prefix, sortUsing, testNamePatterns=testNamePatterns).getTestCaseNames(testCase…
509 def makeSuite(testCaseClass, prefix='test', sortUsing=util.three_way_cmp, argument
511 return _makeLoader(prefix, sortUsing, suiteClass).loadTestsFromTestCase(
514 def findTestCases(module, prefix='test', sortUsing=util.three_way_cmp, argument
516 return _makeLoader(prefix, sortUsing, suiteClass).loadTestsFromModule(\