Searched refs:BooleanWrapper (Results 1 – 5 of 5) sorted by relevance
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/format/ |
D | BooleanFormatTest.java | 34 protected static class BooleanWrapper { class in BooleanFormatTest 37 public BooleanWrapper() { } in BooleanWrapper() method in BooleanFormatTest.BooleanWrapper 38 public BooleanWrapper(Boolean value) { b = value; } in BooleanWrapper() method in BooleanFormatTest.BooleanWrapper 41 static class AltBoolean extends BooleanWrapper 58 MAPPER.writeValueAsString(new BooleanWrapper(true))); in testShapeViaDefaults() 63 m.writeValueAsString(new BooleanWrapper(true))); in testShapeViaDefaults()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/jdk/ |
D | MapWithGenericValuesDeserTest.java | 21 static class BooleanWrapper { class in MapWithGenericValuesDeserTest 23 @JsonCreator BooleanWrapper(Boolean value) { b = value; } in BooleanWrapper() method in MapWithGenericValuesDeserTest.BooleanWrapper 33 static class MapSubClass extends HashMap<String,BooleanWrapper> { } 39 @JsonDeserialize(keyAs=StringWrapper.class, contentAs=BooleanWrapper.class) 91 assertEquals(BooleanWrapper.class, value.getClass()); in testMapSubClass() 92 BooleanWrapper bw = (BooleanWrapper) value; in testMapSubClass() 133 assertEquals(BooleanWrapper.class, en.getValue().getClass()); in testAnnotatedMap() 135 assertEquals(Boolean.TRUE, ((BooleanWrapper) en.getValue()).b); in testAnnotatedMap()
|
D | JDKNumberLeniencyTest.java | 20 VANILLA_MAPPER.readValue("{\"b\" : 3}", BooleanWrapper.class).b); in testBooleanLeniencyInts() 24 _verifyBooleanCoercionFailure(STRICT_MAPPER, "{\"b\" : 1}", BooleanWrapper.class); in testBooleanLeniencyInts()
|
D | JDKScalarsTest.java | 33 static class BooleanWrapper { class in JDKScalarsTest 40 public BooleanWrapper(@JsonProperty("ctor") Boolean foo) { in BooleanWrapper() method in JDKScalarsTest.BooleanWrapper 178 …BooleanWrapper b = MAPPER.readValue("{\"primitive\" : "+value+", \"wrapper\":"+value+", \"ctor\":"… in testLongToBoolean() 179 BooleanWrapper.class); in testLongToBoolean() 186 BooleanWrapper.class); in testLongToBoolean()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ |
D | BaseMapTest.java | 42 protected static class BooleanWrapper { class in BaseMapTest 45 public BooleanWrapper() { } in BooleanWrapper() method in BaseMapTest.BooleanWrapper 46 public BooleanWrapper(Boolean value) { b = value; } in BooleanWrapper() method in BaseMapTest.BooleanWrapper
|