Home
last modified time | relevance | path

Searched refs:VALUE_NUMBER_INT (Results 1 – 25 of 102) sorted by relevance

12345

/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/
DNumberCoercionTest.java25 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 …]
DParserSequenceTest.java21 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 …]
DParserWithObjectsTest.java49 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()
DValueConversionsTest.java25 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()
DParserScopeMatchingTest.java26 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()
DNonStandardAposQuotedNamesTest.java94 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()
DParserLinefeedsTest.java52 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()
DNextNameParserTest.java41 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()
DNumberParsingTest.java70 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 …]
DNextXxxAccessTest.java139 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 …]
DLocationInArrayTest.java32 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()
DNumberOverflowTest.java70 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()
DParserClosingTest.java44 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()
DCommentParsingTest.java163 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/
DAsyncNumberCoercionTest.java30 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 …]
DAsyncParserNamesTest.java45 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()
DAsyncScopeMatchingTest.java21 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()
DAsyncPointerFromContext563Test.java44 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()
DAsyncCommentParsingTest.java124 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()
DAsyncRootValuesTest.java125 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/
DPointerFromContextTest.java31 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/
DParsingContext2525Test.java123 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/
DTestDecorators.java81 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/
DCoerceToBooleanTest.java104 …_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/
DTestTreeTraversingParser.java62 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()

12345