Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
243 0 0 0 100% 120.19

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.pool.impl 185 0 0 0 100% 85.4
org.apache.commons.pool 58 0 0 0 100% 34.79

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

org.apache.commons.pool.impl

Class Tests Errors Failures Skipped Success Rate Time
TestGenericKeyedObjectPool 44 0 0 0 100% 30.266
TestGenericKeyedObjectPoolFactory 3 0 0 0 100% 0.007
TestGenericObjectPool 59 0 0 0 100% 54.09
TestGenericObjectPoolFactory 3 0 0 0 100% 0.193
TestSoftReferenceObjectPool 18 0 0 0 100% 0.264
TestStackKeyedObjectPool 25 0 0 0 100% 0.285
TestStackKeyedObjectPoolFactory 3 0 0 0 100% 0.004
TestStackObjectPool 27 0 0 0 100% 0.289
TestStackObjectPoolFactory 3 0 0 0 100% 0.002

org.apache.commons.pool

Class Tests Errors Failures Skipped Success Rate Time
TestBaseKeyedObjectPool 16 0 0 0 100% 0.006
TestBaseKeyedPoolableObjectFactory 1 0 0 0 100% 0.001
TestBaseObjectPool 18 0 0 0 100% 0.009
TestBasePoolableObjectFactory 1 0 0 0 100% 0.002
TestPoolUtils 22 0 0 0 100% 34.772

Test Cases

TestGenericKeyedObjectPool

testNegativeMaxActive 0.002
testNumActiveNumIdle2 0.001
testMaxIdle 0.033
testMaxActive 0.001
testMaxActiveZero 0
testWhenExhaustedGrow 0.001
testMaxTotal 0.001
testMaxTotalZero 0
testMaxTotalLRU 0.129
testSettersAndGetters 0.001
testEviction 8.142
testEviction2 7.247
testThreaded1 5.508
testMaxTotalInvariant 1.703
testMinIdle 0.604
testMinIdleMaxActive 0.905
testMinIdleNoPopulateImmediately 1.501
testMinIdleNoPreparePool 0.302
testFIFO 0.001
testLIFO 0
testEvictionOrder 2.019
testEvictorVisiting 0.867
testConstructors 0.001
testExceptionOnPassivateDuringReturn 0
testExceptionOnDestroyDuringBorrow 0.001
testExceptionOnDestroyDuringReturn 0.001
testExceptionOnActivateDuringBorrow 0.001
testBlockedKeyDoesNotBlockPool 1.001
testUnsupportedOperations 0.001
testBaseBorrowReturn 0.002
testBaseBorrow 0
testBaseNumActiveNumIdle 0.001
testBaseNumActiveNumIdle2 0.001
testBaseClear 0.001
testBaseInvalidateObject 0.001
testBaseAddObject 0
testClosedPoolBehavior 0.001
testKPOFAddObjectUsage 0
testKPOFBorrowObjectUsages 0.002
testKPOFReturnObjectUsages 0.001
testKPOFInvalidateObjectUsages 0.251
testKPOFClearUsages 0.002
testKPOFCloseUsages 0.002
testToString 0

TestGenericKeyedObjectPoolFactory

testConstructors 0.003
testToString 0
testCreatePool 0

TestGenericObjectPool

testNegativeMaxActive 0.001
testMaxIdle 0.023
testMaxActive 0
testMaxActiveZero 0
testWhenExhaustedGrow 0.001
testSettersAndGetters 0.001
testEviction 8.094
testThreaded1 6.007
testMinIdle 0.602
testMinIdleMaxActive 0.905
testFIFO 0.001
testLIFO 0.001
testEvictionOrder 2.007
testEvictorVisiting 0.523
testConstructors 0.001
testExceptionOnPassivateDuringReturn 0
testExceptionOnDestroyDuringBorrow 0.001
testExceptionOnDestroyDuringReturn 0.001
testExceptionOnActivateDuringBorrow 0.001
testWhenExhaustedFail 0
testWhenExhaustedBlock 0.011
testEvictWhileEmpty 0
testEvictAddObjects 0.852
testEvictLIFO 0.128
testEvictFIFO 0.128
testSetFactoryWithActiveObjects 0
testSetFactoryWithNoActiveObjects 0.001
testMaxIdleZero 0.005
testTimeoutNoLeak 0.01
testMaxActiveUnderLoad 20.04
testInvalidWhenExhaustedAction 0
testDefaultConfiguration 0
testSetConfig 0.001
testDebugInfo 0
testStartAndStopEvictor 0.401
testEvictionWithNegativeNumTests 0.402
testEvictionSoftMinIdle 3.503
testMaxActiveInvariant 1.603
testAddObject 0.001
testBorrowObjectFairness 8.538
testBrokenFactoryShouldNotBlockPool 0
testUnsupportedOperations 0
testBaseBorrowReturn 0.001
testBaseBorrow 0
testBaseNumActiveNumIdle 0
testBaseClear 0.001
testBaseInvalidateObject 0
testBaseAddObject 0.001
testClose 0
testBaseClosePool 0.001
testClosedPoolBehavior 0
testToString 0
testPOFAddObjectUsage 0
testPOFBorrowObjectUsages 0.001
testPOFReturnObjectUsages 0.001
testPOFInvalidateObjectUsages 0.251
testPOFClearUsages 0.001
testPOFCloseUsages 0.001
testSetFactory 0

TestGenericObjectPoolFactory

testConstructors 0.176
testToString 0
testCreatePool 0

TestSoftReferenceObjectPool

testUnsupportedOperations 0
testBaseBorrowReturn 0.003
testBaseBorrow 0
testBaseNumActiveNumIdle 0
testBaseClear 0
testBaseInvalidateObject 0
testBaseAddObject 0
testClose 0
testBaseClosePool 0
testClosedPoolBehavior 0
testToString 0
testPOFAddObjectUsage 0.001
testPOFBorrowObjectUsages 0
testPOFReturnObjectUsages 0
testPOFInvalidateObjectUsages 0.25
testPOFClearUsages 0
testPOFCloseUsages 0.001
testSetFactory 0

TestStackKeyedObjectPool

testToString 0.005
testSetFactory 0
testCloseBug 0.001
testIdleCap 0.008
testPoolWithNullFactory 0.001
testVariousConstructors 0
testBorrowFromEmptyPoolWithNullFactory 0
testCantResetFactoryWithActiveObjects 0
testCanResetFactoryWithoutActiveObjects 0
testBorrowReturnWithSometimesInvalidObjects 0.002
testUnsupportedOperations 0
testBaseBorrowReturn 0.001
testBaseBorrow 0
testBaseNumActiveNumIdle 0
testBaseNumActiveNumIdle2 0.001
testBaseClear 0
testBaseInvalidateObject 0
testBaseAddObject 0
testClosedPoolBehavior 0.002
testKPOFAddObjectUsage 0
testKPOFBorrowObjectUsages 0.002
testKPOFReturnObjectUsages 0.001
testKPOFInvalidateObjectUsages 0.25
testKPOFClearUsages 0.001
testKPOFCloseUsages 0

TestStackKeyedObjectPoolFactory

testConstructors 0.003
testToString 0
testCreatePool 0

TestStackObjectPool

testSetFactory 0.002
testIdleCap 0.004
testPoolWithNullFactory 0.001
testVariousConstructors 0
testBorrowFromEmptyPoolWithNullFactory 0
testCantResetFactoryWithActiveObjects 0
testCanResetFactoryWithoutActiveObjects 0
testBorrowReturnWithSometimesInvalidObjects 0.015
testBorrowWithSometimesInvalidObjects 0.002
testReturnObjectDiscardOrder 0.001
testUnsupportedOperations 0
testBaseBorrowReturn 0
testBaseBorrow 0
testBaseNumActiveNumIdle 0
testBaseClear 0
testBaseInvalidateObject 0
testBaseAddObject 0.001
testClose 0
testBaseClosePool 0
testClosedPoolBehavior 0
testToString 0
testPOFAddObjectUsage 0
testPOFBorrowObjectUsages 0
testPOFReturnObjectUsages 0.001
testPOFInvalidateObjectUsages 0.25
testPOFClearUsages 0
testPOFCloseUsages 0

TestStackObjectPoolFactory

testConstructors 0.001
testToString 0
testCreatePool 0

TestBaseKeyedObjectPool

testUnsupportedOperations 0.001
testBaseBorrowReturn 0
testBaseBorrow 0
testBaseNumActiveNumIdle 0
testBaseNumActiveNumIdle2 0
testBaseClear 0
testBaseInvalidateObject 0
testBaseAddObject 0
testClosedPoolBehavior 0
testKPOFAddObjectUsage 0
testKPOFBorrowObjectUsages 0
testKPOFReturnObjectUsages 0
testKPOFInvalidateObjectUsages 0
testKPOFClearUsages 0
testKPOFCloseUsages 0
testToString 0

TestBaseKeyedPoolableObjectFactory

testDefaultMethods 0

TestBaseObjectPool

testUnsupportedOperations 0
testBaseBorrowReturn 0
testBaseBorrow 0
testBaseNumActiveNumIdle 0
testBaseClear 0.001
testBaseInvalidateObject 0
testBaseAddObject 0
testClose 0.001
testBaseClosePool 0
testClosedPoolBehavior 0
testToString 0
testPOFAddObjectUsage 0
testPOFBorrowObjectUsages 0
testPOFReturnObjectUsages 0
testPOFInvalidateObjectUsages 0
testPOFClearUsages 0
testPOFCloseUsages 0
testSetFactory 0

TestBasePoolableObjectFactory

testDefaultMethods 0.001

TestPoolUtils

testJavaBeanInstantiation 0.002
testAdaptKeyedPoolableObjectFactory 0
testAdaptKeyedPoolableObjectFactoryKey 0.003
testAdaptPoolableObjectFactory 0.003
testAdaptKeyedObjectPool 0.001
testAdaptKeyedObjectPoolKey 0.006
testAdaptObjectPool 0.004
testCheckedPoolObjectPool 0.001
testCheckedPoolKeyedObjectPool 0.003
testCheckMinIdleObjectPool 1.453
testCheckMinIdleKeyedObjectPool 1.465
testCheckMinIdleKeyedObjectPoolKeys 1.05
testPrefillObjectPool 0
testPrefillKeyedObjectPool 0
testPrefillKeyedObjectPoolCollection 0
testSynchronizedPoolObjectPool 0.002
testSynchronizedPoolKeyedObjectPool 0.002
testSynchronizedPoolableFactoryPoolableObjectFactory 0.001
testSynchronizedPoolableFactoryKeyedPoolableObjectFactory 0.002
testErodingPoolObjectPool 10.254
testErodingPoolKeyedObjectPool 10.254
testErodingPerKeyKeyedObjectPool 10.253