Home
last modified time | relevance | path

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

/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/
DLocationOffsetsTest.java26 assertEquals(1, loc.getLineNr()); in testSimpleInitialOffsets()
32 assertEquals(1, loc.getLineNr()); in testSimpleInitialOffsets()
45 assertEquals(1, loc.getLineNr()); in testSimpleInitialOffsets()
51 assertEquals(1, loc.getLineNr()); in testSimpleInitialOffsets()
72 assertEquals(1, loc.getLineNr()); in testOffsetWithInputOffset()
78 assertEquals(1, loc.getLineNr()); in testOffsetWithInputOffset()
98 assertEquals(1, loc.getLineNr()); in testOffsetWithoutInputOffset()
104 assertEquals(1, loc.getLineNr()); in testOffsetWithoutInputOffset()
123 assertEquals(1, p.getCurrentLocation().getLineNr()); in testWithLazyStringReadDataInput()
164 assertEquals(1, loc.getLineNr()); in testUtf8Bom()
[all …]
DParserLinefeedsTest.java50 assertEquals(1, jp.getCurrentLocation().getLineNr()); in _testLinefeeds()
54 assertEquals(1, jp.getCurrentLocation().getLineNr()); in _testLinefeeds()
58 assertEquals(2, jp.getCurrentLocation().getLineNr()); in _testLinefeeds()
62 assertEquals(3, jp.getCurrentLocation().getLineNr()); in _testLinefeeds()
65 assertEquals(4, jp.getCurrentLocation().getLineNr()); in _testLinefeeds()
DLocationOffsets455Test.java16 assertEquals(1, loc.getLineNr()); in testEOFLocationViaReader()
24 assertEquals(1, loc.getLineNr()); in testEOFLocationViaReader()
38 assertEquals(1, loc.getLineNr()); in testEOFLocationViaStream()
44 assertEquals(1, loc.getLineNr()); in testEOFLocationViaStream()
DLocationInArrayTest.java57 assertEquals(row, loc.getLineNr()); in _assertLocation()
DLocationDuringReaderParsingTest.java85 String actual = String.format("(%d, %d, %d)", pLoc.getLineNr(), pLoc.getColumnNr(), in assertLocation()
DLocationDuringStreamParsingTest.java85 String actual = String.format("(%d, %d, %d)", pLoc.getLineNr(), pLoc.getColumnNr(), in assertLocation()
DSimpleParserTest.java154 assertEquals(1, loc.getLineNr()); in _testKeywords()
169 assertEquals(2, p.getTokenLocation().getLineNr()); in _testKeywords()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/async/
DAsyncLocationTest.java23 assertEquals(1, parser.getCurrentLocation().getLineNr()); in testLocationOffsets()
24 assertEquals(1, parser.getTokenLocation().getLineNr()); in testLocationOffsets()
32 assertEquals(1, parser.getCurrentLocation().getLineNr()); in testLocationOffsets()
33 assertEquals(1, parser.getTokenLocation().getLineNr()); in testLocationOffsets()
DAsyncFieldNamesTest.java44 assertEquals(2, loc.getLineNr()); in _testSimpleFieldName()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/
DJsonReadContextTest.java47 assertEquals(1, jsonReadContext.getStartLocation(jsonReadContext).getLineNr()); in testReset()
54 assertEquals(500, jsonReadContext.getStartLocation(jsonReadContext).getLineNr()); in testReset()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/
DTestJDKSerializability.java62 assertEquals(loc.getLineNr(), loc2.getLineNr()); in testLocation()
DTestExceptions.java46 assertEquals(1, loc.getLineNr()); in testAccessToParser()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/
DTestJacksonTypes.java30 assertEquals(loc.getLineNr(), result.getLineNr()); in testJsonLocation()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DJsonLocation.java84 public int getLineNr() { return _lineNr; } in getLineNr() method in JsonLocation
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/exc/
DBasicExceptionTest.java131 assertEquals(4, loc.getLineNr()); in testLocationAddition()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/
DBaseTest.java344 assertTrue("Should have positive line number", location.getLineNr() > 0); in assertValidLocation()