Home
last modified time | relevance | path

Searched refs:findEnumTypeByName (Results 1 – 5 of 5) sorted by relevance

/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DDescriptorsTest.java115 assertEquals(enumType, file.findEnumTypeByName("ForeignEnum")); in testFileDescriptor()
116 assertNull(file.findEnumTypeByName("NoSuchType")); in testFileDescriptor()
117 assertNull(file.findEnumTypeByName("protobuf_unittest.ForeignEnum")); in testFileDescriptor()
187 assertEquals(enumType, messageType.findEnumTypeByName("NestedEnum")); in testDescriptor()
188 assertNull(messageType.findEnumTypeByName("NoSuchType")); in testDescriptor()
DTestUtil.java1955 this.nestedEnum = testAllTypes.findEnumTypeByName("NestedEnum"); in ReflectionTester()
1956 this.foreignEnum = file.findEnumTypeByName("ForeignEnum"); in ReflectionTester()
1957 this.importEnum = importFile.findEnumTypeByName("ImportEnum"); in ReflectionTester()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DDescriptorsTest.java117 assertEquals(enumType, file.findEnumTypeByName("ForeignEnum")); in testFileDescriptor()
118 assertNull(file.findEnumTypeByName("NoSuchType")); in testFileDescriptor()
119 assertNull(file.findEnumTypeByName("protobuf_unittest.ForeignEnum")); in testFileDescriptor()
183 assertEquals(enumType, messageType.findEnumTypeByName("NestedEnum")); in testDescriptor()
184 assertNull(messageType.findEnumTypeByName("NoSuchType")); in testDescriptor()
DTestUtil.java2731 this.nestedEnum = testAllTypes.findEnumTypeByName("NestedEnum"); in ReflectionTester()
2732 this.foreignEnum = file.findEnumTypeByName("ForeignEnum"); in ReflectionTester()
2733 this.importEnum = importFile.findEnumTypeByName("ImportEnum"); in ReflectionTester()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptors.java206 public EnumDescriptor findEnumTypeByName(String name) { in findEnumTypeByName() method in Descriptors.FileDescriptor
805 public EnumDescriptor findEnumTypeByName(final String name) { in findEnumTypeByName() method in Descriptors.Descriptor