Home
last modified time | relevance | path

Searched refs:ImportEnum (Results 1 – 17 of 17) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf.Test/
DSampleMessages.cs59 SingleImportEnum = ImportEnum.ImportBaz, in CreateFullTestAllTypes()
81 RepeatedImportEnum = { ImportEnum.ImportBaz, ImportEnum.Unspecified }, in CreateFullTestAllTypes()
DGeneratedMessageTest.cs71 Assert.AreEqual(ImportEnum.Unspecified, message.SingleImportEnum); in DefaultValues()
150 SingleImportEnum = ImportEnum.ImportBaz, in RoundTrip_SingleValues()
184 RepeatedImportEnum = { ImportEnum.ImportBaz, ImportEnum.Unspecified }, in RoundTrip_RepeatedValues()
DJsonFormatterTest.cs80 SingleImportEnum = ImportEnum.ImportBaz, in AllSingleFields()
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestImportProto3.cs36 …new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Protobuf.TestProtos.ImportEnum), }, new… in UnittestImportProto3Reflection()
44 public enum ImportEnum { enum
DUnittestProto3.cs528 private global::Google.Protobuf.TestProtos.ImportEnum singleImportEnum_ = 0;
529 public global::Google.Protobuf.TestProtos.ImportEnum SingleImportEnum {
734 …private static readonly pb::FieldCodec<global::Google.Protobuf.TestProtos.ImportEnum> _repeated_re…
735 … pb::FieldCodec.ForEnum(426, x => (int) x, x => (global::Google.Protobuf.TestProtos.ImportEnum) x);
736 …ogle.Protobuf.TestProtos.ImportEnum> repeatedImportEnum_ = new pbc::RepeatedField<global::Google.P…
737 public pbc::RepeatedField<global::Google.Protobuf.TestProtos.ImportEnum> RepeatedImportEnum {
1385 singleImportEnum_ = (global::Google.Protobuf.TestProtos.ImportEnum) input.ReadEnum(); in MergeFrom()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DGeneratedMessageTest.java110 builder.setOptionalImportEnum(UnittestImport.ImportEnum.IMPORT_BAR); in testUsingBuilderMultipleTimes()
111 builder.addRepeatedImportEnum(UnittestImport.ImportEnum.IMPORT_BAR); in testUsingBuilderMultipleTimes()
120 assertEquals(UnittestImport.ImportEnum.IMPORT_BAR, in testUsingBuilderMultipleTimes()
122 assertEquals(UnittestImport.ImportEnum.IMPORT_BAR, in testUsingBuilderMultipleTimes()
130 builder.setOptionalImportEnum(UnittestImport.ImportEnum.IMPORT_FOO); in testUsingBuilderMultipleTimes()
131 builder.setRepeatedImportEnum(0, UnittestImport.ImportEnum.IMPORT_FOO); in testUsingBuilderMultipleTimes()
140 assertEquals(UnittestImport.ImportEnum.IMPORT_BAR, in testUsingBuilderMultipleTimes()
142 assertEquals(UnittestImport.ImportEnum.IMPORT_BAR, in testUsingBuilderMultipleTimes()
150 assertEquals(UnittestImport.ImportEnum.IMPORT_FOO, in testUsingBuilderMultipleTimes()
152 assertEquals(UnittestImport.ImportEnum.IMPORT_FOO, in testUsingBuilderMultipleTimes()
[all …]
DTestUtil.java221 import com.google.protobuf.test.UnittestImport.ImportEnum;
346 message.setOptionalImportEnum (ImportEnum.IMPORT_BAZ); in setAllFields()
382 message.addRepeatedImportEnum (ImportEnum.IMPORT_BAR); in setAllFields()
417 message.addRepeatedImportEnum (ImportEnum.IMPORT_BAZ); in setAllFields()
442 message.setDefaultImportEnum (ImportEnum.IMPORT_FOO); in setAllFields()
490 message.setRepeatedImportEnum (1, ImportEnum.IMPORT_FOO); in modifyRepeatedFields()
561 Assert.assertEquals(ImportEnum.IMPORT_BAZ, message.getOptionalImportEnum()); in assertAllFieldsSet()
620 Assert.assertEquals(ImportEnum.IMPORT_BAR, message.getRepeatedImportEnum(0)); in assertAllFieldsSet()
649 Assert.assertEquals(ImportEnum.IMPORT_BAZ, message.getRepeatedImportEnum(1)); in assertAllFieldsSet()
697 Assert.assertEquals(ImportEnum.IMPORT_FOO, message.getDefaultImportEnum()); in assertAllFieldsSet()
[all …]
DDescriptorsTest.java48 import com.google.protobuf.test.UnittestImport.ImportEnum;
118 assertEquals(Arrays.asList(ImportEnum.getDescriptor(), in testFileDescriptor()
/external/protobuf/src/google/protobuf/
Dunittest_no_arena.proto108 optional protobuf_unittest_import.ImportEnum optional_import_enum = 23;
146 repeated protobuf_unittest_import.ImportEnum repeated_import_enum = 53;
172 optional protobuf_unittest_import.ImportEnum
Dunittest_proto3_arena_lite.proto90 // optional protobuf_unittest_import.ImportEnum optional_import_enum = 23;
133 // repeated protobuf_unittest_import.ImportEnum repeated_import_enum = 53;
Dunittest_proto3_lite.proto89 // optional protobuf_unittest_import.ImportEnum optional_import_enum = 23;
132 // repeated protobuf_unittest_import.ImportEnum repeated_import_enum = 53;
Dunittest_proto3_arena.proto89 // optional protobuf_unittest_import.ImportEnum optional_import_enum = 23;
132 // repeated protobuf_unittest_import.ImportEnum repeated_import_enum = 53;
Dunittest.proto104 optional protobuf_unittest_import.ImportEnum optional_import_enum = 23;
142 repeated protobuf_unittest_import.ImportEnum repeated_import_enum = 53;
168 optional protobuf_unittest_import.ImportEnum
244 optional protobuf_unittest_import.ImportEnum
284 repeated protobuf_unittest_import.ImportEnum
314 optional protobuf_unittest_import.ImportEnum
Dunittest_import_proto3.proto62 enum ImportEnum { enum
Dunittest_import.proto61 enum ImportEnum { enum
Dunittest_proto3.proto102 protobuf_unittest_import.ImportEnum single_import_enum = 23;
131 repeated protobuf_unittest_import.ImportEnum repeated_import_enum = 53;
/external/protobuf/objectivec/Tests/
DGPBDescriptorTests.m76 @"ImportEnum");