/external/lldb/test/unittest2/test/ |
test_new_tests.py | 4 import unittest2 namespace 6 from unittest2.test.support import resultFactory 9 class TestUnittest(unittest2.TestCase): 15 self.assertIsSubclass(unittest2.TestCase, unittest.TestCase) 16 self.assertIsSubclass(unittest2.TestResult, unittest.TestResult) 17 self.assertIsSubclass(unittest2.TestSuite, unittest.TestSuite) 18 self.assertIsSubclass(unittest2.TextTestRunner, unittest.TextTestRunner) 19 self.assertIsSubclass(unittest2.TestLoader, unittest.TestLoader) 20 self.assertIsSubclass(unittest2.TextTestResult, unittest.TestResult) 23 runner = unittest2.TextTestRunner(resultclass=resultFactory [all...] |
test_skipping.py | 1 from unittest2.test.support import LoggingResult 3 import unittest2 namespace 6 class Test_TestSkipping(unittest2.TestCase): 9 class Foo(unittest2.TestCase): 20 class Foo(unittest2.TestCase): 33 op_table = ((unittest2.skipUnless, False, True), 34 (unittest2.skipIf, True, False)) 36 class Foo(unittest2.TestCase): 47 suite = unittest2.TestSuite([test_do_skip, test_dont_skip]) 60 class Foo(unittest2.TestCase) [all...] |
test_runner.py | 4 from unittest2.test.support import LoggingResult, OldTestResult 6 import unittest2 namespace 9 class Test_TextTestRunner(unittest2.TestCase): 13 runner = unittest2.TextTestRunner() 18 self.assertEqual(runner.resultclass, unittest2.TextTestResult) 22 class Test(unittest2.TestCase): 25 result = unittest2.TestResult() 26 runner = unittest2.TextTestRunner(stream=StringIO(), failfast=True, 36 class Test(unittest2.TestCase): 39 originalRegisterResult = unittest2.runner.registerResul [all...] |
test_suite.py | 1 from unittest2.test.support import EqualityMixin, LoggingResult 4 import unittest2 namespace 7 class Foo(unittest2.TestCase): 14 return unittest2.TestSuite(Test.Foo(n) for n in names) 17 class Test_TestSuite(unittest2.TestCase, EqualityMixin): 23 eq_pairs = [(unittest2.TestSuite(), unittest2.TestSuite()), 24 (unittest2.TestSuite(), unittest2.TestSuite([])), 28 ne_pairs = [(unittest2.TestSuite(), _mk_TestSuite('test_1')) [all...] |
test_break.py | 12 import unittest2 namespace 15 class TestBreak(unittest2.TestCase): 22 unittest2.signals._results = weakref.WeakKeyDictionary() 23 unittest2.signals._interrupt_handler = None 28 unittest2.installHandler() 37 self.assertTrue(unittest2.signals._interrupt_handler.called) 40 result = unittest2.TestResult() 41 unittest2.registerResult(result) 43 for ref in unittest2.signals._results: 55 result = unittest2.TestResult( [all...] |
test_loader.py | 4 import unittest2 namespace 7 class Test_TestLoader(unittest2.TestCase): 15 class Foo(unittest2.TestCase): 20 tests = unittest2.TestSuite([Foo('test_1'), Foo('test_2')]) 22 loader = unittest2.TestLoader() 30 class Foo(unittest2.TestCase): 33 empty_suite = unittest2.TestSuite() 35 loader = unittest2.TestLoader() 48 class NotATestCase(unittest2.TestSuite): 51 loader = unittest2.TestLoader( [all...] |
test_program.py | 4 import unittest2 namespace 6 hasInstallHandler = hasattr(unittest2, 'installHandler') 8 class Test_TestProgram(unittest2.TestCase): 22 oldParseArgs = unittest2.TestProgram.parseArgs 24 unittest2.TestProgram.parseArgs = oldParseArgs 25 unittest2.TestProgram.parseArgs = lambda *args: None 29 del unittest2.TestProgram.test 30 unittest2.TestProgram.test = test 33 program = unittest2.TestProgram(testRunner=runner, exit=False, verbosity=2) 39 class FooBar(unittest2.TestCase) [all...] |
test_setups.py | 5 import unittest2 namespace 6 from unittest2.test.support import resultFactory 9 class TestSetups(unittest2.TestCase): 12 return unittest2.TextTestRunner(resultclass=resultFactory, 15 suite = unittest2.TestSuite() 17 tests = unittest2.defaultTestLoader.loadTestsFromTestCase(case) 23 realSuite = unittest2.TestSuite() 26 suite.addTest(unittest2.TestSuite()) 27 realSuite.addTest(unittest2.TestSuite()) 31 class Test(unittest2.TestCase) [all...] |
test_unittest2_with.py | 3 import unittest2 namespace 4 from unittest2.test.support import OldTestResult, catch_warnings 10 class TestWith(unittest2.TestCase): 96 class Test(unittest2.TestCase): 99 @unittest2.expectedFailure 102 @unittest2.expectedFailure 113 class Test(unittest2.TestCase): 121 class Test(unittest2.TestCase): 124 Test = unittest2.skip('no reason')(Test) 143 unittest2.main( [all...] |
test_functiontestcase.py | 1 import unittest2 namespace 3 from unittest2.test.support import LoggingResult 6 class Test_FunctionTestCase(unittest2.TestCase): 9 # unittest2.TestCase instances, this will always be 1" 11 test = unittest2.FunctionTestCase(lambda: None) 37 unittest2.FunctionTestCase(test, setUp, tearDown).run(result) 63 unittest2.FunctionTestCase(test, setUp, tearDown).run(result) 89 unittest2.FunctionTestCase(test, setUp, tearDown).run(result) 115 unittest2.FunctionTestCase(test, setUp, tearDown).run(result) 125 test = unittest2.FunctionTestCase(lambda: None [all...] |
/external/lldb/test/unittest2/ |
__main__.py | 5 sys.argv[0] = "unittest2" 9 from unittest2.main import main_
|
__init__.py | 2 unittest2 4 unittest2 is a backport of the new features added to the unittest testing 7 To use unittest2 instead of unittest simply replace ``import unittest`` with 8 ``import unittest2``. 40 from unittest2.collector import collector 41 from unittest2.result import TestResult 42 from unittest2.case import ( 46 from unittest2.suite import BaseTestSuite, TestSuite 47 from unittest2.loader import ( 51 from unittest2.main import TestProgram, main, main [all...] |
collector.py | 3 from unittest2.loader import defaultTestLoader
|
/external/lldb/test/functionalities/backticks/ |
TestBackticksWithoutATarget.py | 6 import unittest2 namespace 23 unittest2.main()
|
/external/lldb/test/types/ |
TestFloatTypes.py | 6 import unittest2 namespace 22 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 28 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 39 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 45 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 61 unittest2.main()
|
TestIntegerTypes.py | 6 import unittest2 namespace 22 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 28 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 39 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 45 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 56 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 62 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 73 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 79 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 90 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin" [all...] |
TestIntegerTypesExpr.py | 6 import unittest2 namespace 22 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 28 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 39 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 45 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 56 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 62 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 73 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 79 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 90 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin" [all...] |
TestFloatTypesExpr.py | 6 import unittest2 namespace 25 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 31 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 42 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 48 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 64 unittest2.main()
|
/external/lldb/test/expression_command/radar_8638051/ |
Test8638051.py | 6 import unittest2 namespace 43 unittest2.main()
|
/external/lldb/test/functionalities/platform/ |
TestPlatformCommand.py | 6 import unittest2 namespace 40 unittest2.main()
|
/external/lldb/test/lang/objc/hidden-ivars/ |
TestHiddenIvars.py | 4 import unittest2 namespace 13 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 21 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 29 @unittest2.expectedFailure 30 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 38 @unittest2.expectedFailure 39 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 119 unittest2.main()
|
/external/lldb/test/expression_command/two-files/ |
TestObjCTypeQueryFromOtherCompileUnit.py | 7 import unittest2 namespace 23 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 30 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 55 unittest2.main()
|
/external/lldb/test/functionalities/data-formatter/rdar-11628688/ |
TestFormattersBoolRefPtr.py | 6 import unittest2 namespace 16 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 23 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 68 unittest2.main()
|
/external/lldb/test/functionalities/process_attach/ |
TestProcessAttach.py | 6 import unittest2 namespace 15 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 28 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 84 unittest2.main()
|
/external/lldb/test/lang/c/blocks/ |
TestBlocks.py | 4 import unittest2 namespace 14 @unittest2.expectedFailure 20 @unittest2.expectedFailure 76 unittest2.main()
|