Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
271 0 0 3 98.893% 7.799

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 271 0 0 3 98.893% 7.799

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.792
TestDBProjection 6 0 0 0 100% 0.099
TestJacksonCodecRegistry 7 0 0 0 100% 0.133
TestAggregate 6 0 0 0 100% 0.113
TestDBSort 4 0 0 0 100% 0.077
TestUUIDHandling 3 0 0 0 100% 0.055
TestParsingAndGeneratingPolymorphicTypes 1 0 0 0 100% 3.156
TestAggregationBuilder 12 0 0 0 100% 0.252
TestDBUpdateSerialization 11 0 0 3 72.727% 0.139
TestDBCursor 2 0 0 0 100% 0.031
TestDBUpdate 24 0 0 0 100% 0.363
TestJacksonMongoCollection 13 0 0 0 100% 0.25
TestBsonSerializers 10 0 0 0 100% 0.122
TestQuerySerialization 20 0 0 0 100% 0.32
TestObjectIdHandling 24 0 0 0 100% 0.438
TestDBRefHandling 7 0 0 0 100% 0.181
TestJavaTimeHandling 21 0 0 0 100% 0.335
TestJsonViews 4 0 0 0 100% 0.06
TestJacksonMongoCollectionCustomObjectMapper 2 0 0 0 100% 0.043
TestIdAnnotatedClass 20 0 0 0 100% 0.283
TestCustomObjectMapper 3 0 0 0 100% 0.047
TestParsingAndGenerating 24 0 0 0 100% 0.359
TestMapReduce 4 0 0 0 100% 0.151

Test Cases

[Summary] [Package List] [Test Cases]

TestDBQuery

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

TestDBProjection

testProjectionsIterableIncludes 0.014
testExcludes 0.015
testProjectionsIncludes 0.014
testProjectionsIterableExcludes 0.021
testProjectionsExcludes 0.016
testIncludes 0.015

TestJacksonCodecRegistry

testFindAndModify 0.022
testSerializationWithWriteOrReadOnlyFields 0.014
testQuery 0.02
testDeserializationWithWriteOrReadOnlyFields 0.014
testCustomSerialization 0.016
testRemoveById 0.02
testRemove 0.023

TestAggregate

testAggregateMultipleOpsItemsInCollection 0.018
testAggregateMultipleOpsItemsInCollection2 0.019
testBsonValueSerialization 0.021
testAggregateSingleOpItemsInCollection 0.018
testAggregateAugmentedFieldSetReturnedInDifferentObject 0.027
testAggregateSingleOpNothingInCollection 0.005

TestDBSort

testSortsAsc 0.021
testSortsDescAsc 0.019
testSortsAscDesc 0.016
testSortsDesc 0.017

TestUUIDHandling

testSavesAndRetrievesUuid 0.018
testUnderlyingMongoFunctionality 0.016
testQueryByUuid 0.017

TestParsingAndGeneratingPolymorphicTypes

testSubtypes 0.303

TestAggregationBuilder

testOut 0.037
testOperatorExpressions 0.022
testLimit 0.021
testGroupSumSort 0.021
testSize 0.02
testUnwindGroup 0.016
testProjectArrayElemAt 0.013
testGroupProject 0.02
testMatchIn 0.019
testOperatorExpressions2 0.015
testMatchGroupMin 0.024
testMatchUnaryComparison 0.02

TestDBUpdateSerialization

testMapValueCustomSerializerForObject 0.019
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.018
testUpdateOfNestedRepeatedAttributeName 0.018
testSimpleObjectId 0.014
testNestedValueCustomSerializer 0
public void org.mongojack.TestDBUpdateSerialization.testNestedValueCustomSerializer() is @Disabled
testListCustomSerializerInObject 0.013
testSimpleCustomSerializerNotApplied 0.015
testObjectIdCollection 0.015

TestDBCursor

testArray 0.014
testIterator 0.014

TestDBUpdate

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

TestJacksonMongoCollection

testFindAndModifyWithBuilder 0.04
testInsertAndQueryWithPolymorphicField 0.019
testQuery 0.017
testReplaceOneByIdUsesIdProvided 0.017
testInsertAndQuery 0.015
testSaveAndQuery 0.021
testReplaceOneDoesNotUpsertIfUpsertFalse 0.01
testReplaceOneByNonIdQuery 0.014
testReplaceOneUpsertsIfNoDocumentExistsByQueryAndUpsertTrue 0.016
testRemoveById 0.02
testReplaceOneByUsesQueryNotId 0.014
testQueryWithLimitedKeys 0.019
testRemove 0.021

TestBsonSerializers

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

TestQuerySerialization

testLessThan 0.019
testAll 0.015
testAnd 0.017
testMaxKeyInArray 0.014
testSearchWithPatternFilter 0.021
testList 0.015
testSearchForCustomSerializedFields 0.018
testIn 0.015
testSimpleEquals 0.014
testEqual_collectionOfRefs 0.015
testLessThanWithoutCustomFilters 0.016
testIn_collectionOfRefs 0.015
testArrayEquals 0.02
testEqual_collectionOfStrings 0.015
testMinKeyInArray 0.014
testIn_collectionOfStrings 0.014
testSearchForCustomSerializedFieldsWithSimpleSerialization 0.015
testSearchForCustomSerializedFieldsInList 0.018
testMaxKey 0.01
testMinKey 0.012

TestObjectIdHandling

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

TestDBRefHandling

testUsingMongoCollectionAnnotation 0.027
collectionOfDbRefsShouldBeSavedAsDbRefs 0.027
dbRefWithObjectIdShouldBeSavedAsDbRef 0.026
simpleDbRefShouldBeSavedAsDbRef 0.021
collectionOfObjectIdDbRefsShouldBeSavedAsObjectIdDbRefs 0.027
fetchCollectionOfDBRefsShouldReturnRightResults 0.029
testUpdatesWithDbRef 0.019

TestJavaTimeHandling

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

TestJsonViews

testEnabledPropertyWithView 0.015
testNormalPropertyWithView 0.014
testDisabledPropertyWithView 0.015
testDisabledPropertyWithViewAfterUpdate 0.013

TestJacksonMongoCollectionCustomObjectMapper

customObjectMapperShouldWorkWhenSerialising 0.021
customObjectMapperShouldWorkWhenDeserialising 0.018

TestIdAnnotatedClass

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

TestCustomObjectMapper

customObjectMapperShouldWorkForUpdate 0.015
customObjectMapperShouldWorkWhenSerialising 0.015
customObjectMapperShouldWorkWhenDeserialising 0.014

TestParsingAndGenerating

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

TestMapReduce

testComplexReplaceMapReduce 0.05
testReplaceMapReduce 0.046
testInlineMapReduce 0.028
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