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 voidsetup()voidtestAddToSetList()voidtestAddToSetListWithUpsert()voidtestAddToSetSingle()voidtestAddToSetVarArgs()voidtestBit()voidtestBitTwoOperations()voidtestBitwiseAnd()voidtestBitwiseOr()voidtestInc()voidtestIncByOne()voidtestObjectInListSerialisation()voidtestObjectSerialisation()voidtestPopFirst()voidtestPopLast()voidtestPull()voidtestPullAllList()voidtestPullAllVarArgs()voidtestPullWithQuery()voidtestPush()voidtestPushAllList()voidtestRename()voidtestSameOperationTwice()voidtestSet()voidtestUnset()-
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()
-
-