Home
last modified time | relevance | path

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

/external/protobuf/java/core/src/test/java/com/google/protobuf/
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()
188 assertEquals(enumType, messageType.findEnumTypeByName("NestedEnum")); in testDescriptor()
189 assertNull(messageType.findEnumTypeByName("NoSuchType")); in testDescriptor()
DTestUtil.java2714 this.nestedEnum = testAllTypes.findEnumTypeByName("NestedEnum"); in ReflectionTester()
2715 this.foreignEnum = file.findEnumTypeByName("ForeignEnum"); in ReflectionTester()
2716 this.importEnum = importFile.findEnumTypeByName("ImportEnum"); in ReflectionTester()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptors.java190 public EnumDescriptor findEnumTypeByName(String name) { in findEnumTypeByName() method in Descriptors.FileDescriptor
749 public EnumDescriptor findEnumTypeByName(final String name) { in findEnumTypeByName() method in Descriptors.Descriptor