Home
last modified time | relevance | path

Searched refs:START_ARRAY (Results 1 – 25 of 114) sorted by relevance

12345

/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/
DArrayParsingTest.java18 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in testValidEmpty()
29 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in testInvalidEmptyMissingClose()
45 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in testInvalidMissingFieldName()
61 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in testInvalidExtraComma()
118 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in _testMissingValueByEnablingFeature()
137 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in _testMissingValueByEnablingFeature()
154 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in _testMissingValueNotEnablingFeature()
176 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in _testNotMissingValueByEnablingFeature()
DParserClosingTest.java43 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in testNoAutoCloseReader()
65 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in testAutoCloseReader()
74 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in testAutoCloseReader()
93 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in testNoAutoCloseInputStream()
109 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in testReleaseContentBytes()
124 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in testReleaseContentChars()
DNonStandardParserFeaturesTest.java110 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testLeadingZeroes()
141 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testLeadingZeroes()
157 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testAllowNaN()
172 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testAllowNaN()
192 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testAllowNaN()
204 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testAllowInf()
218 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testAllowInf()
256 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testAllowInf()
DParserWithObjectsTest.java47 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in testIsClosed()
75 assertToken(JsonToken.START_ARRAY, jp.nextValue()); in _testNextValueBasic()
99 assertToken(JsonToken.START_ARRAY, jp.nextValue()); in _testNextValueBasic()
101 assertToken(JsonToken.START_ARRAY, jp.nextValue()); in _testNextValueBasic()
147 assertToken(JsonToken.START_ARRAY, jp.nextValue()); in _testNextValueNested()
DNumberOverflowTest.java69 assertToken(JsonToken.START_ARRAY, p.nextToken()); in testMaliciousLongOverflow()
89 assertToken(JsonToken.START_ARRAY, p.nextToken()); in testMaliciousIntOverflow()
109 assertToken(JsonToken.START_ARRAY, p.nextToken()); in testMaliciousBigIntToDouble()
124 assertToken(JsonToken.START_ARRAY, p.nextToken()); in testMaliciousBigIntToFloat()
DNumberParsingTest.java42 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testSimpleBoolean()
69 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testSimpleInt()
143 assertToken(JsonToken.START_ARRAY, p.nextToken()); in testIntRange()
211 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testSimpleLong()
238 assertToken(JsonToken.START_ARRAY, p.nextToken()); in testLongRange()
320 assertToken(JsonToken.START_ARRAY, p.nextToken()); in testBigDecimalRange()
375 assertToken(JsonToken.START_ARRAY, p.nextToken()); in testSimpleDouble()
460 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testNumbers()
551 assertToken(JsonToken.START_ARRAY, p.nextToken()); in testParsingOfLongerSequences()
583 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testLongNumbers()
[all …]
DNextNameParserTest.java45 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testBasicNextName()
62 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testBasicNextName()
74 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testBasicNextName()
DParserScopeMatchingTest.java25 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testUnclosedArray()
97 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testWeirdToken()
118 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testMismatchArrayToObject()
DTrailingCommasTest.java54 assertEquals(JsonToken.START_ARRAY, p.nextToken()); in testArrayBasic()
72 assertEquals(JsonToken.START_ARRAY, p.nextToken()); in testArrayInnerComma()
97 assertEquals(JsonToken.START_ARRAY, p.nextToken()); in testArrayLeadingComma()
123 assertEquals(JsonToken.START_ARRAY, p.nextToken()); in testArrayTrailingComma()
151 assertEquals(JsonToken.START_ARRAY, p.nextToken()); in testArrayTrailingCommas()
182 assertEquals(JsonToken.START_ARRAY, p.nextToken()); in testArrayTrailingCommasTriple()
DValueConversionsTest.java21 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testAsInt()
66 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testAsBoolean()
109 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testAsLong()
154 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testAsDouble()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DTestTreeTraversingParser.java71 assertToken(JsonToken.START_ARRAY, p.nextToken()); in testSimple()
73 assertEquals(JsonToken.START_ARRAY.asString(), p.getText()); in testSimple()
94 assertToken(JsonToken.START_ARRAY, p.nextToken()); in testSimple()
114 assertToken(JsonToken.START_ARRAY, p.nextToken()); in testArray()
119 assertToken(JsonToken.START_ARRAY, p.nextToken()); in testArray()
120 assertToken(JsonToken.START_ARRAY, p.nextToken()); in testArray()
126 assertToken(JsonToken.START_ARRAY, p.nextToken()); in testArray()
127 assertToken(JsonToken.START_ARRAY, p.nextToken()); in testArray()
145 assertToken(JsonToken.START_ARRAY, p.nextToken()); in testNested()
146 assertToken(JsonToken.START_ARRAY, p.nextToken()); in testNested()
[all …]
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/async/
DAsyncCharEscapingTest.java33 assertToken(JsonToken.START_ARRAY, r.nextToken()); in _testMissingLinefeedEscaping()
63 assertToken(JsonToken.START_ARRAY, r.nextToken()); in _testSimpleEscaping()
72 assertToken(JsonToken.START_ARRAY, r.nextToken()); in _testSimpleEscaping()
80 assertToken(JsonToken.START_ARRAY, r.nextToken()); in _testSimpleEscaping()
88 assertToken(JsonToken.START_ARRAY, r.nextToken()); in _testSimpleEscaping()
98 assertToken(JsonToken.START_ARRAY, r.nextToken()); in test8DigitSequence()
DAsyncNaNHandlingTest.java25 assertToken(JsonToken.START_ARRAY, p.nextToken()); in testDisallowNaN()
52 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testAllowNaN()
74 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testAllowNaN()
105 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testDisallowInf()
143 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testAllowInf()
174 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testAllowInf()
DAsyncCommentParsingTest.java149 assertEquals(JsonToken.START_ARRAY, p.nextToken()); in _testCommentsBetweenArrayValues()
193 assertEquals(JsonToken.START_ARRAY, p.nextToken()); in _testYAMLComments()
212 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testWithUTF8Chars()
222 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testDisabled()
236 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testEnabled()
DAsyncSimpleNestedTest.java43 assertToken(JsonToken.START_ARRAY, r.nextToken()); in _testStuffInObject()
61 assertToken(JsonToken.START_ARRAY, r.nextToken()); in _testStuffInObject()
101 assertToken(JsonToken.START_ARRAY, r.nextToken()); in _testStuffInArray()
113 assertToken(JsonToken.START_ARRAY, r.nextToken()); in _testStuffInArray()
149 assertToken(JsonToken.START_ARRAY, r.nextToken()); in _testStuffInArray2()
202 assertToken(JsonToken.START_ARRAY, r.nextToken()); in _testMismatchedArray()
DAsyncMissingValuesInArrayTest.java68 assertEquals(JsonToken.START_ARRAY, p.nextToken()); in testArrayInnerComma()
93 assertEquals(JsonToken.START_ARRAY, p.nextToken()); in testArrayLeadingComma()
119 assertEquals(JsonToken.START_ARRAY, p.nextToken()); in testArrayTrailingComma()
147 assertEquals(JsonToken.START_ARRAY, p.nextToken()); in testArrayTrailingCommas()
178 assertEquals(JsonToken.START_ARRAY, p.nextToken()); in testArrayTrailingCommasTriple()
DAsyncScalarArrayTest.java46 assertToken(JsonToken.START_ARRAY, r.nextToken()); in _testTokens()
97 assertToken(JsonToken.START_ARRAY, r.nextToken()); in _testInts()
150 assertToken(JsonToken.START_ARRAY, r.nextToken()); in _testLong()
197 assertToken(JsonToken.START_ARRAY, r.nextToken()); in _testFloats()
239 assertToken(JsonToken.START_ARRAY, r.nextToken()); in _testDoubles()
303 assertToken(JsonToken.START_ARRAY, r.nextToken()); in _testBigIntegers()
356 assertToken(JsonToken.START_ARRAY, r.nextToken()); in _testBigDecimals()
DAsyncLocationTest.java20 assertEquals(JsonToken.START_ARRAY, parser.nextToken()); in testLocationOffsets()
29 assertEquals(JsonToken.START_ARRAY, parser.nextToken()); in testLocationOffsets()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/
DTestCharEscaping.java56 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in _testMissingEscaping()
83 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in _testSimpleEscaping()
91 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in _testSimpleEscaping()
98 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in _testSimpleEscaping()
105 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in _testSimpleEscaping()
148 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in _testInvalid()
173 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in _test8DigitSequence()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/write/
DArrayWriteTest.java49 assertEquals(JsonToken.START_ARRAY, jp.nextToken()); in testEmptyArrayWrite()
63 assertEquals(JsonToken.START_ARRAY, jp.nextToken()); in testEmptyArrayWrite()
64 assertEquals(JsonToken.START_ARRAY, jp.nextToken()); in testEmptyArrayWrite()
100 assertEquals(JsonToken.START_ARRAY, jp.nextToken()); in testSimpleArrayWrite()
DRawStringWriteTest.java34 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in testUtf8RawStrings()
68 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in testUtf8StringsWithEscaping()
110 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testWriteRawWithSerializable()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/
DTypeSerializer.java203 writeTypePrefix(g, typeId(value, JsonToken.START_ARRAY)); in writeTypePrefixForArray()
239 _writeLegacySuffix(g, typeId(value, JsonToken.START_ARRAY)); in writeTypeSuffixForArray()
275 writeTypePrefix(g, typeId(value, type, JsonToken.START_ARRAY)); in writeTypePrefixForArray()
317 writeTypePrefix(g, typeId(value, JsonToken.START_ARRAY, typeId)); in writeCustomTypePrefixForArray()
341 _writeLegacySuffix(g, typeId(value, JsonToken.START_ARRAY, typeId)); in writeCustomTypeSuffixForArray()
/external/jackson-core/src/test/java/com/fasterxml/jackson/failing/
DParserErrorHandlingTest.java44 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testMangledNonRootInts()
57 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testMangledNonRootFloats()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/
DTreeTraversingParser.java117 case START_ARRAY: in nextToken()
137 } else if (_currToken == JsonToken.START_ARRAY) { in skipChildren()
157 if (_currToken == JsonToken.START_OBJECT || _currToken == JsonToken.START_ARRAY) { in getCurrentName()
165 if (_currToken == JsonToken.START_OBJECT || _currToken == JsonToken.START_ARRAY) { in overrideCurrentName()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/seq/
DReadValuesTest.java189 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in testRootArraysWithParser()
209 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in testHasNextWithEndArray()
249 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in testNonRootBeans()
271 assertToken(JsonToken.START_ARRAY, jp.nextToken()); in testNonRootMapsWithParser()
315 assertToken(JsonToken.START_ARRAY, p.nextToken()); in testNonRootArraysUsingParser()
320 assertToken(JsonToken.START_ARRAY, p.nextToken()); in testNonRootArraysUsingParser()

12345