Searched refs:getNestedTrees (Results 1 – 3 of 3) sorted by relevance
135 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()
1541 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()
123 public List<TextFormatParseInfoTree> getNestedTrees(final FieldDescriptor fieldDescriptor) { in getNestedTrees() method in TextFormatParseInfoTree138 return getFromList(getNestedTrees(fieldDescriptor), index, fieldDescriptor); in getNestedTree()