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.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testByteArrayObjectIdMethods()
void
testCollectionOfObjectIdByteArrays()
void
testCollectionOfObjectIds()
void
testCollectionOfObjectIdStrings()
void
testFindOneByIdWithComplexId()
void
testFindOneByIdWithConvertedId()
void
testFindOneByIdWithObjectId()
void
testFindOneByIdWithUuidId()
void
testObjectIdAnnotationOnByteArrayGenerated()
void
testObjectIdAnnotationOnByteArraySaved()
void
testObjectIdAnnotationOnComplexSaved()
void
testObjectIdAnnotationOnConvertedSaved()
void
testObjectIdAnnotationOnMethodsGenerated()
void
testObjectIdAnnotationOnMethodsSaved()
void
testObjectIdAnnotationOnStringGenerated()
void
testObjectIdAnnotationOnStringSaved()
void
testObjectIdAnnotationOnUuidSaved()
void
testObjectIdGenerated()
void
testObjectIdSaved()
void
testRemoveByIdWithComplexId()
void
testRemoveByIdWithConvertedId()
void
testRemoveByIdWithObjectId()
void
testRemoveByIdWithUuidId()
-
Methods inherited from class org.mongojack.MongoDBTestBase
configure, connectToDb, disconnectFromDb, getCollection, getCollection, getCollection, getCollection, getCollectionWithView, getMongoCollection, getMongoCollection, getUnderlyingCollection
-
-
-
-
Method Detail
-
testObjectIdGenerated
public void testObjectIdGenerated()
-
testObjectIdSaved
public void testObjectIdSaved()
-
testObjectIdAnnotationOnStringGenerated
public void testObjectIdAnnotationOnStringGenerated()
-
testObjectIdAnnotationOnStringSaved
public void testObjectIdAnnotationOnStringSaved()
-
testRemoveByIdWithObjectId
public void testRemoveByIdWithObjectId()
-
testFindOneByIdWithObjectId
public void testFindOneByIdWithObjectId()
-
testObjectIdAnnotationOnByteArrayGenerated
public void testObjectIdAnnotationOnByteArrayGenerated()
-
testObjectIdAnnotationOnByteArraySaved
public void testObjectIdAnnotationOnByteArraySaved()
-
testCollectionOfObjectIds
public void testCollectionOfObjectIds()
-
testCollectionOfObjectIdStrings
public void testCollectionOfObjectIdStrings()
-
testCollectionOfObjectIdByteArrays
public void testCollectionOfObjectIdByteArrays()
-
testObjectIdAnnotationOnMethodsGenerated
public void testObjectIdAnnotationOnMethodsGenerated()
-
testObjectIdAnnotationOnMethodsSaved
public void testObjectIdAnnotationOnMethodsSaved()
-
testByteArrayObjectIdMethods
public void testByteArrayObjectIdMethods()
-
testObjectIdAnnotationOnConvertedSaved
public void testObjectIdAnnotationOnConvertedSaved()
-
testRemoveByIdWithConvertedId
public void testRemoveByIdWithConvertedId()
-
testFindOneByIdWithConvertedId
public void testFindOneByIdWithConvertedId()
-
testObjectIdAnnotationOnComplexSaved
public void testObjectIdAnnotationOnComplexSaved()
-
testRemoveByIdWithComplexId
public void testRemoveByIdWithComplexId()
-
testFindOneByIdWithComplexId
public void testFindOneByIdWithComplexId()
-
testObjectIdAnnotationOnUuidSaved
public void testObjectIdAnnotationOnUuidSaved()
-
testRemoveByIdWithUuidId
public void testRemoveByIdWithUuidId()
-
testFindOneByIdWithUuidId
public void testFindOneByIdWithUuidId()
-
-