Home
last modified time | relevance | path

Searched refs:AbstractWrapper (Results 1 – 2 of 2) sorted by relevance

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/
DTestScalars.java25 private static class AbstractWrapper { class in TestScalars
30 public AbstractWrapper() { } in AbstractWrapper() method in TestScalars.AbstractWrapper
31 public AbstractWrapper(Serializable v) { value = v; } in AbstractWrapper() method in TestScalars.AbstractWrapper
95 AbstractWrapper result; in testScalarsViaAbstractType()
98 json = m.writeValueAsString(new AbstractWrapper(Integer.valueOf(3))); in testScalarsViaAbstractType()
99 result = m.readValue(json, AbstractWrapper.class); in testScalarsViaAbstractType()
102 json = m.writeValueAsString(new AbstractWrapper("abc")); in testScalarsViaAbstractType()
103 result = m.readValue(json, AbstractWrapper.class); in testScalarsViaAbstractType()
106 json = m.writeValueAsString(new AbstractWrapper("abc")); in testScalarsViaAbstractType()
107 result = m.readValue(json, AbstractWrapper.class); in testScalarsViaAbstractType()
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/
DTestFieldDeserialization.java83 static class AbstractWrapper { class in TestFieldDeserialization
126 AbstractWrapper w = m.readValue("{ \"value\" : \"abc\" }", in testTypeAnnotation()
127 AbstractWrapper.class); in testTypeAnnotation()