Home
last modified time | relevance | path

Searched refs:asText (Results 1 – 25 of 34) sorted by relevance

12

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/merge/
DNodeMergeTest.java46 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/
DTestGenerateJsonSchema.java143 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/
DNumberNodesTest.java30 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 …]
DTestJsonNode.java28 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()
DTextNodeTest.java26 assertEquals("foobar", n.asText("barf")); in testText()
27 assertEquals("", empty.asText("xyz")); in testText()
DTestMissingNode.java16 assertEquals("", n.asText()); in testMissing()
30 assertEquals("foo", n.asText("foo")); in testMissing()
DTestNullNode.java61 assertEquals("foo", n.asText("foo")); in testBasicsWithNullNode()
72 assertEquals("null", n.asText()); in testNullHandling()
DTestTreeDeserialization.java57 String value = out.path("field").asText(); in testReadFromString()
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/comparator/
DComparatorMatcherBuilder.java86 .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/
DNullNode.java43 @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
DMissingNode.java61 @Override public String asText() { return ""; } in asText() method in MissingNode
63 @Override public String asText(String defaultValue) { return defaultValue; } in asText() method in MissingNode
DPOJONode.java57 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
DTextNode.java93 public String asText() { in asText() method in TextNode
98 public String asText(String defaultValue) { in asText() method in TextNode
DNumericNode.java46 public abstract String asText(); in asText() method in NumericNode
DBooleanNode.java57 public String asText() { in asText() method in BooleanNode
DBinaryNode.java88 public String asText() { in asText() method in BinaryNode
DShortNode.java79 public String asText() { in asText() method in ShortNode
DLongNode.java81 public String asText() { in asText() method in LongNode
DIntNode.java105 public String asText() { in asText() method in IntNode
DDoubleNode.java91 public String asText() { in asText() method in DoubleNode
DFloatNode.java92 public String asText() { in asText() method in FloatNode
DDecimalNode.java93 public String asText() { in asText() method in DecimalNode
DBigIntegerNode.java92 public String asText() { in asText() method in BigIntegerNode
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DJsonNode.java552 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/
DNonBlockingJsonParserBase.java830 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()

12