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, startDb
-
-
-
-
Method Detail
-
testInsertNoId
@Test public void testInsertNoId()
-
testInsertRetrieveAllEmpty
@Test public void testInsertRetrieveAllEmpty()
-
testInsertRetrieveString
@Test public void testInsertRetrieveString()
-
testInsertRetrieveInteger
@Test public void testInsertRetrieveInteger()
-
testInsertRetrieveLong
@Test public void testInsertRetrieveLong()
-
testInsertRetrieveBigInteger
@Test public void testInsertRetrieveBigInteger()
-
testInsertRetrieveBigInteger2
@Test public void testInsertRetrieveBigInteger2()
-
testInsertRetrieveFloat
@Test public void testInsertRetrieveFloat()
-
testInsertRetrieveDouble
@Test public void testInsertRetrieveDouble()
-
testInsertRetrieveBigDecimal
@Test public void testInsertRetrieveBigDecimal()
-
testInsertRetrieveBoolean
@Test public void testInsertRetrieveBoolean()
-
testInsertRetrieveDate
@Test public void testInsertRetrieveDate()
-
testDateIsStoredAsBsonDate
@Test public void testDateIsStoredAsBsonDate()
-
testInsertRetrieveEmptyList
@Test public void testInsertRetrieveEmptyList()
-
testInsertRetrievePopulatedSimpleList
@Test public void testInsertRetrievePopulatedSimpleList()
-
testInsertRetrievePopulatedComplexList
@Test public void testInsertRetrievePopulatedComplexList()
-
testInsertRetrieveEmbeddedObject
@Test public void testInsertRetrieveEmbeddedObject()
-
testInsertRetrieveEmebeddedObjectList
@Test public void testInsertRetrieveEmebeddedObjectList()
-
testEverything
@Test public void testEverything()
-
testIntId
@Test public void testIntId()
-
testParseErrors
@Test public void testParseErrors()
-
testByteArray
@Test public void testByteArray()
-
deserializingNull
@Test public void deserializingNull()
-
deserializingUndefined
@Test public void deserializingUndefined()
-
-