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 class
TestObjectIdHandling.ByteArrayId
static class
TestObjectIdHandling.ByteArrayIdCollection
static class
TestObjectIdHandling.ByteArrayIdMethods
static class
TestObjectIdHandling.ComplexId
static class
TestObjectIdHandling.ConvertedId
static class
TestObjectIdHandling.ConvertibleId
static class
TestObjectIdHandling.ObjectIdCollection
static class
TestObjectIdHandling.ObjectIdId
static class
TestObjectIdHandling.ObjectWithComplexId
static class
TestObjectIdHandling.ObjectWithConstructorOnlyObjectId
static class
TestObjectIdHandling.ObjectWithUuidId
static class
TestObjectIdHandling.StringId
static class
TestObjectIdHandling.StringIdCollection
static class
TestObjectIdHandling.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()
-
-