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 classTestIdAnnotatedClass.BsonIdFieldAnnotatedstatic classTestIdAnnotatedClass.CreatorGetterAnnotatedstatic classTestIdAnnotatedClass.CreatorGetterObjectIdAnnotatedstatic classTestIdAnnotatedClass.GetterSetterAnnotatedstatic classTestIdAnnotatedClass.IdFieldAnnotatedstatic classTestIdAnnotatedClass.IdFieldProxyAnnotatedstatic classTestIdAnnotatedClass.IdFieldProxyAnnotatedSubclassstatic classTestIdAnnotatedClass.IdGetterSetterProxyAnnotatedstatic classTestIdAnnotatedClass.IdGetterSetterProxyAnnotatedSubclassstatic classTestIdAnnotatedClass.JakartaJpaIdFieldAnnotatedstatic classTestIdAnnotatedClass.JavaxJpaIdFieldAnnotatedstatic classTestIdAnnotatedClass.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 voidtestBsonIdFieldAnnotated()voidtestCreatorGetterAnnotated()voidtestCreatorGetterObjectIdAnnotated()voidtestGetterSetterAnnotated()voidtestIdFieldAnnotated()voidtestJakartaJpaIdFieldAnnotated()voidtestJavaxJpaIdFieldAnnotated()voidtestObjectIdFieldAnnotated()voidtestProxyFieldAnnotated()voidtestProxyFieldAnnotatedIsGeneratedByMongo()voidtestProxyFieldAnnotatedIsGeneratedByMongoSubclass()voidtestProxyFieldAnnotatedSubclass()voidtestProxyFieldAnnotatedWithoutSettingIt()voidtestProxyFieldAnnotatedWithoutSettingItSubclass()voidtestProxyGetterSetterAnnotated()voidtestProxyGetterSetterAnnotatedIsGeneratedByMongo()voidtestProxyGetterSetterAnnotatedIsGeneratedByMongoSubclass()voidtestProxyGetterSetterAnnotatedSubclass()voidtestProxyGetterSetterAnnotatedWithoutSettingIt()voidtestProxyGetterSetterAnnotatedWithoutSettingItSubclass()-
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()
-
-