Apache Commons logo Commons DbUtils

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
223 0 0 0 100% 0.736

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.apache.commons.dbutils 128 0 0 0 100% 0.691
org.apache.commons.dbutils.wrappers 48 0 0 0 100% 0.024
org.apache.commons.dbutils.handlers 47 0 0 0 100% 0.021

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

org.apache.commons.dbutils

Class Tests Errors Failures Skipped Success Rate Time
AsyncQueryRunnerTest 32 0 0 0 100% 0.435
BaseResultSetHandlerTestCase 2 0 0 0 100% 0.041
BasicRowProcessorTest 6 0 0 0 100% 0.023
BeanProcessorTest 5 0 0 0 100% 0.005
DbUtilsTest 31 0 0 0 100% 0.023
GenerousBeanProcessorTest 2 0 0 0 100% 0.014
ProxyFactoryTest 9 0 0 0 100% 0.058
QueryLoaderTest 3 0 0 0 100% 0.001
QueryRunnerTest 35 0 0 0 100% 0.091
ResultSetIteratorTest 3 0 0 0 100% 0

org.apache.commons.dbutils.wrappers

Class Tests Errors Failures Skipped Success Rate Time
SqlNullCheckedResultSetTest 43 0 0 0 100% 0.024
StringTrimmedResultSetTest 5 0 0 0 100% 0

org.apache.commons.dbutils.handlers

Class Tests Errors Failures Skipped Success Rate Time
ArrayHandlerTest 4 0 0 0 100% 0
ArrayListHandlerTest 4 0 0 0 100% 0.002
BeanHandlerTest 4 0 0 0 100% 0.001
BeanListHandlerTest 4 0 0 0 100% 0.003
BeanMapHandlerTest 5 0 0 0 100% 0.011
ColumnListHandlerTest 6 0 0 0 100% 0.001
KeyedHandlerTest 6 0 0 0 100% 0.001
MapHandlerTest 4 0 0 0 100% 0.001
MapListHandlerTest 4 0 0 0 100% 0
ScalarHandlerTest 6 0 0 0 100% 0.001

Test Cases

[Summary] [Package List] [Test Cases]

AsyncQueryRunnerTest

testGoodBatch 0.277
testGoodBatchPmdTrue 0.006
testGoodBatchDefaultConstructor 0.006
testNullParamsBatch 0.005
testTooFewParamsBatch 0.006
testTooManyParamsBatch 0.005
testNullConnectionBatch 0.003
testNullSqlBatch 0.003
testNullParamsArgBatch 0.003
testAddBatchException 0.006
testExecuteBatchException 0.003
testGoodQuery 0.007
testGoodQueryPmdTrue 0.005
testGoodQueryDefaultConstructor 0.005
testNoParamsQuery 0.004
testTooFewParamsQuery 0.005
testTooManyParamsQuery 0.005
testNullConnectionQuery 0.003
testNullSqlQuery 0.004
testNullHandlerQuery 0.004
testExecuteQueryException 0.003
testGoodUpdate 0.007
testGoodUpdatePmdTrue 0.006
testGoodUpdateDefaultConstructor 0.005
testNoParamsUpdate 0.004
testTooFewParamsUpdate 0.003
testTooManyParamsUpdate 0.004
testInsertUsesGivenQueryRunner 0.021
testNullConnectionUpdate 0.003
testNullSqlUpdate 0.008
testExecuteUpdateException 0.004
testBadPrepareConnection 0.002

BaseResultSetHandlerTestCase

testCheckDataSizes 0.04
testResultSets 0.001

BasicRowProcessorTest

testToArray 0.001
testToBean 0.017
testToBeanList 0.002
testToMap 0.002
testCheckDataSizes 0.001
testResultSets 0

BeanProcessorTest

testProcess 0.002
testMapColumnToProperties 0.002
testMapColumnToPropertiesWithOverrides 0
testCheckDataSizes 0.001
testResultSets 0

DbUtilsTest

closeNullConnection 0
closeConnection 0
closeNullResultSet 0
closeResultSet 0.001
closeNullStatement 0
closeStatement 0.011
closeQuietlyNullConnection 0
closeQuietlyConnection 0
closeQuietlyConnectionThrowingException 0.002
closeQuietlyNullResultSet 0.001
closeQuietlyResultSet 0
closeQuietlyResultSetThrowingException 0
closeQuietlyNullStatement 0
closeQuietlyStatement 0.001
closeQuietlyStatementThrowingException 0
closeQuietlyConnectionResultSetStatement 0.001
closeQuietlyConnectionThrowingExceptionResultSetStatement 0.001
closeQuietlyConnectionResultSetThrowingExceptionStatement 0.001
closeQuietlyConnectionResultSetStatementThrowingException 0.001
commitAndClose 0
commitAndCloseWithException 0
commitAndCloseQuietly 0.001
commitAndCloseQuietlyWithException 0
rollbackNull 0
rollbackAndCloseNull 0
rollbackAndClose 0.001
rollbackAndCloseWithException 0
rollbackAndCloseQuietlyNull 0
rollbackAndCloseQuietly 0.001
rollbackAndCloseQuietlyWithException 0
rollback 0

GenerousBeanProcessorTest

testMapColumnsToPropertiesWithOutUnderscores 0.013
testMapColumnsToPropertiesWithUnderscores 0.001

ArrayHandlerTest

testHandle 0
testEmptyResultSetHandle 0
testCheckDataSizes 0
testResultSets 0

ArrayListHandlerTest

testHandle 0.001
testEmptyResultSetHandle 0
testCheckDataSizes 0
testResultSets 0.001

BeanHandlerTest

testHandle 0.001
testEmptyResultSetHandle 0
testCheckDataSizes 0
testResultSets 0

BeanListHandlerTest

testHandle 0.002
testEmptyResultSetHandle 0.001
testCheckDataSizes 0
testResultSets 0

BeanMapHandlerTest

testEmptyResultSet 0.005
testBeanMapHandlerClassOfV 0.002
testBeanMapHandlerClassOfVRowProcessor 0.001
testBeanMapHandlerClassOfVInt 0.002
testBeanMapHandlerClassOfVString 0.001

ColumnListHandlerTest

testHandle 0
testEmptyResultSetHandle 0
testColumnIndexHandle 0
testColumnNameHandle 0.001
testCheckDataSizes 0
testResultSets 0

KeyedHandlerTest

testHandle 0
testEmptyResultSetHandle 0
testColumnIndexHandle 0
testColumnNameHandle 0.001
testCheckDataSizes 0
testResultSets 0

MapHandlerTest

testHandle 0
testEmptyResultSetHandle 0.001
testCheckDataSizes 0
testResultSets 0

MapListHandlerTest

testHandle 0
testEmptyResultSetHandle 0
testCheckDataSizes 0
testResultSets 0

ScalarHandlerTest

testHandle 0
testEmptyResultSetHandle 0
testColumnIndexHandle 0
testColumnNameHandle 0
testCheckDataSizes 0.001
testResultSets 0

ProxyFactoryTest

testCreateConnection 0.009
testCreateDriver 0.002
testCreatePreparedStatement 0.012
testCreateResultSet 0
testCreateResultSetMetaData 0
testCreateStatement 0.004
testCreateCallableStatement 0.03
testCheckDataSizes 0.001
testResultSets 0

QueryLoaderTest

testLoad 0.001
testCheckDataSizes 0
testResultSets 0

QueryRunnerTest

testGoodInsert 0.004
testGoodBatchInsert 0.004
testFillStatementWithBean 0.004
testFillStatementWithBeanNullNames 0.002
testGoodBatch 0.003
testGoodBatchPmdTrue 0.003
testGoodBatchDefaultConstructor 0.003
testNullParamsBatch 0.003
testTooFewParamsBatch 0.002
testTooManyParamsBatch 0.003
testNullConnectionBatch 0.002
testNullSqlBatch 0.002
testNullParamsArgBatch 0.002
testAddBatchException 0.002
testExecuteBatchException 0.002
testGoodQuery 0.004
testGoodQueryPmdTrue 0.003
testGoodQueryDefaultConstructor 0.003
testNoParamsQuery 0.002
testTooFewParamsQuery 0.003
testTooManyParamsQuery 0.002
testNullConnectionQuery 0.002
testNullSqlQuery 0.002
testNullHandlerQuery 0.002
testExecuteQueryException 0.003
testGoodUpdate 0.003
testGoodUpdatePmdTrue 0.003
testGoodUpdateDefaultConstructor 0.003
testNoParamsUpdate 0.003
testTooFewParamsUpdate 0.002
testTooManyParamsUpdate 0.002
testNullConnectionUpdate 0.002
testNullSqlUpdate 0.002
testExecuteUpdateException 0.002
testBadPrepareConnection 0.002

ResultSetIteratorTest

testNext 0
testCheckDataSizes 0
testResultSets 0

SqlNullCheckedResultSetTest

testGetBigDecimal 0.002
testGetAsciiStream 0
testGetBinaryStream 0
testGetBlob 0
testGetBoolean 0
testGetByte 0
testGetBytes 0
testGetCharacterStream 0.001
testGetClob 0.001
testGetDate 0
testGetDouble 0
testGetFloat 0
testGetInt 0.001
testGetLong 0
testGetObject 0
testGetRef 0.001
testGetShort 0
testGetString 0.001
testGetTime 0
testGetTimestamp 0.001
testURL 0.006
testSetNullAsciiStream 0.001
testSetNullBigDecimal 0
testSetNullBinaryStream 0
testSetNullBlob 0.001
testSetNullBoolean 0
testSetNullByte 0
testSetNullBytes 0.001
testSetNullCharacterStream 0
testSetNullClob 0
testSetNullDate 0.001
testSetNullDouble 0
testSetNullFloat 0.001
testSetNullInt 0
testSetNullLong 0.001
testSetNullObject 0
testSetNullShort 0
testSetNullString 0
testSetNullRef 0.001
testSetNullTime 0.001
testSetNullTimestamp 0
testCheckDataSizes 0.001
testResultSets 0.001

StringTrimmedResultSetTest

testMultipleWrappers 0
testGetObject 0
testGetString 0
testCheckDataSizes 0
testResultSets 0