/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/ |
D | NumberCoercionTest.java | 25 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testToIntCoercion() 32 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testToIntCoercion() 39 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testToIntCoercion() 46 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testToIntCoercion() 62 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testToIntFailing() 69 assertEquals(JsonToken.VALUE_NUMBER_INT, e.getInputType()); in testToIntFailing() 74 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testToIntFailing() 82 assertEquals(JsonToken.VALUE_NUMBER_INT, e.getInputType()); in testToIntFailing() 112 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testToIntFailing() 119 assertEquals(JsonToken.VALUE_NUMBER_INT, e.getInputType()); in testToIntFailing() [all …]
|
D | ParserSequenceTest.java | 21 assertToken(JsonToken.VALUE_NUMBER_INT, seq.nextToken()); in testSimple() 34 assertToken(JsonToken.VALUE_NUMBER_INT, seq.nextToken()); in testSimple() 59 assertToken(JsonToken.VALUE_NUMBER_INT, seq.nextToken()); in testMultiLevel() 62 assertToken(JsonToken.VALUE_NUMBER_INT, seq.nextToken()); in testMultiLevel() 81 assertToken(JsonToken.VALUE_NUMBER_INT, p1.nextToken()); in testInitializationDisabled() 83 assertToken(JsonToken.VALUE_NUMBER_INT, p2.nextToken()); in testInitializationDisabled() 89 assertToken(JsonToken.VALUE_NUMBER_INT, seq.nextToken()); in testInitializationDisabled() 102 assertToken(JsonToken.VALUE_NUMBER_INT, p1.nextToken()); in testInitializationEnabled() 104 assertToken(JsonToken.VALUE_NUMBER_INT, p2.nextToken()); in testInitializationEnabled() 110 assertToken(JsonToken.VALUE_NUMBER_INT, seq.nextToken()); in testInitializationEnabled() [all …]
|
D | ParserWithObjectsTest.java | 49 assertToken(JsonToken.VALUE_NUMBER_INT, jp.nextToken()); in testIsClosed() 50 assertToken(JsonToken.VALUE_NUMBER_INT, jp.nextToken()); in testIsClosed() 57 assertToken(JsonToken.VALUE_NUMBER_INT, jp.nextToken()); in testIsClosed() 77 assertToken(JsonToken.VALUE_NUMBER_INT, jp.nextValue()); in _testNextValueBasic() 88 assertToken(JsonToken.VALUE_NUMBER_INT, jp.nextValue()); in _testNextValueBasic() 105 assertToken(JsonToken.VALUE_NUMBER_INT, jp.nextValue()); in _testNextValueBasic() 135 assertToken(JsonToken.VALUE_NUMBER_INT, jp.nextValue()); in _testNextValueNested()
|
D | ValueConversionsTest.java | 25 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testAsInt() 28 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testAsInt() 76 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testAsBoolean() 79 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testAsBoolean() 113 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testAsLong() 116 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testAsLong() 158 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testAsDouble() 161 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testAsDouble()
|
D | ParserScopeMatchingTest.java | 26 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testUnclosedArray() 27 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testUnclosedArray() 50 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testUnclosedObject() 119 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testMismatchArrayToObject() 120 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testMismatchArrayToObject()
|
D | NonStandardAposQuotedNamesTest.java | 94 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testSingleQuotesEnabled() 123 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testSingleQuotesEnabled() 129 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testSingleQuotesEnabled() 139 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testSingleQuotesEnabled() 143 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testSingleQuotesEnabled() 147 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testSingleQuotesEnabled()
|
D | ParserLinefeedsTest.java | 52 assertToken(JsonToken.VALUE_NUMBER_INT, jp.nextToken()); in _testLinefeeds() 56 assertToken(JsonToken.VALUE_NUMBER_INT, jp.nextToken()); in _testLinefeeds() 60 assertToken(JsonToken.VALUE_NUMBER_INT, jp.nextToken()); in _testLinefeeds()
|
D | NextNameParserTest.java | 41 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testBasicNextName() 70 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testBasicNextName() 75 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testBasicNextName() 77 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testBasicNextName()
|
D | NumberParsingTest.java | 70 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testSimpleInt() 111 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testSimpleInt() 144 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testIntRange() 148 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testIntRange() 212 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testSimpleLong() 223 assertEquals(JsonToken.VALUE_NUMBER_INT, e.getInputType()); in _testSimpleLong() 239 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testLongRange() 243 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testLongRange() 247 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testLongRange() 251 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testLongRange() [all …]
|
D | NextXxxAccessTest.java | 139 assertToken(JsonToken.VALUE_NUMBER_INT, p.currentToken()); in _testIsNextTokenName1() 145 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testIsNextTokenName1() 172 assertToken(JsonToken.VALUE_NUMBER_INT, p.currentToken()); in _testIsNextTokenName1() 178 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testIsNextTokenName1() 208 assertToken(JsonToken.VALUE_NUMBER_INT, p.currentToken()); in _testIsNextTokenName2() 214 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testIsNextTokenName2() 243 assertToken(JsonToken.VALUE_NUMBER_INT, p.currentToken()); in _testIsNextTokenName3() 249 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testIsNextTokenName3() 274 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testIsNextTokenName4() 278 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testIsNextTokenName4() [all …]
|
D | LocationInArrayTest.java | 32 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testOffsetInArrays() 38 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testOffsetInArrays() 43 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testOffsetInArrays()
|
D | NumberOverflowTest.java | 70 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testMaliciousLongOverflow() 90 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testMaliciousIntOverflow() 110 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testMaliciousBigIntToDouble() 125 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testMaliciousBigIntToFloat()
|
D | ParserClosingTest.java | 44 assertToken(JsonToken.VALUE_NUMBER_INT, jp.nextToken()); in testNoAutoCloseReader() 75 assertToken(JsonToken.VALUE_NUMBER_INT, jp.nextToken()); in testAutoCloseReader() 94 assertToken(JsonToken.VALUE_NUMBER_INT, jp.nextToken()); in testNoAutoCloseInputStream() 110 assertToken(JsonToken.VALUE_NUMBER_INT, jp.nextToken()); in testReleaseContentBytes()
|
D | CommentParsingTest.java | 163 assertEquals(JsonToken.VALUE_NUMBER_INT, t); in _testCommentsBeforePropValue() 197 assertEquals(JsonToken.VALUE_NUMBER_INT, t); in _testCommentsBetweenArrayValues() 205 assertEquals(JsonToken.VALUE_NUMBER_INT, t); in _testCommentsBetweenArrayValues() 229 assertEquals(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testYAMLComments() 234 assertEquals(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testYAMLComments() 278 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testEnabled()
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/async/ |
D | AsyncNumberCoercionTest.java | 30 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testToIntCoercion() 37 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testToIntCoercion() 44 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testToIntCoercion() 57 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testToIntCoercion() 70 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testToIntFailing() 77 assertEquals(JsonToken.VALUE_NUMBER_INT, e.getInputType()); in testToIntFailing() 82 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testToIntFailing() 90 assertEquals(JsonToken.VALUE_NUMBER_INT, e.getInputType()); in testToIntFailing() 120 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testToIntFailing() 127 assertEquals(JsonToken.VALUE_NUMBER_INT, e.getInputType()); in testToIntFailing() [all …]
|
D | AsyncParserNamesTest.java | 45 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testWithName() 67 assertEquals(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testSymbolTable() 71 assertEquals(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testSymbolTable() 75 assertEquals(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testSymbolTable() 94 assertEquals(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testSymbolTable() 98 assertEquals(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testSymbolTable() 102 assertEquals(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testSymbolTable()
|
D | AsyncScopeMatchingTest.java | 21 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testUnclosedArray() 22 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testUnclosedArray() 38 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testUnclosedObject() 72 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testMismatchArrayToObject() 73 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testMismatchArrayToObject()
|
D | AsyncPointerFromContext563Test.java | 44 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testPointerWithAsyncParser() 51 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); // 1 in _testPointerWithAsyncParser() 53 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); // 2 in _testPointerWithAsyncParser() 57 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); // 3 in _testPointerWithAsyncParser() 61 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); // 5 in _testPointerWithAsyncParser() 67 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); // 4 in _testPointerWithAsyncParser() 94 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); // 37 in _testPointerWithAsyncParser()
|
D | AsyncCommentParsingTest.java | 124 assertEquals(JsonToken.VALUE_NUMBER_INT, t); in _testCommentsBeforePropValue() 156 assertEquals(JsonToken.VALUE_NUMBER_INT, t); in _testCommentsBetweenArrayValues() 164 assertEquals(JsonToken.VALUE_NUMBER_INT, t); in _testCommentsBetweenArrayValues() 189 assertEquals(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testYAMLComments() 194 assertEquals(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testYAMLComments() 237 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testEnabled()
|
D | AsyncRootValuesTest.java | 125 assertToken(JsonToken.VALUE_NUMBER_INT, r.nextToken()); in _testMixedRootSequence() 131 assertToken(JsonToken.VALUE_NUMBER_INT, r.nextToken()); in _testMixedRootSequence() 133 assertToken(JsonToken.VALUE_NUMBER_INT, r.nextToken()); in _testMixedRootSequence() 138 assertToken(JsonToken.VALUE_NUMBER_INT, r.nextToken()); in _testMixedRootSequence()
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/ |
D | PointerFromContextTest.java | 31 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testViaParser() 38 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); // 1 in testViaParser() 40 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); // 2 in testViaParser() 44 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); // 3 in testViaParser() 48 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); // 5 in testViaParser() 54 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); // 4 in testViaParser() 81 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); // 37 in testViaParser() 157 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); // a:1 in testParserWithRoot() 161 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); // a:1 in testParserWithRoot() 170 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); // a:1 in testParserWithRoot() [all …]
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/misc/ |
D | ParsingContext2525Test.java | 123 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testSimpleArrayUsingPathAsPointer() 144 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testSimpleObjectUsingPathAsPointer() 169 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testFullDocUsingPathAsPointer() 176 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); // 1 in _testFullDocUsingPathAsPointer() 178 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); // 2 in _testFullDocUsingPathAsPointer() 182 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); // 3 in _testFullDocUsingPathAsPointer() 186 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); // 5 in _testFullDocUsingPathAsPointer() 192 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); // 4 in _testFullDocUsingPathAsPointer() 219 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); // 37 in _testFullDocUsingPathAsPointer()
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/ |
D | TestDecorators.java | 81 assertEquals(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testInputDecoration() 88 assertEquals(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testInputDecoration() 96 assertEquals(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testInputDecoration() 102 assertEquals(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testInputDecoration() 109 assertEquals(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testInputDecoration()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/ |
D | CoerceToBooleanTest.java | 104 …_verifyBooleanCoerceFail(aposToQuotes("{'value':1}"), true, JsonToken.VALUE_NUMBER_INT, "1", Boole… in testToBooleanCoercionFailBytes() 106 _verifyBooleanCoerceFail("1", true, JsonToken.VALUE_NUMBER_INT, "1", Boolean.TYPE); in testToBooleanCoercionFailBytes() 107 _verifyBooleanCoerceFail("1", true, JsonToken.VALUE_NUMBER_INT, "1", Boolean.class); in testToBooleanCoercionFailBytes() 112 …_verifyBooleanCoerceFail(aposToQuotes("{'value':1}"), false, JsonToken.VALUE_NUMBER_INT, "1", Bool… in testToBooleanCoercionFailChars() 114 _verifyBooleanCoerceFail("1", false, JsonToken.VALUE_NUMBER_INT, "1", Boolean.TYPE); in testToBooleanCoercionFailChars() 115 _verifyBooleanCoerceFail("1", false, JsonToken.VALUE_NUMBER_INT, "1", Boolean.class); in testToBooleanCoercionFailChars()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/ |
D | TestTreeTraversingParser.java | 62 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testSimple() 149 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testNested() 150 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testNested() 278 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testNumberOverflowInt() 290 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testNumberOverflowInt() 319 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testNumberOverflowLong() 331 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testNumberOverflowLong() 361 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testNumberOverflowLong()
|