Package org.mongojack
Class TestObjectIdHandling
- java.lang.Object
-
- org.mongojack.MongoDBTestBase
-
- org.mongojack.TestObjectIdHandling
-
public class TestObjectIdHandling extends MongoDBTestBase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTestObjectIdHandling.ByteArrayIdstatic classTestObjectIdHandling.ByteArrayIdCollectionstatic classTestObjectIdHandling.ByteArrayIdMethodsstatic classTestObjectIdHandling.ComplexIdstatic classTestObjectIdHandling.ConvertedIdstatic classTestObjectIdHandling.ConvertibleIdstatic classTestObjectIdHandling.ObjectIdCollectionstatic classTestObjectIdHandling.ObjectIdIdstatic classTestObjectIdHandling.ObjectWithComplexIdstatic classTestObjectIdHandling.ObjectWithConstructorOnlyObjectIdstatic classTestObjectIdHandling.ObjectWithUuidIdstatic classTestObjectIdHandling.StringIdstatic classTestObjectIdHandling.StringIdCollectionstatic classTestObjectIdHandling.StringIdMethods
-
Field Summary
-
Fields inherited from class org.mongojack.MongoDBTestBase
db, mongo, uuidRepresentation
-
-
Constructor Summary
Constructors Constructor Description TestObjectIdHandling()
-
Method Summary
-
Methods inherited from class org.mongojack.MongoDBTestBase
configure, connectToDb, disconnectFromDb, getCollection, getCollection, getCollection, getCollection, getCollectionWithView, getMongoCollection, getMongoCollection, getUnderlyingCollection, startDb
-
-
-
-
Method Detail
-
testObjectIdGenerated
@Test public void testObjectIdGenerated()
-
testObjectIdSaved
@Test public void testObjectIdSaved()
-
testObjectIdAnnotationOnStringGenerated
@Test public void testObjectIdAnnotationOnStringGenerated()
-
testObjectIdAnnotationOnStringSaved
@Test public void testObjectIdAnnotationOnStringSaved()
-
testRemoveByIdWithObjectId
@Test public void testRemoveByIdWithObjectId()
-
testFindOneByIdWithObjectId
@Test public void testFindOneByIdWithObjectId()
-
testObjectIdAnnotationOnByteArrayGenerated
@Test public void testObjectIdAnnotationOnByteArrayGenerated()
-
testObjectIdAnnotationOnByteArraySaved
@Test public void testObjectIdAnnotationOnByteArraySaved()
-
testCollectionOfObjectIds
@Test public void testCollectionOfObjectIds()
-
testCollectionOfObjectIdStrings
@Test public void testCollectionOfObjectIdStrings()
-
testCollectionOfObjectIdByteArrays
@Test public void testCollectionOfObjectIdByteArrays()
-
testObjectIdAnnotationOnMethodsGenerated
@Test public void testObjectIdAnnotationOnMethodsGenerated()
-
testObjectIdAnnotationOnMethodsSaved
@Test public void testObjectIdAnnotationOnMethodsSaved()
-
testByteArrayObjectIdMethods
@Test public void testByteArrayObjectIdMethods()
-
testObjectIdAnnotationOnConvertedSaved
@Test public void testObjectIdAnnotationOnConvertedSaved()
-
testRemoveByIdWithConvertedId
@Test public void testRemoveByIdWithConvertedId()
-
testFindOneByIdWithConvertedId
@Test public void testFindOneByIdWithConvertedId()
-
testObjectIdAnnotationOnComplexSaved
@Test public void testObjectIdAnnotationOnComplexSaved()
-
testRemoveByIdWithComplexId
@Test public void testRemoveByIdWithComplexId()
-
testFindOneByIdWithComplexId
@Test public void testFindOneByIdWithComplexId()
-
testObjectIdAnnotationOnUuidSaved
@Test public void testObjectIdAnnotationOnUuidSaved()
-
testRemoveByIdWithUuidId
@Test public void testRemoveByIdWithUuidId()
-
testFindOneByIdWithUuidId
@Test public void testFindOneByIdWithUuidId()
-
testObjectIdWithNoSetterSaved
@Test public void testObjectIdWithNoSetterSaved()
-
-