Home
last modified time | relevance | path

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

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DTextFormatParseInfoTreeTest.java58 private static final TextFormatParseLocation LOC0 = TextFormatParseLocation.create(1, 2); field in TextFormatParseInfoTreeTest
74 rootBuilder.setLocation(OPTIONAL_INT32, LOC0); in testGetLocationReturnsSingleLocation()
76 assertEquals(LOC0, root.getLocation(OPTIONAL_INT32, 0)); in testGetLocationReturnsSingleLocation()
82 rootBuilder.setLocation(OPTIONAL_BOOLEAN, LOC0); in testGetLocationsReturnsNoParseLocationsForUnknownField()
85 assertEquals(LOC0, root.getLocations(OPTIONAL_BOOLEAN).get(0)); in testGetLocationsReturnsNoParseLocationsForUnknownField()
89 rootBuilder.setLocation(REPEATED_INT32, LOC0); in testGetLocationThrowsIllegalArgumentExceptionForUnknownField()
100 TextFormatParseInfoTree root = rootBuilder.setLocation(OPTIONAL_INT32, LOC0).build(); in testGetLocationThrowsIllegalArgumentExceptionForInvalidIndex()
116 rootBuilder.setLocation(REPEATED_INT32, LOC0); in testGetLocationsReturnsMultipleLocations()
119 assertEquals(LOC0, root.getLocation(REPEATED_INT32, 0)); in testGetLocationsReturnsMultipleLocations()
125 rootBuilder.setLocation(REPEATED_INT32, LOC0); in testGetNestedTreeThrowsIllegalArgumentExceptionForUnknownField()
[all …]