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% 8.082

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% 8.082

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.764
TestDBProjection 6 0 0 0 100% 0.104
TestJacksonCodecRegistry 7 0 0 0 100% 0.148
TestAggregate 6 0 0 0 100% 0.116
TestDBSort 4 0 0 0 100% 0.086
TestUUIDHandling 3 0 0 0 100% 0.054
TestParsingAndGeneratingPolymorphicTypes 1 0 0 0 100% 2.89
TestAggregationBuilder 12 0 0 0 100% 0.299
TestDBUpdateSerialization 11 0 0 3 72.727% 0.168
TestDBCursor 2 0 0 0 100% 0.036
TestDBUpdate 24 0 0 0 100% 0.407
TestJacksonMongoCollection 13 0 0 0 100% 0.313
TestBsonSerializers 10 0 0 0 100% 0.158
TestQuerySerialization 20 0 0 0 100% 0.375
TestObjectIdHandling 24 0 0 0 100% 0.482
TestDBRefHandling 7 0 0 0 100% 0.204
TestJavaTimeHandling 21 0 0 0 100% 0.393
TestJsonViews 4 0 0 0 100% 0.098
TestJacksonMongoCollectionCustomObjectMapper 2 0 0 0 100% 0.041
TestIdAnnotatedClass 20 0 0 0 100% 0.333
TestCustomObjectMapper 3 0 0 0 100% 0.058
TestParsingAndGenerating 24 0 0 0 100% 0.401
TestMapReduce 4 0 0 0 100% 0.154

Test Cases

[Summary] [Package List] [Test Cases]

TestDBQuery

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

TestDBProjection

testProjectionsIterableIncludes 0.019
testExcludes 0.015
testProjectionsIncludes 0.015
testProjectionsIterableExcludes 0.016
testProjectionsExcludes 0.015
testIncludes 0.015

TestJacksonCodecRegistry

testFindAndModify 0.023
testSerializationWithWriteOrReadOnlyFields 0.016
testQuery 0.022
testDeserializationWithWriteOrReadOnlyFields 0.016
testCustomSerialization 0.017
testRemoveById 0.024
testRemove 0.024

TestAggregate

testAggregateMultipleOpsItemsInCollection 0.02
testAggregateMultipleOpsItemsInCollection2 0.017
testBsonValueSerialization 0.021
testAggregateSingleOpItemsInCollection 0.016
testAggregateAugmentedFieldSetReturnedInDifferentObject 0.028
testAggregateSingleOpNothingInCollection 0.006

TestDBSort

testSortsAsc 0.023
testSortsDescAsc 0.019
testSortsAscDesc 0.021
testSortsDesc 0.019

TestUUIDHandling

testSavesAndRetrievesUuid 0.021
testUnderlyingMongoFunctionality 0.014
testQueryByUuid 0.015

TestParsingAndGeneratingPolymorphicTypes

testSubtypes 0.318

TestAggregationBuilder

testOut 0.04
testOperatorExpressions 0.022
testLimit 0.025
testGroupSumSort 0.024
testSize 0.025
testUnwindGroup 0.017
testProjectArrayElemAt 0.019
testGroupProject 0.025
testMatchIn 0.02
testOperatorExpressions2 0.019
testMatchGroupMin 0.031
testMatchUnaryComparison 0.024

TestDBUpdateSerialization

testMapValueCustomSerializerForObject 0.021
testSimpleCustomSerializer 0
public void org.mongojack.TestDBUpdateSerialization.testSimpleCustomSerializer() is @Disabled
testSimpleMap 0.025
testDollarsCustomSerializer 0
public void org.mongojack.TestDBUpdateSerialization.testDollarsCustomSerializer() is @Disabled
testUpdateOfNestedIdFieldWithDifferentType 0.021
testUpdateOfNestedRepeatedAttributeName 0.021
testSimpleObjectId 0.02
testNestedValueCustomSerializer 0
public void org.mongojack.TestDBUpdateSerialization.testNestedValueCustomSerializer() is @Disabled
testListCustomSerializerInObject 0.016
testSimpleCustomSerializerNotApplied 0.016
testObjectIdCollection 0.018

TestDBCursor

testArray 0.017
testIterator 0.014

TestDBUpdate

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

TestJacksonMongoCollection

testFindAndModifyWithBuilder 0.046
testInsertAndQueryWithPolymorphicField 0.022
testQuery 0.056
testReplaceOneByIdUsesIdProvided 0.022
testInsertAndQuery 0.016
testSaveAndQuery 0.023
testReplaceOneDoesNotUpsertIfUpsertFalse 0.008
testReplaceOneByNonIdQuery 0.015
testReplaceOneUpsertsIfNoDocumentExistsByQueryAndUpsertTrue 0.015
testRemoveById 0.019
testReplaceOneByUsesQueryNotId 0.018
testQueryWithLimitedKeys 0.024
testRemove 0.019

TestBsonSerializers

testPojoCollectionOfFilters 0.028
testPojoCollectionWithArray 0.018
testAggregationWithFailingListWithoutCustomObjectMapper 0.005
testCollectionOfDocuments 0.017
testAggregationWithNull 0.006
testAggregationWithFailingList 0.012
testPojoCollectionOfBsonDocuments 0.017
testCollectionOfBsonDocuments 0.014
testCollectionOfFilters 0.016
testPojoCollectionOfDocuments 0.017

TestQuerySerialization

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

TestObjectIdHandling

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

TestDBRefHandling

testUsingMongoCollectionAnnotation 0.033
collectionOfDbRefsShouldBeSavedAsDbRefs 0.032
dbRefWithObjectIdShouldBeSavedAsDbRef 0.029
simpleDbRefShouldBeSavedAsDbRef 0.028
collectionOfObjectIdDbRefsShouldBeSavedAsObjectIdDbRefs 0.031
fetchCollectionOfDBRefsShouldReturnRightResults 0.027
testUpdatesWithDbRef 0.018

TestJavaTimeHandling

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

TestJsonViews

testEnabledPropertyWithView 0.023
testNormalPropertyWithView 0.019
testDisabledPropertyWithView 0.022
testDisabledPropertyWithViewAfterUpdate 0.029

TestJacksonMongoCollectionCustomObjectMapper

customObjectMapperShouldWorkWhenSerialising 0.017
customObjectMapperShouldWorkWhenDeserialising 0.018

TestIdAnnotatedClass

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

TestCustomObjectMapper

customObjectMapperShouldWorkForUpdate 0.022
customObjectMapperShouldWorkWhenSerialising 0.016
customObjectMapperShouldWorkWhenDeserialising 0.015

TestParsingAndGenerating

testInsertRetrieveDate 0.014
testInsertRetrieveLong 0.014
testInsertRetrieveAllEmpty 0.015
testInsertRetrieveFloat 0.014
testInsertRetrieveString 0.015
deserializingNull 0.018
testParseErrors 0.007
deserializingUndefined 0.016
testByteArray 0.02
testIntId 0.015
testInsertRetrieveInteger 0.016
testDateIsStoredAsBsonDate 0.016
testEverything 0.015
testInsertRetrievePopulatedSimpleList 0.016
testInsertRetrieveBigInteger2 0.017
testInsertNoId 0.014
testInsertRetrieveEmptyList 0.018
testInsertRetrieveEmebeddedObjectList 0.03
testInsertRetrieveEmbeddedObject 0.015
testInsertRetrievePopulatedComplexList 0.015
testInsertRetrieveBigDecimal 0.017
testInsertRetrieveBoolean 0.018
testInsertRetrieveBigInteger 0.017
testInsertRetrieveDouble 0.018

TestMapReduce

testComplexReplaceMapReduce 0.051
testReplaceMapReduce 0.048
testInlineMapReduce 0.025
testComplexInlineMapReduce 0.025

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