Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
253 0 0 0 100% 130.098

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 243 0 0 0 100% 129.986
org.mongojack.internal.util 10 0 0 0 100% 0.112

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% 21.919
TestDBProjection 6 0 0 0 100% 2.731
TestJacksonCodecRegistry 5 0 0 0 100% 2.777
TestAggregate 6 0 0 0 100% 2.43
TestDBSort 8 0 0 0 100% 4.292
TestUUIDHandling 3 0 0 0 100% 1.436
TestAggregationBuilder 12 0 0 0 100% 6.916
TestDBUpdateSerialization 11 0 0 0 100% 5.827
TestDBCursor 2 0 0 0 100% 1.021
TestDBUpdate 26 0 0 0 100% 13.064
TestJacksonMongoCollection 12 0 0 0 100% 5.636
TestQuerySerialization 16 0 0 0 100% 7.618
TestObjectIdHandling 14 0 0 0 100% 7.355
TestDBRefHandling 7 0 0 0 100% 6.361
TestJavaTimeHandling 19 0 0 0 100% 9.408
TestJsonViews 4 0 0 0 100% 2.265
TestJacksonMongoCollectionCustomObjectMapper 2 0 0 0 100% 1.272
TestIdAnnotatedClass 18 0 0 0 100% 9.399
TestCustomObjectMapper 3 0 0 0 100% 1.464
TestParsingAndGenerating 22 0 0 0 100% 10.467
TestMapReduce 4 0 0 0 100% 6.328

org.mongojack.internal.util

Class Tests Errors Failures Skipped Success Rate Time
MongoJackInstantDeserializerTest 5 0 0 0 100% 0
CalendarDeserializerTest 4 0 0 0 100% 0.112
CalendarSerializerTest 1 0 0 0 100% 0

Test Cases

[Summary] [Package List] [Test Cases]

TestDBQuery

testSerializationFromDBCursor 0.759
testNotEqualsPositive 0.325
testNotEqualsNegative 0.236
testWherePositive 0.691
testRegexPositive 0.307
testGreaterThanPositive 0.663
testWhereNegative 0.263
testRegexNegative 0.258
testGreaterThanNegative 0.881
testAllEmbeddedPositive 0.383
testAllEmbeddedNegative 0.532
testGreaterThanEqPositive 0.419
testIsPositive 0.549
testGreaterThanEqNegative 0.335
testNotExistsPositive 0.308
testIsNegative 0.803
testSizePositive 0.478
testSerializationFromInFind 0.59
testNotExistsNegative 0.458
testSizeNegative 0.426
testInPositive 0.473
testNorPositive 0.56
testInNegative 0.295
testOrPositive 0.313
testNorNegative 0.83
testOrNegative 0.476
testAllPositive 0.53
testElemMatchPositive 0.493
testAllNegative 0.647
testElemMatchNegative 0.511
testExistsPositive 0.407
testExistsNegative 0.336
testInCollectionPositive 0.809
testModPositive 0.313
testNotInPositive 0.767
testModNegative 0.37
testNotInNegative 0.605
testAndPositive 0.346
testAndNegative 0.731
testLessThanEqPositive 0.367
testLessThanPositive 1.093
testLessThanNegative 0.404
testLessThanEqualsNegative 0.458

TestDBProjection

testProjectionsIterableIncludes 0.386
testExcludes 0.635
testProjectionsIncludes 0.479
testProjectionsIterableExcludes 0.658
testProjectionsExcludes 0.26
testIncludes 0.312

TestJacksonCodecRegistry

testFindAndModify 0.548
testQuery 0.45
testCustomSerialization 0.446
testRemoveById 0.517
testRemove 0.814

MongoJackInstantDeserializerTest

testDateIsNull 0
testWithoutDateObject 0
testWithDateObject 0
testWithInstantObject 0
testNoEmbeddedObject 0

TestAggregate

testAggregateMultipleOpsItemsInCollection 0.461
testAggregateMultipleOpsItemsInCollection2 0.309
testBsonValueSerialization 0.314
testAggregateSingleOpItemsInCollection 0.889
testAggregateAugmentedFieldSetReturnedInDifferentObject 0.449
testAggregateSingleOpNothingInCollection 0.004

TestDBSort

testSortsAsc 0.294
testSortsDescAsc 0.799
testAsc 0.503
testDesc 0.604
testAscDesc 0.478
testSortsAscDesc 0.468
testSortsDesc 0.528
testDescAsc 0.614

TestUUIDHandling

testSavesAndRetrievesUuid 0.494
testUnderlyingMongoFunctionality 0.414
testQueryByUuid 0.526

TestAggregationBuilder

testOut 1.316
testOperatorExpressions 0.362
testLimit 0.364
testGroupSumSort 0.508
testSize 0.656
testUnwindGroup 0.343
testProjectArrayElemAt 0.755
testGroupProject 0.422
testMatchIn 0.564
testOperatorExpressions2 0.343
testMatchGroupMin 0.375
testMatchUnaryComparison 0.901

TestDBUpdateSerialization

testMapValueCustomSerializerForObject 0.401
testSimpleCustomSerializer 0.53
testSimpleMap 0.496
testDollarsCustomSerializer 0.611
testUpdateOfNestedIdFieldWithDifferentType 0.476
testUpdateOfNestedRepeatedAttributeName 0.551
testSimpleObjectId 0.507
testNestedValueCustomSerializer 0.683
testListCustomSerializerInObject 0.705
testSimpleCustomSerializerNotApplied 0.367
testObjectIdCollection 0.496

TestDBCursor

testArray 0.531
testIterator 0.489

TestDBUpdate

testBitwiseAnd 0.591
testDBUpdateIsEmpty 0.004
testPushAllList 0.472
testBit 0.593
testInc 0.432
testSet 0.435
testAddToSetVarArgs 0.311
testUnset 0.372
testPull 0.827
testPush 0.475
testAddToSetListWithUpsert 0.631
testPopLast 0.461
testAddToSetSingle 0.674
testObjectInListSerialisation 0.48
testPullWithQuery 0.545
testObjectSerialisation 0.501
testBitTwoOperations 0.556
testIncByOne 0.476
testPullAllList 0.623
testAddToSetList 0.417
testBitwiseOr 0.612
testPopFirst 0.422
testPushAllVarArgs 0.475
testRename 0.479
testSameOperationTwice 0.723
testPullAllVarArgs 0.467

TestJacksonMongoCollection

testFindAndModifyWithBuilder 0.392
testQuery 0.521
testReplaceOneByIdUsesIdProvided 0.332
testInsertAndQuery 0.954
testSaveAndQuery 0.454
testReplaceOneDoesNotUpsertIfUpsertFalse 0.012
testReplaceOneByNonIdQuery 0.346
testReplaceOneUpsertsIfNoDocumentExistsByQueryAndUpsertTrue 0.458
testRemoveById 0.69
testReplaceOneByUsesQueryNotId 0.414
testQueryWithLimitedKeys 0.634
testRemove 0.423

TestQuerySerialization

testLessThan 0.301
testAll 0.651
testAnd 0.309
testSearchWithPatternFilter 0.309
testList 0.661
testSearchForCustomSerializedFields 0.629
testIn 0.46
testSimpleEquals 0.421
testEqual_collectionOfRefs 0.466
testLessThanWithoutCustomFilters 0.312
testIn_collectionOfRefs 0.25
testArrayEquals 0.822
testEqual_collectionOfStrings 0.473
testIn_collectionOfStrings 0.514
testSearchForCustomSerializedFieldsWithSimpleSerialization 0.491
testSearchForCustomSerializedFieldsInList 0.543

TestObjectIdHandling

testCollectionOfObjectIds 0.459
testObjectIdAnnotationOnByteArraySaved 0.481
testCollectionOfObjectIdStrings 0.452
testObjectIdAnnotationOnMethodsGenerated 0.701
testObjectIdAnnotationOnMethodsSaved 0.637
testRemoveByIdWithObjectId 0.467
testObjectIdSaved 0.478
testObjectIdAnnotationOnStringGenerated 0.339
testObjectIdAnnotationOnStringSaved 0.526
testCollectionOfObjectIdByteArrays 0.764
testFindOneByIdWithObjectId 0.625
testObjectIdAnnotationOnByteArrayGenerated 0.416
testObjectIdGenerated 0.416
testByteArrayObjectIdMethods 0.588

CalendarDeserializerTest

testDateIsNull 0.107
testWithoutDateObject 0.002
testWithDateObject 0.001
testNoEmbeddedObject 0.002

TestDBRefHandling

testUsingMongoCollectionAnnotation 1.318
collectionOfDbRefsShouldBeSavedAsDbRefs 0.768
dbRefWithObjectIdShouldBeSavedAsDbRef 0.877
simpleDbRefShouldBeSavedAsDbRef 1.25
collectionOfObjectIdDbRefsShouldBeSavedAsObjectIdDbRefs 0.668
testDBUpdateWithDbRef 0.354
fetchCollectionOfDBRefsShouldReturnRightResults 1.121

TestJavaTimeHandling

testZonedDateTimeSavedAsISO8601 0.388
testInstantSavedAsNativeTimestamps 0.624
testYearMonthSavedAsTimestamps 0.506
testInstantSavedAsISO8601 0.646
testMonthDaySavedAsTimestamps 0.478
testLocalDateSavedAsISO8601 0.424
testYearMonthSavedAsISO8601 0.313
testLocalDateSavedAsTimestamps 0.331
testYearSavedAsTimestamps 0.817
testMonthDaySavedAsISO8601 0.349
testOffsetTimeSavedAsISO8601 0.492
testYearSavedAsISO8601 0.52
testLocalDateTimeSavedAsISO8601 0.668
testLocalTimeSavedAsTimestamps 0.414
testOffsetTimeSavedAsTimestamps 0.544
testDurationSavedAsISO8601 0.442
testOffsetDateTimeSavedAsISO8601 0.767
testLocalDateTimeSavedAsTimestamps 0.346
testLocalTimeSavedAsISO8601 0.33

TestJsonViews

testEnabledPropertyWithView 0.455
testNormalPropertyWithView 0.744
testDisabledPropertyWithView 0.404
testDisabledPropertyWithViewAfterUpdate 0.662

TestJacksonMongoCollectionCustomObjectMapper

customObjectMapperShouldWorkWhenSerialising 0.8
customObjectMapperShouldWorkWhenDeserialising 0.471

TestIdAnnotatedClass

testProxyGetterSetterAnnotatedIsGeneratedByMongo 0.65
testProxyFieldAnnotatedIsGeneratedByMongoSubclass 0.425
testCreatorGetterObjectIdAnnotated 0.646
testProxyFieldAnnotatedIsGeneratedByMongo 0.339
testProxyGetterSetterAnnotatedIsGeneratedByMongoSubclass 0.737
testProxyFieldAnnotatedSubclass 0.327
testObjectIdFieldAnnotated 0.759
testProxyFieldAnnotated 0.332
testIdFieldAnnotated 0.778
testProxyFieldAnnotatedWithoutSettingItSubclass 0.307
testProxyGetterSetterAnnotatedWithoutSettingIt 0.251
testProxyFieldAnnotatedWithoutSettingIt 0.752
testGetterSetterAnnotated 0.33
testCreatorGetterAnnotated 0.753
testProxyGetterSetterAnnotatedSubclass 0.343
testProxyGetterSetterAnnotated 0.311
testJpaIdFieldAnnotated 0.885
testProxyGetterSetterAnnotatedWithoutSettingItSubclass 0.471

TestCustomObjectMapper

customObjectMapperShouldWorkForUpdate 0.432
customObjectMapperShouldWorkWhenSerialising 0.532
customObjectMapperShouldWorkWhenDeserialising 0.498

TestParsingAndGenerating

testInsertRetrieveDate 0.475
testInsertRetrieveLong 0.487
testInsertRetrieveAllEmpty 0.62
testInsertRetrieveFloat 0.497
testInsertRetrieveString 0.459
testParseErrors 0.005
testByteArray 0.512
testIntId 0.661
testInsertRetrieveInteger 0.329
testDateIsStoredAsBsonDate 0.318
testEverything 0.763
testInsertRetrievePopulatedSimpleList 0.359
testInsertRetrieveBigInteger2 0.575
testInsertNoId 0.331
testInsertRetrieveEmptyList 0.312
testInsertRetrieveEmebeddedObjectList 0.774
testInsertRetrieveEmbeddedObject 0.328
testInsertRetrievePopulatedComplexList 0.591
testInsertRetrieveBigDecimal 0.332
testInsertRetrieveBoolean 0.725
testInsertRetrieveBigInteger 0.479
testInsertRetrieveDouble 0.525

CalendarSerializerTest

test 0

TestMapReduce

testComplexReplaceMapReduce 2.562
testReplaceMapReduce 2.592
testInlineMapReduce 0.356
testComplexInlineMapReduce 0.817