/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/test/ |
test_break.py | 10 import unittest 13 @unittest.skipUnless(hasattr(os, 'kill'), "Test requires os.kill") 14 @unittest.skipIf(sys.platform =="win32", "Test cannot run on Windows") 15 @unittest.skipIf(sys.platform == 'freebsd6', "Test kills regrtest on freebsd6 " 17 class TestBreak(unittest.TestCase): 27 unittest.signals._results = weakref.WeakKeyDictionary() 28 unittest.signals._interrupt_handler = None 33 unittest.installHandler() 42 self.assertTrue(unittest.signals._interrupt_handler.called) 45 result = unittest.TestResult( [all...] |
test_suite.py | 1 import unittest 11 class Foo(unittest.TestCase): 18 return unittest.TestSuite(Test.Foo(n) for n in names) 23 class Test_TestSuite(unittest.TestCase, TestEquality): 29 eq_pairs = [(unittest.TestSuite(), unittest.TestSuite()), 30 (unittest.TestSuite(), unittest.TestSuite([])), 34 ne_pairs = [(unittest.TestSuite(), _mk_TestSuite('test_1')), 35 (unittest.TestSuite([]), _mk_TestSuite('test_1')) [all...] |
test_skipping.py | 1 import unittest 6 class Test_TestSkipping(unittest.TestCase): 9 class Foo(unittest.TestCase): 20 class Foo(unittest.TestCase): 33 op_table = ((unittest.skipUnless, False, True), 34 (unittest.skipIf, True, False)) 36 class Foo(unittest.TestCase): 44 suite = unittest.TestSuite([test_do_skip, test_dont_skip]) 57 @unittest.skip("testing") 58 class Foo(unittest.TestCase) [all...] |
/external/antlr/antlr-3.4/runtime/Python/unittests/ |
testexceptions.py | 1 import unittest 6 class TestRecognitionException(unittest.TestCase): 15 class TestEarlyExitException(unittest.TestCase): 25 class TestFailedPredicateException(unittest.TestCase): 35 class TestMismatchedNotSetException(unittest.TestCase): 45 class TestMismatchedRangeException(unittest.TestCase): 55 class TestMismatchedSetException(unittest.TestCase): 65 class TestMismatchedTokenException(unittest.TestCase): 75 class TestMismatchedTreeNodeException(unittest.TestCase): 85 class TestNoViableAltException(unittest.TestCase) [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/mturk/ |
all_tests.py | 2 import unittest 17 class Program(unittest.TestProgram): 19 self.test = unittest.TestSuite([self.test, doctest_suite])
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_ctypes.py | 1 import unittest 11 suites = [unittest.makeSuite(t) for t in testcases] 12 run_unittest(unittest.TestSuite(suites))
|
test_lib2to3.py | 5 import unittest 9 tests = unittest.TestSuite() 10 loader = unittest.TestLoader()
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_ctypes.py | 1 import unittest 11 suites = [unittest.makeSuite(t) for t in testcases] 12 run_unittest(unittest.TestSuite(suites))
|
test_lib2to3.py | 5 import unittest 9 tests = unittest.TestSuite() 10 loader = unittest.TestLoader()
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_ctypes.py | 1 import unittest 11 suites = [unittest.makeSuite(t) for t in testcases] 12 run_unittest(unittest.TestSuite(suites))
|
test_lib2to3.py | 5 import unittest 9 tests = unittest.TestSuite() 10 loader = unittest.TestLoader()
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_ctypes.py | 1 import unittest 11 suites = [unittest.makeSuite(t) for t in testcases] 12 run_unittest(unittest.TestSuite(suites))
|
test_lib2to3.py | 5 import unittest 9 tests = unittest.TestSuite() 10 loader = unittest.TestLoader()
|
/external/chromium-trace/catapult/systrace/profile_chrome/ |
run_tests | 3 exec python -m unittest discover profile_chrome '*_unittest.py' $@
|
/packages/apps/ContactsCommon/tests/bin/ |
test.sh | 3 adb shell am instrument -w com.android.contacts.common.unittest/android.test.InstrumentationTestRunner
|
/prebuilts/gdb/darwin-x86/lib/python2.7/unittest/test/ |
test_suite.py | 1 import unittest 11 class Foo(unittest.TestCase): 18 return unittest.TestSuite(Test.Foo(n) for n in names) 23 class Test_TestSuite(unittest.TestCase, TestEquality): 29 eq_pairs = [(unittest.TestSuite(), unittest.TestSuite()), 30 (unittest.TestSuite(), unittest.TestSuite([])), 34 ne_pairs = [(unittest.TestSuite(), _mk_TestSuite('test_1')), 35 (unittest.TestSuite([]), _mk_TestSuite('test_1')) [all...] |
test_skipping.py | 1 import unittest 6 class Test_TestSkipping(unittest.TestCase): 9 class Foo(unittest.TestCase): 20 class Foo(unittest.TestCase): 33 op_table = ((unittest.skipUnless, False, True), 34 (unittest.skipIf, True, False)) 36 class Foo(unittest.TestCase): 44 suite = unittest.TestSuite([test_do_skip, test_dont_skip]) 57 @unittest.skip("testing") 58 class Foo(unittest.TestCase) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/unittest/test/ |
test_suite.py | 1 import unittest 11 class Foo(unittest.TestCase): 18 return unittest.TestSuite(Test.Foo(n) for n in names) 23 class Test_TestSuite(unittest.TestCase, TestEquality): 29 eq_pairs = [(unittest.TestSuite(), unittest.TestSuite()), 30 (unittest.TestSuite(), unittest.TestSuite([])), 34 ne_pairs = [(unittest.TestSuite(), _mk_TestSuite('test_1')), 35 (unittest.TestSuite([]), _mk_TestSuite('test_1')) [all...] |
test_skipping.py | 1 import unittest 6 class Test_TestSkipping(unittest.TestCase): 9 class Foo(unittest.TestCase): 20 class Foo(unittest.TestCase): 33 op_table = ((unittest.skipUnless, False, True), 34 (unittest.skipIf, True, False)) 36 class Foo(unittest.TestCase): 44 suite = unittest.TestSuite([test_do_skip, test_dont_skip]) 57 @unittest.skip("testing") 58 class Foo(unittest.TestCase) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/test/ |
test_suite.py | 1 import unittest 11 class Foo(unittest.TestCase): 18 return unittest.TestSuite(Test.Foo(n) for n in names) 23 class Test_TestSuite(unittest.TestCase, TestEquality): 29 eq_pairs = [(unittest.TestSuite(), unittest.TestSuite()), 30 (unittest.TestSuite(), unittest.TestSuite([])), 34 ne_pairs = [(unittest.TestSuite(), _mk_TestSuite('test_1')), 35 (unittest.TestSuite([]), _mk_TestSuite('test_1')) [all...] |
test_skipping.py | 1 import unittest 6 class Test_TestSkipping(unittest.TestCase): 9 class Foo(unittest.TestCase): 20 class Foo(unittest.TestCase): 33 op_table = ((unittest.skipUnless, False, True), 34 (unittest.skipIf, True, False)) 36 class Foo(unittest.TestCase): 44 suite = unittest.TestSuite([test_do_skip, test_dont_skip]) 57 @unittest.skip("testing") 58 class Foo(unittest.TestCase) [all...] |
/external/protobuf/src/google/protobuf/ |
test_util.cc | 52 void TestUtil::SetAllFields(unittest::TestAllTypes* message) { 60 void TestUtil::SetOptionalFields(unittest::TestAllTypes* message) { 84 message->set_optional_nested_enum (unittest::TestAllTypes::BAZ); 85 message->set_optional_foreign_enum(unittest::FOREIGN_BAZ ); 104 void TestUtil::AddRepeatedFields1(unittest::TestAllTypes* message) { 127 message->add_repeated_nested_enum (unittest::TestAllTypes::BAR); 128 message->add_repeated_foreign_enum(unittest::FOREIGN_BAR ); 143 void TestUtil::AddRepeatedFields2(unittest::TestAllTypes* message) { 167 message->add_repeated_nested_enum (unittest::TestAllTypes::BAZ); 168 message->add_repeated_foreign_enum(unittest::FOREIGN_BAZ ) [all...] |
test_util.h | 41 #include <google/protobuf/unittest.pb.h> 46 namespace unittest = ::protobuf_unittest; 52 static void SetAllFields(unittest::TestAllTypes* message); 53 static void SetOptionalFields(unittest::TestAllTypes* message); 54 static void AddRepeatedFields1(unittest::TestAllTypes* message); 55 static void AddRepeatedFields2(unittest::TestAllTypes* message); 56 static void SetDefaultFields(unittest::TestAllTypes* message); 57 static void SetOneofFields(unittest::TestAllTypes* message); 58 static void SetAllExtensions(unittest::TestAllExtensions* message); 59 static void SetOneofFields(unittest::TestAllExtensions* message) [all...] |
test_util_lite.h | 43 namespace unittest = protobuf_unittest; 49 static void SetAllFields(unittest::TestAllTypesLite* message); 50 static void SetAllExtensions(unittest::TestAllExtensionsLite* message); 51 static void SetPackedFields(unittest::TestPackedTypesLite* message); 52 static void SetPackedExtensions(unittest::TestPackedExtensionsLite* message); 58 static void ModifyRepeatedFields(unittest::TestAllTypesLite* message); 60 unittest::TestAllExtensionsLite* message); 61 static void ModifyPackedFields(unittest::TestPackedTypesLite* message); 63 unittest::TestPackedExtensionsLite* message); 67 static void ExpectAllFieldsSet(const unittest::TestAllTypesLite& message) [all...] |
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t023scopes.py | 3 import unittest 20 unittest.main()
|