Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
67 0 0 0 100% 39.49 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
io.clonecloudstore.common.database.utils 16 0 0 0 100% 3.139 s
io.clonecloudstore.common.database.postgre 28 0 0 0 100% 13.74 s
io.clonecloudstore.common.database.mongo 23 0 0 0 100% 22.61 s

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

io.clonecloudstore.common.database.utils

- Class Tests Errors Failures Skipped Success Rate Time
DbQueryTest 8 0 0 0 100% 3.121 s
DbUpdateTest 2 0 0 0 100% 0.003 s
RestQueryTest 6 0 0 0 100% 0.015 s

io.clonecloudstore.common.database.postgre

- Class Tests Errors Failures Skipped Success Rate Time
DbPostgreInjectTest 3 0 0 0 100% 7.124 s
DbPostgreTest 13 0 0 0 100% 4.941 s
DbPostgreUpdateTest 1 0 0 0 100% 0.001 s
DbPostgreQueryTest 7 0 0 0 100% 0.047 s
DbPostgreNoDbTest 2 0 0 0 100% 1.569 s
DbPostgreRichInjectTest 1 0 0 0 100% 0.039 s
DbPostgreRichTest 1 0 0 0 100% 0.018 s

io.clonecloudstore.common.database.mongo

- Class Tests Errors Failures Skipped Success Rate Time
DbMongoCodecNoDbTest 2 0 0 0 100% 2.912 s
DbMongoCodecTest 2 0 0 0 100% 1.240 s
BulkInsertHelperTest 3 0 0 0 100% 1.889 s
DbMongoUpdateTest 1 0 0 0 100% 0.002 s
DbMongoNoCodecTest 2 0 0 0 100% 0.167 s
DbMongoQueryTest 7 0 0 0 100% 0.063 s
DbMongoCodecInjectTest 2 0 0 0 100% 9.578 s
DbMongoNoCodecInjectTest 4 0 0 0 100% 6.761 s

Test Cases

[Summary] [Package List] [Test Cases]

DbQueryTest

testQueryCreationError 0.462 s
testQueryConjunctionCreationJson 0.056 s
testPkId 0 s
testQueryReplaceArg 0.001 s
testQueryReplaceArgNotString 0.001 s
testEmptyCreationJson 0 s
testQueryConjunctionCollectionCreationJson 0.002 s
testQueryCreationJson 0.009 s

DbPostgreInjectTest

dbBulk 1.181 s
checkDbIterator 0.104 s
checkDb 0.055 s

DbMongoCodecNoDbTest

dbBulk 1.300 s
checkDb 1.604 s

DbPostgreTest

benchUpdateBulk(int)[1] 1.586 s
benchUpdateBulk(int)[2] 0.627 s
benchUpdateBulk(int)[3] 0.425 s
benchUpdateBulk(int)[4] 0.514 s
benchUpdateBulk(int)[5] 0.369 s
benchUpdateBulk(int)[6] 0.334 s
benchInsertBulk(int)[1] 0.237 s
benchInsertBulk(int)[2] 0.155 s
benchInsertBulk(int)[3] 0.128 s
benchInsertBulk(int)[4] 0.154 s
benchInsertBulk(int)[5] 0.179 s
benchInsertBulk(int)[6] 0.190 s
checkDb 0.021 s

DbPostgreUpdateTest

checkDbUpdate 0.001 s

DbPostgreQueryTest

testQueryCreationError 0.002 s
testQueryConjunctionCreationJson 0.035 s
testPkId 0.001 s
testQueryReplaceArg 0 s
testEmptyCreationJson 0 s
testQueryConjunctionCollectionCreationJson 0.001 s
testQueryCreationJson 0.005 s

DbPostgreNoDbTest

dbBulk 0.032 s
checkDb 0.005 s

DbMongoCodecTest

dbBulk 1.157 s
checkDb 0.081 s

BulkInsertHelperTest

checkBulkInsert 0.002 s
checkBulkUpsert 0.009 s
simpleExceptionTest 0.001 s

DbMongoUpdateTest

checkDbUpdate 0.001 s

DbPostgreRichInjectTest

checkDb 0.038 s

DbMongoNoCodecTest

dbBulk 0.118 s
checkDb 0.044 s

DbUpdateTest

testQueryInjection 0.002 s
checkDbUpdate 0.001 s

DbPostgreRichTest

checkDb 0.017 s

DbMongoQueryTest

testQueryCreationError 0.002 s
testQueryConjunctionCreationJson 0.040 s
testPkId 0 s
testQueryReplaceArg 0 s
testEmptyCreationJson 0 s
testQueryConjunctionCollectionCreationJson 0.001 s
testQueryCreationJson 0.010 s

DbMongoCodecInjectTest

dbBulk 2.390 s
checkDb 0.070 s

DbMongoNoCodecInjectTest

dbInsertBulk 1.609 s
dbUpdateBsonBulk 2.236 s
checkDb 0.021 s
dbUpsertBulk 2.890 s

RestQueryTest

testRequestError 0.002 s
testQueryConjunctionCreationJson 0.002 s
testQueryInjection 0.002 s
testEmptyCreationJson 0.001 s
testQueryConjunctionCollectionCreationJson 0.001 s
testQueryCreationJson 0.003 s