Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
263 0 0 0 100% 133.007

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 253 0 0 0 100% 132.894
org.mongojack.internal.util 10 0 0 0 100% 0.113

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.927
TestDBProjection 6 0 0 0 100% 2.672
TestJacksonCodecRegistry 7 0 0 0 100% 3.048
TestAggregate 6 0 0 0 100% 2.508
TestDBSort 8 0 0 0 100% 4.148
TestUUIDHandling 3 0 0 0 100% 1.391
TestAggregationBuilder 12 0 0 0 100% 6.917
TestDBUpdateSerialization 11 0 0 0 100% 5.739
TestDBCursor 2 0 0 0 100% 0.972
TestDBUpdate 26 0 0 0 100% 12.722
TestJacksonMongoCollection 12 0 0 0 100% 5.219
TestQuerySerialization 16 0 0 0 100% 8.197
TestObjectIdHandling 20 0 0 0 100% 9.332
TestDBRefHandling 7 0 0 0 100% 6.495
TestJavaTimeHandling 19 0 0 0 100% 9.778
TestJsonViews 4 0 0 0 100% 1.865
TestJacksonMongoCollectionCustomObjectMapper 2 0 0 0 100% 0.82
TestIdAnnotatedClass 18 0 0 0 100% 9.443
TestCustomObjectMapper 3 0 0 0 100% 1.383
TestParsingAndGenerating 24 0 0 0 100% 11.667
TestMapReduce 4 0 0 0 100% 6.651

org.mongojack.internal.util

Class Tests Errors Failures Skipped Success Rate Time
MongoJackInstantDeserializerTest 5 0 0 0 100% 0.001
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.721
testNotEqualsPositive 0.399
testNotEqualsNegative 0.621
testWherePositive 0.293
testRegexPositive 0.632
testGreaterThanPositive 0.506
testWhereNegative 0.446
testRegexNegative 0.338
testGreaterThanNegative 0.321
testAllEmbeddedPositive 0.893
testAllEmbeddedNegative 0.476
testGreaterThanEqPositive 0.367
testIsPositive 0.325
testGreaterThanEqNegative 0.761
testNotExistsPositive 0.428
testIsNegative 0.494
testSizePositive 0.299
testSerializationFromInFind 0.356
testNotExistsNegative 0.883
testSizeNegative 0.396
testInPositive 0.371
testNorPositive 0.518
testInNegative 0.57
testOrPositive 0.349
testNorNegative 0.306
testOrNegative 0.882
testAllPositive 0.433
testElemMatchPositive 0.62
testAllNegative 0.415
testElemMatchNegative 0.563
testExistsPositive 0.429
testExistsNegative 0.502
testInCollectionPositive 0.352
testModPositive 0.478
testNotInPositive 0.639
testModNegative 0.526
testNotInNegative 0.784
testAndPositive 0.432
testAndNegative 0.564
testLessThanEqPositive 0.507
testLessThanPositive 0.422
testLessThanNegative 0.334
testLessThanEqualsNegative 0.923

TestDBProjection

testProjectionsIterableIncludes 0.418
testExcludes 0.433
testProjectionsIncludes 0.265
testProjectionsIterableExcludes 0.348
testProjectionsExcludes 0.78
testIncludes 0.427

TestJacksonCodecRegistry

testFindAndModify 0.393
testSerializationWithWriteOrReadOnlyFields 0.251
testQuery 0.361
testDeserializationWithWriteOrReadOnlyFields 0.816
testCustomSerialization 0.54
testRemoveById 0.373
testRemove 0.313

MongoJackInstantDeserializerTest

testDateIsNull 0
testWithoutDateObject 0
testWithDateObject 0
testWithInstantObject 0
testNoEmbeddedObject 0

TestAggregate

testAggregateMultipleOpsItemsInCollection 0.261
testAggregateMultipleOpsItemsInCollection2 0.367
testBsonValueSerialization 0.805
testAggregateSingleOpItemsInCollection 0.417
testAggregateAugmentedFieldSetReturnedInDifferentObject 0.654
testAggregateSingleOpNothingInCollection 0.004

TestDBSort

testSortsAsc 0.754
testSortsDescAsc 0.262
testAsc 0.703
testDesc 0.335
testAscDesc 0.682
testSortsAscDesc 0.338
testSortsDesc 0.26
testDescAsc 0.814

TestUUIDHandling

testSavesAndRetrievesUuid 0.283
testUnderlyingMongoFunctionality 0.783
testQueryByUuid 0.325

TestAggregationBuilder

testOut 0.985
testOperatorExpressions 0.646
testLimit 0.366
testGroupSumSort 0.766
testSize 0.268
testUnwindGroup 0.359
testProjectArrayElemAt 0.865
testGroupProject 0.507
testMatchIn 0.623
testOperatorExpressions2 0.511
testMatchGroupMin 0.589
testMatchUnaryComparison 0.431

TestDBUpdateSerialization

testMapValueCustomSerializerForObject 0.423
testSimpleCustomSerializer 0.341
testSimpleMap 0.267
testDollarsCustomSerializer 0.911
testUpdateOfNestedIdFieldWithDifferentType 0.504
testUpdateOfNestedRepeatedAttributeName 0.44
testSimpleObjectId 0.507
testNestedValueCustomSerializer 0.658
testListCustomSerializerInObject 0.458
testSimpleCustomSerializerNotApplied 0.802
testObjectIdCollection 0.428

TestDBCursor

testArray 0.687
testIterator 0.285

TestDBUpdate

testBitwiseAnd 0.538
testDBUpdateIsEmpty 0.003
testPushAllList 0.336
testBit 0.913
testInc 0.397
testSet 0.434
testAddToSetVarArgs 0.327
testUnset 0.268
testPull 0.905
testPush 0.264
testAddToSetListWithUpsert 0.685
testPopLast 0.326
testAddToSetSingle 0.613
testObjectInListSerialisation 0.339
testPullWithQuery 1.069
testObjectSerialisation 0.389
testBitTwoOperations 0.578
testIncByOne 0.43
testPullAllList 0.487
testAddToSetList 0.341
testBitwiseOr 0.284
testPopFirst 0.768
testPushAllVarArgs 0.27
testRename 0.752
testSameOperationTwice 0.276
testPullAllVarArgs 0.729

TestJacksonMongoCollection

testFindAndModifyWithBuilder 0.244
testQuery 0.721
testReplaceOneByIdUsesIdProvided 0.412
testInsertAndQuery 0.496
testSaveAndQuery 0.434
testReplaceOneDoesNotUpsertIfUpsertFalse 0.009
testReplaceOneByNonIdQuery 0.488
testReplaceOneUpsertsIfNoDocumentExistsByQueryAndUpsertTrue 0.309
testRemoveById 0.337
testReplaceOneByUsesQueryNotId 0.755
testQueryWithLimitedKeys 0.511
testRemove 0.501

TestQuerySerialization

testLessThan 0.517
testAll 0.43
testAnd 0.421
testSearchWithPatternFilter 0.36
testList 0.829
testSearchForCustomSerializedFields 0.36
testIn 0.571
testSimpleEquals 0.322
testEqual_collectionOfRefs 0.876
testLessThanWithoutCustomFilters 0.495
testIn_collectionOfRefs 0.58
testArrayEquals 0.425
testEqual_collectionOfStrings 0.492
testIn_collectionOfStrings 0.355
testSearchForCustomSerializedFieldsWithSimpleSerialization 0.324
testSearchForCustomSerializedFieldsInList 0.839

TestObjectIdHandling

testCollectionOfObjectIds 0.489
testRemoveByIdWithComplexId 0.581
testFindOneByIdWithConvertedId 0.438
testObjectIdAnnotationOnByteArraySaved 0.431
testRemoveByIdWithConvertedId 0.323
testObjectIdAnnotationOnConvertedSaved 0.275
testCollectionOfObjectIdStrings 0.752
testObjectIdAnnotationOnMethodsGenerated 0.303
testObjectIdAnnotationOnMethodsSaved 0.659
testRemoveByIdWithObjectId 0.358
testObjectIdSaved 0.651
testObjectIdAnnotationOnStringGenerated 0.322
testObjectIdAnnotationOnStringSaved 0.279
testCollectionOfObjectIdByteArrays 0.856
testFindOneByIdWithObjectId 0.428
testObjectIdAnnotationOnByteArrayGenerated 0.438
testObjectIdGenerated 0.262
testFindOneByIdWithComplexId 0.382
testByteArrayObjectIdMethods 0.761
testObjectIdAnnotationOnComplexSaved 0.343

CalendarDeserializerTest

testDateIsNull 0.107
testWithoutDateObject 0.002
testWithDateObject 0.001
testNoEmbeddedObject 0.002

TestDBRefHandling

testUsingMongoCollectionAnnotation 0.734
collectionOfDbRefsShouldBeSavedAsDbRefs 1.096
dbRefWithObjectIdShouldBeSavedAsDbRef 1
simpleDbRefShouldBeSavedAsDbRef 1.57
collectionOfObjectIdDbRefsShouldBeSavedAsObjectIdDbRefs 1.016
testDBUpdateWithDbRef 0.408
fetchCollectionOfDBRefsShouldReturnRightResults 0.671

TestJavaTimeHandling

testZonedDateTimeSavedAsISO8601 0.335
testInstantSavedAsNativeTimestamps 0.835
testYearMonthSavedAsTimestamps 0.484
testInstantSavedAsISO8601 0.453
testMonthDaySavedAsTimestamps 0.32
testLocalDateSavedAsISO8601 0.375
testYearMonthSavedAsISO8601 0.844
testLocalDateSavedAsTimestamps 0.526
testYearSavedAsTimestamps 0.453
testMonthDaySavedAsISO8601 0.499
testOffsetTimeSavedAsISO8601 0.672
testYearSavedAsISO8601 0.294
testLocalDateTimeSavedAsISO8601 0.365
testLocalTimeSavedAsTimestamps 0.944
testOffsetTimeSavedAsTimestamps 0.559
testDurationSavedAsISO8601 0.403
testOffsetDateTimeSavedAsISO8601 0.426
testLocalDateTimeSavedAsTimestamps 0.426
testLocalTimeSavedAsISO8601 0.562

TestJsonViews

testEnabledPropertyWithView 0.395
testNormalPropertyWithView 0.261
testDisabledPropertyWithView 0.363
testDisabledPropertyWithViewAfterUpdate 0.845

TestJacksonMongoCollectionCustomObjectMapper

customObjectMapperShouldWorkWhenSerialising 0.496
customObjectMapperShouldWorkWhenDeserialising 0.324

TestIdAnnotatedClass

testProxyGetterSetterAnnotatedIsGeneratedByMongo 0.282
testProxyFieldAnnotatedIsGeneratedByMongoSubclass 1.031
testCreatorGetterObjectIdAnnotated 0.428
testProxyFieldAnnotatedIsGeneratedByMongo 0.494
testProxyGetterSetterAnnotatedIsGeneratedByMongoSubclass 0.448
testProxyFieldAnnotatedSubclass 0.71
testObjectIdFieldAnnotated 0.432
testProxyFieldAnnotated 0.491
testIdFieldAnnotated 0.43
testProxyFieldAnnotatedWithoutSettingItSubclass 0.485
testProxyGetterSetterAnnotatedWithoutSettingIt 0.327
testProxyFieldAnnotatedWithoutSettingIt 0.323
testGetterSetterAnnotated 0.856
testCreatorGetterAnnotated 0.5
testProxyGetterSetterAnnotatedSubclass 0.637
testProxyGetterSetterAnnotated 0.493
testJpaIdFieldAnnotated 0.646
testProxyGetterSetterAnnotatedWithoutSettingItSubclass 0.429

TestCustomObjectMapper

customObjectMapperShouldWorkForUpdate 0.411
customObjectMapperShouldWorkWhenSerialising 0.532
customObjectMapperShouldWorkWhenDeserialising 0.44

TestParsingAndGenerating

testInsertRetrieveDate 0.348
testInsertRetrieveLong 0.442
testInsertRetrieveAllEmpty 0.323
testInsertRetrieveFloat 0.332
testInsertRetrieveString 1.092
deserializingNull 0.521
testParseErrors 0.005
deserializingUndefined 0.466
testByteArray 0.615
testIntId 0.487
testInsertRetrieveInteger 0.677
testDateIsStoredAsBsonDate 0.268
testEverything 0.262
testInsertRetrievePopulatedSimpleList 0.911
testInsertRetrieveBigInteger2 0.424
testInsertNoId 0.475
testInsertRetrieveEmptyList 0.434
testInsertRetrieveEmebeddedObjectList 0.673
testInsertRetrieveEmbeddedObject 0.405
testInsertRetrievePopulatedComplexList 0.591
testInsertRetrieveBigDecimal 0.261
testInsertRetrieveBoolean 0.317
testInsertRetrieveBigInteger 0.947
testInsertRetrieveDouble 0.39

CalendarSerializerTest

test 0

TestMapReduce

testComplexReplaceMapReduce 2.569
testReplaceMapReduce 3.118
testInlineMapReduce 0.447
testComplexInlineMapReduce 0.517