Package org.mongojack
Class TestDBUpdate
- java.lang.Object
-
- org.mongojack.MongoDBTestBase
-
- org.mongojack.TestDBUpdate
-
public class TestDBUpdate extends MongoDBTestBase
Test a Updates item
-
-
Field Summary
-
Fields inherited from class org.mongojack.MongoDBTestBase
db, mongo, uuidRepresentation
-
-
Constructor Summary
Constructors Constructor Description TestDBUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setup()
void
testAddToSetList()
void
testAddToSetListWithUpsert()
void
testAddToSetSingle()
void
testAddToSetVarArgs()
void
testBit()
void
testBitTwoOperations()
void
testBitwiseAnd()
void
testBitwiseOr()
void
testInc()
void
testIncByOne()
void
testObjectInListSerialisation()
void
testObjectSerialisation()
void
testPopFirst()
void
testPopLast()
void
testPull()
void
testPullAllList()
void
testPullAllVarArgs()
void
testPullWithQuery()
void
testPush()
void
testPushAllList()
void
testRename()
void
testSameOperationTwice()
void
testSet()
void
testUnset()
-
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()
-
testIncByOne
@Test public void testIncByOne()
-
testInc
@Test public void testInc()
-
testSet
@Test public void testSet()
-
testUnset
@Test public void testUnset()
-
testPush
@Test public void testPush()
-
testPushAllList
@Test public void testPushAllList()
-
testAddToSetSingle
@Test public void testAddToSetSingle()
-
testAddToSetList
@Test public void testAddToSetList()
-
testAddToSetListWithUpsert
@Test public void testAddToSetListWithUpsert()
-
testAddToSetVarArgs
@Test public void testAddToSetVarArgs()
-
testPopFirst
@Test public void testPopFirst()
-
testPopLast
@Test public void testPopLast()
-
testPull
@Test public void testPull()
-
testPullWithQuery
@Test public void testPullWithQuery()
-
testPullAllList
@Test public void testPullAllList()
-
testPullAllVarArgs
@Test public void testPullAllVarArgs()
-
testRename
@Test public void testRename()
-
testBit
@Test public void testBit()
-
testBitTwoOperations
@Test public void testBitTwoOperations()
-
testBitwiseAnd
@Test public void testBitwiseAnd()
-
testBitwiseOr
@Test public void testBitwiseOr()
-
testObjectSerialisation
@Test public void testObjectSerialisation()
-
testObjectInListSerialisation
@Test public void testObjectInListSerialisation()
-
testSameOperationTwice
@Test public void testSameOperationTwice()
-
-