Home
last modified time | relevance | path

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

/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DTextFormatParseInfoTreeTest.java135 assertTrue(root.getNestedTrees(OPTIONAL_NESTED_MESSAGE).isEmpty()); in testGetNestedTreesReturnsNoParseInfoTreesForUnknownField()
159 assertEquals(1, root.getNestedTrees(OPTIONAL_NESTED_MESSAGE).size()); in testGetNestedTreesReturnsSingleTree()
160 TextFormatParseInfoTree subtree = root.getNestedTrees(OPTIONAL_NESTED_MESSAGE).get(0); in testGetNestedTreesReturnsSingleTree()
173 assertEquals(2, root.getNestedTrees(REPEATED_NESTED_MESSAGE).size()); in testGetNestedTreesReturnsMultipleTrees()
175 2, root.getNestedTrees(REPEATED_NESTED_MESSAGE).get(0).getNestedTrees(FIELD_BB).size()); in testGetNestedTreesReturnsMultipleTrees()
177 1, root.getNestedTrees(REPEATED_NESTED_MESSAGE).get(1).getNestedTrees(FIELD_BB).size()); in testGetNestedTreesReturnsMultipleTrees()
DTextFormatTest.java1541 TextFormatParseInfoTree nestedTree = tree.getNestedTrees(nestedField).get(0); in testParseInfoTreeBuilding()
1546 nestedTree = tree.getNestedTrees(nestedField).get(0); in testParseInfoTreeBuilding()
1549 nestedTree = tree.getNestedTrees(nestedField).get(1); in testParseInfoTreeBuilding()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DTextFormatParseInfoTree.java123 public List<TextFormatParseInfoTree> getNestedTrees(final FieldDescriptor fieldDescriptor) { in getNestedTrees() method in TextFormatParseInfoTree
138 return getFromList(getNestedTrees(fieldDescriptor), index, fieldDescriptor); in getNestedTree()