Summary

Tests Errors Failures Skipped Success Rate Time
403 0 0 0 100% 47.219

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.datasources 67 0 0 0 100% 11.34
org.apache.commons.jocl 2 0 0 0 100% 0.125
org.apache.commons.dbcp.managed 103 0 0 0 100% 10.28
org.apache.commons.dbcp 231 0 0 0 100% 25.474

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

org.apache.commons.dbcp.datasources

Class Tests Errors Failures Skipped Success Rate Time
TestFactory 1 0 0 0 100% 0.072
TestInstanceKeyDataSource 1 0 0 0 100% 0.011
TestSharedPoolDataSource 30 0 0 0 100% 5.668
TestPerUserPoolDataSource 33 0 0 0 100% 5.57
TestKeyedCPDSConnectionFactory 2 0 0 0 100% 0.019

org.apache.commons.jocl

Class Tests Errors Failures Skipped Success Rate Time
TestJOCLContentHandler 2 0 0 0 100% 0.125

org.apache.commons.dbcp.managed

Class Tests Errors Failures Skipped Success Rate Time
TestBasicManagedDataSource 39 0 0 0 100% 3.519
TestManagedDataSourceInTx 34 0 0 0 100% 3.659
TestManagedDataSource 30 0 0 0 100% 3.102

org.apache.commons.dbcp

Class Tests Errors Failures Skipped Success Rate Time
TestBasicDataSourceFactory 2 0 0 0 100% 0.053
TestDelegatingConnection 7 0 0 0 100% 0.013
TestPoolableConnection 2 0 0 0 100% 0.008
TestDelegatingPreparedStatement 6 0 0 0 100% 0.026
TestPoolingDataSource 28 0 0 0 100% 3.496
TestAbandonedObjectPool 1 0 0 0 100% 0.101
TestManual 29 0 0 0 100% 3.839
TestDelegatingStatement 5 0 0 0 100% 0.097
TestAbandonedBasicDataSource 42 0 0 0 100% 3.93
TestPStmtPoolingBasicDataSource 43 0 0 0 100% 3.571
TestBasicDataSource 39 0 0 0 100% 3.666
TestJndi 3 0 0 0 100% 0.685
TestJOCLed 22 0 0 0 100% 5.974
TestPStmtPooling 2 0 0 0 100% 0.015

Test Cases

TestJOCLContentHandler

testObject 0.055
testPrimatives 0.014

TestBasicDataSourceFactory

testNoProperties 0.023
testProperties 0.001

TestDelegatingConnection

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

TestPoolableConnection

testConnectionPool 0.001
testPoolableConnectionLeak 0.001

TestDelegatingPreparedStatement

testExecuteQueryReturnsNull 0.016
testExecuteQueryReturnsNotNull 0
testGetDelegate 0.001
testHashCodeNull 0
testHashCode 0
testEquals 0

TestPoolingDataSource

testPoolGuardConnectionWrapperEqualsSameDelegate 0.03
testPoolGuardConnectionWrapperEqualsReflexive 0.002
testPoolGuardConnectionWrapperEqualsFail 0.001
testPoolGuardConnectionWrapperEqualsNull 0
testPoolGuardConnectionWrapperEqualsType 0
testestPoolGuardConnectionWrapperEqualInnermost 0
testHashCode 0.002
testPooling 0.002
testClearWarnings 0.004
testIsClosed 0.007
testCanCloseConnectionTwice 0.002
testCanCloseStatementTwice 0.001
testCanClosePreparedStatementTwice 0.001
testCanCloseCallableStatementTwice 0.001
testCanCloseResultSetTwice 0.002
testBackPointers 0.007
testSimple 0.001
testRepeatedBorrowAndReturn 0.047
testSimple2 0.001
testAutoCommitBehavior 0.001
testConnectionsAreDistinct 0.006
testOpening 0.021
testClosing 0.002
testMaxActive 0.102
testHashing 0.001
testThreaded 2.933
testPrepareStatementOptions 0.001
testNoRsetClose 0.001

TestBasicManagedDataSource

testHashCode 0.006
testClose 0.005
testSetProperties 0.018
testTransactionIsolationBehavior 0.002
testPooling 0.007
testNoAccessToUnderlyingConnectionAllowed 0.001
testAccessToUnderlyingConnectionAllowed 0.001
testEmptyValidationQuery 0.001
testInvalidValidationQuery 0.032
testSetValidationTestProperties 0
testNoValidationQuery 0.002
testDefaultCatalog 0.009
testSetAutoCommitTrueOnClose 0.008
testInitialSize 0.008
testIsClosedFailure 0.007
testPropertyTestOnReturn 0.002
testRollbackReadOnly 0.003
testMaxActiveZero 0.104
testCreateDataSourceCleanupThreads 0.005
testClearWarnings 0.008
testIsClosed 0.004
testCanCloseConnectionTwice 0.003
testCanCloseStatementTwice 0.003
testCanClosePreparedStatementTwice 0.002
testCanCloseCallableStatementTwice 0.002
testCanCloseResultSetTwice 0.009
testBackPointers 0.026
testSimple 0.002
testRepeatedBorrowAndReturn 0.089
testSimple2 0.009
testAutoCommitBehavior 0.004
testConnectionsAreDistinct 0.009
testOpening 0.005
testClosing 0.009
testMaxActive 0.104
testHashing 0.001
testThreaded 2.934
testPrepareStatementOptions 0.001
testNoRsetClose 0.002

TestAbandonedObjectPool

testConcurrentInvalidation 0.078

TestFactory

testJNDI2Pools 0.047

TestManual

testClosePool 0.088
test1 0.003
test2 0.001
testReportedBug28912 0.011
testReportedBug12400 0.027
testInvalidateConnection 0.006
testLogWriter 0.285
testHashCode 0.001
testPooling 0.097
testClearWarnings 0.009
testIsClosed 0.007
testCanCloseConnectionTwice 0.003
testCanCloseStatementTwice 0.001
testCanClosePreparedStatementTwice 0.001
testCanCloseCallableStatementTwice 0.001
testCanCloseResultSetTwice 0.001
testBackPointers 0.007
testSimple 0.001
testRepeatedBorrowAndReturn 0.046
testSimple2 0.001
testAutoCommitBehavior 0.001
testConnectionsAreDistinct 0.003
testOpening 0.002
testClosing 0.004
testMaxActive 0.205
testHashing 0.001
testThreaded 2.969
testPrepareStatementOptions 0.001
testNoRsetClose 0.001

TestInstanceKeyDataSource

testExceptionOnSetupDefaults 0.008

TestSharedPoolDataSource

testTransactionIsolationBehavior 0.038
testBackPointers 0.001
testSimple 0.002
testSimple2 0.041
testOpening 0.015
testClosing 0.026
testMaxActive 0.122
testClosePool 0.001
testIncorrectPassword 0.003
testSimpleWithUsername 0.001
testClosingWithUserName 0.008
testMultipleThreads 2.266
testPoolPrepareStatement 0.015
testPoolPreparedStatements 0.003
testHashCode 0.002
testPooling 0.002
testClearWarnings 0.012
testIsClosed 0.029
testCanCloseConnectionTwice 0.005
testCanCloseStatementTwice 0.002
testCanClosePreparedStatementTwice 0.001
testCanCloseCallableStatementTwice 0.001
testCanCloseResultSetTwice 0.001
testRepeatedBorrowAndReturn 0.128
testAutoCommitBehavior 0.002
testConnectionsAreDistinct 0.005
testHashing 0.001
testThreaded 2.834
testPrepareStatementOptions 0.001
testNoRsetClose 0.001

TestManagedDataSourceInTx

testHashCode 0.149
testClearWarnings 0.005
testAutoCommitBehavior 0.001
testConnectionsAreDistinct 0.014
testMaxActive 0.111
testSharedConnection 0.001
testManagedConnectionEqualsFail 0
testSharedTransactionConversion 0.001
testCloseInTransaction 0.001
testCommit 0
testReadOnly 0.001
testAccessToUnderlyingConnectionAllowed 0.001
testManagedConnectionEqualsSameDelegate 0.002
testManagedConnectionEqualsReflexive 0.002
testManagedConnectionEqualsNull 0.001
testManagedConnectionEqualsType 0
testManagedConnectionEqualInnermost 0.001
testPooling 0.054
testIsClosed 0.004
testCanCloseConnectionTwice 0.002
testCanCloseStatementTwice 0.001
testCanClosePreparedStatementTwice 0.001
testCanCloseCallableStatementTwice 0.003
testCanCloseResultSetTwice 0.002
testBackPointers 0.011
testSimple 0.001
testRepeatedBorrowAndReturn 0.138
testSimple2 0
testOpening 0.008
testClosing 0.001
testHashing 0
testThreaded 2.829
testPrepareStatementOptions 0.004
testNoRsetClose 0.001

TestDelegatingStatement

testExecuteQueryReturnsNull 0.052
testGetDelegate 0.001
testHashCode 0.001
testEquals 0.001
testCheckOpen 0.009

TestAbandonedBasicDataSource

testAbandoned 0.243
testAbandonedClose 0.04
testAbandonedCloseWithExceptions 0.068
testClose 0.003
testSetProperties 0.001
testTransactionIsolationBehavior 0.003
testPooling 0.007
testNoAccessToUnderlyingConnectionAllowed 0.002
testAccessToUnderlyingConnectionAllowed 0.003
testEmptyValidationQuery 0
testInvalidValidationQuery 0.001
testSetValidationTestProperties 0
testNoValidationQuery 0.006
testDefaultCatalog 0.005
testSetAutoCommitTrueOnClose 0.002
testInitialSize 0.002
testIsClosedFailure 0.002
testPropertyTestOnReturn 0.004
testRollbackReadOnly 0.001
testMaxActiveZero 0.106
testCreateDataSourceCleanupThreads 0.002
testHashCode 0.001
testClearWarnings 0.014
testIsClosed 0.004
testCanCloseConnectionTwice 0.003
testCanCloseStatementTwice 0.003
testCanClosePreparedStatementTwice 0.004
testCanCloseCallableStatementTwice 0.002
testCanCloseResultSetTwice 0.003
testBackPointers 0.017
testSimple 0.001
testRepeatedBorrowAndReturn 0.102
testSimple2 0.008
testAutoCommitBehavior 0.002
testConnectionsAreDistinct 0.003
testOpening 0.008
testClosing 0.003
testMaxActive 0.109
testHashing 0.002
testThreaded 3.031
testPrepareStatementOptions 0.003
testNoRsetClose 0.003

TestPStmtPoolingBasicDataSource

testPreparedStatementPooling 0.005
testPStmtCatalog 0.002
testPStmtPoolingWithNoClose 0.002
testPStmtPoolingAccrossClose 0.002
testClose 0.002
testSetProperties 0.001
testTransactionIsolationBehavior 0.002
testPooling 0.006
testNoAccessToUnderlyingConnectionAllowed 0.003
testAccessToUnderlyingConnectionAllowed 0.004
testEmptyValidationQuery 0
testInvalidValidationQuery 0.002
testSetValidationTestProperties 0.001
testNoValidationQuery 0.001
testDefaultCatalog 0.016
testSetAutoCommitTrueOnClose 0.001
testInitialSize 0.003
testIsClosedFailure 0.319
testPropertyTestOnReturn 0.001
testRollbackReadOnly 0.002
testMaxActiveZero 0.101
testCreateDataSourceCleanupThreads 0.004
testHashCode 0.001
testClearWarnings 0.01
testIsClosed 0.01
testCanCloseConnectionTwice 0.009
testCanCloseStatementTwice 0.006
testCanClosePreparedStatementTwice 0.004
testCanCloseCallableStatementTwice 0.001
testCanCloseResultSetTwice 0.002
testBackPointers 0.022
testSimple 0.004
testRepeatedBorrowAndReturn 0.059
testSimple2 0.003
testAutoCommitBehavior 0.002
testConnectionsAreDistinct 0.007
testOpening 0.006
testClosing 0.005
testMaxActive 0.105
testHashing 0.001
testThreaded 2.733
testPrepareStatementOptions 0.002
testNoRsetClose 0.002

TestPerUserPoolDataSource

testTransactionIsolationBehavior 0.218
testBackPointers 0
testSimple 0.035
testSimple2 0.002
testOpening 0.001
testClosing 0.002
testMaxActive 0.114
testIncorrectPassword 0.001
testSimpleWithUsername 0
testClosingWithUserName 0.004
testMaxWaitZero 0
testPerUserMethods 0.001
testMultipleThreads 2.222
testSerialization 0.038
testUnregisteredUser 0.001
testDefaultUser1 0.006
testDefaultUser2 0.002
testHashCode 0.001
testPooling 0.001
testClearWarnings 0.006
testIsClosed 0.001
testCanCloseConnectionTwice 0.001
testCanCloseStatementTwice 0
testCanClosePreparedStatementTwice 0
testCanCloseCallableStatementTwice 0.001
testCanCloseResultSetTwice 0.001
testRepeatedBorrowAndReturn 0.01
testAutoCommitBehavior 0.001
testConnectionsAreDistinct 0.002
testHashing 0
testThreaded 2.831
testPrepareStatementOptions 0.012
testNoRsetClose 0.001

TestBasicDataSource

testClose 0.001
testSetProperties 0.001
testTransactionIsolationBehavior 0
testPooling 0.003
testNoAccessToUnderlyingConnectionAllowed 0.001
testAccessToUnderlyingConnectionAllowed 0
testEmptyValidationQuery 0.001
testInvalidValidationQuery 0.001
testSetValidationTestProperties 0
testNoValidationQuery 0
testDefaultCatalog 0.005
testSetAutoCommitTrueOnClose 0.001
testInitialSize 0.033
testIsClosedFailure 0.011
testPropertyTestOnReturn 0.003
testRollbackReadOnly 0.001
testMaxActiveZero 0.102
testCreateDataSourceCleanupThreads 0.003
testHashCode 0.001
testClearWarnings 0.006
testIsClosed 0.004
testCanCloseConnectionTwice 0.001
testCanCloseStatementTwice 0
testCanClosePreparedStatementTwice 0
testCanCloseCallableStatementTwice 0.001
testCanCloseResultSetTwice 0.001
testBackPointers 0.005
testSimple 0
testRepeatedBorrowAndReturn 0.126
testSimple2 0.001
testAutoCommitBehavior 0.001
testConnectionsAreDistinct 0.001
testOpening 0.002
testClosing 0.001
testMaxActive 0.103
testHashing 0.012
testThreaded 2.737
testPrepareStatementOptions 0.005
testNoRsetClose 0.003

TestJndi

testBasicDataSourceBind 0.681
testSharedPoolDataSourceBind 0.001
testPerUserPoolDataSourceBind 0

TestManagedDataSource

testAccessToUnderlyingConnectionAllowed 0.047
testSharedConnection 0
testManagedConnectionEqualsSameDelegate 0.001
testManagedConnectionEqualsReflexive 0.001
testManagedConnectionEqualsFail 0
testManagedConnectionEqualsNull 0
testManagedConnectionEqualsType 0
testManagedConnectionEqualInnermost 0.001
testHashCode 0
testPooling 0.001
testClearWarnings 0.003
testIsClosed 0.008
testCanCloseConnectionTwice 0.001
testCanCloseStatementTwice 0.001
testCanClosePreparedStatementTwice 0
testCanCloseCallableStatementTwice 0.001
testCanCloseResultSetTwice 0.001
testBackPointers 0.006
testSimple 0
testRepeatedBorrowAndReturn 0.026
testSimple2 0.001
testAutoCommitBehavior 0.001
testConnectionsAreDistinct 0.001
testOpening 0.001
testClosing 0.005
testMaxActive 0.102
testHashing 0.001
testThreaded 2.829
testPrepareStatementOptions 0
testNoRsetClose 0.001

TestJOCLed

testHashCode 1.119
testPooling 0.009
testClearWarnings 0.006
testIsClosed 0.004
testCanCloseConnectionTwice 0.002
testCanCloseStatementTwice 0
testCanClosePreparedStatementTwice 0.001
testCanCloseCallableStatementTwice 0.001
testCanCloseResultSetTwice 0.003
testBackPointers 0.014
testSimple 0.001
testRepeatedBorrowAndReturn 0.037
testSimple2 0.002
testAutoCommitBehavior 0
testConnectionsAreDistinct 0.002
testOpening 0.003
testClosing 0.002
testMaxActive 2.005
testHashing 0.001
testThreaded 2.735
testPrepareStatementOptions 0.001
testNoRsetClose 0.001

TestPStmtPooling

testStmtPool 0.003
testClosePool 0.006

TestKeyedCPDSConnectionFactory

testSharedPoolDSDestroyOnReturn 0.012
testConnectionErrorCleanup 0.001