Package org.mongojack
Class TestParsingAndGenerating
- java.lang.Object
-
- org.mongojack.MongoDBTestBase
-
- org.mongojack.TestParsingAndGenerating
-
public class TestParsingAndGenerating extends MongoDBTestBase
Test for parser and generator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TestParsingAndGenerating.IgnoreUnknownObject
static class
TestParsingAndGenerating.ObjectWithByteArray
-
Field Summary
-
Fields inherited from class org.mongojack.MongoDBTestBase
db, mongo, uuidRepresentation
-
-
Constructor Summary
Constructors Constructor Description TestParsingAndGenerating()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deserializingNull()
void
deserializingUndefined()
void
setup()
void
testByteArray()
void
testDateIsStoredAsBsonDate()
void
testEverything()
void
testInsertNoId()
void
testInsertRetrieveAllEmpty()
void
testInsertRetrieveBigDecimal()
void
testInsertRetrieveBigInteger()
void
testInsertRetrieveBigInteger2()
void
testInsertRetrieveBoolean()
void
testInsertRetrieveDate()
void
testInsertRetrieveDouble()
void
testInsertRetrieveEmbeddedObject()
void
testInsertRetrieveEmebeddedObjectList()
void
testInsertRetrieveEmptyList()
void
testInsertRetrieveFloat()
void
testInsertRetrieveInteger()
void
testInsertRetrieveLong()
void
testInsertRetrievePopulatedComplexList()
void
testInsertRetrievePopulatedSimpleList()
void
testInsertRetrieveString()
void
testIntId()
void
testParseErrors()
-
Methods inherited from class org.mongojack.MongoDBTestBase
configure, connectToDb, disconnectFromDb, getCollection, getCollection, getCollection, getCollection, getCollectionWithView, getMongoCollection, getMongoCollection, getUnderlyingCollection
-
-
-
-
Method Detail
-
testInsertNoId
public void testInsertNoId()
-
testInsertRetrieveAllEmpty
public void testInsertRetrieveAllEmpty()
-
testInsertRetrieveString
public void testInsertRetrieveString()
-
testInsertRetrieveInteger
public void testInsertRetrieveInteger()
-
testInsertRetrieveLong
public void testInsertRetrieveLong()
-
testInsertRetrieveBigInteger
public void testInsertRetrieveBigInteger()
-
testInsertRetrieveBigInteger2
public void testInsertRetrieveBigInteger2()
-
testInsertRetrieveFloat
public void testInsertRetrieveFloat()
-
testInsertRetrieveDouble
public void testInsertRetrieveDouble()
-
testInsertRetrieveBigDecimal
public void testInsertRetrieveBigDecimal()
-
testInsertRetrieveBoolean
public void testInsertRetrieveBoolean()
-
testInsertRetrieveDate
public void testInsertRetrieveDate()
-
testDateIsStoredAsBsonDate
public void testDateIsStoredAsBsonDate()
-
testInsertRetrieveEmptyList
public void testInsertRetrieveEmptyList()
-
testInsertRetrievePopulatedSimpleList
public void testInsertRetrievePopulatedSimpleList()
-
testInsertRetrievePopulatedComplexList
public void testInsertRetrievePopulatedComplexList()
-
testInsertRetrieveEmbeddedObject
public void testInsertRetrieveEmbeddedObject()
-
testInsertRetrieveEmebeddedObjectList
public void testInsertRetrieveEmebeddedObjectList()
-
testEverything
public void testEverything()
-
testIntId
public void testIntId()
-
testParseErrors
public void testParseErrors()
-
testByteArray
public void testByteArray()
-
deserializingNull
public void deserializingNull()
-
deserializingUndefined
public void deserializingUndefined()
-
-