Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
235 0 0 0 100% 57.381

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.mongojack 225 0 0 0 100% 57.157
org.mongojack.internal.util 10 0 0 0 100% 0.224

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.mongojack

Class Tests Errors Failures Skipped Success Rate Time
TestDBQuery 43 0 0 0 100% 9.821
TestDBProjection 6 0 0 0 100% 1.589
TestJacksonCodecRegistry 5 0 0 0 100% 1.147
TestAggregate 5 0 0 0 100% 0.98
TestDBSort 8 0 0 0 100% 1.825
TestUUIDHandling 2 0 0 0 100% 0.424
TestAggregationBuilder 12 0 0 0 100% 2.792
TestDBUpdateSerialization 11 0 0 0 100% 2.22
TestDBCursor 2 0 0 0 100% 0.404
TestDBUpdate 26 0 0 0 100% 6.798
TestJacksonMongoCollection 12 0 0 0 100% 2.607
TestQuerySerialization 13 0 0 0 100% 3.127
TestObjectIdHandling 14 0 0 0 100% 3.804
TestDBRefHandling 7 0 0 0 100% 2.982
TestJavaTimeHandling 18 0 0 0 100% 4.04
TestJsonViews 4 0 0 0 100% 0.846
TestJacksonMongoCollectionCustomObjectMapper 2 0 0 0 100% 0.789
TestIdAnnotatedClass 6 0 0 0 100% 1.79
TestCustomObjectMapper 3 0 0 0 100% 0.446
TestParsingAndGenerating 22 0 0 0 100% 5.378
TestMapReduce 4 0 0 0 100% 3.348

org.mongojack.internal.util

Class Tests Errors Failures Skipped Success Rate Time
MongoJackInstantDeserializerTest 5 0 0 0 100% 0.01
CalendarDeserializerTest 4 0 0 0 100% 0.18
CalendarSerializerTest 1 0 0 0 100% 0.034

Test Cases

[Summary] [Package List] [Test Cases]

TestDBQuery

testSerializationFromDBCursor 0.529
testNotEqualsPositive 0.159
testNotEqualsNegative 0.102
testWherePositive 0.269
testRegexPositive 0.379
testGreaterThanPositive 0.121
testWhereNegative 0.214
testRegexNegative 0.21
testGreaterThanNegative 0.218
testAllEmbeddedPositive 0.365
testAllEmbeddedNegative 0.123
testGreaterThanEqPositive 0.165
testIsPositive 0.155
testGreaterThanEqNegative 0.185
testNotExistsPositive 0.494
testIsNegative 0.124
testSizePositive 0.18
testSerializationFromInFind 0.149
testNotExistsNegative 0.104
testSizeNegative 0.523
testInPositive 0.21
testNorPositive 0.117
testInNegative 0.214
testOrPositive 0.405
testNorNegative 0.106
testOrNegative 0.209
testAllPositive 0.145
testElemMatchPositive 0.199
testAllNegative 0.538
testElemMatchNegative 0.218
testExistsPositive 0.123
testExistsNegative 0.216
testInCollectionPositive 0.334
testModPositive 0.128
testNotInPositive 0.165
testModNegative 0.225
testNotInNegative 0.115
testAndPositive 0.159
testAndNegative 0.462
testLessThanEqPositive 0.122
testLessThanPositive 0.233
testLessThanNegative 0.157
testLessThanEqualsNegative 0.18

TestDBProjection

testProjectionsIterableIncludes 0.412
testExcludes 0.244
testProjectionsIncludes 0.339
testProjectionsIterableExcludes 0.102
testProjectionsExcludes 0.272
testIncludes 0.219

TestJacksonCodecRegistry

testFindAndModify 0.191
testQuery 0.526
testCustomSerialization 0.107
testRemoveById 0.209
testRemove 0.112

MongoJackInstantDeserializerTest

testDateIsNull 0.003
testWithoutDateObject 0.001
testWithDateObject 0.001
testWithInstantObject 0
testNoEmbeddedObject 0.001

TestAggregate

testAggregateMultipleOpsItemsInCollection 0.189
testAggregateMultipleOpsItemsInCollection2 0.355
testAggregateSingleOpItemsInCollection 0.234
testAggregateAugmentedFieldSetReturnedInDifferentObject 0.197
testAggregateSingleOpNothingInCollection 0.004

TestDBSort

testSortsAsc 0.105
testSortsDescAsc 0.218
testAsc 0.461
testDesc 0.126
testAscDesc 0.123
testSortsAscDesc 0.147
testSortsDesc 0.169
testDescAsc 0.473

TestUUIDHandling

testSavesAndRetrievesUuid 0.314
testUnderlyingMongoFunctionality 0.109

TestAggregationBuilder

testOut 0.683
testOperatorExpressions 0.134
testLimit 0.185
testGroupSumSort 0.206
testSize 0.271
testUnwindGroup 0.136
testProjectArrayElemAt 0.198
testGroupProject 0.224
testMatchIn 0.247
testOperatorExpressions2 0.222
testMatchGroupMin 0.172
testMatchUnaryComparison 0.11

TestDBUpdateSerialization

testMapValueCustomSerializerForObject 0.168
testSimpleCustomSerializer 0.109
testSimpleMap 0.46
testDollarsCustomSerializer 0.137
testUpdateOfNestedIdFieldWithDifferentType 0.138
testUpdateOfNestedRepeatedAttributeName 0.204
testSimpleObjectId 0.158
testNestedValueCustomSerializer 0.26
testListCustomSerializerInObject 0.126
testSimpleCustomSerializerNotApplied 0.163
testObjectIdCollection 0.289

TestDBCursor

testArray 0.177
testIterator 0.225

TestDBUpdate

testBitwiseAnd 0.139
testDBUpdateIsEmpty 0.003
testPushAllList 0.494
testBit 0.208
testInc 0.245
testSet 0.145
testAddToSetVarArgs 0.488
testUnset 0.124
testPull 0.195
testPush 0.221
testAddToSetListWithUpsert 0.418
testPopLast 0.131
testAddToSetSingle 0.193
testObjectInListSerialisation 0.248
testPullWithQuery 0.42
testObjectSerialisation 0.233
testBitTwoOperations 0.404
testIncByOne 0.455
testPullAllList 0.187
testAddToSetList 0.126
testBitwiseOr 0.179
testPopFirst 0.172
testPushAllVarArgs 0.578
testRename 0.239
testSameOperationTwice 0.125
testPullAllVarArgs 0.418

TestJacksonMongoCollection

testFindAndModifyWithBuilder 0.405
testQuery 0.174
testReplaceOneByIdUsesIdProvided 0.181
testInsertAndQuery 0.118
testSaveAndQuery 0.187
testReplaceOneDoesNotUpsertIfUpsertFalse 0.025
testReplaceOneByNonIdQuery 0.333
testReplaceOneUpsertsIfNoDocumentExistsByQueryAndUpsertTrue 0.098
testRemoveById 0.167
testReplaceOneByUsesQueryNotId 0.1
testQueryWithLimitedKeys 0.193
testRemove 0.62

TestQuerySerialization

testLessThan 0.163
testAll 0.101
testAnd 0.564
testList 0.143
testSearchForCustomSerializedFields 0.246
testIn 0.118
testSimpleEquals 0.217
testEqual_collectionOfRefs 0.398
testIn_collectionOfRefs 0.278
testArrayEquals 0.208
testEqual_collectionOfStrings 0.151
testIn_collectionOfStrings 0.401
testSearchForCustomSerializedFieldsInList 0.135

TestObjectIdHandling

testCollectionOfObjectIds 0.202
testObjectIdAnnotationOnByteArraySaved 0.339
testCollectionOfObjectIdStrings 0.251
testObjectIdAnnotationOnMethodsGenerated 0.337
testObjectIdAnnotationOnMethodsSaved 0.251
testRemoveByIdWithObjectId 0.186
testObjectIdSaved 0.425
testObjectIdAnnotationOnStringGenerated 0.22
testObjectIdAnnotationOnStringSaved 0.297
testCollectionOfObjectIdByteArrays 0.204
testFindOneByIdWithObjectId 0.566
testObjectIdAnnotationOnByteArrayGenerated 0.14
testObjectIdGenerated 0.248
testByteArrayObjectIdMethods 0.129

CalendarDeserializerTest

testDateIsNull 0.01
testWithoutDateObject 0.001
testWithDateObject 0.001
testNoEmbeddedObject 0.004

TestDBRefHandling

testUsingMongoCollectionAnnotation 0.623
collectionOfDbRefsShouldBeSavedAsDbRefs 0.371
dbRefWithObjectIdShouldBeSavedAsDbRef 0.489
simpleDbRefShouldBeSavedAsDbRef 0.359
collectionOfObjectIdDbRefsShouldBeSavedAsObjectIdDbRefs 0.331
testDBUpdateWithDbRef 0.13
fetchCollectionOfDBRefsShouldReturnRightResults 0.676

TestJavaTimeHandling

testZonedDateTimeSavedAsISO8601 0.322
testYearMonthSavedAsTimestamps 0.149
testInstantSavedAsISO8601 0.224
testMonthDaySavedAsTimestamps 0.107
testLocalDateSavedAsISO8601 0.163
testYearMonthSavedAsISO8601 0.158
testLocalDateSavedAsTimestamps 0.347
testYearSavedAsTimestamps 0.436
testMonthDaySavedAsISO8601 0.257
testOffsetTimeSavedAsISO8601 0.302
testYearSavedAsISO8601 0.202
testLocalDateTimeSavedAsISO8601 0.154
testLocalTimeSavedAsTimestamps 0.227
testOffsetTimeSavedAsTimestamps 0.121
testDurationSavedAsISO8601 0.405
testOffsetDateTimeSavedAsISO8601 0.142
testLocalDateTimeSavedAsTimestamps 0.213
testLocalTimeSavedAsISO8601 0.105

TestJsonViews

testEnabledPropertyWithView 0.308
testNormalPropertyWithView 0.121
testDisabledPropertyWithView 0.274
testDisabledPropertyWithViewAfterUpdate 0.142

TestJacksonMongoCollectionCustomObjectMapper

customObjectMapperShouldWorkWhenSerialising 0.176
customObjectMapperShouldWorkWhenDeserialising 0.612

TestIdAnnotatedClass

testCreatorGetterObjectIdAnnotated 0.226
testObjectIdFieldAnnotated 0.171
testIdFieldAnnotated 0.161
testGetterSetterAnnotated 0.161
testCreatorGetterAnnotated 0.772
testJpaIdFieldAnnotated 0.296

TestCustomObjectMapper

customObjectMapperShouldWorkForUpdate 0.147
customObjectMapperShouldWorkWhenSerialising 0.175
customObjectMapperShouldWorkWhenDeserialising 0.123

TestParsingAndGenerating

testInsertRetrieveDate 0.375
testInsertRetrieveLong 0.393
testInsertRetrieveAllEmpty 0.149
testInsertRetrieveFloat 0.178
testInsertRetrieveString 0.153
testParseErrors 0.004
testByteArray 0.164
testIntId 0.674
testInsertRetrieveInteger 0.2
testDateIsStoredAsBsonDate 0.218
testEverything 0.419
testInsertRetrievePopulatedSimpleList 0.182
testInsertRetrieveBigInteger2 0.14
testInsertNoId 0.192
testInsertRetrieveEmptyList 0.179
testInsertRetrieveEmebeddedObjectList 0.469
testInsertRetrieveEmbeddedObject 0.131
testInsertRetrievePopulatedComplexList 0.296
testInsertRetrieveBigDecimal 0.173
testInsertRetrieveBoolean 0.412
testInsertRetrieveBigInteger 0.157
testInsertRetrieveDouble 0.113

CalendarSerializerTest

test 0.004

TestMapReduce

testComplexReplaceMapReduce 1.244
testReplaceMapReduce 1.37
testInlineMapReduce 0.5
testComplexInlineMapReduce 0.234