/external/chromium_org/third_party/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() 160 void TestUtilLite::ModifyRepeatedFields(unittest::TestAllTypesLite* message) { in ModifyRepeatedFields() [all …]
|
D | test_util.cc | 52 void TestUtil::SetAllFields(unittest::TestAllTypes* message) { in SetAllFields() 59 void TestUtil::SetOptionalFields(unittest::TestAllTypes* message) { in SetOptionalFields() 83 message->set_optional_nested_enum (unittest::TestAllTypes::BAZ); in SetOptionalFields() 84 message->set_optional_foreign_enum(unittest::FOREIGN_BAZ ); in SetOptionalFields() 103 void TestUtil::AddRepeatedFields1(unittest::TestAllTypes* message) { in AddRepeatedFields1() 126 message->add_repeated_nested_enum (unittest::TestAllTypes::BAR); in AddRepeatedFields1() 127 message->add_repeated_foreign_enum(unittest::FOREIGN_BAR ); in AddRepeatedFields1() 142 void TestUtil::AddRepeatedFields2(unittest::TestAllTypes* message) { in AddRepeatedFields2() 166 message->add_repeated_nested_enum (unittest::TestAllTypes::BAZ); in AddRepeatedFields2() 167 message->add_repeated_foreign_enum(unittest::FOREIGN_BAZ ); in AddRepeatedFields2() [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.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 SetAllExtensions(unittest::TestAllExtensions* message); 58 static void SetAllFieldsAndExtensions(unittest::TestFieldOrderings* message); 59 static void SetPackedFields(unittest::TestPackedTypes* message); 60 static void SetPackedExtensions(unittest::TestPackedExtensions* 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() 85 unittest::TestAllTypes message, message2; in TEST() 112 unittest::TestAllExtensions message, message2; in TEST() 117 message2.SetExtension(unittest::optional_int32_extension, in TEST() 118 message.GetExtension(unittest::optional_int32_extension)); in TEST() 119 message.ClearExtension(unittest::optional_int32_extension); in TEST() 122 message2.SetExtension(unittest::optional_string_extension, in TEST() 123 message.GetExtension(unittest::optional_string_extension)); in TEST() [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 | 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 | 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() 228 unittest::TestRequired message; in TEST() 235 unittest::TestRequired message; in TEST() 245 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::TestAllTypes message; in TEST() 189 unittest::TestAllExtensions message; in TEST() [all …]
|
/external/protobuf/src/google/protobuf/ |
D | test_util_lite.cc | 48 void TestUtilLite::SetAllFields(unittest::TestAllTypesLite* message) { in SetAllFields() 70 message->set_optional_nested_enum (unittest::TestAllTypesLite::BAZ ); in SetAllFields() 71 message->set_optional_foreign_enum(unittest::FOREIGN_LITE_BAZ ); in SetAllFields() 98 message->add_repeated_nested_enum (unittest::TestAllTypesLite::BAR ); in SetAllFields() 99 message->add_repeated_foreign_enum(unittest::FOREIGN_LITE_BAR ); in SetAllFields() 125 message->add_repeated_nested_enum (unittest::TestAllTypesLite::BAZ ); in SetAllFields() 126 message->add_repeated_foreign_enum(unittest::FOREIGN_LITE_BAZ ); in SetAllFields() 148 message->set_default_nested_enum (unittest::TestAllTypesLite::FOO ); in SetAllFields() 149 message->set_default_foreign_enum(unittest::FOREIGN_LITE_FOO ); in SetAllFields() 156 void TestUtilLite::ModifyRepeatedFields(unittest::TestAllTypesLite* message) { in ModifyRepeatedFields() [all …]
|
D | test_util.cc | 52 void TestUtil::SetAllFields(unittest::TestAllTypes* message) { in SetAllFields() 74 message->set_optional_nested_enum (unittest::TestAllTypes::BAZ); in SetAllFields() 75 message->set_optional_foreign_enum(unittest::FOREIGN_BAZ ); in SetAllFields() 114 message->add_repeated_nested_enum (unittest::TestAllTypes::BAR); in SetAllFields() 115 message->add_repeated_foreign_enum(unittest::FOREIGN_BAR ); in SetAllFields() 151 message->add_repeated_nested_enum (unittest::TestAllTypes::BAZ); in SetAllFields() 152 message->add_repeated_foreign_enum(unittest::FOREIGN_BAZ ); in SetAllFields() 184 message->set_default_nested_enum (unittest::TestAllTypes::FOO); in SetAllFields() 185 message->set_default_foreign_enum(unittest::FOREIGN_FOO ); in SetAllFields() 202 void TestUtil::ModifyRepeatedFields(unittest::TestAllTypes* message) { in ModifyRepeatedFields() [all …]
|
D | extension_set_unittest.cc | 61 unittest::TestAllExtensions message; in TEST() 68 EXPECT_EQ(&unittest::OptionalGroup_extension::default_instance(), in TEST() 69 &message.GetExtension(unittest::optionalgroup_extension)); in TEST() 70 EXPECT_EQ(&unittest::TestAllTypes::NestedMessage::default_instance(), in TEST() 71 &message.GetExtension(unittest::optional_nested_message_extension)); in TEST() 72 EXPECT_EQ(&unittest::ForeignMessage::default_instance(), in TEST() 74 unittest::optional_foreign_message_extension)); in TEST() 76 &message.GetExtension(unittest::optional_import_message_extension)); in TEST() 82 unittest::TestAllExtensions message; in TEST() 94 unittest::TestAllExtensions message; in TEST() [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() 85 unittest::TestAllTypes message, message2; in TEST() 112 unittest::TestAllExtensions message, message2; in TEST() 117 message2.SetExtension(unittest::optional_int32_extension, in TEST() 118 message.GetExtension(unittest::optional_int32_extension)); in TEST() 119 message.ClearExtension(unittest::optional_int32_extension); in TEST() 122 message2.SetExtension(unittest::optional_string_extension, in TEST() 123 message.GetExtension(unittest::optional_string_extension)); in TEST() [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 | test_util.h | 46 namespace unittest = protobuf_unittest; variable 52 static void SetAllFields(unittest::TestAllTypes* message); 53 static void SetAllExtensions(unittest::TestAllExtensions* message); 54 static void SetAllFieldsAndExtensions(unittest::TestFieldOrderings* message); 55 static void SetPackedFields(unittest::TestPackedTypes* message); 56 static void SetPackedExtensions(unittest::TestPackedExtensions* message); 57 static void SetUnpackedFields(unittest::TestUnpackedTypes* message); 63 static void ModifyRepeatedFields(unittest::TestAllTypes* message); 64 static void ModifyRepeatedExtensions(unittest::TestAllExtensions* message); 65 static void ModifyPackedFields(unittest::TestPackedTypes* message); [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::TestAllTypes message; in TEST() 189 unittest::TestAllExtensions message; in TEST() [all …]
|
D | unknown_field_set_unittest.cc | 61 descriptor_ = unittest::TestAllTypes::descriptor(); in SetUp() 83 unittest::TestEmptyMessage bizarro_message; in GetBizarroData() 101 unittest::TestAllTypes all_fields_; 106 unittest::TestEmptyMessage empty_message_; 173 unittest::TestAllTypes::OptionalGroup::descriptor()->FindFieldByName("a"); in TEST_F() 220 unittest::TestEmptyMessage message; in TEST_F() 249 unittest::TestEmptyMessage message; in TEST_F() 257 unittest::TestEmptyMessage other_message; in TEST_F() 281 unittest::TestEmptyMessage source, destination; in TEST_F() 309 unittest::TestEmptyMessage source; in TEST_F() [all …]
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_unittest.cc | 104 unittest::TestAllTypes::descriptor()->file(); in TEST() 134 unittest::TestAllTypes message; in TEST() 141 EXPECT_EQ(&unittest::TestAllTypes::OptionalGroup::default_instance(), in TEST() 143 EXPECT_EQ(&unittest::TestAllTypes::NestedMessage::default_instance(), in TEST() 145 EXPECT_EQ(&unittest::ForeignMessage::default_instance(), in TEST() 152 const unittest::TestExtremeDefaultValues& extreme_default = in TEST() 153 unittest::TestExtremeDefaultValues::default_instance(); in TEST() 175 const unittest::TestExtremeDefaultValues& extreme_default = in TEST() 176 unittest::TestExtremeDefaultValues::default_instance(); in TEST() 182 const unittest::TestExtremeDefaultValues& extreme_default = in TEST() [all …]
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_unittest.cc | 100 unittest::TestAllTypes::descriptor()->file(); in TEST() 130 unittest::TestAllTypes message; in TEST() 137 EXPECT_EQ(&unittest::TestAllTypes::OptionalGroup::default_instance(), in TEST() 139 EXPECT_EQ(&unittest::TestAllTypes::NestedMessage::default_instance(), in TEST() 141 EXPECT_EQ(&unittest::ForeignMessage::default_instance(), in TEST() 148 const unittest::TestExtremeDefaultValues& extreme_default = in TEST() 149 unittest::TestExtremeDefaultValues::default_instance(); in TEST() 173 unittest::TestAllTypes message; in TEST() 185 unittest::TestAllTypes message; in TEST() 201 unittest::TestAllTypes message; 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/chromium-trace/trace-viewer/src/base/unittest/ |
D | assertions.js | 26 throw new base.unittest.TestError(message); 33 throw new base.unittest.TestError(message); 40 throw new base.unittest.TestError(message); 47 throw new base.unittest.TestError(message); 54 throw new base.unittest.TestError(message); 61 throw new base.unittest.TestError(message); 69 throw new base.unittest.TestError(message); 76 throw new base.unittest.TestError(message); 90 throw new base.unittest.TestError(message); 104 throw new base.unittest.TestError(message); [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_org/chrome/test/chromedriver/test/ |
D | unittest_util.py | 9 import unittest 12 class _TextTestResult(unittest._TextTestResult): 24 unittest._TextTestResult.__init__(self, stream, descriptions, verbosity) 36 unittest.TestResult.startTest(self, test) 40 unittest.TestResult.addSuccess(self, test) 44 unittest.TestResult.addError(self, test, err) 49 unittest.TestResult.addFailure(self, test, err) 57 class TextTestRunner(unittest.TextTestRunner): 64 unittest.TextTestRunner.__init__(self, stream=sys.stderr, 75 if isinstance(x, unittest.TestSuite): [all …]
|
/external/chromium_org/build/util/lib/common/ |
D | unittest_util.py | 9 import unittest 12 class _TextTestResult(unittest._TextTestResult): 24 unittest._TextTestResult.__init__(self, stream, descriptions, verbosity) 36 unittest.TestResult.startTest(self, test) 40 unittest.TestResult.addSuccess(self, test) 44 unittest.TestResult.addError(self, test, err) 49 unittest.TestResult.addFailure(self, test, err) 57 class TextTestRunner(unittest.TextTestRunner): 64 unittest.TextTestRunner.__init__(self, stream=sys.stderr, 75 if isinstance(x, unittest.TestSuite): [all …]
|