Home
last modified time | relevance | path

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

12

/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DSampleMessages.cs62 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()
DGeneratedMessageTest.Proto2.cs26 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()
DGeneratedMessageTest.cs72 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/
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()
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DGeneratedMessageTest.java100 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 …]
DTestUtil.java140 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/
DUnittestImportProto3.cs35 …new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Protobuf.TestProtos.ImportEnum), }, nul… in UnittestImportProto3Reflection()
43 public enum ImportEnum { enum
DUnittestImport.cs36 …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/
DGeneratedMessageTest.java263 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 …]
DTestUtil.java217 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/
Dunittest.proto101 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/
Dunittest.proto101 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
Dunittest_import.proto59 enum ImportEnum { enum
/third_party/protobuf/java/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/
Dunittest.proto101 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/
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_lite.proto90 // optional protobuf_unittest_import.ImportEnum optional_import_enum = 23;
133 // repeated protobuf_unittest_import.ImportEnum repeated_import_enum = 53;
Dunittest_proto3.proto89 // optional protobuf_unittest_import.ImportEnum optional_import_enum = 23;
134 // repeated protobuf_unittest_import.ImportEnum repeated_import_enum = 53;
Dunittest_proto3_arena.proto89 // optional protobuf_unittest_import.ImportEnum optional_import_enum = 23;
134 // repeated protobuf_unittest_import.ImportEnum repeated_import_enum = 53;
Dunittest.proto106 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
Dunittest_import.proto61 enum ImportEnum { enum
/third_party/protobuf/csharp/protos/
Dunittest.proto106 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
Dunittest_import_proto3.proto50 enum ImportEnum { enum
Dunittest_import.proto57 enum ImportEnum { enum
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/protos/src/google/protobuf/
Dunittest_import_proto3.proto62 enum ImportEnum { enum

12