| Constructor and Description |
|---|
JsonTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testArray()
Test for parsing a document.
|
void |
testDocument()
Test for parsing a document.
|
void |
testParseBadArray()
Test for parsing a document.
|
void |
testParseBadDocument()
Test for parsing a document.
|
void |
testParseBadDocument2()
Test for parsing a document.
|
void |
testParseBadDocument3()
Test for parsing a document.
|
void |
testParseBigLong()
Test parsing a integer value too big for an IntegerElement.
|
void |
testParseBigLongInArray()
Test parsing a integer value too big for an IntegerElement in an array.
|
void |
testParseBinData()
Test Parsing a BinData(..) element.
|
void |
testParseBinDataInArray()
Test Parsing a BinData(..) element.
|
void |
testParseDbPointer()
Test Parsing a DBPointer() element.
|
void |
testParseDbPointerInArray()
Test Parsing a DBPointer() element.
|
void |
testParseHexData()
Test Parsing a HexData(..) element.
|
void |
testParseHexDataInArray()
Test Parsing a HexData(..) element.
|
void |
testParseIncompleteArray()
Test for parsing a document.
|
void |
testParseIncompleteDocument()
Test for parsing a document.
|
void |
testParseIncompleteDocument2()
Test for parsing a document.
|
void |
testParseISODate()
Test Parsing a ISODate(..) element.
|
void |
testParseISODateInArray()
Test Parsing a ISODate(..) element.
|
void |
testParseMaxKey()
Test Parsing a MaxKey() element.
|
void |
testParseMaxKeyInArray()
Test Parsing a MaxKey() element.
|
void |
testParseMinKey()
Test Parsing a MinKey() element.
|
void |
testParseMinKeyInArray()
Test Parsing a MinKey() element.
|
void |
testParseNegativeLong()
Test parsing a integer value too small for an IntegerElement.
|
void |
testParseNegativeLongInArray()
Test parsing a integer value too small for an IntegerElement in an array.
|
void |
testParseNonDocumentOrArray()
Test for parsing a document.
|
void |
testParseNumberLong()
Test Parsing a NumberLong(..) element.
|
void |
testParseNumberLongInArray()
Test Parsing a NumberLong(..) element.
|
void |
testParseObjectId()
Test Parsing a ObjectId(..) element.
|
void |
testParseObjectIdInArray()
Test Parsing a ObjectId(..) element.
|
void |
testParseTimestamp()
Test Parsing a Timestamp(..) element.
|
void |
testParseTimestampInArray()
Test Parsing a Timestamp(..) element.
|
void |
testSerialize()
Test for the
Json.serialize(DocumentAssignable) method. |
public void testArray()
throws IOException,
JsonParseException
IOException - On a test failure.JsonParseException - On a test failure.public void testDocument()
throws IOException,
JsonParseException
IOException - On a test failure.JsonParseException - On a test failure.public void testParseBadArray()
throws JsonParseException
JsonParseException - On a test failure.public void testParseBadDocument()
throws JsonParseException
JsonParseException - On a test failure.public void testParseBadDocument2()
throws JsonParseException
JsonParseException - On a test failure.public void testParseBadDocument3()
throws JsonParseException
JsonParseException - On a test failure.public void testParseBigLong()
throws ParseException
ParseException - On a test failure.public void testParseBigLongInArray()
throws ParseException
ParseException - On a test failure.public void testParseBinData()
throws IllegalArgumentException,
UnsupportedEncodingException
UnsupportedEncodingException - On a test failure.IllegalArgumentException - On a test failure.public void testParseBinDataInArray()
throws IllegalArgumentException,
UnsupportedEncodingException
UnsupportedEncodingException - On a test failure.IllegalArgumentException - On a test failure.public void testParseDbPointer()
throws JsonParseException
JsonParseException - On a test failure.public void testParseDbPointerInArray()
throws JsonParseException
JsonParseException - On a test failure.public void testParseHexData()
throws JsonParseException,
IllegalArgumentException
JsonParseException - On a test failure.IllegalArgumentException - On a test failure.public void testParseHexDataInArray()
throws JsonParseException,
IllegalArgumentException
JsonParseException - On a test failure.IllegalArgumentException - On a test failure.public void testParseIncompleteArray()
throws JsonParseException
JsonParseException - On a test failure.public void testParseIncompleteDocument()
throws JsonParseException
JsonParseException - On a test failure.public void testParseIncompleteDocument2()
throws JsonParseException
JsonParseException - On a test failure.public void testParseISODate()
throws JsonParseException,
ParseException
JsonParseException - On a test failure.ParseException - On a test failure.public void testParseISODateInArray()
throws JsonParseException,
ParseException
JsonParseException - On a test failure.ParseException - On a test failure.public void testParseMaxKey()
throws JsonParseException
JsonParseException - On a test failure.public void testParseMaxKeyInArray()
throws JsonParseException
JsonParseException - On a test failure.public void testParseMinKey()
throws JsonParseException
JsonParseException - On a test failure.public void testParseMinKeyInArray()
throws JsonParseException
JsonParseException - On a test failure.public void testParseNegativeLong()
throws ParseException
ParseException - On a test failure.public void testParseNegativeLongInArray()
throws ParseException
ParseException - On a test failure.public void testParseNonDocumentOrArray()
throws JsonParseException
JsonParseException - On a test failure.public void testParseNumberLong()
throws JsonParseException
JsonParseException - On a test failure.public void testParseNumberLongInArray()
throws JsonParseException
JsonParseException - On a test failure.public void testParseObjectId()
throws JsonParseException
JsonParseException - On a test failure.public void testParseObjectIdInArray()
throws JsonParseException
JsonParseException - On a test failure.public void testParseTimestamp()
throws JsonParseException
JsonParseException - On a test failure.public void testParseTimestampInArray()
throws JsonParseException
JsonParseException - On a test failure.public void testSerialize()
throws JsonParseException
Json.serialize(DocumentAssignable) method.JsonParseException - On a test failure.Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.