Package de.bwaldvogel.mongo.backend
Class AbstractBackendTest
java.lang.Object
de.bwaldvogel.mongo.backend.AbstractTest
de.bwaldvogel.mongo.backend.AbstractBackendTest
-
Field Summary
FieldsFields inherited from class de.bwaldvogel.mongo.backend.AbstractTest
ADMIN_DB_NAME, backend, clock, collection, connectionString, db, syncClient, TEST_DATABASE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidassertMongoWriteException(org.assertj.core.api.ThrowableAssert.ThrowingCallable callable, int expectedErrorCode, String expectedMessage) protected static voidassertMongoWriteException(org.assertj.core.api.ThrowableAssert.ThrowingCallable callable, int expectedErrorCode, String expectedCodeName, String expectedMessage) protected com.mongodb.client.MongoCollection<org.bson.Document>getCollection(String collectionName) protected StringvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidtestPing()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidtestSort()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class de.bwaldvogel.mongo.backend.AbstractTest
assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, awaitNumberOfOpenCursors, createBackend, dropAllDatabases, getAdminDb, getNumberOfOpenCursors, killCursors, listDatabaseNames, restart, runCommand, runCommand, setUp, setUpBackend, tearDown
-
Field Details
-
OTHER_TEST_DATABASE_NAME
- See Also:
-
-
Constructor Details
-
AbstractBackendTest
public AbstractBackendTest()
-
-
Method Details
-
getCollection
protected com.mongodb.client.MongoCollection<org.bson.Document> getCollection(String collectionName) -
testSimpleInsert
- Throws:
Exception
-
testSimpleCursor
@Test public void testSimpleCursor() -
testCursor_skipDocuments
@Test public void testCursor_skipDocuments() -
testCursor_skipAndLimitDocuments
@Test public void testCursor_skipAndLimitDocuments() -
testCursor_withProjection
@Test public void testCursor_withProjection() -
testCloseCursor
@Test public void testCloseCursor() -
testCursor_iteratingACursorThatNoLongerExists
@Test public void testCursor_iteratingACursorThatNoLongerExists() -
testSimpleInsertDelete
- Throws:
Exception
-
testCreateCollection
- Throws:
Exception
-
testCreateCappedCollection_invalidOptions
- Throws:
Exception
-
testCreateCollectionAlreadyExists
- Throws:
Exception
-
testUnsupportedModifier
- Throws:
Exception
-
testUpsertWithInc
@Test public void testUpsertWithInc() -
testBasicUpdate
@Test public void testBasicUpdate() -
testCollectionStats_newCollection
- Throws:
Exception
-
testCollectionStats
- Throws:
Exception
-
testGetLogStartupWarnings
- Throws:
Exception
-
testGetLogWhichDoesNotExist
- Throws:
Exception
-
testCompoundDateIdUpserts
@Test public void testCompoundDateIdUpserts() -
testCompoundSort
@Test public void testCompoundSort() -
testCountCommand
@Test public void testCountCommand() -
testNonPrimaryCountCommand
@Test public void testNonPrimaryCountCommand() -
testCountCommandWithQuery
@Test public void testCountCommandWithQuery() -
testCountCommandWithSkipAndLimit
@Test public void testCountCommandWithSkipAndLimit() -
testCountDocuments
- Throws:
Exception
-
testCountDocumentsWithQuery
@Test public void testCountDocumentsWithQuery() -
testEstimatedDocumentCount
- Throws:
Exception
-
testCreateIndexes
@Test public void testCreateIndexes() -
testCreateIndexesWithoutNamespace
@Test public void testCreateIndexesWithoutNamespace() -
testCreateSecondPrimaryKeyIndex
@Test public void testCreateSecondPrimaryKeyIndex() -
testCreateIndexOnNonExistingDatabase
@Test public void testCreateIndexOnNonExistingDatabase() -
testDropAndRecreateIndex
- Throws:
Exception
-
testCurrentOperations
- Throws:
Exception
-
testListCollectionsEmpty
- Throws:
Exception
-
testListCollections
- Throws:
Exception
-
testGetCollectionNames
- Throws:
Exception
-
testSystemNamespaces
- Throws:
Exception
-
testDatabaseStats
- Throws:
Exception
-
testDeleteDecrementsCount
@Test public void testDeleteDecrementsCount() -
testDeleteInSystemNamespace
- Throws:
Exception
-
testUpdateInSystemNamespace
- Throws:
Exception
-
testDistinctQuery
@Test public void testDistinctQuery() -
testDistinctUuids_legacy
- Throws:
Exception
-
testDistinctUuids
- Throws:
Exception
-
testDistinctArrayField
- Throws:
Exception
-
testDistinct_documentArray
- Throws:
Exception
-
testDistinct_missingCollection
- Throws:
Exception
-
testInsertQueryAndSortBinaryTypes
- Throws:
Exception
-
testUuidAsId
- Throws:
Exception
-
testTypeMatching
- Throws:
Exception
-
testDistinctQueryWithDot
@Test public void testDistinctQueryWithDot() -
testDropCollection
- Throws:
Exception
-
testDropCollectionAlsoDropsFromDB
- Throws:
Exception
-
testDropDatabaseAlsoDropsCollectionData
- Throws:
Exception
-
testDropDatabaseDropsAllData
- Throws:
Exception
-
testDropEmptyDatabase
- Throws:
Exception
-
testDropDatabaseAfterAddingIndexMultipleTimes
- Throws:
Exception
-
testAddIndexAgainWithDifferentOptions
- Throws:
Exception
-
testEmbeddedSort
@Test public void testEmbeddedSort() -
testEmbeddedSort_arrayOfDocuments
@Test public void testEmbeddedSort_arrayOfDocuments() -
testFindAndModifyCommandEmpty
- Throws:
Exception
-
testFindAndModifyCommandIllegalOp
- Throws:
Exception
-
testFindAndModifyCommandUpdate
- Throws:
Exception
-
testFindAndModifyCommand_UpdateSameFields
- Throws:
Exception
-
testFindAndModifyCommand_UpdateFieldAndItsSubfield
- Throws:
Exception
-
testFindOneAndUpdateError
- Throws:
Exception
-
testFindOneAndUpdateFields
- Throws:
Exception
-
testFineOneAndUpdateNotFound
- Throws:
Exception
-
testFineOneAndUpdateRemove
@Test public void testFineOneAndUpdateRemove() -
testFineOneAndUpdateReturnNew
@Test public void testFineOneAndUpdateReturnNew() -
testFineOneAndUpdateMax
@Test public void testFineOneAndUpdateMax() -
testFineOneAndUpdateMin
@Test public void testFineOneAndUpdateMin() -
testFindOneAndUpdateReturnOld
@Test public void testFindOneAndUpdateReturnOld() -
testFindOneAndUpdateSorted
- Throws:
Exception
-
testFindOneAndUpdateUpsert
@Test public void testFindOneAndUpdateUpsert() -
testFindOneAndUpdateUpsertReturnBefore
@Test public void testFindOneAndUpdateUpsertReturnBefore() -
testFindOneAndUpdateWithArrayFilters
@Test public void testFindOneAndUpdateWithArrayFilters() -
testUpdateManyWithArrayFilters
@Test public void testUpdateManyWithArrayFilters() -
testUpdateOneWithArrayFilter
- Throws:
Exception
-
testUpsertWithArrayFilters
@Test public void testUpsertWithArrayFilters() -
testUpdateWithMultipleArrayFilters
- Throws:
Exception
-
testUpdateWithMultipleComplexArrayFilters
- Throws:
Exception
-
testFindOneAndUpdate_IllegalArrayFilters
@Test public void testFindOneAndUpdate_IllegalArrayFilters() -
testFindOneAndUpdate_IllegalArrayFiltersPaths
@Test public void testFindOneAndUpdate_IllegalArrayFiltersPaths() -
testFindAndRemoveFromEmbeddedList
@Test public void testFindAndRemoveFromEmbeddedList() -
testFindOne
@Test public void testFindOne() -
testFindOneById
@Test public void testFindOneById() -
testFindOneIn
@Test public void testFindOneIn() -
testFindWithLimit
@Test public void testFindWithLimit() -
testFindInReverseNaturalOrder
@Test public void testFindInReverseNaturalOrder() -
testFindWithPattern
@Test public void testFindWithPattern() -
testFindWithQuery
@Test public void testFindWithQuery() -
testFindWithSkipLimit
@Test public void testFindWithSkipLimit() -
testFindWithSkipLimitInReverseOrder
@Test public void testFindWithSkipLimitInReverseOrder() -
testFindWithSkipLimitAfterDelete
@Test public void testFindWithSkipLimitAfterDelete() -
testFullUpdateWithSameId
- Throws:
Exception
-
testGetCollection
@Test public void testGetCollection() -
testNullId
- Throws:
Exception
-
testIdInQueryResultsInIndexOrder
@Test public void testIdInQueryResultsInIndexOrder() -
testInQuery_Arrays
- Throws:
Exception
-
testIdNotAllowedToBeUpdated
@Test public void testIdNotAllowedToBeUpdated() -
testCommandThatTriggersAnInternalException
- Throws:
Exception
-
testInsert
- Throws:
Exception
-
testInsertDuplicate
- Throws:
Exception
-
testInsertDuplicateThrows
@Test public void testInsertDuplicateThrows() -
testInsertDuplicateWithConcernThrows
@Test public void testInsertDuplicateWithConcernThrows() -
testInsertIncrementsCount
@Test public void testInsertIncrementsCount() -
testInsertQuery
- Throws:
Exception
-
testInsertRemove
- Throws:
Exception
-
testInsertInSystemNamespace
- Throws:
Exception
-
testListDatabaseNames
- Throws:
Exception
-
testQuery
- Throws:
Exception
-
testQueryAll
- Throws:
Exception
-
testQueryCount
- Throws:
Exception
-
testQueryLimitEmptyQuery
- Throws:
Exception
-
testQueryLimitSimpleQuery
- Throws:
Exception
-
testQueryNull
- Throws:
Exception
-
testQuerySkipLimitEmptyQuery
- Throws:
Exception
-
testQuerySkipLimitSimpleQuery
- Throws:
Exception
-
testQuerySort
- Throws:
Exception
-
testQueryWithFieldSelector
- Throws:
Exception
-
testQueryWithDotNotationFieldSelector
- Throws:
Exception
-
testQueryWithDotNotationFieldSelector_Array
- Throws:
Exception
-
testQueryWithDocumentAsFieldSelection
- Throws:
Exception
-
testQuerySystemNamespace
- Throws:
Exception
-
testQueryAllExpression
- Throws:
Exception
-
testAndQueryWithAllAndNin
- Throws:
Exception
-
testAndQueryWithAllAndSize
- Throws:
Exception
-
testMatchesAllWithEmptyCollection
- Throws:
Exception
-
testQueryWithSubdocumentIndex
- Throws:
Exception
-
testQueryBinaryData
- Throws:
Exception
-
testRemove
@Test public void testRemove() -
testRemoveSingle
- Throws:
Exception
-
testRemoveReturnsModifiedDocumentCount
@Test public void testRemoveReturnsModifiedDocumentCount() -
testReservedCollectionNames
- Throws:
Exception
-
testServerStatus
- Throws:
Exception
-
testPing
- Throws:
Exception
-
testReplSetGetStatus
- Throws:
Exception
-
testWhatsMyUri
- Throws:
Exception
-
testSortDocuments
- Throws:
Exception
-
testSort
@Test public void testSort() -
testSortByEmbeddedKey
@Test public void testSortByEmbeddedKey() -
testUpdate
- Throws:
Exception
-
testUpdateNothing
- Throws:
Exception
-
testUpdateBlank
- Throws:
Exception
-
testUpdateEmptyPositional
- Throws:
Exception
-
testUpdateMultiplePositional
- Throws:
Exception
-
testUpdateIllegalFieldName
- Throws:
Exception
-
testUpdateSubdocument
- Throws:
Exception
-
testUpdateIdNoChange
@Test public void testUpdateIdNoChange() -
testUpdatePush
- Throws:
Exception
-
testUpdatePushEach
- Throws:
Exception
-
testUpdatePushSlice
- Throws:
Exception
-
testUpdatePushWithNegativeAndZeroSlice
- Throws:
Exception
-
testUpdatePushSort
- Throws:
Exception
-
testUpdatePushSortAndSlice
- Throws:
Exception
-
testUpdatePushPosition
- Throws:
Exception
-
testUpdatePushEach_unknownModifier
- Throws:
Exception
-
testUpdatePushEach_illegalOptions
- Throws:
Exception
-
testUpdatePushAll
- Throws:
Exception
-
testUpdateAddToSet
- Throws:
Exception
-
testUpdateAddToSetEach
- Throws:
Exception
-
testUpdateAddToSetEach_unknownModifier
- Throws:
Exception
-
getExpectedPathPrefix_testUpdateAddToSetEach_unknownModifier
-
testUpdateDatasize
- Throws:
Exception
-
testUpdatePull
- Throws:
Exception
-
testUpdatePullValueWithCondition
@Test public void testUpdatePullValueWithCondition() -
testUpdatePullDocuments
@Test public void testUpdatePullDocuments() -
testUpdatePullLeavesEmptyArray
@Test public void testUpdatePullLeavesEmptyArray() -
testUpdatePullAll
- Throws:
Exception
-
testUpdatePullAll_Documents
- Throws:
Exception
-
testUpdateSet
- Throws:
Exception
-
testUpdateSet_arrayOfDocuments
- Throws:
Exception
-
testUpdateSetOnInsert
- Throws:
Exception
-
testUpdateSetWithArrayIndices
- Throws:
Exception
-
testUpdateUnsetWithArrayIndices
- Throws:
Exception
-
testUpdateMax
- Throws:
Exception
-
testUpdateMin
- Throws:
Exception
-
testUpdateMinMaxWithLists
- Throws:
Exception
-
testUpdateMaxCompareNumbers
- Throws:
Exception
-
testUpdateMaxCompareDates
- Throws:
Exception
-
testUpdateMinCompareNumbers
- Throws:
Exception
-
testUpdateMinCompareDates
- Throws:
Exception
-
testUpdatePop
- Throws:
Exception
-
testUpdateUnset
- Throws:
Exception
-
testUpdateWithIdIn
@Test public void testUpdateWithIdIn() -
testUpdateMulti
- Throws:
Exception
-
testUpdateIllegalInt
- Throws:
Exception
-
testUpdateWithIdInMulti
@Test public void testUpdateWithIdInMulti() -
testUpdateWithIdInMultiReturnModifiedDocumentCount
@Test public void testUpdateWithIdInMultiReturnModifiedDocumentCount() -
testUpdateWithIdQuery
@Test public void testUpdateWithIdQuery() -
testUpdateWithObjectId
@Test public void testUpdateWithObjectId() -
testUpdateArrayMatch
- Throws:
Exception
-
testUpdateArrayMatch_MultipleFields
- Throws:
Exception
-
testUpdateArrayMatch_updateMany
- Throws:
Exception
-
testUpdateWithNotAndSizeOperator
- Throws:
Exception
-
testMultiUpdateArrayMatch
- Throws:
Exception
-
testUpsert
@Test public void testUpsert() -
testUpsertFieldOrder
- Throws:
Exception
-
testUpsertWithoutId
@Test public void testUpsertWithoutId() -
testUpsertOnIdWithPush
@Test public void testUpsertOnIdWithPush() -
testUpsertWithConditional
@Test public void testUpsertWithConditional() -
testUpsertWithoutChange
@Test public void testUpsertWithoutChange() -
testUpsertWithEmbeddedQuery
@Test public void testUpsertWithEmbeddedQuery() -
testUpsertWithIdIn
- Throws:
Exception
-
testUpsertWithId
- Throws:
Exception
-
testUpsertWithId_duplicateKey
- Throws:
Exception
-
testReplaceOneWithId
- Throws:
Exception
-
testReplaceOneWithIdAndRevision
- Throws:
Exception
-
testReplaceOneUpsertsWithGeneratedId
- Throws:
Exception
-
testBulkUpsert
- Throws:
Exception
-
testUpdateWithMultiplyOperator
- Throws:
Exception
-
testUpdateWithIllegalMultiplyFails
- Throws:
Exception
-
testIsMaster
- Throws:
Exception
-
testFindWithNullOrNoFieldFilter
@Test public void testFindWithNullOrNoFieldFilter() -
testInsertWithIllegalId
- Throws:
Exception
-
testInsertsWithUniqueIndex
@Test public void testInsertsWithUniqueIndex() -
testInsertBinaryData
- Throws:
Exception
-
testUniqueIndexWithSubdocument
@Test public void testUniqueIndexWithSubdocument() -
testUniqueIndexWithDeepDocuments
- Throws:
Exception
-
testSecondaryUniqueIndexUpdate
- Throws:
Exception
-
testSecondarySparseUniqueIndex
- Throws:
Exception
-
testCompoundSparseUniqueIndex
- Throws:
Exception
-
testCompoundSparseUniqueIndexOnEmbeddedDocuments
- Throws:
Exception
-
testUpdateWithSparseUniqueIndex
- Throws:
Exception
-
testSparseUniqueIndexOnEmbeddedDocument
- Throws:
Exception
-
testUniqueIndexOnArrayField
- Throws:
Exception
-
testUniqueIndexOnArrayField_updates
- Throws:
Exception
-
testUniqueIndexOnArrayFieldInSubdocument
- Throws:
Exception
-
testAddNonUniqueIndexOnNonIdField
@Test public void testAddNonUniqueIndexOnNonIdField() -
testAddSparseIndexOnNonIdField
@Test public void testAddSparseIndexOnNonIdField() -
testDeleteAllDocumentsWithUniqueSparseIndex
@Test public void testDeleteAllDocumentsWithUniqueSparseIndex() -
testAddPartialIndexOnNonIdField
@Test public void testAddPartialIndexOnNonIdField() -
testCompoundUniqueIndices
@Test public void testCompoundUniqueIndices() -
testCompoundUniqueIndices_Subdocument
@Test public void testCompoundUniqueIndices_Subdocument() -
testCompoundUniqueIndicesWithInQuery
@Test public void testCompoundUniqueIndicesWithInQuery() -
testAddUniqueIndexOnExistingDocuments
- Throws:
Exception
-
testAddUniqueIndexOnExistingDocuments_violatingUniqueness
- Throws:
Exception
-
testCursorOptionNoTimeout
- Throws:
Exception
-
testBulkInsert
- Throws:
Exception
-
testLargeBulkInsert
- Throws:
Exception
-
testBulkInsert_withDuplicate
- Throws:
Exception
-
testBulkInsert_unordered_withDuplicate
- Throws:
Exception
-
testBulkUpdateOrdered
- Throws:
Exception
-
testBulkUpdateUnordered
- Throws:
Exception
-
testUpdateCurrentDateIllegalTypeSpecification
- Throws:
Exception
-
testUpdateCurrentDate
- Throws:
Exception
-
testRenameField
- Throws:
Exception
-
testRenameField_embeddedDocument
@Test public void testRenameField_embeddedDocument() -
testRenameFieldIllegalValue
- Throws:
Exception
-
testRenameCollection
- Throws:
Exception
-
testRenameCollection_targetAlreadyExists
- Throws:
Exception
-
testRenameCollection_dropTarget
- Throws:
Exception
-
testListIndexes_empty
- Throws:
Exception
-
testListIndexes
- Throws:
Exception
-
testFieldSelection_deselectId
@Test public void testFieldSelection_deselectId() -
testFieldSelection_deselectOneField
@Test public void testFieldSelection_deselectOneField() -
testFieldSelection_deselectTwoFields
@Test public void testFieldSelection_deselectTwoFields() -
testFieldSelection_selectAndDeselectFields
@Test public void testFieldSelection_selectAndDeselectFields() -
testPullWithInPattern
@Test public void testPullWithInPattern() -
testPullWithInPatternAnchored
@Test public void testPullWithInPatternAnchored() -
testPullWithInNumbers
@Test public void testPullWithInNumbers() -
testDocumentWithHashMap
@Test public void testDocumentWithHashMap() -
testFindAndOfOrs
- Throws:
Exception
-
testInOperatorWithNullValue
@Test public void testInOperatorWithNullValue() -
testQueryWithReference
- Throws:
Exception
-
testQueryWithIllegalReference
- Throws:
Exception
-
testAndOrNorWithEmptyArray
- Throws:
Exception
-
testInsertLargeDocument
- Throws:
Exception
-
testInsertAndUpdateAsynchronously
- Throws:
Exception
-
testAllQuery
- Throws:
Exception
-
testMatchesElementQuery
- Throws:
Exception
-
testMatchesElementInEmbeddedDocuments
- Throws:
Exception
-
testElemMatchWithExpression
- Throws:
Exception
-
testElemMatchAndAllQuery
- Throws:
Exception
-
testQueryWithElemMatch
@Test public void testQueryWithElemMatch() -
testProjectionWithElemMatch
@Test public void testProjectionWithElemMatch() -
testProjectionWithElemMatch_BigSubdocument
@Test public void testProjectionWithElemMatch_BigSubdocument() -
testQueryWithProjection_elemMatchAndPositionalOperator
- Throws:
Exception
-
testProjectionWithExclusion
- Throws:
Exception
-
testProjectionWithSlice
- Throws:
Exception
-
testMatchesNullOrMissing
- Throws:
Exception
-
testIllegalElementMatchQuery
- Throws:
Exception
-
testQueryWithOperatorAndWithoutOperator
- Throws:
Exception
-
testQueryWithComment
- Throws:
Exception
-
testValidate
- Throws:
Exception
-
testGetLastError
- Throws:
Exception
-
testResetError
- Throws:
Exception
-
testIllegalTopLevelOperator
- Throws:
Exception
-
testExprQuery
- Throws:
Exception
-
testExprQuery_IllegalFieldPath
- Throws:
Exception
-
testQueryEmbeddedDocument
- Throws:
Exception
-
testQueryWithEquivalentEmbeddedDocument
- Throws:
Exception
-
testOrderByMissingAndNull
- Throws:
Exception
-
testOrderByEmbeddedDocument
- Throws:
Exception
-
testFindByListValue
- Throws:
Exception
-
testFindAndOrderByWithListValues
- Throws:
Exception
-
testDistinctEmbeddedDocument
- Throws:
Exception
-
testEmptyArrayQuery
- Throws:
Exception
-
testFindAllReferences
- Throws:
Exception
-
testInsertAndQueryNegativeZero
- Throws:
Exception
-
testUniqueIndexWithNegativeZero
- Throws:
Exception
-
testDecimal128
- Throws:
Exception
-
testDecimal128_Inc
- Throws:
Exception
-
testArrayNe
- Throws:
Exception
-
testExistsQuery
- Throws:
Exception
-
testExistsQueryWithArray
- Throws:
Exception
-
testExistsQueryWithTrailingDot
- Throws:
Exception
-
testRegExQuery
- Throws:
Exception
-
testInsertAndFindJavaScriptContent
- Throws:
Exception
-
assertMongoWriteException
protected static void assertMongoWriteException(org.assertj.core.api.ThrowableAssert.ThrowingCallable callable, int expectedErrorCode, String expectedMessage) -
assertMongoWriteException
-
testInsertWithoutId
- Throws:
Exception
-
testMultikeyIndex_simpleArrayValues
- Throws:
Exception
-
testCompoundMultikeyIndex_simpleArrayValues
- Throws:
Exception
-
testCompoundMultikeyIndex_threeKeys
- Throws:
Exception
-
testCompoundMultikeyIndex_documents
- Throws:
Exception
-
testCompoundMultikeyIndex_multiple_document_keys
- Throws:
Exception
-
testCompoundMultikeyIndex_deepDocuments
- Throws:
Exception
-
testUpdateArrayWithPositionalAll
@Test public void testUpdateArrayWithPositionalAll() -
testUpdateArrayWithPositionalAll_NullValue
@Test public void testUpdateArrayWithPositionalAll_NullValue() -
testUpdateArrayWithPositionalAllAndArrayFilter
@Test public void testUpdateArrayWithPositionalAllAndArrayFilter() -
testUpdateArrayOfDocumentsWithPositionalAll
@Test public void testUpdateArrayOfDocumentsWithPositionalAll() -
testIllegalUpdateWithPositionalAll
@Test public void testIllegalUpdateWithPositionalAll() -
testUpsertWithPositionalAll
- Throws:
Exception
-
testFindOneAndUpdateWithReturnDocumentBeforeWhenDocumentDidNotExist
@Test public void testFindOneAndUpdateWithReturnDocumentBeforeWhenDocumentDidNotExist() throws Exception- Throws:
Exception
-
testFindOneAndReplaceWithReturnDocumentBeforeWhenDocumentDidNotExist
@Test public void testFindOneAndReplaceWithReturnDocumentBeforeWhenDocumentDidNotExist() throws Exception- Throws:
Exception
-
testFindOneAndUpdateWithReturnDocumentBeforeWhenDocumentExists
- Throws:
Exception
-
testFindOneAndReplaceWithReturnDocumentBeforeWhenDocumentExists
@Test public void testFindOneAndReplaceWithReturnDocumentBeforeWhenDocumentExists() throws Exception- Throws:
Exception
-
testUpdateWithMultipleArrayFiltersInOnePath
- Throws:
Exception
-
testUpdateArrayWithMultiplePositionalAll
@Test public void testUpdateArrayWithMultiplePositionalAll() -
testUpdateArrayWithMultiplePositionalAll_Simple
@Test public void testUpdateArrayWithMultiplePositionalAll_Simple() -
testUpdateArrayWithIllegalMultiplePositionalAll
@Test public void testUpdateArrayWithIllegalMultiplePositionalAll() -
testGetKeyValues_multiKey_document_nested_objects
- Throws:
Exception
-
testComparisons
- Throws:
Exception
-
testMinKeyComparison
@Test public void testMinKeyComparison() -
testMaxKeyComparison
@Test public void testMaxKeyComparison() -
testMinMaxKeyRangeQuery
- Throws:
Exception
-
testOldAndNewUuidTypes
- Throws:
Exception
-
testUpdateWithDollarFieldNames
- Throws:
Exception
-
testEndSessions
@Test public void testEndSessions() -
testLongIndex
@Test public void testLongIndex()
-