Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
255 0 0 0 100% 134.645

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 245 0 0 0 100% 134.502
org.mongojack.internal.util 10 0 0 0 100% 0.143

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% 23.27
TestDBProjection 6 0 0 0 100% 3.24
TestJacksonCodecRegistry 7 0 0 0 100% 3.009
TestAggregate 6 0 0 0 100% 2.132
TestDBSort 8 0 0 0 100% 4.29
TestUUIDHandling 3 0 0 0 100% 1.052
TestAggregationBuilder 12 0 0 0 100% 6.829
TestDBUpdateSerialization 11 0 0 0 100% 6.25
TestDBCursor 2 0 0 0 100% 1.105
TestDBUpdate 26 0 0 0 100% 11.917
TestJacksonMongoCollection 12 0 0 0 100% 5.843
TestQuerySerialization 16 0 0 0 100% 8.054
TestObjectIdHandling 14 0 0 0 100% 7.23
TestDBRefHandling 7 0 0 0 100% 7.461
TestJavaTimeHandling 19 0 0 0 100% 10.389
TestJsonViews 4 0 0 0 100% 1.81
TestJacksonMongoCollectionCustomObjectMapper 2 0 0 0 100% 0.909
TestIdAnnotatedClass 18 0 0 0 100% 9.598
TestCustomObjectMapper 3 0 0 0 100% 1.509
TestParsingAndGenerating 22 0 0 0 100% 11.386
TestMapReduce 4 0 0 0 100% 7.219

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.141
CalendarSerializerTest 1 0 0 0 100% 0.001

Test Cases

[Summary] [Package List] [Test Cases]

TestDBQuery

testSerializationFromDBCursor 0.737
testNotEqualsPositive 0.445
testNotEqualsNegative 0.509
testWherePositive 0.749
testRegexPositive 0.649
testGreaterThanPositive 0.394
testWhereNegative 0.419
testRegexNegative 0.594
testGreaterThanNegative 0.497
testAllEmbeddedPositive 0.547
testAllEmbeddedNegative 0.421
testGreaterThanEqPositive 0.562
testIsPositive 0.323
testGreaterThanEqNegative 0.339
testNotExistsPositive 0.836
testIsNegative 0.487
testSizePositive 0.593
testSerializationFromInFind 0.481
testNotExistsNegative 0.614
testSizeNegative 0.523
testInPositive 0.544
testNorPositive 0.51
testInNegative 0.454
testOrPositive 0.323
testNorNegative 0.769
testOrNegative 0.34
testAllPositive 0.754
testElemMatchPositive 0.323
testAllNegative 0.595
testElemMatchNegative 0.338
testExistsPositive 0.755
testExistsNegative 0.446
testInCollectionPositive 0.968
testModPositive 0.346
testNotInPositive 0.481
testModNegative 0.528
testNotInNegative 0.564
testAndPositive 0.453
testAndNegative 0.686
testLessThanEqPositive 0.477
testLessThanPositive 0.648
testLessThanNegative 0.494
testLessThanEqualsNegative 0.642

TestDBProjection

testProjectionsIterableIncludes 0.765
testExcludes 0.366
testProjectionsIncludes 0.527
testProjectionsIterableExcludes 0.471
testProjectionsExcludes 0.621
testIncludes 0.489

TestJacksonCodecRegistry

testFindAndModify 0.416
testSerializationWithWriteOrReadOnlyFields 0.365
testQuery 0.277
testDeserializationWithWriteOrReadOnlyFields 0.367
testCustomSerialization 0.835
testRemoveById 0.309
testRemove 0.436

MongoJackInstantDeserializerTest

testDateIsNull 0
testWithoutDateObject 0
testWithDateObject 0
testWithInstantObject 0
testNoEmbeddedObject 0

TestAggregate

testAggregateMultipleOpsItemsInCollection 0.541
testAggregateMultipleOpsItemsInCollection2 0.453
testBsonValueSerialization 0.421
testAggregateSingleOpItemsInCollection 0.349
testAggregateAugmentedFieldSetReturnedInDifferentObject 0.362
testAggregateSingleOpNothingInCollection 0.003

TestDBSort

testSortsAsc 0.428
testSortsDescAsc 0.508
testAsc 0.351
testDesc 0.714
testAscDesc 0.354
testSortsAscDesc 0.83
testSortsDesc 0.518
testDescAsc 0.583

TestUUIDHandling

testSavesAndRetrievesUuid 0.418
testUnderlyingMongoFunctionality 0.314
testQueryByUuid 0.32

TestAggregationBuilder

testOut 1.151
testOperatorExpressions 0.474
testLimit 0.425
testGroupSumSort 0.679
testSize 0.313
testUnwindGroup 0.373
testProjectArrayElemAt 0.866
testGroupProject 0.359
testMatchIn 0.641
testOperatorExpressions2 0.364
testMatchGroupMin 0.26
testMatchUnaryComparison 0.923

TestDBUpdateSerialization

testMapValueCustomSerializerForObject 0.398
testSimpleCustomSerializer 0.515
testSimpleMap 0.695
testDollarsCustomSerializer 0.507
testUpdateOfNestedIdFieldWithDifferentType 0.429
testUpdateOfNestedRepeatedAttributeName 0.501
testSimpleObjectId 0.759
testNestedValueCustomSerializer 0.501
testListCustomSerializerInObject 0.607
testSimpleCustomSerializerNotApplied 0.445
testObjectIdCollection 0.889

TestDBCursor

testArray 0.591
testIterator 0.514

TestDBUpdate

testBitwiseAnd 0.424
testDBUpdateIsEmpty 0.004
testPushAllList 0.252
testBit 0.36
testInc 0.832
testSet 0.434
testAddToSetVarArgs 0.414
testUnset 0.361
testPull 0.317
testPush 0.721
testAddToSetListWithUpsert 0.36
testPopLast 0.499
testAddToSetSingle 0.311
testObjectInListSerialisation 0.252
testPullWithQuery 0.615
testObjectSerialisation 0.597
testBitTwoOperations 0.545
testIncByOne 0.465
testPullAllList 0.848
testAddToSetList 0.464
testBitwiseOr 0.36
testPopFirst 0.309
testPushAllVarArgs 0.341
testRename 0.744
testSameOperationTwice 0.5
testPullAllVarArgs 0.581

TestJacksonMongoCollection

testFindAndModifyWithBuilder 0.394
testQuery 0.658
testReplaceOneByIdUsesIdProvided 0.5
testInsertAndQuery 0.479
testSaveAndQuery 0.522
testReplaceOneDoesNotUpsertIfUpsertFalse 0.015
testReplaceOneByNonIdQuery 0.627
testReplaceOneUpsertsIfNoDocumentExistsByQueryAndUpsertTrue 0.346
testRemoveById 0.341
testReplaceOneByUsesQueryNotId 0.864
testQueryWithLimitedKeys 0.519
testRemove 0.572

TestQuerySerialization

testLessThan 0.601
testAll 0.436
testAnd 0.561
testSearchWithPatternFilter 0.48
testList 0.331
testSearchForCustomSerializedFields 0.301
testIn 0.736
testSimpleEquals 0.493
testEqual_collectionOfRefs 0.516
testLessThanWithoutCustomFilters 0.508
testIn_collectionOfRefs 0.504
testArrayEquals 0.422
testEqual_collectionOfStrings 0.645
testIn_collectionOfStrings 0.46
testSearchForCustomSerializedFieldsWithSimpleSerialization 0.605
testSearchForCustomSerializedFieldsInList 0.447

TestObjectIdHandling

testCollectionOfObjectIds 0.453
testObjectIdAnnotationOnByteArraySaved 0.446
testCollectionOfObjectIdStrings 0.519
testObjectIdAnnotationOnMethodsGenerated 0.638
testObjectIdAnnotationOnMethodsSaved 0.283
testRemoveByIdWithObjectId 0.788
testObjectIdSaved 0.576
testObjectIdAnnotationOnStringGenerated 0.511
testObjectIdAnnotationOnStringSaved 0.508
testCollectionOfObjectIdByteArrays 0.634
testFindOneByIdWithObjectId 0.31
testObjectIdAnnotationOnByteArrayGenerated 0.32
testObjectIdGenerated 0.769
testByteArrayObjectIdMethods 0.471

CalendarDeserializerTest

testDateIsNull 0.133
testWithoutDateObject 0.002
testWithDateObject 0.002
testNoEmbeddedObject 0.004

TestDBRefHandling

testUsingMongoCollectionAnnotation 0.781
collectionOfDbRefsShouldBeSavedAsDbRefs 1.164
dbRefWithObjectIdShouldBeSavedAsDbRef 1.462
simpleDbRefShouldBeSavedAsDbRef 1.197
collectionOfObjectIdDbRefsShouldBeSavedAsObjectIdDbRefs 1.151
testDBUpdateWithDbRef 0.539
fetchCollectionOfDBRefsShouldReturnRightResults 1.166

TestJavaTimeHandling

testZonedDateTimeSavedAsISO8601 0.498
testInstantSavedAsNativeTimestamps 0.622
testYearMonthSavedAsTimestamps 0.659
testInstantSavedAsISO8601 0.527
testMonthDaySavedAsTimestamps 0.515
testLocalDateSavedAsISO8601 0.741
testYearMonthSavedAsISO8601 0.586
testLocalDateSavedAsTimestamps 0.444
testYearSavedAsTimestamps 0.648
testMonthDaySavedAsISO8601 0.477
testOffsetTimeSavedAsISO8601 0.533
testYearSavedAsISO8601 0.343
testLocalDateTimeSavedAsISO8601 0.78
testLocalTimeSavedAsTimestamps 0.518
testOffsetTimeSavedAsTimestamps 0.495
testDurationSavedAsISO8601 0.529
testOffsetDateTimeSavedAsISO8601 0.604
testLocalDateTimeSavedAsTimestamps 0.442
testLocalTimeSavedAsISO8601 0.423

TestJsonViews

testEnabledPropertyWithView 0.451
testNormalPropertyWithView 0.694
testDisabledPropertyWithView 0.334
testDisabledPropertyWithViewAfterUpdate 0.33

TestJacksonMongoCollectionCustomObjectMapper

customObjectMapperShouldWorkWhenSerialising 0.461
customObjectMapperShouldWorkWhenDeserialising 0.447

TestIdAnnotatedClass

testProxyGetterSetterAnnotatedIsGeneratedByMongo 0.52
testProxyFieldAnnotatedIsGeneratedByMongoSubclass 0.439
testCreatorGetterObjectIdAnnotated 0.468
testProxyFieldAnnotatedIsGeneratedByMongo 0.918
testProxyGetterSetterAnnotatedIsGeneratedByMongoSubclass 0.467
testProxyFieldAnnotatedSubclass 0.351
testObjectIdFieldAnnotated 0.443
testProxyFieldAnnotated 0.921
testIdFieldAnnotated 0.372
testProxyFieldAnnotatedWithoutSettingItSubclass 0.355
testProxyGetterSetterAnnotatedWithoutSettingIt 0.345
testProxyFieldAnnotatedWithoutSettingIt 0.385
testGetterSetterAnnotated 0.89
testCreatorGetterAnnotated 0.535
testProxyGetterSetterAnnotatedSubclass 0.484
testProxyGetterSetterAnnotated 0.639
testJpaIdFieldAnnotated 0.502
testProxyGetterSetterAnnotatedWithoutSettingItSubclass 0.558

TestCustomObjectMapper

customObjectMapperShouldWorkForUpdate 0.417
customObjectMapperShouldWorkWhenSerialising 0.583
customObjectMapperShouldWorkWhenDeserialising 0.509

TestParsingAndGenerating

testInsertRetrieveDate 0.71
testInsertRetrieveLong 0.326
testInsertRetrieveAllEmpty 0.589
testInsertRetrieveFloat 0.334
testInsertRetrieveString 0.704
testParseErrors 0.005
testByteArray 0.479
testIntId 0.605
testInsertRetrieveInteger 0.492
testDateIsStoredAsBsonDate 0.445
testEverything 0.513
testInsertRetrievePopulatedSimpleList 0.929
testInsertRetrieveBigInteger2 0.448
testInsertNoId 0.554
testInsertRetrieveEmptyList 0.504
testInsertRetrieveEmebeddedObjectList 0.588
testInsertRetrieveEmbeddedObject 0.493
testInsertRetrievePopulatedComplexList 0.63
testInsertRetrieveBigDecimal 0.508
testInsertRetrieveBoolean 0.593
testInsertRetrieveBigInteger 0.51
testInsertRetrieveDouble 0.415

CalendarSerializerTest

test 0

TestMapReduce

testComplexReplaceMapReduce 3.024
testReplaceMapReduce 3.006
testInlineMapReduce 0.545
testComplexInlineMapReduce 0.642