Package org.mongojack
Class TestJsonViews
- java.lang.Object
-
- org.mongojack.MongoDBTestBase
-
- org.mongojack.TestJsonViews
-
public class TestJsonViews extends MongoDBTestBase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
TestJsonViews.MockView1
class
TestJsonViews.MockView2
static class
TestJsonViews.ObjectWithView
-
Field Summary
-
Fields inherited from class org.mongojack.MongoDBTestBase
db, mongo, uuidRepresentation
-
-
Constructor Summary
Constructors Constructor Description TestJsonViews()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
testDisabledPropertyWithView()
void
testDisabledPropertyWithViewAfterUpdate()
void
testEnabledPropertyWithView()
void
testNormalPropertyWithView()
-
Methods inherited from class org.mongojack.MongoDBTestBase
configure, connectToDb, disconnectFromDb, getCollection, getCollection, getCollection, getCollection, getCollectionWithView, getMongoCollection, getMongoCollection, getUnderlyingCollection, startDb
-
-
-
-
Method Detail
-
setUp
@BeforeEach public void setUp()
-
testNormalPropertyWithView
@Test public void testNormalPropertyWithView()
-
testEnabledPropertyWithView
@Test public void testEnabledPropertyWithView()
-
testDisabledPropertyWithView
@Test public void testDisabledPropertyWithView()
-
testDisabledPropertyWithViewAfterUpdate
@Test public void testDisabledPropertyWithViewAfterUpdate()
-
-