Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
260 0 0 0 100% 9.115

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 260 0 0 0 100% 9.115

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
TestJacksonMongoCollection 13 0 0 0 100% 0.479
TestObjectIdHandling 23 0 0 0 100% 0.662
TestAggregationBuilder 12 0 0 0 100% 0.393
TestMapReduce 4 0 0 0 100% 0.707
TestJacksonCodecRegistry 7 0 0 0 100% 0.328
TestJavaTimeHandling 21 0 0 0 100% 0.732
TestDBUpdate 26 0 0 0 100% 0.797
TestDBQuery 43 0 0 0 100% 1.353
TestDBCursor 2 0 0 0 100% 0.055
TestQuerySerialization 16 0 0 0 100% 0.524
TestCustomObjectMapper 3 0 0 0 100% 0.087
TestJsonViews 4 0 0 0 100% 0.133
TestDBRefHandling 7 0 0 0 100% 0.428
TestDBProjection 6 0 0 0 100% 0.209
TestIdAnnotatedClass 19 0 0 0 100% 0.556
TestDBSort 8 0 0 0 100% 0.278
TestUUIDHandling 3 0 0 0 100% 0.102
TestAggregate 6 0 0 0 100% 0.183
TestParsingAndGenerating 24 0 0 0 100% 0.727
TestJacksonMongoCollectionCustomObjectMapper 2 0 0 0 100% 0.062
TestDBUpdateSerialization 11 0 0 0 100% 0.32

Test Cases

[Summary] [Package List] [Test Cases]

TestJacksonMongoCollection

testFindAndModifyWithBuilder 0.122
testInsertAndQueryWithPolymorphicField 0.039
testQuery 0.03
testReplaceOneByIdUsesIdProvided 0.065
testInsertAndQuery 0.024
testSaveAndQuery 0.029
testReplaceOneDoesNotUpsertIfUpsertFalse 0.004
testReplaceOneByNonIdQuery 0.03
testReplaceOneUpsertsIfNoDocumentExistsByQueryAndUpsertTrue 0.027
testRemoveById 0.027
testReplaceOneByUsesQueryNotId 0.029
testQueryWithLimitedKeys 0.025
testRemove 0.027

TestObjectIdHandling

testCollectionOfObjectIds 0.034
testRemoveByIdWithComplexId 0.035
testFindOneByIdWithConvertedId 0.029
testObjectIdAnnotationOnByteArraySaved 0.028
testRemoveByIdWithConvertedId 0.029
testObjectIdAnnotationOnConvertedSaved 0.03
testCollectionOfObjectIdStrings 0.026
testFindOneByIdWithUuidId 0.027
testObjectIdAnnotationOnMethodsGenerated 0.03
testObjectIdAnnotationOnMethodsSaved 0.029
testRemoveByIdWithObjectId 0.029
testObjectIdSaved 0.027
testObjectIdAnnotationOnStringGenerated 0.032
testObjectIdAnnotationOnStringSaved 0.032
testCollectionOfObjectIdByteArrays 0.026
testFindOneByIdWithObjectId 0.028
testObjectIdAnnotationOnByteArrayGenerated 0.026
testObjectIdGenerated 0.028
testFindOneByIdWithComplexId 0.027
testByteArrayObjectIdMethods 0.028
testObjectIdAnnotationOnUuidSaved 0.028
testRemoveByIdWithUuidId 0.027
testObjectIdAnnotationOnComplexSaved 0.026

TestAggregationBuilder

testOut 0.058
testOperatorExpressions 0.032
testLimit 0.034
testGroupSumSort 0.028
testSize 0.034
testUnwindGroup 0.028
testProjectArrayElemAt 0.027
testGroupProject 0.031
testMatchIn 0.029
testOperatorExpressions2 0.032
testMatchGroupMin 0.031
testMatchUnaryComparison 0.028

TestMapReduce

testComplexReplaceMapReduce 0.431
testReplaceMapReduce 0.15
testInlineMapReduce 0.046
testComplexInlineMapReduce 0.046

TestJacksonCodecRegistry

testFindAndModify 0.036
testSerializationWithWriteOrReadOnlyFields 0.029
testQuery 0.116
testDeserializationWithWriteOrReadOnlyFields 0.031
testCustomSerialization 0.037
testRemoveById 0.041
testRemove 0.037

TestJavaTimeHandling

testZonedDateTimeSavedAsISO8601 0.04
testInstantSavedAsNativeTimestamps 0.028
testCalendarSavedAsNativeTimestamps 0.03
testYearMonthSavedAsTimestamps 0.032
testInstantSavedAsISO8601 0.03
testMonthDaySavedAsTimestamps 0.032
testLocalDateSavedAsISO8601 0.031
testYearMonthSavedAsISO8601 0.032
testLocalDateSavedAsTimestamps 0.031
testYearSavedAsTimestamps 0.032
testMonthDaySavedAsISO8601 0.03
testOffsetTimeSavedAsISO8601 0.037
testYearSavedAsISO8601 0.031
testLocalDateTimeSavedAsISO8601 0.03
testLocalTimeSavedAsTimestamps 0.029
testOffsetTimeSavedAsTimestamps 0.03
testDurationSavedAsISO8601 0.109
testOffsetDateTimeSavedAsISO8601 0.031
testLocalDateTimeSavedAsTimestamps 0.031
testLocalTimeSavedAsISO8601 0.027
testCalendarSavedAsISO8601 0.029

TestDBUpdate

testBitwiseAnd 0.035
testDBUpdateIsEmpty 0.002
testPushAllList 0.03
testBit 0.029
testInc 0.029
testSet 0.027
testAddToSetVarArgs 0.03
testUnset 0.029
testPull 0.028
testPush 0.032
testAddToSetListWithUpsert 0.028
testPopLast 0.087
testAddToSetSingle 0.032
testObjectInListSerialisation 0.029
testPullWithQuery 0.032
testObjectSerialisation 0.027
testBitTwoOperations 0.028
testIncByOne 0.028
testPullAllList 0.029
testAddToSetList 0.031
testBitwiseOr 0.028
testPopFirst 0.029
testPushAllVarArgs 0.029
testRename 0.029
testSameOperationTwice 0.031
testPullAllVarArgs 0.029

TestDBQuery

testSerializationFromDBCursor 0.028
testNotEqualsPositive 0.079
testNotEqualsNegative 0.038
testWherePositive 0.043
testRegexPositive 0.028
testGreaterThanPositive 0.029
testWhereNegative 0.032
testRegexNegative 0.026
testGreaterThanNegative 0.028
testAllEmbeddedPositive 0.029
testAllEmbeddedNegative 0.028
testGreaterThanEqPositive 0.025
testIsPositive 0.026
testGreaterThanEqNegative 0.027
testNotExistsPositive 0.029
testIsNegative 0.026
testSizePositive 0.03
testSerializationFromInFind 0.028
testNotExistsNegative 0.027
testSizeNegative 0.026
testInPositive 0.028
testNorPositive 0.025
testInNegative 0.028
testOrPositive 0.024
testNorNegative 0.026
testOrNegative 0.028
testAllPositive 0.032
testElemMatchPositive 0.027
testAllNegative 0.031
testElemMatchNegative 0.029
testExistsPositive 0.025
testExistsNegative 0.027
testInCollectionPositive 0.032
testModPositive 0.032
testNotInPositive 0.106
testModNegative 0.026
testNotInNegative 0.026
testAndPositive 0.027
testAndNegative 0.025
testLessThanEqPositive 0.028
testLessThanPositive 0.028
testLessThanNegative 0.033
testLessThanEqualsNegative 0.026

TestDBCursor

testArray 0.026
testIterator 0.029

TestQuerySerialization

testLessThan 0.03
testAll 0.032
testAnd 0.03
testSearchWithPatternFilter 0.03
testList 0.03
testSearchForCustomSerializedFields 0.03
testIn 0.036
testSimpleEquals 0.036
testEqual_collectionOfRefs 0.039
testLessThanWithoutCustomFilters 0.034
testIn_collectionOfRefs 0.033
testArrayEquals 0.03
testEqual_collectionOfStrings 0.034
testIn_collectionOfStrings 0.036
testSearchForCustomSerializedFieldsWithSimpleSerialization 0.033
testSearchForCustomSerializedFieldsInList 0.031

TestCustomObjectMapper

customObjectMapperShouldWorkForUpdate 0.033
customObjectMapperShouldWorkWhenSerialising 0.025
customObjectMapperShouldWorkWhenDeserialising 0.029

TestJsonViews

testEnabledPropertyWithView 0.033
testNormalPropertyWithView 0.029
testDisabledPropertyWithView 0.033
testDisabledPropertyWithViewAfterUpdate 0.036

TestDBRefHandling

testUsingMongoCollectionAnnotation 0.078
collectionOfDbRefsShouldBeSavedAsDbRefs 0.057
dbRefWithObjectIdShouldBeSavedAsDbRef 0.066
simpleDbRefShouldBeSavedAsDbRef 0.069
collectionOfObjectIdDbRefsShouldBeSavedAsObjectIdDbRefs 0.055
testDBUpdateWithDbRef 0.036
fetchCollectionOfDBRefsShouldReturnRightResults 0.067

TestDBProjection

testProjectionsIterableIncludes 0.062
testExcludes 0.032
testProjectionsIncludes 0.028
testProjectionsIterableExcludes 0.029
testProjectionsExcludes 0.03
testIncludes 0.028

TestIdAnnotatedClass

testProxyGetterSetterAnnotatedIsGeneratedByMongo 0.03
testProxyFieldAnnotatedIsGeneratedByMongoSubclass 0.03
testCreatorGetterObjectIdAnnotated 0.025
testProxyFieldAnnotatedIsGeneratedByMongo 0.031
testProxyGetterSetterAnnotatedIsGeneratedByMongoSubclass 0.029
testProxyFieldAnnotatedSubclass 0.026
testObjectIdFieldAnnotated 0.03
testJavaxJpaIdFieldAnnotated 0.029
testProxyFieldAnnotated 0.028
testIdFieldAnnotated 0.029
testProxyFieldAnnotatedWithoutSettingItSubclass 0.028
testProxyGetterSetterAnnotatedWithoutSettingIt 0.03
testProxyFieldAnnotatedWithoutSettingIt 0.027
testGetterSetterAnnotated 0.028
testJakartaJpaIdFieldAnnotated 0.031
testCreatorGetterAnnotated 0.031
testProxyGetterSetterAnnotatedSubclass 0.027
testProxyGetterSetterAnnotated 0.029
testProxyGetterSetterAnnotatedWithoutSettingItSubclass 0.037

TestDBSort

testSortsAsc 0.04
testSortsDescAsc 0.029
testAsc 0.028
testDesc 0.028
testAscDesc 0.067
testSortsAscDesc 0.027
testSortsDesc 0.029
testDescAsc 0.03

TestUUIDHandling

testSavesAndRetrievesUuid 0.035
testUnderlyingMongoFunctionality 0.033
testQueryByUuid 0.034

TestAggregate

testAggregateMultipleOpsItemsInCollection 0.027
testAggregateMultipleOpsItemsInCollection2 0.067
testBsonValueSerialization 0.026
testAggregateSingleOpItemsInCollection 0.03
testAggregateAugmentedFieldSetReturnedInDifferentObject 0.029
testAggregateSingleOpNothingInCollection 0.004

TestParsingAndGenerating

testInsertRetrieveDate 0.031
testInsertRetrieveLong 0.032
testInsertRetrieveAllEmpty 0.025
testInsertRetrieveFloat 0.03
testInsertRetrieveString 0.03
deserializingNull 0.069
testParseErrors 0.009
deserializingUndefined 0.032
testByteArray 0.031
testIntId 0.029
testInsertRetrieveInteger 0.029
testDateIsStoredAsBsonDate 0.027
testEverything 0.031
testInsertRetrievePopulatedSimpleList 0.03
testInsertRetrieveBigInteger2 0.03
testInsertNoId 0.03
testInsertRetrieveEmptyList 0.028
testInsertRetrieveEmebeddedObjectList 0.031
testInsertRetrieveEmbeddedObject 0.03
testInsertRetrievePopulatedComplexList 0.028
testInsertRetrieveBigDecimal 0.029
testInsertRetrieveBoolean 0.03
testInsertRetrieveBigInteger 0.027
testInsertRetrieveDouble 0.029

TestJacksonMongoCollectionCustomObjectMapper

customObjectMapperShouldWorkWhenSerialising 0.03
customObjectMapperShouldWorkWhenDeserialising 0.032

TestDBUpdateSerialization

testMapValueCustomSerializerForObject 0.035
testSimpleCustomSerializer 0.028
testSimpleMap 0.028
testDollarsCustomSerializer 0.029
testUpdateOfNestedIdFieldWithDifferentType 0.028
testUpdateOfNestedRepeatedAttributeName 0.029
testSimpleObjectId 0.028
testNestedValueCustomSerializer 0.03
testListCustomSerializerInObject 0.031
testSimpleCustomSerializerNotApplied 0.027
testObjectIdCollection 0.027