/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
D | SampleMessages.cs | 62 SingleImportEnum = ImportEnum.ImportBaz, in CreateFullTestAllTypes() 84 RepeatedImportEnum = { ImportEnum.ImportBaz, ImportEnum.Unspecified }, in CreateFullTestAllTypes() 114 OptionalImportEnum = Proto2.ImportEnum.ImportBaz, in CreateFullTestAllTypesProto2() 137 RepeatedImportEnum = { Proto2.ImportEnum.ImportBaz, Proto2.ImportEnum.ImportFoo }, in CreateFullTestAllTypesProto2() 166 message.SetExtension(OptionalImportEnumExtension, Proto2.ImportEnum.ImportBaz); in CreateFullTestAllExtensions() 189 …ion(RepeatedImportEnumExtension).AddRange(new[] { Proto2.ImportEnum.ImportBaz, Proto2.ImportEnum.I… in CreateFullTestAllExtensions()
|
D | GeneratedMessageTest.Proto2.cs | 26 Assert.AreEqual(ImportEnum.ImportFoo, message.OptionalImportEnum); in DefaultProto2Values() 77 Assert.AreEqual(ImportEnum.ImportBar, message.DefaultImportEnum); in DefaultProto2Values() 124 … Assert.AreEqual(ImportEnum.ImportFoo, message.GetExtension(OptionalImportEnumExtension)); in DefaultExtensionValues() 174 Assert.AreEqual(ImportEnum.ImportBar, message.GetExtension(DefaultImportEnumExtension)); in DefaultExtensionValues()
|
D | GeneratedMessageTest.cs | 72 Assert.AreEqual(ImportEnum.Unspecified, message.SingleImportEnum); in DefaultValues() 153 SingleImportEnum = ImportEnum.ImportBaz, in RoundTrip_SingleValues() 187 RepeatedImportEnum = { ImportEnum.ImportBaz, ImportEnum.Unspecified }, in RoundTrip_RepeatedValues()
|
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/ |
D | SampleMessages.cs | 59 SingleImportEnum = ImportEnum.ImportBaz, in CreateFullTestAllTypes() 81 RepeatedImportEnum = { ImportEnum.ImportBaz, ImportEnum.Unspecified }, in CreateFullTestAllTypes()
|
D | GeneratedMessageTest.cs | 71 Assert.AreEqual(ImportEnum.Unspecified, message.SingleImportEnum); in DefaultValues() 150 SingleImportEnum = ImportEnum.ImportBaz, in RoundTrip_SingleValues() 184 RepeatedImportEnum = { ImportEnum.ImportBaz, ImportEnum.Unspecified }, in RoundTrip_RepeatedValues()
|
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | GeneratedMessageTest.java | 100 builder.setOptionalImportEnum(UnittestImport.ImportEnum.IMPORT_BAR); in testUsingBuilderMultipleTimes() 101 builder.addRepeatedImportEnum(UnittestImport.ImportEnum.IMPORT_BAR); in testUsingBuilderMultipleTimes() 110 assertEquals(UnittestImport.ImportEnum.IMPORT_BAR, in testUsingBuilderMultipleTimes() 112 assertEquals(UnittestImport.ImportEnum.IMPORT_BAR, in testUsingBuilderMultipleTimes() 120 builder.setOptionalImportEnum(UnittestImport.ImportEnum.IMPORT_FOO); in testUsingBuilderMultipleTimes() 121 builder.setRepeatedImportEnum(0, UnittestImport.ImportEnum.IMPORT_FOO); in testUsingBuilderMultipleTimes() 130 assertEquals(UnittestImport.ImportEnum.IMPORT_BAR, in testUsingBuilderMultipleTimes() 132 assertEquals(UnittestImport.ImportEnum.IMPORT_BAR, in testUsingBuilderMultipleTimes() 140 assertEquals(UnittestImport.ImportEnum.IMPORT_FOO, in testUsingBuilderMultipleTimes() 142 assertEquals(UnittestImport.ImportEnum.IMPORT_FOO, in testUsingBuilderMultipleTimes() [all …]
|
D | TestUtil.java | 140 import com.google.protobuf.test.UnittestImport.ImportEnum; 258 message.setOptionalImportEnum (ImportEnum.IMPORT_BAZ); in setAllFields() 294 message.addRepeatedImportEnum (ImportEnum.IMPORT_BAR); in setAllFields() 329 message.addRepeatedImportEnum (ImportEnum.IMPORT_BAZ); in setAllFields() 354 message.setDefaultImportEnum (ImportEnum.IMPORT_FOO); in setAllFields() 396 message.setRepeatedImportEnum (1, ImportEnum.IMPORT_FOO); in modifyRepeatedFields() 467 Assert.assertEquals(ImportEnum.IMPORT_BAZ, message.getOptionalImportEnum()); in assertAllFieldsSet() 526 Assert.assertEquals(ImportEnum.IMPORT_BAR, message.getRepeatedImportEnum(0)); in assertAllFieldsSet() 555 Assert.assertEquals(ImportEnum.IMPORT_BAZ, message.getRepeatedImportEnum(1)); in assertAllFieldsSet() 603 Assert.assertEquals(ImportEnum.IMPORT_FOO, message.getDefaultImportEnum()); in assertAllFieldsSet() [all …]
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/ |
D | UnittestImportProto3.cs | 35 …new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Protobuf.TestProtos.ImportEnum), }, nul… in UnittestImportProto3Reflection() 43 public enum ImportEnum { enum
|
D | UnittestImport.cs | 36 …tedClrTypeInfo(new[] {typeof(global::Google.Protobuf.TestProtos.Proto2.ImportEnum), typeof(global:… in UnittestImportReflection() 44 public enum ImportEnum { enum
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | GeneratedMessageTest.java | 263 builder.setOptionalImportEnum(UnittestImport.ImportEnum.IMPORT_BAR); in testUsingBuilderMultipleTimes() 264 builder.addRepeatedImportEnum(UnittestImport.ImportEnum.IMPORT_BAR); in testUsingBuilderMultipleTimes() 273 assertEquals(UnittestImport.ImportEnum.IMPORT_BAR, value1.getOptionalImportEnum()); in testUsingBuilderMultipleTimes() 274 assertEquals(UnittestImport.ImportEnum.IMPORT_BAR, value1.getRepeatedImportEnum(0)); in testUsingBuilderMultipleTimes() 281 builder.setOptionalImportEnum(UnittestImport.ImportEnum.IMPORT_FOO); in testUsingBuilderMultipleTimes() 282 builder.setRepeatedImportEnum(0, UnittestImport.ImportEnum.IMPORT_FOO); in testUsingBuilderMultipleTimes() 291 assertEquals(UnittestImport.ImportEnum.IMPORT_BAR, value1.getOptionalImportEnum()); in testUsingBuilderMultipleTimes() 292 assertEquals(UnittestImport.ImportEnum.IMPORT_BAR, value1.getRepeatedImportEnum(0)); in testUsingBuilderMultipleTimes() 299 assertEquals(UnittestImport.ImportEnum.IMPORT_FOO, value2.getOptionalImportEnum()); in testUsingBuilderMultipleTimes() 300 assertEquals(UnittestImport.ImportEnum.IMPORT_FOO, value2.getRepeatedImportEnum(0)); in testUsingBuilderMultipleTimes() [all …]
|
D | TestUtil.java | 217 import com.google.protobuf.test.UnittestImport.ImportEnum; 349 message.setOptionalImportEnum(ImportEnum.IMPORT_BAZ); in setAllFields() 380 message.addRepeatedImportEnum(ImportEnum.IMPORT_BAR); in setAllFields() 410 message.addRepeatedImportEnum(ImportEnum.IMPORT_BAZ); in setAllFields() 435 message.setDefaultImportEnum(ImportEnum.IMPORT_FOO); in setAllFields() 477 message.setRepeatedImportEnum(1, ImportEnum.IMPORT_FOO); in modifyRepeatedFields() 548 Assert.assertEquals(ImportEnum.IMPORT_BAZ, message.getOptionalImportEnum()); in assertAllFieldsSet() 607 Assert.assertEquals(ImportEnum.IMPORT_BAR, message.getRepeatedImportEnum(0)); in assertAllFieldsSet() 636 Assert.assertEquals(ImportEnum.IMPORT_BAZ, message.getRepeatedImportEnum(1)); in assertAllFieldsSet() 684 Assert.assertEquals(ImportEnum.IMPORT_FOO, message.getDefaultImportEnum()); in assertAllFieldsSet() [all …]
|
/third_party/protobuf/python/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/ |
D | unittest.proto | 101 optional protobuf_unittest_import.ImportEnum optional_import_enum = 23; 139 repeated protobuf_unittest_import.ImportEnum repeated_import_enum = 53; 165 optional protobuf_unittest_import.ImportEnum 221 optional protobuf_unittest_import.ImportEnum 261 repeated protobuf_unittest_import.ImportEnum 291 optional protobuf_unittest_import.ImportEnum
|
/third_party/protobuf/java/compatibility_tests/v2.5.0/more_protos/src/proto/google/protobuf/ |
D | unittest.proto | 101 optional protobuf_unittest_import.ImportEnum optional_import_enum = 23; 139 repeated protobuf_unittest_import.ImportEnum repeated_import_enum = 53; 165 optional protobuf_unittest_import.ImportEnum 221 optional protobuf_unittest_import.ImportEnum 261 repeated protobuf_unittest_import.ImportEnum 291 optional protobuf_unittest_import.ImportEnum
|
D | unittest_import.proto | 59 enum ImportEnum { enum
|
/third_party/protobuf/java/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/ |
D | unittest.proto | 101 optional protobuf_unittest_import.ImportEnum optional_import_enum = 23; 139 repeated protobuf_unittest_import.ImportEnum repeated_import_enum = 53; 165 optional protobuf_unittest_import.ImportEnum 221 optional protobuf_unittest_import.ImportEnum 261 repeated protobuf_unittest_import.ImportEnum 291 optional protobuf_unittest_import.ImportEnum
|
/third_party/protobuf/src/google/protobuf/ |
D | unittest_proto3_lite.proto | 89 // optional protobuf_unittest_import.ImportEnum optional_import_enum = 23; 132 // repeated protobuf_unittest_import.ImportEnum repeated_import_enum = 53;
|
D | unittest_proto3_arena_lite.proto | 90 // optional protobuf_unittest_import.ImportEnum optional_import_enum = 23; 133 // repeated protobuf_unittest_import.ImportEnum repeated_import_enum = 53;
|
D | unittest_proto3.proto | 89 // optional protobuf_unittest_import.ImportEnum optional_import_enum = 23; 134 // repeated protobuf_unittest_import.ImportEnum repeated_import_enum = 53;
|
D | unittest_proto3_arena.proto | 89 // optional protobuf_unittest_import.ImportEnum optional_import_enum = 23; 134 // repeated protobuf_unittest_import.ImportEnum repeated_import_enum = 53;
|
D | unittest.proto | 106 optional protobuf_unittest_import.ImportEnum optional_import_enum = 23; 144 repeated protobuf_unittest_import.ImportEnum repeated_import_enum = 53; 170 optional protobuf_unittest_import.ImportEnum 254 optional protobuf_unittest_import.ImportEnum 294 repeated protobuf_unittest_import.ImportEnum 324 optional protobuf_unittest_import.ImportEnum
|
D | unittest_import.proto | 61 enum ImportEnum { enum
|
/third_party/protobuf/csharp/protos/ |
D | unittest.proto | 106 optional protobuf_unittest_import_proto2.ImportEnum optional_import_enum = 23; 144 repeated protobuf_unittest_import_proto2.ImportEnum repeated_import_enum = 53; 170 optional protobuf_unittest_import_proto2.ImportEnum 254 optional protobuf_unittest_import_proto2.ImportEnum 294 repeated protobuf_unittest_import_proto2.ImportEnum 324 optional protobuf_unittest_import_proto2.ImportEnum
|
D | unittest_import_proto3.proto | 50 enum ImportEnum { enum
|
D | unittest_import.proto | 57 enum ImportEnum { enum
|
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/protos/src/google/protobuf/ |
D | unittest_import_proto3.proto | 62 enum ImportEnum { enum
|