/external/protobuf/src/google/protobuf/ |
D | test_util_lite.cc | 48 void TestUtilLite::SetAllFields(unittest::TestAllTypesLite* message) { in SetAllFields() 72 message->set_optional_nested_enum (unittest::TestAllTypesLite::BAZ ); in SetAllFields() 73 message->set_optional_foreign_enum(unittest::FOREIGN_LITE_BAZ ); in SetAllFields() 101 message->add_repeated_nested_enum (unittest::TestAllTypesLite::BAR ); in SetAllFields() 102 message->add_repeated_foreign_enum(unittest::FOREIGN_LITE_BAR ); in SetAllFields() 129 message->add_repeated_nested_enum (unittest::TestAllTypesLite::BAZ ); in SetAllFields() 130 message->add_repeated_foreign_enum(unittest::FOREIGN_LITE_BAZ ); in SetAllFields() 152 message->set_default_nested_enum (unittest::TestAllTypesLite::FOO ); in SetAllFields() 153 message->set_default_foreign_enum(unittest::FOREIGN_LITE_FOO ); in SetAllFields() 165 void TestUtilLite::ModifyRepeatedFields(unittest::TestAllTypesLite* message) { in ModifyRepeatedFields() [all …]
|
D | extension_set_unittest.cc | 63 unittest::TestAllExtensions message; in TEST() 70 EXPECT_EQ(&unittest::OptionalGroup_extension::default_instance(), in TEST() 71 &message.GetExtension(unittest::optionalgroup_extension)); in TEST() 72 EXPECT_EQ(&unittest::TestAllTypes::NestedMessage::default_instance(), in TEST() 73 &message.GetExtension(unittest::optional_nested_message_extension)); in TEST() 74 EXPECT_EQ(&unittest::ForeignMessage::default_instance(), in TEST() 76 unittest::optional_foreign_message_extension)); in TEST() 78 &message.GetExtension(unittest::optional_import_message_extension)); in TEST() 84 unittest::TestAllExtensions message; in TEST() 96 unittest::TestAllExtensions message; in TEST() [all …]
|
D | test_util.cc | 52 void TestUtil::SetAllFields(unittest::TestAllTypes* message) { in SetAllFields() 60 void TestUtil::SetOptionalFields(unittest::TestAllTypes* message) { in SetOptionalFields() 84 message->set_optional_nested_enum (unittest::TestAllTypes::BAZ); in SetOptionalFields() 85 message->set_optional_foreign_enum(unittest::FOREIGN_BAZ ); in SetOptionalFields() 104 void TestUtil::AddRepeatedFields1(unittest::TestAllTypes* message) { in AddRepeatedFields1() 127 message->add_repeated_nested_enum (unittest::TestAllTypes::BAR); in AddRepeatedFields1() 128 message->add_repeated_foreign_enum(unittest::FOREIGN_BAR ); in AddRepeatedFields1() 143 void TestUtil::AddRepeatedFields2(unittest::TestAllTypes* message) { in AddRepeatedFields2() 167 message->add_repeated_nested_enum (unittest::TestAllTypes::BAZ); in AddRepeatedFields2() 168 message->add_repeated_foreign_enum(unittest::FOREIGN_BAZ ); in AddRepeatedFields2() [all …]
|
D | test_util.h | 46 namespace unittest = ::protobuf_unittest; variable 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); 60 static void SetAllFieldsAndExtensions(unittest::TestFieldOrderings* message); [all …]
|
D | test_util_lite.h | 43 namespace unittest = protobuf_unittest; variable 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 …]
|
D | reflection_ops_unittest.cc | 51 unittest::TestAllTypes message; in TEST() 58 unittest::TestAllTypes message, message2; in TEST() 72 unittest::TestAllExtensions message, message2; in TEST() 82 unittest::TestOneof2 message, message2; in TEST() 97 unittest::TestAllTypes message, message2; in TEST() 124 unittest::TestAllExtensions message, message2; in TEST() 129 message2.SetExtension(unittest::optional_int32_extension, in TEST() 130 message.GetExtension(unittest::optional_int32_extension)); in TEST() 131 message.ClearExtension(unittest::optional_int32_extension); in TEST() 134 message2.SetExtension(unittest::optional_string_extension, in TEST() [all …]
|
D | generated_message_reflection_unittest.cc | 62 unittest::TestAllTypes::descriptor()->FindFieldByName(name); in F() 69 unittest::TestAllTypes message; in TEST() 71 unittest::TestAllTypes::descriptor()); in TEST() 80 EXPECT_EQ(&unittest::TestAllTypes::OptionalGroup::default_instance(), in TEST() 82 EXPECT_EQ(&unittest::TestAllTypes::NestedMessage::default_instance(), in TEST() 84 EXPECT_EQ(&unittest::ForeignMessage::default_instance(), in TEST() 93 unittest::TestAllTypes message; in TEST() 95 unittest::TestAllTypes::descriptor()); in TEST() 108 unittest::TestAllTypes message; in TEST() 130 unittest::TestAllTypes message; in TEST() [all …]
|
D | wire_format_unittest.cc | 79 unittest::TestAllTypes source, dest; in TEST() 96 unittest::TestAllExtensions source, dest; in TEST() 113 unittest::TestPackedTypes source, dest; in TEST() 131 unittest::TestUnpackedTypes source; in TEST() 136 unittest::TestPackedTypes dest; in TEST() 147 unittest::TestPackedTypes source; in TEST() 152 unittest::TestUnpackedTypes dest; in TEST() 162 unittest::TestPackedExtensions source, dest; in TEST() 179 unittest::TestOneof2 source, dest; in TEST() 196 unittest::TestOneofBackwardsCompatible source; in TEST() [all …]
|
D | message_unittest.cc | 112 unittest::TestAllTypes message; in TEST() 125 unittest::TestPackedTypes message; in TEST() 181 unittest::TestRequired message; in TEST() 197 unittest::TestRequired message; in TEST() 204 unittest::TestRequired message; in TEST() 211 unittest::TestRequired message; in TEST() 219 unittest::TestRequired message; in TEST() 226 unittest::TestAllTypes message; in TEST() 246 unittest::TestRequired message; in TEST() 253 unittest::TestRequired message; in TEST() [all …]
|
D | unknown_field_set_unittest.cc | 59 descriptor_ = unittest::TestAllTypes::descriptor(); in SetUp() 81 unittest::TestEmptyMessage bizarro_message; in GetBizarroData() 99 unittest::TestAllTypes all_fields_; 104 unittest::TestEmptyMessage empty_message_; 178 unittest::TestAllTypes::OptionalGroup::descriptor()->FindFieldByName("a"); in TEST_F() 225 unittest::TestEmptyMessage message; in TEST_F() 254 unittest::TestEmptyMessage message; in TEST_F() 262 unittest::TestEmptyMessage other_message; in TEST_F() 286 unittest::TestEmptyMessage source, destination; in TEST_F() 323 unittest::TestEmptyMessage source; in TEST_F() [all …]
|
/external/v8/test/unittests/ |
D | unittests.gyp | 26 'atomic-utils-unittest.cc', 27 'base/bits-unittest.cc', 28 'base/cpu-unittest.cc', 29 'base/division-by-constant-unittest.cc', 30 'base/flags-unittest.cc', 31 'base/functional-unittest.cc', 32 'base/logging-unittest.cc', 33 'base/iterator-unittest.cc', 34 'base/platform/condition-variable-unittest.cc', 35 'base/platform/mutex-unittest.cc', [all …]
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_unittest.cc | 106 unittest::TestAllTypes::descriptor()->file(); in TEST() 136 unittest::TestAllTypes message; in TEST() 143 EXPECT_EQ(&unittest::TestAllTypes::OptionalGroup::default_instance(), in TEST() 145 EXPECT_EQ(&unittest::TestAllTypes::NestedMessage::default_instance(), in TEST() 147 EXPECT_EQ(&unittest::ForeignMessage::default_instance(), in TEST() 167 const unittest::TestExtremeDefaultValues& extreme_default = in TEST() 168 unittest::TestExtremeDefaultValues::default_instance(); in TEST() 190 const unittest::TestExtremeDefaultValues& extreme_default = in TEST() 191 unittest::TestExtremeDefaultValues::default_instance(); in TEST() 197 const unittest::TestExtremeDefaultValues& extreme_default = in TEST() [all …]
|
/external/antlr/antlr-3.4/runtime/Python/unittests/ |
D | 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/antlr/antlr-3.4/runtime/Python/ |
D | xmlrunner.py | 15 import unittest 85 class _XMLTestResult(unittest.TestResult): 94 unittest.TestResult.__init__(self) 102 unittest.TestResult.startTest(self, test) 109 unittest.TestResult.stopTest(self, test) 119 unittest.TestResult.addError(self, test, err) 123 unittest.TestResult.addFailure(self, test, err) 216 class XMLTestRunnerTest(unittest.TestCase): 231 runner.run(unittest.makeSuite(test_class)) 249 class TestTest(unittest.TestCase): [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/fps/ |
D | test.py | 3 from tests.unit import unittest 21 class FPSTestCase(unittest.TestCase): 31 @unittest.skipUnless(simple, "skipping simple test") 44 @unittest.skipUnless(simple, "skipping simple test") 51 @unittest.skipUnless(simple, "skipping simple test") 56 @unittest.skipUnless(simple, "skipping simple test") 68 @unittest.skipUnless(simple, "skipping simple test") 79 @unittest.skipUnless(advanced, "skipping advanced test") 86 @unittest.skip('cosmetic') 94 @unittest.skip('cosmetic') [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/test/type/ |
D | test_constraint.py | 7 import unittest2 as unittest namespace 9 import unittest 11 import unittest 13 class SingleValueConstraintTestCase(unittest.TestCase): 33 class ContainedSubtypeConstraintTestCase(unittest.TestCase): 52 class ValueRangeConstraintTestCase(unittest.TestCase): 69 class ValueSizeConstraintTestCase(unittest.TestCase): 104 class ConstraintsIntersectionTestCase(unittest.TestCase): 143 class InnerTypeConstraintTestCase(unittest.TestCase): 183 class ConstraintsIntersectionTestCase(unittest.TestCase): [all …]
|
D | suite.py | 7 import unittest2 as unittest namespace 9 import unittest 11 import unittest 13 suite = unittest.TestSuite() 14 loader = unittest.TestLoader() 18 def runTests(): unittest.TextTestRunner(verbosity=2).run(suite)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/mws/ |
D | test.py | 28 from tests.compat import unittest 31 class MWSTestCase(unittest.TestCase): 36 @unittest.skipUnless(simple and isolator, "skipping simple test") 40 @unittest.skipUnless(simple and isolator, "skipping simple test") 60 @unittest.skipUnless(simple and isolator, "skipping simple test") 66 @unittest.skipUnless(simple and isolator, "skipping simple test") 76 @unittest.skipUnless(simple and isolator, "skipping simple test") 84 @unittest.skipUnless(simple and isolator, "skipping simple test") 93 @unittest.skipUnless(simple and isolator, "skipping simple test") 104 @unittest.skipUnless(simple and isolator, "skipping simple test") [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/test/codec/ber/ |
D | suite.py | 9 import unittest2 as unittest namespace 11 import unittest 13 import unittest 15 suite = unittest.TestSuite() 16 loader = unittest.TestLoader() 20 def runTests(): unittest.TextTestRunner(verbosity=2).run(suite)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/test/codec/cer/ |
D | suite.py | 9 import unittest2 as unittest namespace 11 import unittest 13 import unittest 15 suite = unittest.TestSuite() 16 loader = unittest.TestLoader() 20 def runTests(): unittest.TextTestRunner(verbosity=2).run(suite)
|
D | test_decoder.py | 9 import unittest2 as unittest namespace 11 import unittest 13 import unittest 15 class BooleanDecoderTestCase(unittest.TestCase): 21 class OctetStringDecoderTestCase(unittest.TestCase): 31 if __name__ == '__main__': unittest.main()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/test/codec/der/ |
D | suite.py | 9 import unittest2 as unittest namespace 11 import unittest 13 import unittest 15 suite = unittest.TestSuite() 16 loader = unittest.TestLoader() 20 def runTests(): unittest.TextTestRunner(verbosity=2).run(suite)
|
D | test_encoder.py | 9 import unittest2 as unittest namespace 11 import unittest 13 import unittest 15 class OctetStringEncoderTestCase(unittest.TestCase): 21 class BitStringEncoderTestCase(unittest.TestCase): 27 class SetWithChoiceEncoderTestCase(unittest.TestCase): 44 if __name__ == '__main__': unittest.main()
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/ |
D | run_tests | 13 import unittest 17 if hasattr(unittest.TestLoader, 'discover'): 18 return unittest.TestLoader().discover(dir, '*') 21 loader = unittest.TestLoader() 49 new_suite = unittest.TestSuite() 51 if isinstance(t, unittest.TestSuite): 55 elif isinstance(t, unittest.TestCase): 64 return unittest.TestSuite(subsuites) 99 unittest.TestCase.failureException = DebuggingAssertionError 131 r = unittest.TextTestRunner() [all …]
|
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/ |
D | test_whitespace_filter.py | 3 import unittest 10 unittest.TestCase.assertEqual 12 unittest.TestCase.assertEqual = unittest.TestCase.assertEquals 15 class TestCase(unittest.TestCase): 125 return unittest.defaultTestLoader.loadTestsFromName(__name__) 130 unittest.main()
|