Home
last modified time | relevance | path

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

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DTextFormatParseInfoTreeTest.java138 assertTrue(root.getNestedTrees(OPTIONAL_NESTED_MESSAGE).isEmpty()); in testGetNestedTreesReturnsNoParseInfoTreesForUnknownField()
162 assertEquals(1, root.getNestedTrees(OPTIONAL_NESTED_MESSAGE).size()); in testGetNestedTreesReturnsSingleTree()
163 TextFormatParseInfoTree subtree = root.getNestedTrees(OPTIONAL_NESTED_MESSAGE).get(0); in testGetNestedTreesReturnsSingleTree()
176 assertEquals(2, root.getNestedTrees(REPEATED_NESTED_MESSAGE).size()); in testGetNestedTreesReturnsMultipleTrees()
178 2, root.getNestedTrees(REPEATED_NESTED_MESSAGE).get(0).getNestedTrees(FIELD_BB).size()); in testGetNestedTreesReturnsMultipleTrees()
180 1, root.getNestedTrees(REPEATED_NESTED_MESSAGE).get(1).getNestedTrees(FIELD_BB).size()); in testGetNestedTreesReturnsMultipleTrees()
DTextFormatTest.java1088 TextFormatParseInfoTree nestedTree = tree.getNestedTrees(nestedField).get(0); in testParseInfoTreeBuilding()
1093 nestedTree = tree.getNestedTrees(nestedField).get(0); in testParseInfoTreeBuilding()
1096 nestedTree = tree.getNestedTrees(nestedField).get(1); in testParseInfoTreeBuilding()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DTextFormatParseInfoTree.java125 public List<TextFormatParseInfoTree> getNestedTrees(final FieldDescriptor fieldDescriptor) { in getNestedTrees() method in TextFormatParseInfoTree
140 return getFromList(getNestedTrees(fieldDescriptor), index, fieldDescriptor); in getNestedTree()