Save This Page
Home » commons-pool-1.4-src » org.apache.commons » pool » [javadoc | source]
org.apache.commons.pool
abstract public class: TestObjectPool [javadoc | source]
java.lang.Object
   junit.framework.TestCase
      org.apache.commons.pool.TestObjectPool

Direct Known Subclasses:
    TestStackObjectPool, TestGenericObjectPool, TestSoftReferenceObjectPool

Abstract TestCase for ObjectPool implementations.
Constructor:
 public TestObjectPool(String testName) 
Method from org.apache.commons.pool.TestObjectPool Summary:
getNthObject,   makeEmptyPool,   setUp,   tearDown,   testBaseAddObject,   testBaseBorrow,   testBaseBorrowReturn,   testBaseCantCloseTwice,   testBaseClear,   testBaseClosePool,   testBaseInvalidateObject,   testBaseNumActiveNumIdle
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.commons.pool.TestObjectPool Detail:
 abstract protected Object getNthObject(int n)
    Return what we expect to be the nth object (zero indexed) created by the _pool.
 abstract protected ObjectPool makeEmptyPool(int mincapacity)
 public  void setUp() throws Exception 
 public  void tearDown() throws Exception 
 public  void testBaseAddObject() throws Exception 
 public  void testBaseBorrow() throws Exception 
 public  void testBaseBorrowReturn() throws Exception 
 public  void testBaseCantCloseTwice() throws Exception 
 public  void testBaseClear() throws Exception 
 public  void testBaseClosePool() throws Exception 
 public  void testBaseInvalidateObject() throws Exception 
 public  void testBaseNumActiveNumIdle() throws Exception