Apache Commons logo Commons Pool

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
281 0 0 0 100% 299.091

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 38 0 0 0 100% 35.517
org.apache.commons.pool2.proxy 22 0 0 0 100% 10.174
org.apache.commons.pool2.impl 221 0 0 0 100% 253.4

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
TestBasePoolableObjectFactory 1 0 0 0 100% 0
TestPoolUtils 19 0 0 0 100% 35.517

org.apache.commons.pool2.proxy

Class Tests Errors Failures Skipped Success Rate Time
TestProxiedKeyedObjectPoolWithCglibProxy 5 0 0 0 100% 0.131
TestProxiedKeyedObjectPoolWithJdkProxy 5 0 0 0 100% 0.016
TestProxiedObjectPoolWithCglibProxy 6 0 0 0 100% 5.018
TestProxiedObjectPoolWithJdkProxy 6 0 0 0 100% 5.009

org.apache.commons.pool2.impl

Class Tests Errors Failures Skipped Success Rate Time
TestAbandonedObjectPool 6 0 0 0 100% 11.149
TestBaseGenericObjectPool 2 0 0 0 100% 0.001
TestDefaultPooledObject 1 0 0 0 100% 0.002
TestDefaultPooledObjectInfo 4 0 0 0 100% 0.336
TestEvictionConfig 1 0 0 0 100% 0.019
TestEvictionTimer 1 0 0 0 100% 0.004
TestGenericKeyedObjectPool 63 0 0 0 100% 163.369
TestGenericObjectPool 81 0 0 0 100% 77.411
TestGenericObjectPoolClassLoaders 1 0 0 0 100% 0.426
TestLinkedBlockingDeque 40 0 0 0 100% 0.414
TestPooledSoftReference 2 0 0 0 100% 0
TestPoolImplUtils 2 0 0 0 100% 0.015
TestSoftReferenceObjectPool 17 0 0 0 100% 0.254

Test Cases

[Summary] [Package List] [Test Cases]

TestAbandonedObjectPool

testAbandonedInvalidate 3.319
testAbandonedReturn 3.651
testStackTrace 2.003
testWhenExhaustedBlock 1.024
testRemoveAbandonedWhileReturning 1.076
testConcurrentInvalidation 0.031

TestBaseGenericObjectPool

testBorrowWaitStatistics 0
testActiveTimeStatistics 0

TestDefaultPooledObject

testgetIdleTimeMillis 0

TestDefaultPooledObjectInfo

testGetPooledObjectToString 0
testGetLastBorrowTrace 0
testGetPooledObjectType 0
testTiming 0.334

TestEvictionConfig

testConstructor 0.001

TestEvictionTimer

testStartStopEvictionTimer 0

TestGenericKeyedObjectPool

testLivenessPerKey 0.001
testNegativeMaxTotalPerKey 0
testValidationFailureOnReturnFreesCapacity 0.499
testConcurrentInvalidate 12.773
testMaxTotalWithThreads 4.213
testClear 0.003
testFIFO 0.001
testLIFO 0.002
testClientWaitStats 0.203
testMaxTotalZero 0.001
testConstructors 0.011
testThreaded1 5.517
testInvalidateWaiting 0.525
testValidationOnCreateOnly 3.027
testSettersAndGetters 0.019
testJmxRegistration 0.004
testMaxTotalInvariant 1.842
testEviction2 7.16
testMultipleReturn 0.024
testContructorEvictionConfig 0.605
testConstructorNullFactory 0
testBlockedKeyDoesNotBlockPool 1.061
testMaxTotalPerKey 0
testMinIdleMaxTotalPerKey 0.925
testMaxActivePerKeyExceeded 104.861
testMaxIdle 0.012
testEvictionOrder 2.03
testMaxTotalPerKeyZero 0.002
testMaxTotalLRU 0.127
testEvictorVisiting 0.039
testExceptionOnDestroyDuringBorrow 0
testExceptionOnActivateDuringBorrow 0
testMinIdle 0.616
testWhenExhaustedBlockClosePool 0.416
testExceptionOnDestroyDuringReturn 0
testMutable 0.005
testEviction 8.081
testMaxTotal 0.006
testBorrowObjectFairness 2.642
testNumActiveNumIdle2 0.002
testExceptionOnPassivateDuringReturn 0.001
testMinIdleNoPreparePool 0.317
testEqualsIndiscernible 0
testMaxWaitMultiThreaded 2.008
testInvalidateFreesCapacity 0.627
testMakeObjectException 0.005
testReturnToHead 1.059
testClearOldest 1.804
testKPOFInvalidateObjectUsages 0.251
testBaseBorrow 0.008
testKPOFBorrowObjectUsages 0.001
testBaseClear 0
testToString 0
testKPOFAddObjectUsage 0
testKPOFReturnObjectUsages 0
testBaseNumActiveNumIdle 0
testKPOFClearUsages 0.024
testClosedPoolBehavior 0
testBaseInvalidateObject 0
testKPOFCloseUsages 0
testBaseBorrowReturn 0
testBaseNumActiveNumIdle2 0
testBaseAddObject 0

TestGenericObjectPool

testMakeConcurrentWithReturn 0.468
testSwallowedExceptionListener 0.016
testValidationFailureOnReturnFreesCapacity 0.517
testConcurrentInvalidate 12.954
testEvictWhileEmpty 0.003
testConcurrentBorrowAndEvict 1.345
testEvictionSoftMinIdle 3.521
testTimeoutNoLeak 0.015
testFIFO 0
testLIFO 0
testEvictionInvalid 1.34
testClientWaitStats 0.201
testMaxTotalZero 0
testConstructors 0
testThreaded1 5.526
testBrokenFactoryShouldNotBlockPool 0.003
testValidationOnCreateOnly 3.002
testSettersAndGetters 0.003
testJmxRegistration 0.002
testMaxTotalInvariant 1.623
testEvictFIFO 0.128
testEvictLIFO 0.128
testMultipleReturn 0.003
testConstructorNullFactory 0.001
testGetFactoryType_SynchronizedDefaultPooledObjectFactory 0.005
testFailingFactoryDoesNotBlockThreads 1.653
testMultipleReturnOfSameObject 0.001
testNoInstanceOverlap 1.047
testMaxIdle 0
testEvictionOrder 2.135
testEvictionWithNegativeNumTests 0.435
testEvictorVisiting 0.034
testMaxTotalUnderLoad 20.153
testAddObject 0.005
testExceptionOnDestroyDuringBorrow 0.003
testDefaultConfiguration 0.001
testNegativeMaxTotal 0
testWhenExhaustedFail 0
testExceptionOnActivateDuringBorrow 0
testMinIdle 0.643
testGetFactoryType_NullPooledObjectFactory 0.001
testGetFactoryType_DefaultPooledObjectFactory 0.001
testSetConfig 0.003
testWhenExhaustedBlockClosePool 0.439
testGetFactoryType_SynchronizedNullPooledObjectFactory 0
testExceptionOnDestroyDuringReturn 0
testMutable 0
testEviction 8.092
testMaxTotal 0
testErrorFactoryDoesNotBlockThreads 1.633
testBorrowObjectFairness 2.671
testExceptionOnPassivateDuringReturn 0
testEvictAddObjects 0.9
testEqualsIndiscernible 0
testEvictionPolicy 3.003
testMaxIdleZero 0
testMaxWaitMultiThreaded 1.001
testMinIdleMaxTotal 0.961
testInvalidateFreesCapacity 0.637
testGetFactoryType_PoolUtilsSynchronizedNullPooledFactory 0
testStartAndStopEvictor 0.422
testGetFactoryType_PoolUtilsSynchronizedDefaultPooledFactory 0.001
testWhenExhaustedBlockInterupt 0.402
testWhenExhaustedBlock 0.026
testBaseBorrow 0.002
testClose 0.008
testBaseClear 0
testBaseNumActiveNumIdle 0.001
testUnsupportedOperations 0.001
testBaseInvalidateObject 0.001
testBaseBorrowReturn 0.001
testBaseClosePool 0.003
testBaseAddObject 0.001
testPOFInvalidateObjectUsages 0.251
testPOFAddObjectUsage 0.002
testPOFCloseUsages 0.001
testToString 0.002
testClosedPoolBehavior 0.002
testPOFBorrowObjectUsages 0.001
testPOFReturnObjectUsages 0.001
testPOFClearUsages 0.001

TestGenericObjectPoolClassLoaders

testContextClassLoader 0.426

TestLinkedBlockingDeque

testElement 0
testPossibleBug 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.058
testRemoveFirst 0
testConstructors 0
testPutLast 0
testOfferFirst 0
testDescendingIterator 0
testAddFirst 0
testGetLast 0
testRemoveLastOccurence 0.001
testTakeLast 0
testContains 0
testRemoveLast 0
testPollFirst 0
testPollFirstWithTimeout 0.052
testOfferWithTimeout 0.051
testPollLastWithTimeout 0.063
testPeekLast 0
testOfferFirstWithTimeout 0.058
testPollLast 0
testPollWithTimeout 0.126
testDrainTo 0
testRemove 0
testIterator 0
testTakeFirst 0

TestPooledSoftReference

testPooledSoftReference 0
testToString 0

TestPoolImplUtils

testFactoryTypeSimple 0
testFactoryTypeNotSimple 0.015

TestSoftReferenceObjectPool

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

TestProxiedKeyedObjectPoolWithCglibProxy

testBorrowObject 0.131
testPassThroughMethods01 0
testPassThroughMethods02 0
testAccessAfterReturn 0
testAccessAfterInvalidate 0

TestProxiedKeyedObjectPoolWithJdkProxy

testBorrowObject 0
testPassThroughMethods01 0
testPassThroughMethods02 0
testAccessAfterReturn 0
testAccessAfterInvalidate 0

TestProxiedObjectPoolWithCglibProxy

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

TestProxiedObjectPoolWithJdkProxy

testBorrowObject 0
testPassThroughMethods01 0
testPassThroughMethods02 0
testAccessAfterReturn 0
testAccessAfterInvalidate 0
testUsageTracking 5.009

TestBaseKeyedPoolableObjectFactory

testDefaultMethods 0

TestBaseObjectPool

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

TestBasePoolableObjectFactory

testDefaultMethods 0

TestPoolUtils

testErodingObjectPoolDefaultFactor 0
testJavaBeanInstantiation 0
testCheckMinIdleKeyedObjectPoolKeysNulls 0
testTimerHolder 0
testPrefillKeyedObjectPool 0
testSynchronizedPoolableFactoryKeyedPoolableObjectFactory 0
testPrefillKeyedObjectPoolCollection 0
testErodingPoolKeyedObjectPool 10.301
testCheckMinIdleObjectPool 2.065
testSynchronizedPoolObjectPool 0.001
testErodingPoolKeyedObjectPoolDefaultFactor 0.006
testErodingPoolObjectPool 10.28
testErodingPerKeyKeyedObjectPool 10.342
testPrefillObjectPool 0
testCheckMinIdleKeyedObjectPoolKeys 1.052
testSynchronizedPoolableFactoryPoolableObjectFactory 0
testSynchronizedPoolKeyedObjectPool 0.002
testCheckRethrow 0
testCheckMinIdleKeyedObjectPool 1.466