Home
last modified time | relevance | path

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

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/
DObjectReaderValueOfWithValueTypeTest.java33 ObjectReader objectReader; field in ObjectReaderValueOfWithValueTypeTest
43 when(objectReader.readValue((String) any())).thenReturn(pojo); in testValueOfStringWithValueType()
44 when(objectReader.forType((Class<?>) any())).thenReturn(objectReader); in testValueOfStringWithValueType()
45 when(objectReader.readValue((String) any(), (Class<?>) any())).thenCallRealMethod(); in testValueOfStringWithValueType()
48 POJO result = objectReader.readValue(source, POJO.class); in testValueOfStringWithValueType()
51 verify(objectReader).forType(POJO.class); in testValueOfStringWithValueType()
52 verify(objectReader).readValue(source); in testValueOfStringWithValueType()
58 when(objectReader.forType((Class<?>) any())).thenReturn(objectReader); in testValueOfByteArrayWithValueType()
59 when(objectReader.readValue((byte[]) any())).thenReturn(pojo); in testValueOfByteArrayWithValueType()
60 when(objectReader.readValue((byte[]) any(), (Class<?>) any())).thenCallRealMethod(); in testValueOfByteArrayWithValueType()
[all …]
DBaseMapTest.java245 protected ObjectReader objectReader() { in objectReader() method in BaseMapTest
249 protected ObjectReader objectReader(Class<?> cls) { in objectReader() method in BaseMapTest
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/
DTestConvertingDeserializer.java126 ConvertingBean bean = objectReader(ConvertingBean.class).readValue("[1,2]"); in testClassAnnotationSimple()
134 ConvertingBeanContainer container = objectReader(ConvertingBeanContainer.class) in testClassAnnotationForLists()
144 PointWrapper wrapper = objectReader(PointWrapper.class).readValue("{\"value\":[3,4]}"); in testPropertyAnnotationSimple()
153 LowerCaseText text = objectReader(LowerCaseText.class).readValue("{\"text\":\"Yay!\"}"); in testPropertyAnnotationLowerCasing()
161 …LowerCaseTextArray texts = objectReader(LowerCaseTextArray.class).readValue("{\"texts\":[\"ABC\"]}… in testPropertyAnnotationArrayLC()
170 PointListWrapperArray array = objectReader(PointListWrapperArray.class) in testPropertyAnnotationForArrays()
180 PointListWrapperList array = objectReader(PointListWrapperList.class) in testPropertyAnnotationForLists()
190 PointListWrapperMap map = objectReader(PointListWrapperMap.class) in testPropertyAnnotationForMaps()
204 Issue795Bean bean = objectReader(Issue795Bean.class) in testConvertToAbstract()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/failing/
DParsingContextExtTypeId2747Test.java54 ObjectReader objectReader = newJsonMapper().readerFor(Wrapper.class); in testLocationAccessWithExtTypeId() local
56 Wrapper wrapper = objectReader.readValue("{" + in testLocationAccessWithExtTypeId()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/interop/
DTestFormatDetection.java9 private final ObjectReader READER = objectReader();
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/creators/
DBigCreatorTest.java46 private final ObjectReader BIGGIE_READER = objectReader(Biggie.class);
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DTestNullNode.java80 ObjectNode root = (ObjectNode) objectReader().readTree("{\"x\":null}"); in testNullHandling()