/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/ |
D | test_suite.py | 49 suite = unittest.TestSuite() 51 self.assertEqual(suite.countTestCases(), 0) 61 suite = unittest.TestSuite([]) 63 self.assertEqual(suite.countTestCases(), 0) 98 suite = unittest.TestSuite(tests()) 99 self.assertEqual(suite.countTestCases(), 2) 108 suite = unittest.TestSuite((test1, test2)) 110 self.assertEqual(list(suite), [test1, test2]) 118 suite = unittest.TestSuite() 120 self.assertEqual(suite.countTestCases(), 0) [all …]
|
D | test_loader.py | 75 suite = loader.loadTestsFromTestCase(Foo) 76 self.assertIsInstance(suite, loader.suiteClass) 77 self.assertEqual(list(suite), [Foo('runTest')]) 94 suite = loader.loadTestsFromModule(m) 95 self.assertIsInstance(suite, loader.suiteClass) 98 self.assertEqual(list(suite), expected) 107 suite = loader.loadTestsFromModule(m) 108 self.assertIsInstance(suite, loader.suiteClass) 109 self.assertEqual(list(suite), []) 121 suite = loader.loadTestsFromModule(m) [all …]
|
D | __init__.py | 9 def suite(): function 10 suite = unittest.TestSuite() 16 suite.addTest(loader.loadTestsFromModule(module)) 17 return suite
|
D | test_skipping.py | 44 suite = unittest.TestSuite([test_do_skip, test_dont_skip]) 47 suite.run(result) 64 suite = unittest.TestSuite([test]) 65 suite.run(result) 112 suite = unittest.TestSuite([test]) 113 suite.run(result) 132 suite = unittest.TestSuite([test]) 133 suite.run(result)
|
D | test_discovery.py | 60 suite = list(loader._find_tests(top_level, 'test*.py')) 66 self.assertEqual(suite, expected) 121 suite = list(loader._find_tests('/foo', 'test*')) 125 self.assertEqual(suite, 170 suite = loader.discover('/foo/bar/baz', 'pattern', '/foo/bar') 174 self.assertEqual(suite, "['tests']") 193 suite = loader.discover('.') 195 self.assertEqual(suite.countTestCases(), 1) 196 test = list(list(suite)[0])[0] # extract test from suite 356 suite = loader.discover('unittest.test') [all …]
|
D | test_setups.py | 18 suite = unittest.TestSuite() 21 suite.addTests(tests) 27 realSuite.addTest(suite) 29 suite.addTest(unittest.TestSuite()) 250 suite = unittest.TestSuite((first, second, third, fourth, fifth, sixth)) 253 result = runner.run(suite) 466 suite = unittest.defaultTestLoader.loadTestsFromTestCase(Test) 467 suite.debug() 499 suite = unittest.TestSuite() 500 suite.addTest(_suite) [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_sqlite.py | 11 run_unittest(dbapi.suite(), types.suite(), userfunctions.suite(), 12 py25tests.suite(), factory.suite(), transactions.suite(), 13 hooks.suite(), regression.suite(), dump.suite())
|
D | test_email_codecs.py | 10 suite = test_email_codecs.suite() 11 suite.addTest(test_email_codecs_renamed.suite()) 12 test_support.run_unittest(suite)
|
D | test_largefile.py | 177 suite = unittest.TestSuite() 185 suite.addTest(TestCase('test_seek')) 186 suite.addTest(TestCase('test_osstat')) 187 suite.addTest(TestCase('test_seek_read')) 188 suite.addTest(TestCase('test_lseek')) 191 suite.addTest(TestCase('test_truncate')) 192 suite.addTest(TestCase('test_seekable')) 195 run_unittest(suite)
|
D | test_email_renamed.py | 5 from email.test.test_email_renamed import suite 9 test_support.run_unittest(suite())
|
D | test_email.py | 5 from email.test.test_email import suite 9 test_support.run_unittest(suite())
|
D | test_parser.py | 31 suite = parser.suite("from __future__ import unicode_literals; x = ''") 32 code = suite.compile() 38 self.roundtrip(parser.suite, s) 262 st1 = parser.suite(code) 553 st = parser.suite('x = 2; y = x + 3') 560 st = parser.suite('1 = 3 + 4') 564 st = parser.suite('a = u"\U12345678"') 566 st = parser.suite('a = u"\u1"')
|
D | test_lib2to3.py | 8 def suite(): function 17 run_unittest(suite())
|
D | test_threading_local.py | 211 suite = unittest.TestSuite() 212 suite.addTest(DocTestSuite('_threading_local')) 213 suite.addTest(unittest.makeSuite(ThreadLocalTest)) 214 suite.addTest(unittest.makeSuite(PyThreadingLocalTest)) 227 suite.addTest(DocTestSuite('_threading_local', 231 test_support.run_unittest(suite)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/ |
D | fix_metaclass.py | 33 if node.type == syms.suite: 50 if node.type == syms.suite: 62 suite = Node(syms.suite, []) 65 suite.append_child(move_node.clone()) 67 cls_node.append_child(suite) 68 node = suite 103 if node.type == syms.suite: 123 def fixup_indent(suite): argument 127 kids = suite.children[::-1] 160 for suite, i, stmt in find_metas(node): [all …]
|
D | fix_tuple_params.py | 51 suite = results["suite"] 55 if suite[0].children[1].type == token.INDENT: 57 indent = suite[0].children[1].value 93 line.parent = suite[0] 99 elif is_docstring(suite[0].children[start]): 104 line.parent = suite[0] 105 suite[0].children[after:after] = new_lines 107 suite[0].children[i].prefix = indent 108 suite[0].changed()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/ |
D | __init__.py | 48 suite = additional_tests() 55 suite.addTests(loader.loadTestsFromModule(module)) 56 return suite 59 suite = unittest.TestSuite() 61 suite.addTest(doctest.DocTestSuite(mod)) 62 suite.addTest(TestPyTest('test_pyjson')) 63 suite.addTest(TestCTest('test_cjson')) 64 return suite 67 suite = test_suite() 69 runner.run(suite)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/ |
D | __init__.py | 48 suite = additional_tests() 55 suite.addTests(loader.loadTestsFromModule(module)) 56 return suite 59 suite = unittest.TestSuite() 61 suite.addTest(doctest.DocTestSuite(mod)) 62 suite.addTest(TestPyTest('test_pyjson')) 63 suite.addTest(TestCTest('test_cjson')) 64 return suite 67 suite = test_suite() 69 runner.run(suite)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Grammar/ |
D | Grammar | 25 funcdef: 'def' NAME parameters ':' suite 66 if_stmt: 'if' test ':' suite ('elif' test ':' suite)* ['else' ':' suite] 67 while_stmt: 'while' test ':' suite ['else' ':' suite] 68 for_stmt: 'for' exprlist 'in' testlist ':' suite ['else' ':' suite] 69 try_stmt: ('try' ':' suite 70 ((except_clause ':' suite)+ 71 ['else' ':' suite] 72 ['finally' ':' suite] | 73 'finally' ':' suite)) 74 with_stmt: 'with' with_item (',' with_item)* ':' suite [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/ |
D | Grammar.txt | 37 funcdef: 'def' NAME parameters ['->' test] ':' suite 86 if_stmt: 'if' test ':' suite ('elif' test ':' suite)* ['else' ':' suite] 87 while_stmt: 'while' test ':' suite ['else' ':' suite] 88 for_stmt: 'for' exprlist 'in' testlist ':' suite ['else' ':' suite] 89 try_stmt: ('try' ':' suite 90 ((except_clause ':' suite)+ 91 ['else' ':' suite] 92 ['finally' ':' suite] | 93 'finally' ':' suite)) 94 with_stmt: 'with' with_item (',' with_item)* ':' suite [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/ |
D | __init__.py | 25 suite = unittest.TestSuite() 31 suite.addTest(module.test_suite()) 32 return suite
|
D | test_sysconfig.py | 76 suite = unittest.TestSuite() 77 suite.addTest(unittest.makeSuite(SysconfigTestCase)) 78 return suite
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/ |
D | test_email_codecs.py | 65 def suite(): function 66 suite = unittest.TestSuite() 67 suite.addTest(unittest.makeSuite(TestEmailAsianCodecs)) 68 return suite
|
D | test_email_codecs_renamed.py | 65 def suite(): function 66 suite = unittest.TestSuite() 67 suite.addTest(unittest.makeSuite(TestEmailAsianCodecs)) 68 return suite
|
D | test_email_torture.py | 122 def suite(): function 123 suite = unittest.TestSuite() 125 suite.addTest(unittest.makeSuite(testclass)) 126 return suite
|