Apache Commons logo Commons Pool

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
269 0 0 0 100% 296.223

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 37 0 0 0 100% 35.395
org.apache.commons.pool2.proxy 22 0 0 0 100% 10.085
org.apache.commons.pool2.impl 210 0 0 0 100% 250.743

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

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.001
TestBasePoolableObjectFactory 1 0 0 0 100% 0
TestPoolUtils 18 0 0 0 100% 35.394

org.apache.commons.pool2.proxy

Class Tests Errors Failures Skipped Success Rate Time
TestProxiedKeyedObjectPoolWithCglibProxy 5 0 0 0 100% 0.058
TestProxiedKeyedObjectPoolWithJdkProxy 5 0 0 0 100% 0.004
TestProxiedObjectPoolWithCglibProxy 6 0 0 0 100% 5.012
TestProxiedObjectPoolWithJdkProxy 6 0 0 0 100% 5.011

org.apache.commons.pool2.impl

Class Tests Errors Failures Skipped Success Rate Time
TestAbandonedObjectPool 5 0 0 0 100% 9.008
TestBaseGenericObjectPool 2 0 0 0 100% 0.002
TestDefaultPooledObject 1 0 0 0 100% 3.492
TestDefaultPooledObjectInfo 4 0 0 0 100% 0.341
TestEvictionConfig 1 0 0 0 100% 0
TestGenericKeyedObjectPool 62 0 0 0 100% 162.268
TestGenericObjectPool 73 0 0 0 100% 74.581
TestGenericObjectPoolClassLoaders 1 0 0 0 100% 0.415
TestLinkedBlockingDeque 40 0 0 0 100% 0.376
TestPooledSoftReference 2 0 0 0 100% 0.001
TestPoolImplUtils 2 0 0 0 100% 0.002
TestSoftReferenceObjectPool 17 0 0 0 100% 0.257

Test Cases

[Summary] [Package List] [Test Cases]

TestAbandonedObjectPool

testAbandonedInvalidate 3.291
testAbandonedReturn 3.638
testWhenExhaustedBlock 1.013
testRemoveAbandonedWhileReturning 1.059
testConcurrentInvalidation 0.007

TestBaseGenericObjectPool

testBorrowWaitStatistics 0.001
testActiveTimeStatistics 0.001

TestDefaultPooledObject

testgetIdleTimeMillis 3.492

TestDefaultPooledObjectInfo

testGetPooledObjectToString 0.002
testGetLastBorrowTrace 0.017
testGetPooledObjectType 0
testTiming 0.322

TestEvictionConfig

testConstructor 0

TestGenericKeyedObjectPool

testLivenessPerKey 0.009
testNegativeMaxTotalPerKey 0.001
testValidationFailureOnReturnFreesCapacity 0.504
testConcurrentInvalidate 12.583
testClear 0.002
testFIFO 0.001
testLIFO 0.001
testClientWaitStats 0.205
testMaxTotalZero 0.001
testConstructors 0.004
testThreaded1 6.054
testInvalidateWaiting 0.506
testValidationOnCreateOnly 3.006
testSettersAndGetters 0.002
testJmxRegistration 0.001
testMaxTotalInvariant 1.617
testEviction2 7.155
testMultipleReturn 0.002
testContructorEvictionConfig 0.608
testConstructorNullFactory 0.001
testBlockedKeyDoesNotBlockPool 1.007
testMaxTotalPerKey 0.001
testMinIdleMaxTotalPerKey 0.926
testMaxActivePerKeyExceeded 108.426
testMaxIdle 0.004
testEvictionOrder 2.041
testMaxTotalPerKeyZero 0.001
testMaxTotalLRU 0.138
testEvictorVisiting 0.041
testExceptionOnDestroyDuringBorrow 0.001
testExceptionOnActivateDuringBorrow 0
testMinIdle 0.614
testWhenExhaustedBlockClosePool 0.406
testExceptionOnDestroyDuringReturn 0.001
testMutable 0.001
testEviction 8.046
testMaxTotal 0.001
testBorrowObjectFairness 2.497
testNumActiveNumIdle2 0.002
testExceptionOnPassivateDuringReturn 0.001
testMinIdleNoPreparePool 0.305
testEqualsIndiscernible 0.001
testMaxWaitMultiThreaded 2.008
testInvalidateFreesCapacity 0.627
testMakeObjectException 0.001
testReturnToHead 1.111
testClearOldest 1.519
testKPOFInvalidateObjectUsages 0.257
testBaseBorrow 0.004
testKPOFBorrowObjectUsages 0.003
testBaseClear 0.002
testToString 0.001
testKPOFAddObjectUsage 0.001
testKPOFReturnObjectUsages 0.001
testBaseNumActiveNumIdle 0.001
testKPOFClearUsages 0.001
testClosedPoolBehavior 0.001
testBaseInvalidateObject 0.001
testKPOFCloseUsages 0.002
testBaseBorrowReturn 0.001
testBaseNumActiveNumIdle2 0.001
testBaseAddObject 0.001

TestGenericObjectPool

testMakeConcurrentWithReturn 0.46
testSwallowedExceptionListener 0.002
testValidationFailureOnReturnFreesCapacity 0.503
testConcurrentInvalidate 12.56
testEvictWhileEmpty 0.001
testConcurrentBorrowAndEvict 0.514
testEvictionSoftMinIdle 3.505
testTimeoutNoLeak 0.012
testFIFO 0.002
testLIFO 0.001
testEvictionInvalid 1.311
testClientWaitStats 0.206
testMaxTotalZero 0.002
testConstructors 0.003
testThreaded1 6.047
testBrokenFactoryShouldNotBlockPool 0.002
testValidationOnCreateOnly 3.002
testSettersAndGetters 0.002
testJmxRegistration 0.001
testMaxTotalInvariant 1.617
testEvictFIFO 0.127
testEvictLIFO 0.129
testMultipleReturn 0.001
testConstructorNullFactory 0.001
testMultipleReturnOfSameObject 0.001
testNoInstanceOverlap 1.02
testMaxIdle 0.003
testEvictionOrder 2.079
testEvictionWithNegativeNumTests 0.415
testEvictorVisiting 0.025
testMaxTotalUnderLoad 21.91
testAddObject 0.001
testExceptionOnDestroyDuringBorrow 0.001
testDefaultConfiguration 0.001
testNegativeMaxTotal 0.001
testWhenExhaustedFail 0.001
testExceptionOnActivateDuringBorrow 0.001
testMinIdle 0.614
testSetConfig 0.002
testWhenExhaustedBlockClosePool 0.407
testExceptionOnDestroyDuringReturn 0.002
testMutable 0.001
testEviction 8.046
testMaxTotal 0.001
testBorrowObjectFairness 2.499
testExceptionOnPassivateDuringReturn 0.002
testEvictAddObjects 0.865
testEqualsIndiscernible 0.001
testEvictionPolicy 3.009
testMaxIdleZero 0.001
testMaxWaitMultiThreaded 1.007
testMinIdleMaxTotal 0.921
testInvalidateFreesCapacity 0.628
testStartAndStopEvictor 0.406
testWhenExhaustedBlockInterupt 0.41
testWhenExhaustedBlock 0.014
testBaseBorrow 0.001
testClose 0.003
testBaseClear 0.001
testBaseNumActiveNumIdle 0.002
testUnsupportedOperations 0
testBaseInvalidateObject 0.001
testBaseBorrowReturn 0.001
testBaseClosePool 0.001
testBaseAddObject 0.001
testPOFInvalidateObjectUsages 0.255
testPOFAddObjectUsage 0.002
testPOFCloseUsages 0.002
testToString 0.001
testClosedPoolBehavior 0.001
testPOFBorrowObjectUsages 0.001
testPOFReturnObjectUsages 0.001
testPOFClearUsages 0.001

TestGenericObjectPoolClassLoaders

testContextClassLoader 0.415

TestLinkedBlockingDeque

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

TestPooledSoftReference

testPooledSoftReference 0.001
testToString 0

TestPoolImplUtils

testFactoryTypeSimple 0.001
testFactoryTypeNotSimple 0.001

TestSoftReferenceObjectPool

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

TestProxiedKeyedObjectPoolWithCglibProxy

testBorrowObject 0.056
testPassThroughMethods01 0.001
testPassThroughMethods02 0
testAccessAfterReturn 0.001
testAccessAfterInvalidate 0

TestProxiedKeyedObjectPoolWithJdkProxy

testBorrowObject 0.002
testPassThroughMethods01 0
testPassThroughMethods02 0.001
testAccessAfterReturn 0
testAccessAfterInvalidate 0.001

TestProxiedObjectPoolWithCglibProxy

testBorrowObject 0.005
testPassThroughMethods01 0
testPassThroughMethods02 0
testAccessAfterReturn 0.001
testAccessAfterInvalidate 0
testUsageTracking 5.006

TestProxiedObjectPoolWithJdkProxy

testBorrowObject 0.001
testPassThroughMethods01 0.001
testPassThroughMethods02 0.001
testAccessAfterReturn 0.001
testAccessAfterInvalidate 0.001
testUsageTracking 5.006

TestBaseKeyedPoolableObjectFactory

testDefaultMethods 0

TestBaseObjectPool

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

TestBasePoolableObjectFactory

testDefaultMethods 0

TestPoolUtils

testErodingObjectPoolDefaultFactor 0.004
testJavaBeanInstantiation 0
testTimerHolder 0.001
testPrefillKeyedObjectPool 0.002
testSynchronizedPoolableFactoryKeyedPoolableObjectFactory 0.002
testPrefillKeyedObjectPoolCollection 0
testErodingPoolKeyedObjectPool 10.273
testCheckMinIdleObjectPool 2.058
testSynchronizedPoolObjectPool 0.001
testErodingPoolKeyedObjectPoolDefaultFactor 0
testErodingPoolObjectPool 10.267
testErodingPerKeyKeyedObjectPool 10.268
testPrefillObjectPool 0
testCheckMinIdleKeyedObjectPoolKeys 1.056
testSynchronizedPoolableFactoryPoolableObjectFactory 0.001
testSynchronizedPoolKeyedObjectPool 0.001
testCheckRethrow 0.001
testCheckMinIdleKeyedObjectPool 1.459