public class JsonWriterTest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.modeshape.schematic.document.EditableDocument |
doc1 |
protected org.modeshape.schematic.document.Document |
doc2 |
protected boolean |
print |
protected org.modeshape.schematic.internal.document.JsonReader |
reader |
protected org.modeshape.schematic.internal.document.JsonWriter |
writer |
| Constructor and Description |
|---|
JsonWriterTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterTest() |
protected void |
assertMatch(org.modeshape.schematic.document.Document doc1,
org.modeshape.schematic.document.Document doc2) |
void |
beforeTest() |
void |
shouldParseJsonWithNonAsciiCharactersInFields() |
void |
shouldWriteDocumentWithEscapedCharacters() |
void |
shouldWriteDocumentWithOneField() |
void |
shouldWriteDocumentWithTwoFields() |
void |
shouldWriteEmptyDocument() |
protected org.modeshape.schematic.internal.document.JsonWriter writer
protected org.modeshape.schematic.internal.document.JsonReader reader
protected boolean print
protected org.modeshape.schematic.document.EditableDocument doc1
protected org.modeshape.schematic.document.Document doc2
public JsonWriterTest()
public void beforeTest()
public void afterTest()
public void shouldWriteEmptyDocument() throws Exception
Exceptionpublic void shouldWriteDocumentWithOneField() throws Exception
Exceptionpublic void shouldWriteDocumentWithTwoFields() throws Exception
Exception@FixFor(value="MODE-2309") public void shouldWriteDocumentWithEscapedCharacters() throws Exception
Exception@FixFor(value="MODE-2309") public void shouldParseJsonWithNonAsciiCharactersInFields() throws Exception
Exceptionprotected void assertMatch(org.modeshape.schematic.document.Document doc1, org.modeshape.schematic.document.Document doc2)
Copyright © 2008–2021 JBoss, a division of Red Hat. All rights reserved.