public class JsonReaderParserTest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.modeshape.schematic.document.Document |
bson |
protected boolean |
print |
protected Object |
value |
protected org.modeshape.schematic.internal.document.JsonWriter |
writer |
| Constructor and Description |
|---|
JsonReaderParserTest() |
protected boolean print
protected org.modeshape.schematic.document.Document bson
protected org.modeshape.schematic.internal.document.JsonWriter writer
public JsonReaderParserTest()
public void beforeTest()
public void afterTest()
public void shouldParseValueAsNullGivenNoContent() throws Exception
Exceptionpublic void shouldParseValueAsNullGivenNullLiteral() throws Exception
Exceptionpublic void shouldParseValueAsNullGivenNullLiteralWithIncorrectCase() throws Exception
Exceptionpublic void shouldParseValueGivenTrueBooleanLiteral() throws Exception
Exceptionpublic void shouldParseValueGivenFalseBooleanLiteral() throws Exception
Exceptionpublic void shouldParseValueGivenTrueBooleanLiteralWithIncorrectCase() throws Exception
Exceptionpublic void shouldParseValueGivenFalseBooleanLiteralWithIncorrectCase() throws Exception
Exceptionpublic void shouldParseValueGivenIntegerValues() throws Exception
Exceptionpublic void shouldParseValueGivenLongValues() throws Exception
Exceptionpublic void shouldParseValueGivenDoubleValues() throws Exception
Exceptionpublic void shouldParseDocumentWithOneField() throws Exception
Exceptionpublic void shouldParseDocumentWithTwoFields() throws Exception
Exceptionpublic void shouldParseDocumentWithThreeFields() throws Exception
Exceptionpublic void shouldParseDocumentWithNestedDocument() throws Exception
Exceptionpublic void shouldParseDocumentWithExtraTrailingFieldDelimiter() throws Exception
Exceptionpublic void shouldParseDocumentWithExtraFieldDelimiters() throws Exception
Exceptionpublic void shouldParseDocumentWithUuid() throws Exception
Exceptionpublic void shouldParseDocumentWithObjectId() throws Exception
Exceptionpublic void shouldParseDocumentWithDate() throws Exception
Exceptionpublic void shouldParseDocumentWithCode() throws Exception
Exceptionpublic void shouldParseDocumentWithCodeAndSscope() throws Exception
Exceptionpublic void shouldParseDocumentWithBinary() throws Exception
Exceptionpublic void shouldParseIsoFormat() throws Exception
Exceptionpublic void shouldParseMsDateFormat() throws Exception
Exceptionpublic void shouldParseMsDateFormatWithSpaces() throws Exception
Exceptionpublic void shouldParseEscapedDateFormat() throws Exception
Exceptionpublic void shouldParseEscapedDateFormatWithSpaces() throws Exception
Exceptionpublic void shouldEvaluateIsoDateWithGmtTimeZone() throws Exception
Exceptionpublic void shouldEvaluateIsoDateWithZuluTimeZone() throws Exception
Exceptionpublic void shouldParseIsoDateWithZuluTimeZone() throws Exception
Exceptionpublic void dateMatcherShouldPreserveBackslashEscapeChars() throws Exception
Exceptionprotected void assertField(String name, Object value)
Copyright © 2008–2021 JBoss, a division of Red Hat. All rights reserved.