Home
last modified time | relevance | path

Searched refs:docStr (Results 1 – 8 of 8) sorted by relevance

/external/jackson-core/src/test/java/com/fasterxml/jackson/core/write/
DGeneratorBasicTest.java90 String docStr = sw.toString(); in testBooleanWrite() local
91 JsonParser jp = createParserUsingReader(docStr); in testBooleanWrite()
115 String docStr = sw.toString(); in testNullWrite() local
116 JsonParser jp = createParserUsingReader(docStr); in testNullWrite()
152 String docStr = useBytes ? bytes.toString("UTF-8") : sw.toString(); in _testRootIntsWrite() local
155 JsonParser jp = createParserUsingReader(docStr); in _testRootIntsWrite()
164 fail("Problem with document ["+docStr+"]: "+e.getMessage()); in _testRootIntsWrite()
198 String docStr = useBytes ? bytes.toString("UTF-8") : sw.toString(); in _testFieldValueWrites() local
201 docStr.trim()); in _testFieldValueWrites()
334 String docStr; in doTestIntValueWrite() local
[all …]
DArrayWriteTest.java47 String docStr = sw.toString(); in testEmptyArrayWrite() local
48 JsonParser jp = createParserUsingReader(docStr); in testEmptyArrayWrite()
61 docStr = sw.toString(); in testEmptyArrayWrite()
62 jp = createParserUsingReader(docStr); in testEmptyArrayWrite()
98 String docStr = sw.toString(); in testSimpleArrayWrite() local
99 JsonParser jp = createParserUsingReader(docStr); in testSimpleArrayWrite()
DPrettyPrinterTest.java112 String docStr = _verifyPrettyPrinter(gen, sw); in testSimpleDocWithMinimal() local
114 assertEquals(-1, docStr.indexOf('\n')); in testSimpleDocWithMinimal()
115 assertEquals(-1, docStr.indexOf('\t')); in testSimpleDocWithMinimal()
127 docStr = _verifyPrettyPrinter(gen, sw); in testSimpleDocWithMinimal()
128 assertEquals(-1, docStr.indexOf('\n')); in testSimpleDocWithMinimal()
129 assertTrue(docStr.indexOf('\t') >= 0); in testSimpleDocWithMinimal()
234 String docStr = sw.toString(); in _verifyPrettyPrinter() local
235 JsonParser jp = createParserUsingReader(docStr); in _verifyPrettyPrinter()
261 return docStr; in _verifyPrettyPrinter()
DObjectWriteTest.java50 String docStr = sw.toString(); in testEmptyObjectWrite() local
51 JsonParser jp = createParserUsingReader(docStr); in testEmptyObjectWrite()
88 String docStr = sw.toString(); in testSimpleObjectWrite() local
89 JsonParser jp = createParserUsingReader(docStr); in testSimpleObjectWrite()
140 String docStr = sw.toString(); in testConvenienceMethods() local
141 JsonParser jp = createParserUsingReader(docStr); in testConvenienceMethods()
234 String docStr = sw.toString(); in testConvenienceMethodsWithNulls() local
235 JsonParser jp = createParserUsingReader(docStr); in testConvenienceMethodsWithNulls()
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/
DDocumentedElement.java24 public void setDocumentation(String docStr) { in setDocumentation() argument
25 if (docStr != null) { in setDocumentation()
26 this.documentation = START_OR_NEWLINE_SPACE.matcher(docStr).replaceAll("$1"); in setDocumentation()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/
DStringGenerationFromReaderTest.java168 String docStr = sw.toString(); in doTestBasicEscaping() local
169 JsonParser p = createParserUsingReader(docStr); in doTestBasicEscaping()
DStringGenerationTest.java175 String docStr = sw.toString(); in doTestBasicEscaping() local
176 JsonParser p = createParserUsingReader(docStr); in doTestBasicEscaping()
/external/tinyxml2/
Dxmltest.cpp2330 …void TestParseError(const char *testString, const char *docStr, XMLError expected_error, int expec… in main()
2333 const XMLError parseError = doc.Parse(docStr); in main()
2341 … void TestStringLines(const char *testString, const char *docStr, const char *expectedLines) in main()
2344 doc.Parse(docStr); in main()