Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
270 0 0 3 98.889% 7.295

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 270 0 0 3 98.889% 7.295

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% 0.755
TestDBProjection 6 0 0 0 100% 0.088
TestJacksonCodecRegistry 7 0 0 0 100% 0.131
TestAggregate 6 0 0 0 100% 0.107
TestDBSort 4 0 0 0 100% 0.071
TestUUIDHandling 3 0 0 0 100% 0.043
TestParsingAndGeneratingPolymorphicTypes 1 0 0 0 100% 2.911
TestAggregationBuilder 12 0 0 0 100% 0.257
TestDBUpdateSerialization 11 0 0 3 72.727% 0.133
TestDBCursor 2 0 0 0 100% 0.029
TestDBUpdate 24 0 0 0 100% 0.347
TestJacksonMongoCollection 13 0 0 0 100% 0.25
TestBsonSerializers 10 0 0 0 100% 0.129
TestQuerySerialization 20 0 0 0 100% 0.294
TestObjectIdHandling 23 0 0 0 100% 0.39
TestDBRefHandling 7 0 0 0 100% 0.171
TestJavaTimeHandling 21 0 0 0 100% 0.319
TestJsonViews 4 0 0 0 100% 0.052
TestJacksonMongoCollectionCustomObjectMapper 2 0 0 0 100% 0.036
TestIdAnnotatedClass 20 0 0 0 100% 0.268
TestCustomObjectMapper 3 0 0 0 100% 0.043
TestParsingAndGenerating 24 0 0 0 100% 0.329
TestMapReduce 4 0 0 0 100% 0.142

Test Cases

[Summary] [Package List] [Test Cases]

TestDBQuery

testSerializationFromDBCursor 0.043
testNotEqualsPositive 0.022
testNotEqualsNegative 0.017
testWherePositive 0.04
testRegexPositive 0.018
testGreaterThanPositive 0.023
testWhereNegative 0.019
testRegexNegative 0.021
testGreaterThanNegative 0.018
testAllEmbeddedPositive 0.02
testAllEmbeddedNegative 0.017
testGreaterThanEqPositive 0.017
testIsPositive 0.015
testGreaterThanEqNegative 0.016
testNotExistsPositive 0.016
testIsNegative 0.014
testSizePositive 0.014
testSerializationFromInFind 0.014
testNotExistsNegative 0.015
testSizeNegative 0.016
testInPositive 0.015
testNorPositive 0.014
testInNegative 0.014
testOrPositive 0.015
testNorNegative 0.016
testOrNegative 0.018
testAllPositive 0.016
testElemMatchPositive 0.017
testAllNegative 0.017
testElemMatchNegative 0.015
testExistsPositive 0.017
testExistsNegative 0.013
testInCollectionPositive 0.014
testModPositive 0.015
testNotInPositive 0.013
testModNegative 0.016
testNotInNegative 0.013
testAndPositive 0.014
testAndNegative 0.013
testLessThanEqPositive 0.015
testLessThanPositive 0.013
testLessThanNegative 0.014
testLessThanEqualsNegative 0.013

TestDBProjection

testProjectionsIterableIncludes 0.016
testExcludes 0.012
testProjectionsIncludes 0.015
testProjectionsIterableExcludes 0.013
testProjectionsExcludes 0.018
testIncludes 0.011

TestJacksonCodecRegistry

testFindAndModify 0.021
testSerializationWithWriteOrReadOnlyFields 0.013
testQuery 0.018
testDeserializationWithWriteOrReadOnlyFields 0.014
testCustomSerialization 0.016
testRemoveById 0.022
testRemove 0.021

TestAggregate

testAggregateMultipleOpsItemsInCollection 0.016
testAggregateMultipleOpsItemsInCollection2 0.017
testBsonValueSerialization 0.023
testAggregateSingleOpItemsInCollection 0.015
testAggregateAugmentedFieldSetReturnedInDifferentObject 0.023
testAggregateSingleOpNothingInCollection 0.004

TestDBSort

testSortsAsc 0.018
testSortsDescAsc 0.017
testSortsAscDesc 0.016
testSortsDesc 0.015

TestUUIDHandling

testSavesAndRetrievesUuid 0.016
testUnderlyingMongoFunctionality 0.012
testQueryByUuid 0.013

TestParsingAndGeneratingPolymorphicTypes

testSubtypes 0.291

TestAggregationBuilder

testOut 0.035
testOperatorExpressions 0.021
testLimit 0.019
testGroupSumSort 0.022
testSize 0.021
testUnwindGroup 0.015
testProjectArrayElemAt 0.012
testGroupProject 0.021
testMatchIn 0.019
testOperatorExpressions2 0.018
testMatchGroupMin 0.025
testMatchUnaryComparison 0.017

TestDBUpdateSerialization

testMapValueCustomSerializerForObject 0.016
testSimpleCustomSerializer 0
public void org.mongojack.TestDBUpdateSerialization.testSimpleCustomSerializer() is @Disabled
testSimpleMap 0.02
testDollarsCustomSerializer 0
public void org.mongojack.TestDBUpdateSerialization.testDollarsCustomSerializer() is @Disabled
testUpdateOfNestedIdFieldWithDifferentType 0.016
testUpdateOfNestedRepeatedAttributeName 0.019
testSimpleObjectId 0.015
testNestedValueCustomSerializer 0
public void org.mongojack.TestDBUpdateSerialization.testNestedValueCustomSerializer() is @Disabled
testListCustomSerializerInObject 0.013
testSimpleCustomSerializerNotApplied 0.014
testObjectIdCollection 0.014

TestDBCursor

testArray 0.013
testIterator 0.013

TestDBUpdate

testBitwiseAnd 0.015
testPushAllList 0.015
testBit 0.012
testInc 0.014
testSet 0.014
testAddToSetVarArgs 0.015
testUnset 0.013
testPull 0.014
testPush 0.015
testAddToSetListWithUpsert 0.011
testPopLast 0.015
testAddToSetSingle 0.016
testObjectInListSerialisation 0.012
testPullWithQuery 0.015
testObjectSerialisation 0.014
testBitTwoOperations 0.016
testIncByOne 0.014
testPullAllList 0.016
testAddToSetList 0.016
testBitwiseOr 0.014
testPopFirst 0.013
testRename 0.014
testSameOperationTwice 0.013
testPullAllVarArgs 0.013

TestJacksonMongoCollection

testFindAndModifyWithBuilder 0.041
testInsertAndQueryWithPolymorphicField 0.018
testQuery 0.016
testReplaceOneByIdUsesIdProvided 0.018
testInsertAndQuery 0.014
testSaveAndQuery 0.021
testReplaceOneDoesNotUpsertIfUpsertFalse 0.006
testReplaceOneByNonIdQuery 0.017
testReplaceOneUpsertsIfNoDocumentExistsByQueryAndUpsertTrue 0.018
testRemoveById 0.018
testReplaceOneByUsesQueryNotId 0.017
testQueryWithLimitedKeys 0.02
testRemove 0.019

TestBsonSerializers

testPojoCollectionOfFilters 0.022
testPojoCollectionWithArray 0.016
testAggregationWithFailingListWithoutCustomObjectMapper 0.005
testCollectionOfDocuments 0.014
testAggregationWithNull 0.005
testAggregationWithFailingList 0.005
testPojoCollectionOfBsonDocuments 0.014
testCollectionOfBsonDocuments 0.012
testCollectionOfFilters 0.012
testPojoCollectionOfDocuments 0.015

TestQuerySerialization

testLessThan 0.015
testAll 0.014
testAnd 0.014
testMaxKeyInArray 0.014
testSearchWithPatternFilter 0.018
testList 0.013
testSearchForCustomSerializedFields 0.015
testIn 0.013
testSimpleEquals 0.014
testEqual_collectionOfRefs 0.015
testLessThanWithoutCustomFilters 0.016
testIn_collectionOfRefs 0.014
testArrayEquals 0.016
testEqual_collectionOfStrings 0.015
testMinKeyInArray 0.011
testIn_collectionOfStrings 0.014
testSearchForCustomSerializedFieldsWithSimpleSerialization 0.018
testSearchForCustomSerializedFieldsInList 0.016
testMaxKey 0.011
testMinKey 0.013

TestObjectIdHandling

testCollectionOfObjectIds 0.016
testRemoveByIdWithComplexId 0.024
testFindOneByIdWithConvertedId 0.02
testObjectIdAnnotationOnByteArraySaved 0.016
testRemoveByIdWithConvertedId 0.02
testObjectIdAnnotationOnConvertedSaved 0.013
testCollectionOfObjectIdStrings 0.018
testFindOneByIdWithUuidId 0.017
testObjectIdAnnotationOnMethodsGenerated 0.029
testObjectIdAnnotationOnMethodsSaved 0.013
testRemoveByIdWithObjectId 0.019
testObjectIdSaved 0.014
testObjectIdAnnotationOnStringGenerated 0.012
testObjectIdAnnotationOnStringSaved 0.012
testCollectionOfObjectIdByteArrays 0.013
testFindOneByIdWithObjectId 0.017
testObjectIdAnnotationOnByteArrayGenerated 0.013
testObjectIdGenerated 0.014
testFindOneByIdWithComplexId 0.013
testByteArrayObjectIdMethods 0.014
testObjectIdAnnotationOnUuidSaved 0.014
testRemoveByIdWithUuidId 0.018
testObjectIdAnnotationOnComplexSaved 0.016

TestDBRefHandling

testUsingMongoCollectionAnnotation 0.027
collectionOfDbRefsShouldBeSavedAsDbRefs 0.026
dbRefWithObjectIdShouldBeSavedAsDbRef 0.025
simpleDbRefShouldBeSavedAsDbRef 0.024
collectionOfObjectIdDbRefsShouldBeSavedAsObjectIdDbRefs 0.024
fetchCollectionOfDBRefsShouldReturnRightResults 0.024
testUpdatesWithDbRef 0.016

TestJavaTimeHandling

testZonedDateTimeSavedAsISO8601 0.017
testInstantSavedAsNativeTimestamps 0.016
testCalendarSavedAsNativeTimestamps 0.016
testYearMonthSavedAsTimestamps 0.012
testInstantSavedAsISO8601 0.014
testMonthDaySavedAsTimestamps 0.013
testLocalDateSavedAsISO8601 0.014
testYearMonthSavedAsISO8601 0.016
testLocalDateSavedAsTimestamps 0.014
testYearSavedAsTimestamps 0.015
testMonthDaySavedAsISO8601 0.014
testOffsetTimeSavedAsISO8601 0.015
testYearSavedAsISO8601 0.014
testLocalDateTimeSavedAsISO8601 0.016
testLocalTimeSavedAsTimestamps 0.012
testOffsetTimeSavedAsTimestamps 0.014
testDurationSavedAsISO8601 0.015
testOffsetDateTimeSavedAsISO8601 0.014
testLocalDateTimeSavedAsTimestamps 0.012
testLocalTimeSavedAsISO8601 0.014
testCalendarSavedAsISO8601 0.014

TestJsonViews

testEnabledPropertyWithView 0.014
testNormalPropertyWithView 0.013
testDisabledPropertyWithView 0.011
testDisabledPropertyWithViewAfterUpdate 0.012

TestJacksonMongoCollectionCustomObjectMapper

customObjectMapperShouldWorkWhenSerialising 0.015
customObjectMapperShouldWorkWhenDeserialising 0.018

TestIdAnnotatedClass

testProxyGetterSetterAnnotatedIsGeneratedByMongo 0.014
testProxyFieldAnnotatedIsGeneratedByMongoSubclass 0.014
testCreatorGetterObjectIdAnnotated 0.015
testBsonIdFieldAnnotated 0.014
testProxyFieldAnnotatedIsGeneratedByMongo 0.013
testProxyGetterSetterAnnotatedIsGeneratedByMongoSubclass 0.014
testProxyFieldAnnotatedSubclass 0.018
testObjectIdFieldAnnotated 0.011
testJavaxJpaIdFieldAnnotated 0.014
testProxyFieldAnnotated 0.012
testIdFieldAnnotated 0.014
testProxyFieldAnnotatedWithoutSettingItSubclass 0.011
testProxyGetterSetterAnnotatedWithoutSettingIt 0.011
testProxyFieldAnnotatedWithoutSettingIt 0.014
testGetterSetterAnnotated 0.013
testJakartaJpaIdFieldAnnotated 0.012
testCreatorGetterAnnotated 0.014
testProxyGetterSetterAnnotatedSubclass 0.012
testProxyGetterSetterAnnotated 0.013
testProxyGetterSetterAnnotatedWithoutSettingItSubclass 0.01

TestCustomObjectMapper

customObjectMapperShouldWorkForUpdate 0.013
customObjectMapperShouldWorkWhenSerialising 0.014
customObjectMapperShouldWorkWhenDeserialising 0.014

TestParsingAndGenerating

testInsertRetrieveDate 0.012
testInsertRetrieveLong 0.014
testInsertRetrieveAllEmpty 0.014
testInsertRetrieveFloat 0.01
testInsertRetrieveString 0.015
deserializingNull 0.015
testParseErrors 0.007
deserializingUndefined 0.014
testByteArray 0.02
testIntId 0.014
testInsertRetrieveInteger 0.011
testDateIsStoredAsBsonDate 0.012
testEverything 0.016
testInsertRetrievePopulatedSimpleList 0.01
testInsertRetrieveBigInteger2 0.016
testInsertNoId 0.011
testInsertRetrieveEmptyList 0.012
testInsertRetrieveEmebeddedObjectList 0.012
testInsertRetrieveEmbeddedObject 0.022
testInsertRetrievePopulatedComplexList 0.014
testInsertRetrieveBigDecimal 0.013
testInsertRetrieveBoolean 0.013
testInsertRetrieveBigInteger 0.011
testInsertRetrieveDouble 0.011

TestMapReduce

testComplexReplaceMapReduce 0.049
testReplaceMapReduce 0.04
testInlineMapReduce 0.026
testComplexInlineMapReduce 0.023

Failure Details

[Summary] [Package List] [Test Cases]


testSimpleCustomSerializer
skipped: public void org.mongojack.TestDBUpdateSerialization.testSimpleCustomSerializer() is @Disabled
testDollarsCustomSerializer
skipped: public void org.mongojack.TestDBUpdateSerialization.testDollarsCustomSerializer() is @Disabled
testNestedValueCustomSerializer
skipped: public void org.mongojack.TestDBUpdateSerialization.testNestedValueCustomSerializer() is @Disabled