Package org.mongojack
Class TestIdAnnotatedClass
- java.lang.Object
-
- org.mongojack.MongoDBTestBase
-
- org.mongojack.TestIdAnnotatedClass
-
public class TestIdAnnotatedClass extends MongoDBTestBase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TestIdAnnotatedClass.BsonIdFieldAnnotated
static class
TestIdAnnotatedClass.CreatorGetterAnnotated
static class
TestIdAnnotatedClass.CreatorGetterObjectIdAnnotated
static class
TestIdAnnotatedClass.GetterSetterAnnotated
static class
TestIdAnnotatedClass.IdFieldAnnotated
static class
TestIdAnnotatedClass.IdFieldProxyAnnotated
static class
TestIdAnnotatedClass.IdFieldProxyAnnotatedSubclass
static class
TestIdAnnotatedClass.IdGetterSetterProxyAnnotated
static class
TestIdAnnotatedClass.IdGetterSetterProxyAnnotatedSubclass
static class
TestIdAnnotatedClass.JakartaJpaIdFieldAnnotated
static class
TestIdAnnotatedClass.JavaxJpaIdFieldAnnotated
static class
TestIdAnnotatedClass.ObjectIdFieldAnnotated
-
Field Summary
-
Fields inherited from class org.mongojack.MongoDBTestBase
db, mongo, uuidRepresentation
-
-
Constructor Summary
Constructors Constructor Description TestIdAnnotatedClass()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testBsonIdFieldAnnotated()
void
testCreatorGetterAnnotated()
void
testCreatorGetterObjectIdAnnotated()
void
testGetterSetterAnnotated()
void
testIdFieldAnnotated()
void
testJakartaJpaIdFieldAnnotated()
void
testJavaxJpaIdFieldAnnotated()
void
testObjectIdFieldAnnotated()
void
testProxyFieldAnnotated()
void
testProxyFieldAnnotatedIsGeneratedByMongo()
void
testProxyFieldAnnotatedIsGeneratedByMongoSubclass()
void
testProxyFieldAnnotatedSubclass()
void
testProxyFieldAnnotatedWithoutSettingIt()
void
testProxyFieldAnnotatedWithoutSettingItSubclass()
void
testProxyGetterSetterAnnotated()
void
testProxyGetterSetterAnnotatedIsGeneratedByMongo()
void
testProxyGetterSetterAnnotatedIsGeneratedByMongoSubclass()
void
testProxyGetterSetterAnnotatedSubclass()
void
testProxyGetterSetterAnnotatedWithoutSettingIt()
void
testProxyGetterSetterAnnotatedWithoutSettingItSubclass()
-
Methods inherited from class org.mongojack.MongoDBTestBase
configure, connectToDb, disconnectFromDb, getCollection, getCollection, getCollection, getCollection, getCollectionWithView, getMongoCollection, getMongoCollection, getUnderlyingCollection, startDb
-
-
-
-
Method Detail
-
testIdFieldAnnotated
@Test public void testIdFieldAnnotated()
-
testJavaxJpaIdFieldAnnotated
@Test public void testJavaxJpaIdFieldAnnotated()
-
testJakartaJpaIdFieldAnnotated
@Test public void testJakartaJpaIdFieldAnnotated()
-
testBsonIdFieldAnnotated
@Test public void testBsonIdFieldAnnotated()
-
testGetterSetterAnnotated
@Test public void testGetterSetterAnnotated()
-
testCreatorGetterAnnotated
@Test public void testCreatorGetterAnnotated()
-
testObjectIdFieldAnnotated
@Test public void testObjectIdFieldAnnotated()
-
testCreatorGetterObjectIdAnnotated
@Test public void testCreatorGetterObjectIdAnnotated()
-
testProxyFieldAnnotated
@Test public void testProxyFieldAnnotated()
-
testProxyFieldAnnotatedIsGeneratedByMongo
@Test public void testProxyFieldAnnotatedIsGeneratedByMongo()
-
testProxyFieldAnnotatedWithoutSettingIt
@Test public void testProxyFieldAnnotatedWithoutSettingIt()
-
testProxyFieldAnnotatedSubclass
@Test public void testProxyFieldAnnotatedSubclass()
-
testProxyFieldAnnotatedIsGeneratedByMongoSubclass
@Test public void testProxyFieldAnnotatedIsGeneratedByMongoSubclass()
-
testProxyFieldAnnotatedWithoutSettingItSubclass
@Test public void testProxyFieldAnnotatedWithoutSettingItSubclass()
-
testProxyGetterSetterAnnotated
@Test public void testProxyGetterSetterAnnotated()
-
testProxyGetterSetterAnnotatedIsGeneratedByMongo
@Test public void testProxyGetterSetterAnnotatedIsGeneratedByMongo()
-
testProxyGetterSetterAnnotatedWithoutSettingIt
@Test public void testProxyGetterSetterAnnotatedWithoutSettingIt()
-
testProxyGetterSetterAnnotatedSubclass
@Test public void testProxyGetterSetterAnnotatedSubclass()
-
testProxyGetterSetterAnnotatedIsGeneratedByMongoSubclass
@Test public void testProxyGetterSetterAnnotatedIsGeneratedByMongoSubclass()
-
testProxyGetterSetterAnnotatedWithoutSettingItSubclass
@Test public void testProxyGetterSetterAnnotatedWithoutSettingItSubclass()
-
-