Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
272 0 0 3 98.9% 6.324 s

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 272 0 0 3 98.9% 6.324 s

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.685 s
TestDBProjection 6 0 0 0 100% 0.074 s
TestJacksonCodecRegistry 7 0 0 0 100% 0.100 s
TestAggregate 6 0 0 0 100% 0.085 s
TestDBSort 4 0 0 0 100% 0.058 s
TestUUIDHandling 3 0 0 0 100% 0.051 s
TestParsingAndGeneratingPolymorphicTypes 1 0 0 0 100% 2.279 s
TestAggregationBuilder 12 0 0 0 100% 0.218 s
TestDBUpdateSerialization 11 0 0 3 72.7% 0.135 s
TestDBCursor 2 0 0 0 100% 0.030 s
TestDBUpdate 24 0 0 0 100% 0.299 s
TestJacksonMongoCollection 13 0 0 0 100% 0.212 s
TestBsonSerializers 10 0 0 0 100% 0.119 s
TestQuerySerialization 20 0 0 0 100% 0.285 s
TestObjectIdHandling 25 0 0 0 100% 0.493 s
TestDBRefHandling 7 0 0 0 100% 0.149 s
TestJavaTimeHandling 21 0 0 0 100% 0.283 s
TestJsonViews 4 0 0 0 100% 0.050 s
TestJacksonMongoCollectionCustomObjectMapper 2 0 0 0 100% 0.032 s
TestIdAnnotatedClass 20 0 0 0 100% 0.234 s
TestCustomObjectMapper 3 0 0 0 100% 0.052 s
TestParsingAndGenerating 24 0 0 0 100% 0.286 s
TestMapReduce 4 0 0 0 100% 0.115 s

Test Cases

[Summary] [Package List] [Test Cases]

TestDBQuery

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

TestDBProjection

testProjectionsIterableIncludes 0.011 s
testExcludes 0.014 s
testProjectionsIncludes 0.012 s
testProjectionsIterableExcludes 0.011 s
testProjectionsExcludes 0.010 s
testIncludes 0.010 s

TestJacksonCodecRegistry

testFindAndModify 0.016 s
testSerializationWithWriteOrReadOnlyFields 0.013 s
testQuery 0.014 s
testDeserializationWithWriteOrReadOnlyFields 0.012 s
testCustomSerialization 0.012 s
testRemoveById 0.014 s
testRemove 0.014 s

TestAggregate

testAggregateMultipleOpsItemsInCollection 0.014 s
testAggregateMultipleOpsItemsInCollection2 0.015 s
testBsonValueSerialization 0.015 s
testAggregateSingleOpItemsInCollection 0.014 s
testAggregateAugmentedFieldSetReturnedInDifferentObject 0.017 s
testAggregateSingleOpNothingInCollection 0.005 s

TestDBSort

testSortsAsc 0.014 s
testSortsDescAsc 0.014 s
testSortsAscDesc 0.013 s
testSortsDesc 0.014 s

TestUUIDHandling

testSavesAndRetrievesUuid 0.017 s
testUnderlyingMongoFunctionality 0.013 s
testQueryByUuid 0.016 s

TestParsingAndGeneratingPolymorphicTypes

testSubtypes 0.282 s

TestAggregationBuilder

testOut 0.032 s
testOperatorExpressions 0.017 s
testLimit 0.016 s
testGroupSumSort 0.013 s
testSize 0.020 s
testUnwindGroup 0.015 s
testProjectArrayElemAt 0.013 s
testGroupProject 0.016 s
testMatchIn 0.015 s
testOperatorExpressions2 0.015 s
testMatchGroupMin 0.020 s
testMatchUnaryComparison 0.019 s

TestDBUpdateSerialization

testMapValueCustomSerializerForObject 0.018 s
testSimpleCustomSerializer 0 s
- public void org.mongojack.TestDBUpdateSerialization.testSimpleCustomSerializer() is @Disabled -
testSimpleMap 0.016 s
testDollarsCustomSerializer 0 s
- public void org.mongojack.TestDBUpdateSerialization.testDollarsCustomSerializer() is @Disabled -
testUpdateOfNestedIdFieldWithDifferentType 0.015 s
testUpdateOfNestedRepeatedAttributeName 0.021 s
testSimpleObjectId 0.013 s
testNestedValueCustomSerializer 0 s
- public void org.mongojack.TestDBUpdateSerialization.testNestedValueCustomSerializer() is @Disabled -
testListCustomSerializerInObject 0.020 s
testSimpleCustomSerializerNotApplied 0.011 s
testObjectIdCollection 0.012 s

TestDBCursor

testArray 0.012 s
testIterator 0.013 s

TestDBUpdate

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

TestJacksonMongoCollection

testFindAndModifyWithBuilder 0.036 s
testInsertAndQueryWithPolymorphicField 0.022 s
testQuery 0.016 s
testReplaceOneByIdUsesIdProvided 0.016 s
testInsertAndQuery 0.012 s
testSaveAndQuery 0.016 s
testReplaceOneDoesNotUpsertIfUpsertFalse 0.007 s
testReplaceOneByNonIdQuery 0.012 s
testReplaceOneUpsertsIfNoDocumentExistsByQueryAndUpsertTrue 0.011 s
testRemoveById 0.013 s
testReplaceOneByUsesQueryNotId 0.013 s
testQueryWithLimitedKeys 0.017 s
testRemove 0.015 s

TestBsonSerializers

testPojoCollectionOfFilters 0.018 s
testPojoCollectionWithArray 0.013 s
testAggregationWithFailingListWithoutCustomObjectMapper 0.006 s
testCollectionOfDocuments 0.013 s
testAggregationWithNull 0.005 s
testAggregationWithFailingList 0.005 s
testPojoCollectionOfBsonDocuments 0.013 s
testCollectionOfBsonDocuments 0.011 s
testCollectionOfFilters 0.014 s
testPojoCollectionOfDocuments 0.013 s

TestQuerySerialization

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

TestObjectIdHandling

testCollectionOfObjectIds 0.016 s
testRemoveByIdWithComplexId 0.021 s
testObjectIdWithNoSetterSaved 0.015 s
testFindOneByIdWithConvertedId 0.016 s
testObjectIdAnnotationOnByteArraySaved 0.023 s
testRemoveByIdWithConvertedId 0.040 s
testObjectIdAnnotationOnConvertedSaved 0.030 s
testCollectionOfObjectIdStrings 0.020 s
testFindOneByIdWithUuidId 0.021 s
testObjectIdAnnotationOnMethodsGenerated 0.018 s
testObjectIdAnnotationOnMethodsSaved 0.016 s
testRemoveByIdWithObjectId 0.019 s
testObjectIdSaved 0.018 s
testObjectIdAnnotationOnStringGenerated 0.016 s
testObjectIdAnnotationOnStringSaved 0.018 s
testCollectionOfObjectIdByteArrays 0.021 s
testFindOneByIdWithObjectId 0.021 s
testObjectIdAnnotationOnByteArrayGenerated 0.019 s
testObjectIdGenerated 0.019 s
testFindOneByIdWithComplexId 0.021 s
testByteArrayObjectIdMethods 0.019 s
testObjectIdAnnotationOnUuidSaved 0.015 s
testRemoveByIdWithUuidId 0.016 s
testObjectIdAnnotationOnComplexSaved 0.014 s
testObjectIdSerializingViaTokenBuffer 0.005 s

TestDBRefHandling

testUsingMongoCollectionAnnotation 0.023 s
collectionOfDbRefsShouldBeSavedAsDbRefs 0.023 s
dbRefWithObjectIdShouldBeSavedAsDbRef 0.023 s
simpleDbRefShouldBeSavedAsDbRef 0.019 s
collectionOfObjectIdDbRefsShouldBeSavedAsObjectIdDbRefs 0.024 s
fetchCollectionOfDBRefsShouldReturnRightResults 0.018 s
testUpdatesWithDbRef 0.012 s

TestJavaTimeHandling

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

TestJsonViews

testEnabledPropertyWithView 0.012 s
testNormalPropertyWithView 0.013 s
testDisabledPropertyWithView 0.011 s
testDisabledPropertyWithViewAfterUpdate 0.011 s

TestJacksonMongoCollectionCustomObjectMapper

customObjectMapperShouldWorkWhenSerialising 0.013 s
customObjectMapperShouldWorkWhenDeserialising 0.015 s

TestIdAnnotatedClass

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

TestCustomObjectMapper

customObjectMapperShouldWorkForUpdate 0.022 s
customObjectMapperShouldWorkWhenSerialising 0.012 s
customObjectMapperShouldWorkWhenDeserialising 0.014 s

TestParsingAndGenerating

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

TestMapReduce

testComplexReplaceMapReduce 0.041 s
testReplaceMapReduce 0.036 s
testInlineMapReduce 0.017 s
testComplexInlineMapReduce 0.016 s

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