Home
last modified time | relevance | path

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

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DTextFormatParseInfoTreeTest.java51 private static final FieldDescriptor OPTIONAL_NESTED_MESSAGE = field in TextFormatParseInfoTreeTest
128 root.getNestedTree(OPTIONAL_NESTED_MESSAGE, 0); in testGetNestedTreeThrowsIllegalArgumentExceptionForUnknownField()
138 assertTrue(root.getNestedTrees(OPTIONAL_NESTED_MESSAGE).isEmpty()); in testGetNestedTreesReturnsNoParseInfoTreesForUnknownField()
143 rootBuilder.getBuilderForSubMessageField(OPTIONAL_NESTED_MESSAGE); in testGetNestedTreeThrowsIllegalArgumentExceptionForInvalidIndex()
146 root.getNestedTree(OPTIONAL_NESTED_MESSAGE, 1); in testGetNestedTreeThrowsIllegalArgumentExceptionForInvalidIndex()
152 rootBuilder.build().getNestedTree(OPTIONAL_NESTED_MESSAGE, -1); in testGetNestedTreeThrowsIllegalArgumentExceptionForInvalidIndex()
160 rootBuilder.getBuilderForSubMessageField(OPTIONAL_NESTED_MESSAGE); in testGetNestedTreesReturnsSingleTree()
162 assertEquals(1, root.getNestedTrees(OPTIONAL_NESTED_MESSAGE).size()); in testGetNestedTreesReturnsSingleTree()
163 TextFormatParseInfoTree subtree = root.getNestedTrees(OPTIONAL_NESTED_MESSAGE).get(0); in testGetNestedTreesReturnsSingleTree()