Home
last modified time | relevance | path

Searched refs:enumField (Results 1 – 8 of 8) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DDescriptorsTest.cs248 …FieldDescriptor enumField = testAllTypesDescriptor.FindDescriptor<FieldDescriptor>("single_nested_… in TestFieldDescriptor()
262 Assert.AreEqual("single_nested_enum", enumField.Name); in TestFieldDescriptor()
263 Assert.AreEqual(FieldType.Enum, enumField.FieldType); in TestFieldDescriptor()
264 Assert.AreEqual(testAllTypesDescriptor.EnumTypes[0], enumField.EnumType); in TestFieldDescriptor()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/
DDescriptorsTest.cs142 … FieldDescriptor enumField = messageType.FindDescriptor<FieldDescriptor>("single_nested_enum"); in FieldDescriptor()
154 Assert.AreEqual("single_nested_enum", enumField.Name); in FieldDescriptor()
155 Assert.AreEqual(FieldType.Enum, enumField.FieldType); in FieldDescriptor()
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DDescriptorsTest.java198 FieldDescriptor enumField = in testFieldDescriptor() local
221 assertEquals("optional_nested_enum", enumField.getName()); in testFieldDescriptor()
222 assertEquals(FieldDescriptor.Type.ENUM, enumField.getType()); in testFieldDescriptor()
223 assertEquals(FieldDescriptor.JavaType.ENUM, enumField.getJavaType()); in testFieldDescriptor()
225 enumField.getEnumType()); in testFieldDescriptor()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DDescriptorsTest.java193 FieldDescriptor enumField = messageType.findFieldByName("optional_nested_enum"); in testFieldDescriptor() local
210 assertEquals("optional_nested_enum", enumField.getName()); in testFieldDescriptor()
211 assertEquals(FieldDescriptor.Type.ENUM, enumField.getType()); in testFieldDescriptor()
212 assertEquals(FieldDescriptor.JavaType.ENUM, enumField.getJavaType()); in testFieldDescriptor()
213 assertEquals(TestAllTypes.NestedEnum.getDescriptor(), enumField.getEnumType()); in testFieldDescriptor()
/third_party/protobuf/js/compatibility_tests/v3.1.0/
Dmessage_test.js191 enumField: 13, property
/third_party/protobuf/js/
Dmessage_test.js247 enumField: 13, property
/third_party/protobuf/js/compatibility_tests/v3.0.0/
Dmessage_test.js191 enumField: 13, property
/third_party/protobuf/objectivec/Tests/
DGPBMessageTests.m2057 XCTAssertEqual(enumMsg.enumField, MessageWithOneBasedEnum_OneBasedEnum_One);