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.376

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.376

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.669
TestDBProjection 6 0 0 0 100% 0.083
TestJacksonCodecRegistry 7 0 0 0 100% 0.122
TestAggregate 6 0 0 0 100% 0.116
TestDBSort 4 0 0 0 100% 0.07
TestUUIDHandling 3 0 0 0 100% 0.044
TestParsingAndGeneratingPolymorphicTypes 1 0 0 0 100% 3.111
TestAggregationBuilder 12 0 0 0 100% 0.272
TestDBUpdateSerialization 11 0 0 3 72.727% 0.138
TestDBCursor 2 0 0 0 100% 0.025
TestDBUpdate 24 0 0 0 100% 0.347
TestJacksonMongoCollection 13 0 0 0 100% 0.25
TestBsonSerializers 10 0 0 0 100% 0.125
TestQuerySerialization 20 0 0 0 100% 0.291
TestObjectIdHandling 23 0 0 0 100% 0.371
TestDBRefHandling 7 0 0 0 100% 0.163
TestJavaTimeHandling 21 0 0 0 100% 0.31
TestJsonViews 4 0 0 0 100% 0.056
TestJacksonMongoCollectionCustomObjectMapper 2 0 0 0 100% 0.032
TestIdAnnotatedClass 20 0 0 0 100% 0.262
TestCustomObjectMapper 3 0 0 0 100% 0.045
TestParsingAndGenerating 24 0 0 0 100% 0.33
TestMapReduce 4 0 0 0 100% 0.144

Test Cases

[Summary] [Package List] [Test Cases]

TestDBQuery

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

TestDBProjection

testProjectionsIterableIncludes 0.013
testExcludes 0.014
testProjectionsIncludes 0.015
testProjectionsIterableExcludes 0.01
testProjectionsExcludes 0.016
testIncludes 0.01

TestJacksonCodecRegistry

testFindAndModify 0.019
testSerializationWithWriteOrReadOnlyFields 0.014
testQuery 0.018
testDeserializationWithWriteOrReadOnlyFields 0.013
testCustomSerialization 0.015
testRemoveById 0.019
testRemove 0.019

TestAggregate

testAggregateMultipleOpsItemsInCollection 0.018
testAggregateMultipleOpsItemsInCollection2 0.021
testBsonValueSerialization 0.02
testAggregateSingleOpItemsInCollection 0.016
testAggregateAugmentedFieldSetReturnedInDifferentObject 0.032
testAggregateSingleOpNothingInCollection 0.006

TestDBSort

testSortsAsc 0.018
testSortsDescAsc 0.018
testSortsAscDesc 0.014
testSortsDesc 0.016

TestUUIDHandling

testSavesAndRetrievesUuid 0.016
testUnderlyingMongoFunctionality 0.011
testQueryByUuid 0.013

TestParsingAndGeneratingPolymorphicTypes

testSubtypes 0.328

TestAggregationBuilder

testOut 0.037
testOperatorExpressions 0.022
testLimit 0.041
testGroupSumSort 0.021
testSize 0.022
testUnwindGroup 0.015
testProjectArrayElemAt 0.014
testGroupProject 0.018
testMatchIn 0.02
testOperatorExpressions2 0.015
testMatchGroupMin 0.024
testMatchUnaryComparison 0.017

TestDBUpdateSerialization

testMapValueCustomSerializerForObject 0.019
testSimpleCustomSerializer 0
public void org.mongojack.TestDBUpdateSerialization.testSimpleCustomSerializer() is @Disabled
testSimpleMap 0.019
testDollarsCustomSerializer 0
public void org.mongojack.TestDBUpdateSerialization.testDollarsCustomSerializer() is @Disabled
testUpdateOfNestedIdFieldWithDifferentType 0.022
testUpdateOfNestedRepeatedAttributeName 0.018
testSimpleObjectId 0.014
testNestedValueCustomSerializer 0
public void org.mongojack.TestDBUpdateSerialization.testNestedValueCustomSerializer() is @Disabled
testListCustomSerializerInObject 0.011
testSimpleCustomSerializerNotApplied 0.012
testObjectIdCollection 0.014

TestDBCursor

testArray 0.01
testIterator 0.012

TestDBUpdate

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

TestJacksonMongoCollection

testFindAndModifyWithBuilder 0.045
testInsertAndQueryWithPolymorphicField 0.021
testQuery 0.016
testReplaceOneByIdUsesIdProvided 0.017
testInsertAndQuery 0.014
testSaveAndQuery 0.021
testReplaceOneDoesNotUpsertIfUpsertFalse 0.012
testReplaceOneByNonIdQuery 0.016
testReplaceOneUpsertsIfNoDocumentExistsByQueryAndUpsertTrue 0.015
testRemoveById 0.017
testReplaceOneByUsesQueryNotId 0.014
testQueryWithLimitedKeys 0.018
testRemove 0.018

TestBsonSerializers

testPojoCollectionOfFilters 0.021
testPojoCollectionWithArray 0.013
testAggregationWithFailingListWithoutCustomObjectMapper 0.005
testCollectionOfDocuments 0.013
testAggregationWithNull 0.005
testAggregationWithFailingList 0.004
testPojoCollectionOfBsonDocuments 0.014
testCollectionOfBsonDocuments 0.015
testCollectionOfFilters 0.013
testPojoCollectionOfDocuments 0.014

TestQuerySerialization

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

TestObjectIdHandling

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

TestDBRefHandling

testUsingMongoCollectionAnnotation 0.026
collectionOfDbRefsShouldBeSavedAsDbRefs 0.025
dbRefWithObjectIdShouldBeSavedAsDbRef 0.023
simpleDbRefShouldBeSavedAsDbRef 0.019
collectionOfObjectIdDbRefsShouldBeSavedAsObjectIdDbRefs 0.023
fetchCollectionOfDBRefsShouldReturnRightResults 0.023
testUpdatesWithDbRef 0.019

TestJavaTimeHandling

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

TestJsonViews

testEnabledPropertyWithView 0.015
testNormalPropertyWithView 0.013
testDisabledPropertyWithView 0.013
testDisabledPropertyWithViewAfterUpdate 0.011

TestJacksonMongoCollectionCustomObjectMapper

customObjectMapperShouldWorkWhenSerialising 0.014
customObjectMapperShouldWorkWhenDeserialising 0.015

TestIdAnnotatedClass

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

TestCustomObjectMapper

customObjectMapperShouldWorkForUpdate 0.014
customObjectMapperShouldWorkWhenSerialising 0.014
customObjectMapperShouldWorkWhenDeserialising 0.015

TestParsingAndGenerating

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

TestMapReduce

testComplexReplaceMapReduce 0.048
testReplaceMapReduce 0.044
testInlineMapReduce 0.024
testComplexInlineMapReduce 0.024

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