/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/merge/ |
D | NodeMergeTest.java | 46 assertEquals("bar", base.path("second").asText()); in testObjectNodeUpdateValue() 47 assertEquals("foo", base.path("first").asText()); in testObjectNodeUpdateValue() 57 assertEquals("enabled", w.props.path("default").asText()); in testObjectNodeMerge() 58 assertEquals("xyz", w.props.path("stuff").asText()); in testObjectNodeMerge() 95 assertEquals("first", base.path(0).asText()); in testArrayNodeUpdateValue() 96 assertEquals("second", base.path(1).asText()); in testArrayNodeUpdateValue() 115 assertEquals("foo", w.list.get(5).asText()); in testArrayNodeMerge()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsonschema/ |
D | TestGenerateJsonSchema.java | 143 assertEquals("object", root.get("type").asText()); in testOldSchemaGeneration() 149 assertEquals("integer", property1Schema.get("type").asText()); in testOldSchemaGeneration() 153 assertEquals("string", property2Schema.get("type").asText()); in testOldSchemaGeneration() 157 assertEquals("array", property3Schema.get("type").asText()); in testOldSchemaGeneration() 159 assertEquals("string", property3Schema.get("items").get("type").asText()); in testOldSchemaGeneration() 162 assertEquals("array", property4Schema.get("type").asText()); in testOldSchemaGeneration() 164 assertEquals("number", property4Schema.get("items").get("type").asText()); in testOldSchemaGeneration()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/ |
D | NumberNodesTest.java | 30 assertEquals("1", n.asText()); in testShort() 60 assertEquals(String.valueOf(value), result.asText()); in testIntViaMapper() 79 assertEquals("1", n.asText()); in testInt() 81 assertEquals("1", n.asText("foo")); in testInt() 106 assertEquals("1", n.asText()); in testLong() 141 assertEquals(String.valueOf(value), result.asText()); in testLongViaMapper() 159 assertEquals("0.25", n.asText()); in testDouble() 199 assertEquals(String.valueOf(value), result.asText()); in testDoubleViaMapper() 217 assertEquals("0.45", n.asText()); in testFloat() 226 assertEquals("0.45", n.asText()); in testFloat() [all …]
|
D | TestJsonNode.java | 28 assertEquals("false", f.asText()); in testBoolean() 39 assertEquals("true", t.asText()); in testBoolean() 52 assertEquals("true", result.asText()); in testBoolean() 77 assertEquals("AAMD", new BinaryNode(data).asText()); in testBinary() 86 assertEquals("x", n.asText()); in testPOJO()
|
D | TextNodeTest.java | 26 assertEquals("foobar", n.asText("barf")); in testText() 27 assertEquals("", empty.asText("xyz")); in testText()
|
D | TestMissingNode.java | 16 assertEquals("", n.asText()); in testMissing() 30 assertEquals("foo", n.asText("foo")); in testMissing()
|
D | TestNullNode.java | 61 assertEquals("foo", n.asText("foo")); in testBasicsWithNullNode() 72 assertEquals("null", n.asText()); in testNullHandling()
|
D | TestTreeDeserialization.java | 57 String value = out.path("field").asText(); in testReadFromString()
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/comparator/ |
D | ComparatorMatcherBuilder.java | 86 .appendText(asText(comparator.compare(actual, expected))) 95 description.appendText("a value ").appendText(asText(minCompare)); 97 description.appendText(" or ").appendText(asText(maxCompare)); 105 private static String asText(int comparison) {
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/ |
D | NullNode.java | 43 @Override public String asText(String defaultValue) { return defaultValue; } in asText() method in NullNode 44 @Override public String asText() { return "null"; } in asText() method in NullNode
|
D | MissingNode.java | 61 @Override public String asText() { return ""; } in asText() method in MissingNode 63 @Override public String asText(String defaultValue) { return defaultValue; } in asText() method in MissingNode
|
D | POJONode.java | 57 public String asText() { return (_value == null) ? "null" : _value.toString(); } in asText() method in POJONode 59 @Override public String asText(String defaultValue) { in asText() method in POJONode
|
D | TextNode.java | 93 public String asText() { in asText() method in TextNode 98 public String asText(String defaultValue) { in asText() method in TextNode
|
D | NumericNode.java | 46 public abstract String asText(); in asText() method in NumericNode
|
D | BooleanNode.java | 57 public String asText() { in asText() method in BooleanNode
|
D | BinaryNode.java | 88 public String asText() { in asText() method in BinaryNode
|
D | ShortNode.java | 79 public String asText() { in asText() method in ShortNode
|
D | LongNode.java | 81 public String asText() { in asText() method in LongNode
|
D | IntNode.java | 105 public String asText() { in asText() method in IntNode
|
D | DoubleNode.java | 91 public String asText() { in asText() method in DoubleNode
|
D | FloatNode.java | 92 public String asText() { in asText() method in FloatNode
|
D | DecimalNode.java | 93 public String asText() { in asText() method in DecimalNode
|
D | BigIntegerNode.java | 92 public String asText() { in asText() method in BigIntegerNode
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ |
D | JsonNode.java | 552 public abstract String asText(); in asText() method in JsonNode 562 public String asText(String defaultValue) { in asText() method in JsonNode 563 String str = asText(); in asText()
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/json/async/ |
D | NonBlockingJsonParserBase.java | 830 protected final JsonToken _valueCompleteInt(int value, String asText) throws IOException in _valueCompleteInt() argument 832 _textBuffer.resetWithString(asText); in _valueCompleteInt() 833 _intLength = asText.length(); in _valueCompleteInt()
|