Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
442 0 0 0 100% 43.852

Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Package List


Package Tests Errors Failures Skipped Success Rate Time
org.apache.commons.dbcp.cpdsadapter 5 0 0 0 100% 0.005
org.apache.commons.dbcp 252 0 0 0 100% 23.108
org.apache.commons.dbcp.managed 112 0 0 0 100% 8.958
org.apache.commons.jocl 3 0 0 0 100% 0.145
org.apache.commons.dbcp.datasources 70 0 0 0 100% 11.636

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

org.apache.commons.dbcp.cpdsadapter

Class Tests Errors Failures Skipped Success Rate Time
TestDriverAdapterCPDS 5 0 0 0 100% 0.005

org.apache.commons.dbcp

Class Tests Errors Failures Skipped Success Rate Time
TestAbandonedBasicDataSource 49 0 0 0 100% 5.921
TestAbandonedObjectPool 1 0 0 0 100% 0.021
TestBasicDataSource 45 0 0 0 100% 2.887
TestBasicDataSourceFactory 2 0 0 0 100% 0.018
TestDelegatingConnection 7 0 0 0 100% 0.004
TestDelegatingPreparedStatement 6 0 0 0 100% 0.061
TestDelegatingStatement 5 0 0 0 100% 0.002
TestJndi 3 0 0 0 100% 0.018
TestJOCLed 22 0 0 0 100% 4.906
TestManual 29 0 0 0 100% 3.245
TestPoolableConnection 2 0 0 0 100% 0.002
TestPoolingDataSource 28 0 0 0 100% 2.796
TestPStmtPooling 3 0 0 0 100% 0.005
TestPStmtPoolingBasicDataSource 50 0 0 0 100% 3.222

org.apache.commons.dbcp.managed

Class Tests Errors Failures Skipped Success Rate Time
TestBasicManagedDataSource 46 0 0 0 100% 3.002
TestManagedDataSource 31 0 0 0 100% 2.95
TestManagedDataSourceInTx 35 0 0 0 100% 3.006

org.apache.commons.jocl

Class Tests Errors Failures Skipped Success Rate Time
TestJOCLContentHandler 3 0 0 0 100% 0.145

org.apache.commons.dbcp.datasources

Class Tests Errors Failures Skipped Success Rate Time
TestCPDSConnectionFactory 2 0 0 0 100% 0.003
TestFactory 1 0 0 0 100% 0.001
TestInstanceKeyDataSource 1 0 0 0 100% 0.055
TestKeyedCPDSConnectionFactory 2 0 0 0 100% 0.004
TestPerUserPoolDataSource 33 0 0 0 100% 5.237
TestSharedPoolDataSource 31 0 0 0 100% 6.336

Test Cases

TestDriverAdapterCPDS

testIncorrectPassword 0.001
testSimple 0
testSimpleWithUsername 0
testClosingWithUserName 0.001
testSetProperties 0.001

TestCPDSConnectionFactory

testSharedPoolDSDestroyOnReturn 0.001
testConnectionErrorCleanup 0.001

TestFactory

testJNDI2Pools 0

TestInstanceKeyDataSource

testExceptionOnSetupDefaults 0.054

TestKeyedCPDSConnectionFactory

testSharedPoolDSDestroyOnReturn 0.002
testConnectionErrorCleanup 0.001

TestPerUserPoolDataSource

testIncorrectPassword 0.006
testSimple 0.001
testSimpleWithUsername 0
testClosingWithUserName 0.002
testBackPointers 0
testSimple2 0.001
testOpening 0.002
testClosing 0.002
testMaxActive 0.102
testMaxWaitZero 0
testPerUserMethods 0.001
testMultipleThreads 2.245
testTransactionIsolationBehavior 0.001
testSerialization 0.118
testUnregisteredUser 0.001
testDefaultUser1 0.001
testDefaultUser2 0.002
testClearWarnings 0.003
testIsClosed 0.002
testCanCloseConnectionTwice 0.001
testCanCloseStatementTwice 0.001
testCanClosePreparedStatementTwice 0.001
testCanCloseCallableStatementTwice 0.001
testCanCloseResultSetTwice 0.001
testRepeatedBorrowAndReturn 0.018
testPooling 0.003
testAutoCommitBehavior 0.001
testConnectionsAreDistinct 0.002
testHashing 0.001
testThreaded 2.706
testPrepareStatementOptions 0.001
testNoRsetClose 0.001
testHashCode 0.001

TestSharedPoolDataSource

testIncorrectPassword 0.001
testSimple 0
testSimpleWithUsername 0.001
testClosingWithUserName 0.003
testBackPointers 0.001
testSimple2 0
testOpening 0.001
testClosing 0.002
testMaxActive 0.102
testMultipleThreads 2.233
testTransactionIsolationBehavior 0.001
testClosePool 0
testMaxWait 1.008
testPoolPrepareStatement 0.005
testPoolPreparedStatements 0.016
testClearWarnings 0.004
testIsClosed 0.002
testCanCloseConnectionTwice 0.001
testCanCloseStatementTwice 0
testCanClosePreparedStatementTwice 0
testCanCloseCallableStatementTwice 0
testCanCloseResultSetTwice 0
testRepeatedBorrowAndReturn 0.019
testPooling 0.003
testAutoCommitBehavior 0.001
testConnectionsAreDistinct 0.004
testHashing 0.001
testThreaded 2.907
testPrepareStatementOptions 0.001
testNoRsetClose 0.001
testHashCode 0.001

TestBasicManagedDataSource

testHashCode 0.001
testReallyClose 0.002
testSetProperties 0
testTransactionIsolationBehavior 0.001
testPooling 0.003
testClose 0.001
testNoAccessToUnderlyingConnectionAllowed 0.001
testAccessToUnderlyingConnectionAllowed 0.001
testEmptyValidationQuery 0
testInvalidValidationQuery 0.001
testValidationQueryTimoutFail 0
testValidationQueryTimeoutZero 0.001
testValidationQueryTimeoutNegative 0.001
testValidationQueryTimeoutSucceed 0.001
testEmptyInitConnectionSql 0
testInvalidConnectionInitSql 0
testSetValidationTestProperties 0.001
testNoValidationQuery 0
testDefaultCatalog 0.004
testSetAutoCommitTrueOnClose 0.001
testInitialSize 0.001
testIsClosedFailure 0
testPropertyTestOnReturn 0.001
testRollbackReadOnly 0.001
testMaxActiveZero 0.1
testCreateDataSourceCleanupThreads 0.001
testSimple 0
testBackPointers 0.005
testSimple2 0.002
testOpening 0.002
testClosing 0.002
testMaxActive 0.103
testClearWarnings 0.005
testIsClosed 0.003
testCanCloseConnectionTwice 0.009
testCanCloseStatementTwice 0.001
testCanClosePreparedStatementTwice 0.001
testCanCloseCallableStatementTwice 0.001
testCanCloseResultSetTwice 0.001
testRepeatedBorrowAndReturn 0.021
testAutoCommitBehavior 0.001
testConnectionsAreDistinct 0.003
testHashing 0
testThreaded 2.706
testPrepareStatementOptions 0.001
testNoRsetClose 0.001

TestManagedDataSource

testAccessToUnderlyingConnectionAllowed 0.001
testSharedConnection 0
testManagedConnectionEqualsSameDelegateNoUnderlyingAccess 0.002
testManagedConnectionEqualsSameDelegate 0.001
testManagedConnectionEqualsReflexive 0
testManagedConnectionEqualsFail 0.001
testManagedConnectionEqualsNull 0
testManagedConnectionEqualsType 0
testManagedConnectionEqualInnermost 0
testSimple 0
testBackPointers 0.004
testSimple2 0.001
testOpening 0.001
testClosing 0.001
testMaxActive 0.101
testClearWarnings 0.003
testIsClosed 0.002
testCanCloseConnectionTwice 0.001
testCanCloseStatementTwice 0.001
testCanClosePreparedStatementTwice 0
testCanCloseCallableStatementTwice 0.001
testCanCloseResultSetTwice 0
testRepeatedBorrowAndReturn 0.012
testPooling 0.001
testAutoCommitBehavior 0.001
testConnectionsAreDistinct 0.002
testHashing 0
testThreaded 2.806
testPrepareStatementOptions 0
testNoRsetClose 0.001
testHashCode 0

TestManagedDataSourceInTx

testMaxActive 0.213
testClearWarnings 0.008
testAutoCommitBehavior 0
testConnectionsAreDistinct 0.009
testHashCode 0
testSharedConnection 0.001
testManagedConnectionEqualsFail 0.001
testSharedTransactionConversion 0.001
testCloseInTransaction 0.001
testCommit 0
testReadOnly 0.001
testAccessToUnderlyingConnectionAllowed 0.001
testManagedConnectionEqualsSameDelegateNoUnderlyingAccess 0.001
testManagedConnectionEqualsSameDelegate 0.001
testManagedConnectionEqualsReflexive 0.003
testManagedConnectionEqualsNull 0
testManagedConnectionEqualsType 0
testManagedConnectionEqualInnermost 0
testSimple 0.001
testBackPointers 0.004
testSimple2 0.001
testOpening 0.001
testClosing 0.001
testIsClosed 0.003
testCanCloseConnectionTwice 0.001
testCanCloseStatementTwice 0.001
testCanClosePreparedStatementTwice 0.001
testCanCloseCallableStatementTwice 0.001
testCanCloseResultSetTwice 0.001
testRepeatedBorrowAndReturn 0.018
testPooling 0.001
testHashing 0
testThreaded 2.708
testPrepareStatementOptions 0.001
testNoRsetClose 0

TestAbandonedBasicDataSource

testAbandoned 0.002
testAbandonedClose 0.001
testAbandonedCloseWithExceptions 0.002
testlastUsed 2.603
testSetProperties 0.001
testTransactionIsolationBehavior 0.001
testPooling 0.006
testClose 0.001
testNoAccessToUnderlyingConnectionAllowed 0.001
testAccessToUnderlyingConnectionAllowed 0.001
testEmptyValidationQuery 0
testInvalidValidationQuery 0.001
testValidationQueryTimoutFail 0
testValidationQueryTimeoutZero 0
testValidationQueryTimeoutNegative 0.001
testValidationQueryTimeoutSucceed 0.001
testEmptyInitConnectionSql 0
testInvalidConnectionInitSql 0.001
testSetValidationTestProperties 0
testNoValidationQuery 0.001
testDefaultCatalog 0.004
testSetAutoCommitTrueOnClose 0
testInitialSize 0.002
testIsClosedFailure 0.001
testPropertyTestOnReturn 0
testRollbackReadOnly 0.001
testMaxActiveZero 0.101
testCreateDataSourceCleanupThreads 0.002
testSimple 0
testBackPointers 0.006
testSimple2 0.001
testOpening 0.002
testClosing 0.002
testMaxActive 0.104
testClearWarnings 0.006
testIsClosed 0.004
testCanCloseConnectionTwice 0.002
testCanCloseStatementTwice 0
testCanClosePreparedStatementTwice 0
testCanCloseCallableStatementTwice 0
testCanCloseResultSetTwice 0.001
testRepeatedBorrowAndReturn 0.027
testAutoCommitBehavior 0.001
testConnectionsAreDistinct 0.003
testHashing 0.001
testThreaded 3.006
testPrepareStatementOptions 0.001
testNoRsetClose 0.001
testHashCode 0.001

TestAbandonedObjectPool

testConcurrentInvalidation 0.017

TestBasicDataSource

testSetProperties 0
testTransactionIsolationBehavior 0.001
testPooling 0.003
testClose 0.001
testNoAccessToUnderlyingConnectionAllowed 0
testAccessToUnderlyingConnectionAllowed 0.001
testEmptyValidationQuery 0
testInvalidValidationQuery 0.001
testValidationQueryTimoutFail 0
testValidationQueryTimeoutZero 0.001
testValidationQueryTimeoutNegative 0
testValidationQueryTimeoutSucceed 0.001
testEmptyInitConnectionSql 0
testInvalidConnectionInitSql 0.001
testSetValidationTestProperties 0
testNoValidationQuery 0
testDefaultCatalog 0.002
testSetAutoCommitTrueOnClose 0
testInitialSize 0.001
testIsClosedFailure 0.001
testPropertyTestOnReturn 0
testRollbackReadOnly 0.001
testMaxActiveZero 0.101
testCreateDataSourceCleanupThreads 0.001
testSimple 0.001
testBackPointers 0.005
testSimple2 0.001
testOpening 0.002
testClosing 0.002
testMaxActive 0.102
testClearWarnings 0.004
testIsClosed 0.003
testCanCloseConnectionTwice 0.002
testCanCloseStatementTwice 0.001
testCanClosePreparedStatementTwice 0.001
testCanCloseCallableStatementTwice 0.001
testCanCloseResultSetTwice 0.001
testRepeatedBorrowAndReturn 0.024
testAutoCommitBehavior 0.001
testConnectionsAreDistinct 0.002
testHashing 0.001
testThreaded 2.605
testPrepareStatementOptions 0.001
testNoRsetClose 0.001
testHashCode 0

TestBasicDataSourceFactory

testNoProperties 0.007
testProperties 0.01

TestDelegatingConnection

testGetDelegate 0
testConnectionToString 0.001
testHashCodeEqual 0
testHashCodeNotEqual 0
testEquals 0
testCheckOpen 0.001
testCheckOpenNull 0.001

TestDelegatingPreparedStatement

testHashCode 0.034
testGetDelegate 0.001
testEquals 0.001
testExecuteQueryReturnsNull 0.007
testExecuteQueryReturnsNotNull 0.002
testHashCodeNull 0.001

TestDelegatingStatement

testHashCode 0
testGetDelegate 0.001
testEquals 0
testCheckOpen 0
testExecuteQueryReturnsNull 0

TestJndi

testBasicDataSourceBind 0.013
testSharedPoolDataSourceBind 0.001
testPerUserPoolDataSourceBind 0.004

TestJOCLed

testSimple 0.004
testBackPointers 0.006
testSimple2 0.002
testOpening 0.002
testClosing 0.002
testMaxActive 2.004
testClearWarnings 0.007
testIsClosed 0.004
testCanCloseConnectionTwice 0.002
testCanCloseStatementTwice 0.001
testCanClosePreparedStatementTwice 0.001
testCanCloseCallableStatementTwice 0.001
testCanCloseResultSetTwice 0
testRepeatedBorrowAndReturn 0.046
testPooling 0.005
testAutoCommitBehavior 0.001
testConnectionsAreDistinct 0.004
testHashing 0
testThreaded 2.805
testPrepareStatementOptions 0
testNoRsetClose 0
testHashCode 0.001

TestManual

testClosePool 0.015
test1 0.001
test2 0
testReportedBug28912 0.001
testReportedBug12400 0.007
testInvalidateConnection 0.001
testLogWriter 0.04
testSimple 0.004
testBackPointers 0.028
testSimple2 0.002
testOpening 0.004
testClosing 0.009
testMaxActive 0.206
testClearWarnings 0.012
testIsClosed 0.006
testCanCloseConnectionTwice 0.004
testCanCloseStatementTwice 0.001
testCanClosePreparedStatementTwice 0.001
testCanCloseCallableStatementTwice 0.001
testCanCloseResultSetTwice 0.001
testRepeatedBorrowAndReturn 0.059
testPooling 0.015
testAutoCommitBehavior 0.001
testConnectionsAreDistinct 0.006
testHashing 0
testThreaded 2.806
testPrepareStatementOptions 0.001
testNoRsetClose 0.001
testHashCode 0

TestPoolableConnection

testConnectionPool 0
testPoolableConnectionLeak 0.001

TestPoolingDataSource

testPoolGuardConnectionWrapperEqualsSameDelegate 0.001
testPoolGuardConnectionWrapperEqualsReflexive 0.001
testPoolGuardConnectionWrapperEqualsFail 0
testPoolGuardConnectionWrapperEqualsNull 0
testPoolGuardConnectionWrapperEqualsType 0
testestPoolGuardConnectionWrapperEqualInnermost 0
testSimple 0
testBackPointers 0.004
testSimple2 0.001
testOpening 0.001
testClosing 0.001
testMaxActive 0.102
testClearWarnings 0.003
testIsClosed 0.002
testCanCloseConnectionTwice 0.001
testCanCloseStatementTwice 0.001
testCanClosePreparedStatementTwice 0
testCanCloseCallableStatementTwice 0
testCanCloseResultSetTwice 0.001
testRepeatedBorrowAndReturn 0.053
testPooling 0.002
testAutoCommitBehavior 0
testConnectionsAreDistinct 0.002
testHashing 0
testThreaded 2.613
testPrepareStatementOptions 0
testNoRsetClose 0.001
testHashCode 0

TestPStmtPooling

testClosePool 0
testStmtPool 0.001
testCallableStatementPooling 0.001

TestPStmtPoolingBasicDataSource

testPreparedStatementPooling 0.002
testLRUBehavior 0.202
testPStmtCatalog 0.002
testPStmtPoolingWithNoClose 0.001
testPStmtPoolingAccrossClose 0.001
testSetProperties 0.001
testTransactionIsolationBehavior 0.001
testPooling 0.004
testClose 0.001
testNoAccessToUnderlyingConnectionAllowed 0
testAccessToUnderlyingConnectionAllowed 0.001
testEmptyValidationQuery 0
testInvalidValidationQuery 0.001
testValidationQueryTimoutFail 0
testValidationQueryTimeoutZero 0.001
testValidationQueryTimeoutNegative 0.001
testValidationQueryTimeoutSucceed 0.001
testEmptyInitConnectionSql 0
testInvalidConnectionInitSql 0
testSetValidationTestProperties 0
testNoValidationQuery 0
testDefaultCatalog 0.005
testSetAutoCommitTrueOnClose 0.001
testInitialSize 0.001
testIsClosedFailure 0
testPropertyTestOnReturn 0.001
testRollbackReadOnly 0.001
testMaxActiveZero 0.101
testCreateDataSourceCleanupThreads 0.001
testSimple 0.001
testBackPointers 0.008
testSimple2 0.001
testOpening 0.002
testClosing 0.002
testMaxActive 0.104
testClearWarnings 0.007
testIsClosed 0.004
testCanCloseConnectionTwice 0.002
testCanCloseStatementTwice 0.001
testCanClosePreparedStatementTwice 0.001
testCanCloseCallableStatementTwice 0.001
testCanCloseResultSetTwice 0.001
testRepeatedBorrowAndReturn 0.029
testAutoCommitBehavior 0.001
testConnectionsAreDistinct 0.003
testHashing 0.001
testThreaded 2.705
testPrepareStatementOptions 0.001
testNoRsetClose 0
testHashCode 0.001

TestJOCLContentHandler

testObject 0.009
testPrimitives 0
testParse 0.134