Apache Commons logo Commons Pool

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
251 0 0 0 100% 282.739

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.pool2.impl 192 0 0 0 100% 236.921
org.apache.commons.pool2.proxy 22 0 0 0 100% 10.187
org.apache.commons.pool2 37 0 0 0 100% 35.631

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

org.apache.commons.pool2.impl

Class Tests Errors Failures Skipped Success Rate Time
TestAbandonedObjectPool 5 0 0 0 100% 9.11
TestDefaultPooledObjectInfo 4 0 0 0 100% 0.39
TestEvictionConfig 1 0 0 0 100% 0
TestGenericKeyedObjectPool 54 0 0 0 100% 149.469
TestGenericObjectPool 67 0 0 0 100% 77.033
TestGenericObjectPoolClassLoaders 1 0 0 0 100% 0.202
TestLinkedBlockingDeque 39 0 0 0 100% 0.436
TestPooledSoftReference 2 0 0 0 100% 0
TestPoolImplUtils 2 0 0 0 100% 0.016
TestSoftReferenceObjectPool 17 0 0 0 100% 0.265

org.apache.commons.pool2.proxy

Class Tests Errors Failures Skipped Success Rate Time
TestProxiedKeyedObjectPoolWithCglibProxy 5 0 0 0 100% 0.125
TestProxiedKeyedObjectPoolWithJdkProxy 5 0 0 0 100% 0.016
TestProxiedObjectPoolWithCglibProxy 6 0 0 0 100% 5.023
TestProxiedObjectPoolWithJdkProxy 6 0 0 0 100% 5.023

org.apache.commons.pool2

Class Tests Errors Failures Skipped Success Rate Time
TestBaseKeyedPoolableObjectFactory 1 0 0 0 100% 0
TestBaseObjectPool 17 0 0 0 100% 0.016
TestBasePoolableObjectFactory 1 0 0 0 100% 0
TestPoolUtils 18 0 0 0 100% 35.615

Test Cases

[Summary] [Package List] [Test Cases]

TestAbandonedObjectPool

testAbandonedInvalidate 3.323
testAbandonedReturn 3.65
testWhenExhaustedBlock 1.03
testRemoveAbandonedWhileReturning 1.076
testConcurrentInvalidation 0.031

TestDefaultPooledObjectInfo

testGetPooledObjectToString 0
testGetLastBorrowTrace 0.016
testGetPooledObjectType 0
testTiming 0.374

TestEvictionConfig

testConstructor 0

TestGenericKeyedObjectPool

testLivenessPerKey 0.015
testNegativeMaxTotalPerKey 0
testValidationFailureOnReturnFreesCapacity 0.515
testConcurrentInvalidate 13.307
testClear 0
testFIFO 0
testLIFO 0
testMaxTotalZero 0
testConstructors 0.016
testThreaded1 5.51
testInvalidateWaiting 0.515
testSettersAndGetters 0
testJmxRegistration 0
testMaxTotalInvariant 1.725
testEviction2 7.27
testConstructorNullFactory 0
testBlockedKeyDoesNotBlockPool 1.014
testMaxTotalPerKey 0
testMinIdleMaxTotalPerKey 0.936
testMaxActivePerKeyExceeded 101.775
testMaxIdle 0.016
testEvictionOrder 2.028
testMaxTotalPerKeyZero 0
testMaxTotalLRU 0.131
testEvictorVisiting 0.266
testExceptionOnDestroyDuringBorrow 0
testExceptionOnActivateDuringBorrow 0
testMinIdle 0.624
testWhenExhaustedBlockClosePool 0.406
testExceptionOnDestroyDuringReturn 0
testEviction 8.159
testMaxTotal 0
testNumActiveNumIdle2 0
testExceptionOnPassivateDuringReturn 0
testMinIdleNoPreparePool 0.312
testMaxWaitMultiThreaded 2.012
testInvalidateFreesCapacity 0.64
testMakeObjectException 0
testClearOldest 1.981
testKPOFInvalidateObjectUsages 0.265
testBaseBorrow 0
testKPOFBorrowObjectUsages 0
testBaseClear 0
testToString 0
testKPOFAddObjectUsage 0.016
testKPOFReturnObjectUsages 0
testBaseNumActiveNumIdle 0
testKPOFClearUsages 0
testClosedPoolBehavior 0
testBaseInvalidateObject 0
testKPOFCloseUsages 0
testBaseBorrowReturn 0.015
testBaseNumActiveNumIdle2 0
testBaseAddObject 0

TestGenericObjectPool

testMakeConcurrentWithReturn 0.468
testSwallowedExceptionListener 0
testValidationFailureOnReturnFreesCapacity 0.515
testConcurrentInvalidate 13.182
testEvictWhileEmpty 0
testConcurrentBorrowAndEvict 1.981
testEvictionSoftMinIdle 3.526
testTimeoutNoLeak 0.015
testFIFO 0
testLIFO 0
testEvictionInvalid 1.342
testMaxTotalZero 0
testConstructors 0
testThreaded1 5.511
testBrokenFactoryShouldNotBlockPool 0
testSettersAndGetters 0
testJmxRegistration 0
testMaxTotalInvariant 1.632
testEvictFIFO 0.125
testEvictLIFO 0.127
testConstructorNullFactory 0.001
testMultipleReturnOfSameObject 0.016
testMaxIdle 0
testEvictionOrder 2.184
testEvictionWithNegativeNumTests 0.437
testEvictorVisiting 0.187
testMaxTotalUnderLoad 19.857
testAddObject 0
testExceptionOnDestroyDuringBorrow 0
testDefaultConfiguration 0
testNegativeMaxTotal 0
testWhenExhaustedFail 0.016
testExceptionOnActivateDuringBorrow 0
testMinIdle 0.624
testSetConfig 0
testWhenExhaustedBlockClosePool 0.405
testExceptionOnDestroyDuringReturn 0
testEviction 8.128
testMaxTotal 0
testBorrowObjectFairness 9.079
testExceptionOnPassivateDuringReturn 0
testEvictAddObjects 0.889
testEvictionPolicy 3.042
testMaxIdleZero 0
testMaxWaitMultiThreaded 1.014
testMinIdleMaxTotal 0.936
testInvalidateFreesCapacity 0.655
testStartAndStopEvictor 0.406
testWhenExhaustedBlockInterupt 0.405
testWhenExhaustedBlock 0.016
testBaseBorrow 0
testClose 0.031
testBaseClear 0
testBaseNumActiveNumIdle 0
testUnsupportedOperations 0
testBaseInvalidateObject 0
testBaseBorrowReturn 0
testBaseClosePool 0
testBaseAddObject 0
testPOFInvalidateObjectUsages 0.265
testPOFAddObjectUsage 0
testPOFCloseUsages 0
testToString 0
testClosedPoolBehavior 0.016
testPOFBorrowObjectUsages 0
testPOFReturnObjectUsages 0
testPOFClearUsages 0

TestGenericObjectPoolClassLoaders

testContextClassLoader 0.202

TestLinkedBlockingDeque

testElement 0
testPutFirst 0
testPeekFirst 0
testOfferLast 0
testGetFirst 0
testToArray 0
testAddLast 0
testAdd 0
testPop 0
testPut 0
testClear 0
testOffer 0
testPeek 0
testPush 0
testTake 0
testOfferLastWithTimeout 0.062
testRemoveFirst 0
testConstructors 0
testPutLast 0
testOfferFirst 0
testDescendingIterator 0
testAddFirst 0
testGetLast 0
testRemoveLastOccurence 0
testTakeLast 0
testContains 0
testRemoveLast 0
testPollFirst 0
testPollFirstWithTimeout 0.062
testOfferWithTimeout 0.063
testPollLastWithTimeout 0.062
testPeekLast 0
testOfferFirstWithTimeout 0.063
testPollLast 0
testPollWithTimeout 0.124
testDrainTo 0
testRemove 0
testIterator 0
testTakeFirst 0

TestPooledSoftReference

testPooledSoftReference 0
testToString 0

TestPoolImplUtils

testFactoryTypeSimple 0
testFactoryTypeNotSimple 0.016

TestSoftReferenceObjectPool

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

TestProxiedKeyedObjectPoolWithCglibProxy

testBorrowObject 0.109
testPassThroughMethods01 0
testPassThroughMethods02 0.016
testAccessAfterReturn 0
testAccessAfterInvalidate 0

TestProxiedKeyedObjectPoolWithJdkProxy

testBorrowObject 0
testPassThroughMethods01 0
testPassThroughMethods02 0
testAccessAfterReturn 0
testAccessAfterInvalidate 0.016

TestProxiedObjectPoolWithCglibProxy

testBorrowObject 0
testPassThroughMethods01 0
testPassThroughMethods02 0
testAccessAfterReturn 0.015
testAccessAfterInvalidate 0
testUsageTracking 5.008

TestProxiedObjectPoolWithJdkProxy

testBorrowObject 0
testPassThroughMethods01 0
testPassThroughMethods02 0.015
testAccessAfterReturn 0
testAccessAfterInvalidate 0
testUsageTracking 5.008

TestBaseKeyedPoolableObjectFactory

testDefaultMethods 0

TestBaseObjectPool

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

TestBasePoolableObjectFactory

testDefaultMethods 0

TestPoolUtils

testErodingObjectPoolDefaultFactor 0
testJavaBeanInstantiation 0
testTimerHolder 0
testPrefillKeyedObjectPool 0
testSynchronizedPoolableFactoryKeyedPoolableObjectFactory 0
testPrefillKeyedObjectPoolCollection 0
testErodingPoolKeyedObjectPool 10.327
testCheckMinIdleObjectPool 2.075
testSynchronizedPoolObjectPool 0
testErodingPoolKeyedObjectPoolDefaultFactor 0
testErodingPoolObjectPool 10.327
testErodingPerKeyKeyedObjectPool 10.328
testPrefillObjectPool 0
testCheckMinIdleKeyedObjectPoolKeys 1.06
testSynchronizedPoolableFactoryPoolableObjectFactory 0
testSynchronizedPoolKeyedObjectPool 0
testCheckRethrow 0
testCheckMinIdleKeyedObjectPool 1.498