/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/unittest2/ |
__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...] |
__main__.py | 5 sys.argv[0] = "unittest2" 9 from unittest2.main import main_
|
/external/lldb/test/unittest2/ |
__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...] |
__main__.py | 5 sys.argv[0] = "unittest2" 9 from unittest2.main import main_
|
/external/lldb/test/unittest2/test/ |
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_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_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_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_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...] |
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_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...] |
/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()
|
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()
|
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...] |
/external/lldb/test/lang/cpp/rdar12991846/ |
TestRdar12991846.py | 7 import unittest2 namespace 29 @unittest2.expectedFailure 30 @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") 37 @unittest2.expectedFailure 84 unittest2.main()
|
/external/lldb/test/expression_command/radar_8638051/ |
Test8638051.py | 6 import unittest2 namespace 43 unittest2.main()
|
/external/lldb/test/functionalities/command_script/import/rdar-12586188/ |
TestRdar12586188.py | 4 import unittest2 namespace 33 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/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/ |
newstringio_unittest.py | 31 import webkitpy.thirdparty.unittest2 as unittest
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
environment_unittest.py | 29 import webkitpy.thirdparty.unittest2 as unittest
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/ |
builders_unittest.py | 30 import webkitpy.thirdparty.unittest2 as unittest
|