Apache Commons logo Commons DbUtils

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
320 0 0 0 100% 2.717 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
org.apache.commons.dbutils.handlers 52 0 0 0 100% 0.207 s
org.apache.commons.dbutils 179 0 0 0 100% 1.308 s
org.apache.commons.dbutils.handlers.columns 30 0 0 0 100% 0.079 s
org.apache.commons.dbutils.handlers.properties 10 0 0 0 100% 0.012 s
org.apache.commons.dbutils.wrappers 49 0 0 0 100% 1.111 s

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

org.apache.commons.dbutils.handlers

- Class Tests Errors Failures Skipped Success Rate Time
ColumnListHandlerTest 6 0 0 0 100% 0.057 s
BeanListHandlerTest 6 0 0 0 100% 0.011 s
MapListHandlerTest 4 0 0 0 100% 0.011 s
BeanMapHandlerTest 5 0 0 0 100% 0.043 s
BeanHandlerTest 6 0 0 0 100% 0.012 s
MapHandlerTest 4 0 0 0 100% 0.021 s
ArrayListHandlerTest 4 0 0 0 100% 0.009 s
KeyedHandlerTest 7 0 0 0 100% 0.021 s
ScalarHandlerTest 6 0 0 0 100% 0.006 s
ArrayHandlerTest 4 0 0 0 100% 0.016 s

org.apache.commons.dbutils

- Class Tests Errors Failures Skipped Success Rate Time
QueryLoaderTest 4 0 0 0 100% 0.003 s
ResultSetIteratorTest 5 0 0 0 100% 0.010 s
OutParameterTest 3 0 0 0 100% 0.255 s
QueryRunnerTest 57 0 0 0 100% 0.271 s
AsyncQueryRunnerTest 32 0 0 0 100% 0.526 s
DbUtilsTest 36 0 0 0 100% 0.072 s
StatementConfigurationTest 3 0 0 0 100% 0.037 s
DbUtilsTest$DriverProxyTest 1 0 0 0 100% 0.038 s
ServiceLoaderTest 4 0 0 0 100% 0.007 s
BasicRowProcessorTest 8 0 0 0 100% 0.013 s
BaseResultSetHandlerTest 2 0 0 0 100% 0.001 s
BeanProcessorTest 10 0 0 0 100% 0.032 s
ProxyFactoryTest 9 0 0 0 100% 0.034 s
GenerousBeanProcessorTest 5 0 0 0 100% 0.009 s

org.apache.commons.dbutils.handlers.columns

- Class Tests Errors Failures Skipped Success Rate Time
StringColumnHandlerTest 3 0 0 0 100% 0.003 s
SQLXMLColumnHandlerTest 3 0 0 0 100% 0.037 s
DoubleColumnHandlerTest 3 0 0 0 100% 0.002 s
ShortColumnHandlerTest 3 0 0 0 100% 0.004 s
LongColumnHandlerTest 3 0 0 0 100% 0.002 s
TimestampColumnHandlerTest 3 0 0 0 100% 0.002 s
BooleanColumnHandlerTest 3 0 0 0 100% 0.008 s
ByteColumnHandlerTest 3 0 0 0 100% 0.008 s
FloatColumnHandlerTest 3 0 0 0 100% 0.005 s
IntegerColumnHandlerTest 3 0 0 0 100% 0.008 s

org.apache.commons.dbutils.handlers.properties

- Class Tests Errors Failures Skipped Success Rate Time
DatePropertyHandlerTest 6 0 0 0 100% 0.005 s
PropertyHandlerTest 2 0 0 0 100% 0.004 s
StringEnumPropertyHandlerTest 2 0 0 0 100% 0.003 s

org.apache.commons.dbutils.wrappers

- Class Tests Errors Failures Skipped Success Rate Time
StringTrimmedResultSetTest 5 0 0 0 100% 0.057 s
SqlNullCheckedResultSetTest 44 0 0 0 100% 1.054 s

Test Cases

[Summary] [Package List] [Test Cases]

QueryLoaderTest

testLoad 0.002 s
testLoadThrowsIllegalArgumentException 0 s
testResultSets 0 s
testCheckDataSizes 0 s

DatePropertyHandlerTest

testNotMatch 0.001 s
testMatch 0 s
testApplyTypeOfDate 0.001 s
testApplyTypeOfTime 0 s
testMatchNegative 0.001 s
testApplyTypeOfTimestamp 0.001 s

ColumnListHandlerTest

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

BeanListHandlerTest

testHandleToInterface 0.004 s
testHandleToSuperClass 0.001 s
testHandle 0.003 s
testEmptyResultSetHandle 0.001 s
testResultSets 0 s
testCheckDataSizes 0 s

StringTrimmedResultSetTest

testMultipleWrappers 0.035 s
testGetObject 0.001 s
testGetString 0.001 s
testResultSets 0 s
testCheckDataSizes 0.001 s

ResultSetIteratorTest

testNext 0.006 s
testCreatesResultSetIteratorTakingThreeArgumentsAndCallsRemove 0.001 s
testRethrowThrowsRuntimeException 0 s
testResultSets 0 s
testCheckDataSizes 0 s

OutParameterTest

testRegister 0.237 s
testRegisterAlternateConstructor 0.001 s
testSetValue 0.007 s

QueryRunnerTest

testNoParamsUpdate 0.029 s
testFillStatementWithBean 0.007 s
testStatementConfiguration 0.005 s
testNullHandlerQuery 0.019 s
testNoParamsExecuteWithResultSet 0.004 s
testGoodExecute 0.013 s
testGoodInsert 0.004 s
testGoodExecuteWithResultSetPmdTrue 0.007 s
testGoodUpdatePmdTrue 0.003 s
testExecuteUpdateException 0.004 s
testNoParamsExecute 0.005 s
testGoodUpdate 0.003 s
testGoodBatchInsert 0.005 s
testBadPrepareConnection 0.002 s
testFillStatementWithBeanNullNames 0.009 s
testGoodQueryPmdTrue 0.003 s
testTooManyParamsExecuteWithResultSet 0.002 s
testAddBatchExceptionOnAdd 0.002 s
testGoodUpdateDefaultConstructor 0.002 s
testNullConnectionBatch 0.002 s
testNullConnectionQuery 0.002 s
testGoodExecutePmdTrue 0.004 s
testNullConnectionExecuteWithResultSet 0.002 s
testTooManyParamsBatch 0.002 s
testNullSqlBatch 0.002 s
testTooManyParamsQuery 0.001 s
testNullSqlQuery 0.001 s
testTooFewParamsBatch 0.001 s
testTooFewParamsQuery 0.002 s
testNullSqlExecuteWithResultSet 0.001 s
testNoParamsQuery 0.005 s
testTooManyParamsUpdate 0.002 s
testNullParamsArgBatch 0.002 s
testExecuteBatchExceptionOnExec 0.002 s
testGoodExecuteDefaultConstructor 0.004 s
testGoodBatchDefaultConstructor 0.002 s
testTooFewParamsExecuteWithResultSet 0.005 s
testNullConnectionUpdate 0.005 s
testNullSqlUpdate 0.005 s
testNullHandlerExecuteWithResultSet 0.003 s
testGoodExecuteWithResultSet 0.008 s
testExecuteWithMultipleResultSets 0.003 s
testNullHandlerExecute 0.002 s
testTooManyParamsExecute 0.001 s
testTooFewParamsExecute 0.001 s
testNullConnectionExecute 0.001 s
testExecuteQueryException 0.002 s
testExecuteWithResultSetException 0.002 s
testTooFewParamsUpdate 0.001 s
testNullSqlExecute 0.001 s
testGoodExecuteWithResultSetDefaultConstructor 0.017 s
testExecuteException 0.003 s
testNullParamsBatch 0.003 s
testGoodBatch 0.004 s
testGoodQueryDefaultConstructor 0.003 s
testGoodQuery 0.003 s
testGoodBatchPmdTrue 0.002 s

StringColumnHandlerTest

testApplyType 0.001 s
testMatch 0.001 s
testMatchNegative 0 s

AsyncQueryRunnerTest

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

MapListHandlerTest

testHandle 0.006 s
testEmptyResultSetHandle 0 s
testResultSets 0 s
testCheckDataSizes 0.001 s

DbUtilsTest

closeStatement 0.008 s
commitAndClose 0.002 s
closeResultSet 0.001 s
closeQuietlyNullStatement 0.001 s
rollbackQuietly 0.001 s
rollbackQuietlyNull 0 s
closeQuietlyNullResultSet 0 s
closeQuietlyResultSetThrowingException 0.002 s
commitAndCloseQuietly 0.001 s
closeQuietlyConnectionResultSetStatementThrowingException 0.001 s
closeQuietlyStatement 0.001 s
rollbackQuietlyWithException 0.001 s
closeQuietlyResultSet 0 s
rollbackAndClose 0 s
closeConnection 0.003 s
rollback 0.002 s
closeQuietlyStatementThrowingException 0.001 s
rollbackAndCloseQuietlyNull 0 s
rollbackAndCloseQuietly 0.001 s
rollbackNull 0 s
testCommitAndCloseQuietlyWithNullDoesNotThrowAnSQLException 0 s
rollbackAndCloseQuietlyWithException 0 s
testLoadDriverReturnsFalse 0 s
closeQuietlyNullConnection 0.001 s
closeQuietlyConnection 0.001 s
closeQuietlyConnectionThrowingException 0.001 s
rollbackAndCloseWithException 0 s
closeNullStatement 0 s
closeNullConnection 0.001 s
commitAndCloseQuietlyWithException 0.001 s
rollbackAndCloseNull 0 s
closeNullResultSet 0 s
closeQuietlyConnectionThrowingExceptionResultSetStatement 0.002 s
closeQuietlyConnectionResultSetStatement 0.001 s
closeQuietlyConnectionResultSetThrowingExceptionStatement 0.001 s
commitAndCloseWithException 0.002 s

SQLXMLColumnHandlerTest

testApplyType 0.034 s
testMatch 0.001 s
testMatchNegative 0 s

StatementConfigurationTest

testBuilder 0.029 s
testEmptyBuilder 0 s
testConstructor 0.001 s

DbUtilsTest$DriverProxyTest

testProxiedMethods 0.037 s

ServiceLoaderTest

testFindMoreThanLocalColumns 0.001 s
testFindMoreThanLocalProperties 0 s
testFindsLocalPropertyHandler 0 s
testFindsLocalColumnHandler 0.001 s

BeanMapHandlerTest

testEmptyResultSet 0.033 s
testBeanMapHandlerClassOfV 0.002 s
testBeanMapHandlerClassOfVRowProcessor 0.002 s
testBeanMapHandlerClassOfVInt 0.001 s
testBeanMapHandlerClassOfVString 0.002 s

BeanHandlerTest

testHandleToInterface 0.004 s
testHandleToSuperClass 0 s
testHandle 0.001 s
testEmptyResultSetHandle 0.001 s
testResultSets 0 s
testCheckDataSizes 0.001 s

BasicRowProcessorTest

testToArray 0 s
testToMap 0.002 s
testToBeanList 0.004 s
testPutAllContainsKeyAndRemove 0.001 s
testToMapOrdering 0.001 s
testToBean 0.002 s
testResultSets 0.001 s
testCheckDataSizes 0 s

MapHandlerTest

testHandle 0.006 s
testEmptyResultSetHandle 0.004 s
testResultSets 0.003 s
testCheckDataSizes 0.002 s

DoubleColumnHandlerTest

testApplyType 0.001 s
testMatch 0 s
testMatchNegative 0 s

ShortColumnHandlerTest

testApplyType 0.001 s
testMatch 0.001 s
testMatchNegative 0 s

LongColumnHandlerTest

testApplyType 0 s
testMatch 0.001 s
testMatchNegative 0.001 s

TimestampColumnHandlerTest

testApplyType 0.001 s
testMatch 0 s
testMatchNegative 0 s

SqlNullCheckedResultSetTest

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

PropertyHandlerTest

testServiceLoaderFindsMultipleRegistries 0.001 s
testFoundMoreThanLocal 0.001 s

BaseResultSetHandlerTest

testResultSets 0 s
testCheckDataSizes 0 s

BooleanColumnHandlerTest

testApplyType 0.002 s
testMatch 0 s
testMatchNegative 0.001 s

ArrayListHandlerTest

testHandle 0.004 s
testEmptyResultSetHandle 0 s
testResultSets 0 s
testCheckDataSizes 0.002 s

ByteColumnHandlerTest

testApplyType 0.003 s
testMatch 0.003 s
testMatchNegative 0.001 s

KeyedHandlerTest

testColumnNameHandle 0.002 s
testColumnIndexHandle 0.001 s
testHandle 0.001 s
testEmptyResultSetHandle 0 s
testInjectedRowProcess 0.013 s
testResultSets 0 s
testCheckDataSizes 0.001 s

FloatColumnHandlerTest

testApplyType 0 s
testMatch 0.001 s
testMatchNegative 0.003 s

BeanProcessorTest

testMapColumnToProperties 0.011 s
testIndexedPropertyDescriptor 0.004 s
testProcessWithToBean 0.005 s
testWrongSetterParamCount 0.002 s
testMapColumnToAnnotationField 0.002 s
testProcessWithPopulateBean 0.001 s
testMapColumnToPropertiesWithOverrides 0 s
testCheckAnnotationOnMissingReadMethod 0.001 s
testResultSets 0 s
testCheckDataSizes 0 s

ScalarHandlerTest

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

IntegerColumnHandlerTest

testApplyType 0.003 s
testMatchNegative 0.002 s
testMatch 0.002 s

ProxyFactoryTest

testCreatePreparedStatement 0.006 s
testCreateConnection 0.006 s
testCreateStatement 0.004 s
testCreateResultSet 0 s
testCreateCallableStatement 0.012 s
testCreateResultSetMetaData 0 s
testCreateDriver 0.002 s
testResultSets 0 s
testCheckDataSizes 0 s

GenerousBeanProcessorTest

testMapColumnsToPropertiesWithUnderscores 0.003 s
testMapColumnsToPropertiesMixedCase 0.001 s
testMapColumnsToPropertiesColumnLabelIsNull 0.001 s
testMapColumnsToPropertiesWithSpaces 0.001 s
testMapColumnsToPropertiesWithOutUnderscores 0.001 s

ArrayHandlerTest

testHandle 0.001 s
testEmptyResultSetHandle 0.014 s
testResultSets 0 s
testCheckDataSizes 0 s

StringEnumPropertyHandlerTest

testMatch 0 s
testMatchNegative 0 s