Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
461 0 0 0 100% 45.326

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.dbcp.cpdsadapter 5 0 0 0 100% 0.004
org.apache.commons.dbcp 264 0 0 0 100% 25.885
org.apache.commons.dbcp.managed 112 0 0 0 100% 9.502
org.apache.commons.jocl 6 0 0 0 100% 0.097
org.apache.commons.dbcp.datasources 74 0 0 0 100% 9.838

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.004

org.apache.commons.dbcp

Class Tests Errors Failures Skipped Success Rate Time
TestAbandonedBasicDataSource 50 0 0 0 100% 8.447
TestAbandonedObjectPool 1 0 0 0 100% 0.02
TestBasicDataSource 45 0 0 0 100% 2.904
TestBasicDataSourceFactory 2 0 0 0 100% 0.019
TestDelegatingCallableStatement 6 0 0 0 100% 0.002
TestDelegatingConnection 7 0 0 0 100% 0.003
TestDelegatingDatabaseMetaData 4 0 0 0 100% 0.012
TestDelegatingPreparedStatement 6 0 0 0 100% 0.073
TestDelegatingStatement 5 0 0 0 100% 0.002
TestDriverManagerConnectionFactory 1 0 0 0 100% 0.118
TestJndi 3 0 0 0 100% 0.021
TestJOCLed 22 0 0 0 100% 4.723
TestManual 29 0 0 0 100% 3.169
TestPoolableConnection 2 0 0 0 100% 0.001
TestPoolingDataSource 28 0 0 0 100% 3.027
TestPStmtPooling 3 0 0 0 100% 0.004
TestPStmtPoolingBasicDataSource 50 0 0 0 100% 3.34

org.apache.commons.dbcp.managed

Class Tests Errors Failures Skipped Success Rate Time
TestBasicManagedDataSource 46 0 0 0 100% 3.307
TestManagedDataSource 31 0 0 0 100% 3.056
TestManagedDataSourceInTx 35 0 0 0 100% 3.139

org.apache.commons.jocl

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

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.003
TestInstanceKeyDataSource 1 0 0 0 100% 0.031
TestKeyedCPDSConnectionFactory 2 0 0 0 100% 0.004
TestPerUserPoolDataSource 35 0 0 0 100% 4.304
TestSharedPoolDataSource 33 0 0 0 100% 5.493

Test Cases

[Summary] [Package List] [Test Cases]

TestDriverAdapterCPDS

testIncorrectPassword 0
testSimple 0
testSimpleWithUsername 0
testClosingWithUserName 0.001
testSetProperties 0

TestCPDSConnectionFactory

testSharedPoolDSDestroyOnReturn 0.001
testConnectionErrorCleanup 0.001

TestFactory

testJNDI2Pools 0

TestInstanceKeyDataSource

testExceptionOnSetupDefaults 0.03

TestKeyedCPDSConnectionFactory

testSharedPoolDSDestroyOnReturn 0.002
testConnectionErrorCleanup 0.001

TestPerUserPoolDataSource

testIncorrectPassword 0.006
testSimple 0.001
testSimpleWithUsername 0
testClosingWithUserName 0.005
testBackPointers 0
testSimple2 0
testOpening 0.002
testClosing 0.002
testMaxActive 0.102
testMaxWaitZero 0.001
testPerUserMethods 0.001
testMultipleThreads1 0.313
testMultipleThreads2 1.009
testTransactionIsolationBehavior 0.003
testSerialization 0.026
testUnregisteredUser 0.002
testDefaultUser1 0.001
testDefaultUser2 0.001
testChangePassword 0.002
testClearWarnings 0.004
testIsClosed 0.003
testCanCloseConnectionTwice 0.002
testCanCloseStatementTwice 0.001
testCanClosePreparedStatementTwice 0
testCanCloseCallableStatementTwice 0
testCanCloseResultSetTwice 0.001
testRepeatedBorrowAndReturn 0.018
testPooling 0.003
testAutoCommitBehavior 0
testConnectionsAreDistinct 0.002
testHashing 0.001
testThreaded 2.778
testPrepareStatementOptions 0.001
testNoRsetClose 0.001
testHashCode 0.001

TestSharedPoolDataSource

testIncorrectPassword 0.002
testSimple 0.001
testSimpleWithUsername 0
testClosingWithUserName 0.03
testBackPointers 0.001
testSimple2 0.001
testOpening 0.002
testClosing 0.002
testMaxActive 0.103
testMultipleThreads1 0.313
testMultipleThreads2 1.011
testTransactionIsolationBehavior 0.001
testChangePassword 0.001
testClosePool 0
testMaxWait 1.005
testPoolPrepareStatement 0.004
testPoolPreparedStatements 0.009
testClearWarnings 0.003
testIsClosed 0.002
testCanCloseConnectionTwice 0.002
testCanCloseStatementTwice 0.001
testCanClosePreparedStatementTwice 0.001
testCanCloseCallableStatementTwice 0.001
testCanCloseResultSetTwice 0.001
testRepeatedBorrowAndReturn 0.022
testPooling 0.003
testAutoCommitBehavior 0.001
testConnectionsAreDistinct 0.038
testHashing 0.001
testThreaded 2.918
testPrepareStatementOptions 0.001
testNoRsetClose 0
testHashCode 0.001

TestBasicManagedDataSource

testHashCode 0.001
testReallyClose 0.002
testSetProperties 0
testTransactionIsolationBehavior 0.001
testPooling 0.005
testClose 0.001
testNoAccessToUnderlyingConnectionAllowed 0
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.001
testBackPointers 0.006
testSimple2 0.001
testOpening 0.002
testClosing 0.003
testMaxActive 0.103
testClearWarnings 0.005
testIsClosed 0.003
testCanCloseConnectionTwice 0.003
testCanCloseStatementTwice 0.001
testCanClosePreparedStatementTwice 0.001
testCanCloseCallableStatementTwice 0.001
testCanCloseResultSetTwice 0.001
testRepeatedBorrowAndReturn 0.027
testAutoCommitBehavior 0.002
testConnectionsAreDistinct 0.003
testHashing 0
testThreaded 3.004
testPrepareStatementOptions 0.001
testNoRsetClose 0.001

TestManagedDataSource

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

TestManagedDataSourceInTx

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

TestAbandonedBasicDataSource

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

TestAbandonedObjectPool

testConcurrentInvalidation 0.019

TestBasicDataSource

testSetProperties 0
testTransactionIsolationBehavior 0.001
testPooling 0.008
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.001
testNoValidationQuery 0
testDefaultCatalog 0.004
testSetAutoCommitTrueOnClose 0.001
testInitialSize 0.001
testIsClosedFailure 0.001
testPropertyTestOnReturn 0
testRollbackReadOnly 0
testMaxActiveZero 0.101
testCreateDataSourceCleanupThreads 0.001
testSimple 0
testBackPointers 0.005
testSimple2 0.001
testOpening 0.002
testClosing 0.002
testMaxActive 0.102
testClearWarnings 0.005
testIsClosed 0.003
testCanCloseConnectionTwice 0.002
testCanCloseStatementTwice 0.001
testCanClosePreparedStatementTwice 0.001
testCanCloseCallableStatementTwice 0.001
testCanCloseResultSetTwice 0.001
testRepeatedBorrowAndReturn 0.028
testAutoCommitBehavior 0.001
testConnectionsAreDistinct 0.004
testHashing 0
testThreaded 2.607
testPrepareStatementOptions 0.001
testNoRsetClose 0.001
testHashCode 0.001

TestBasicDataSourceFactory

testNoProperties 0.007
testProperties 0.01

TestDelegatingCallableStatement

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

TestDelegatingConnection

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

TestDelegatingDatabaseMetaData

testHashCode 0.01
testGetDelegate 0
testEquals 0
testCheckOpen 0

TestDelegatingPreparedStatement

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

TestDelegatingStatement

testHashCode 0
testExecuteQueryReturnsNull 0
testGetDelegate 0
testEquals 0
testCheckOpen 0

TestDriverManagerConnectionFactory

testDriverManagerInit 0.116

TestJndi

testBasicDataSourceBind 0.014
testSharedPoolDataSourceBind 0.001
testPerUserPoolDataSourceBind 0.005

TestJOCLed

testSimple 0.005
testBackPointers 0.009
testSimple2 0.002
testOpening 0.003
testClosing 0.004
testMaxActive 2.003
testClearWarnings 0.008
testIsClosed 0.005
testCanCloseConnectionTwice 0.004
testCanCloseStatementTwice 0
testCanClosePreparedStatementTwice 0
testCanCloseCallableStatementTwice 0.001
testCanCloseResultSetTwice 0.001
testRepeatedBorrowAndReturn 0.052
testPooling 0.007
testAutoCommitBehavior 0.001
testConnectionsAreDistinct 0.004
testHashing 0.001
testThreaded 2.605
testPrepareStatementOptions 0.001
testNoRsetClose 0.001
testHashCode 0.001

TestManual

testClosePool 0.007
test1 0.001
test2 0
testReportedBug28912 0.001
testReportedBug12400 0.013
testInvalidateConnection 0.001
testLogWriter 0.021
testSimple 0.004
testBackPointers 0.014
testSimple2 0.002
testOpening 0.005
testClosing 0.006
testMaxActive 0.106
testClearWarnings 0.012
testIsClosed 0.008
testCanCloseConnectionTwice 0.005
testCanCloseStatementTwice 0.001
testCanClosePreparedStatementTwice 0.002
testCanCloseCallableStatementTwice 0.001
testCanCloseResultSetTwice 0.002
testRepeatedBorrowAndReturn 0.071
testPooling 0.01
testAutoCommitBehavior 0.002
testConnectionsAreDistinct 0.007
testHashing 0.001
testThreaded 2.837
testPrepareStatementOptions 0.001
testNoRsetClose 0.001
testHashCode 0.001

TestPoolableConnection

testConnectionPool 0
testPoolableConnectionLeak 0

TestPoolingDataSource

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

TestPStmtPooling

testClosePool 0.001
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.006
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.001
testInvalidConnectionInitSql 0
testSetValidationTestProperties 0
testNoValidationQuery 0
testDefaultCatalog 0.006
testSetAutoCommitTrueOnClose 0.001
testInitialSize 0.002
testIsClosedFailure 0.001
testPropertyTestOnReturn 0
testRollbackReadOnly 0
testMaxActiveZero 0.1
testCreateDataSourceCleanupThreads 0.002
testSimple 0.001
testBackPointers 0.009
testSimple2 0.002
testOpening 0.004
testClosing 0.003
testMaxActive 0.104
testClearWarnings 0.008
testIsClosed 0.004
testCanCloseConnectionTwice 0.003
testCanCloseStatementTwice 0.001
testCanClosePreparedStatementTwice 0.001
testCanCloseCallableStatementTwice 0.001
testCanCloseResultSetTwice 0.001
testRepeatedBorrowAndReturn 0.039
testAutoCommitBehavior 0.001
testConnectionsAreDistinct 0.004
testHashing 0
testThreaded 2.804
testPrepareStatementOptions 0.001
testNoRsetClose 0.001
testHashCode 0.001

TestJOCLContentHandler

testObject 0.015
testPrimitives 0.005
testParse 0.071

TestJOCLContentHandler

testObject 0.001
testPrimitives 0
testParse 0.004