org.apache.commons.pool
Class TestPoolUtils

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.pool.TestPoolUtils
All Implemented Interfaces:
junit.framework.Test

public class TestPoolUtils
extends junit.framework.TestCase

Unit tests for PoolUtils.

Version:
$Revision: 901944 $ $Date: 2010-01-21 17:27:04 -0700 (Thu, 21 Jan 2010) $
Author:
Sandy McArthur

Constructor Summary
TestPoolUtils()
           
 
Method Summary
 void testAdaptKeyedObjectPool()
           
 void testAdaptKeyedObjectPoolKey()
           
 void testAdaptKeyedPoolableObjectFactory()
           
 void testAdaptKeyedPoolableObjectFactoryKey()
           
 void testAdaptObjectPool()
           
 void testAdaptPoolableObjectFactory()
           
 void testCheckedPoolKeyedObjectPool()
           
 void testCheckedPoolObjectPool()
           
 void testCheckMinIdleKeyedObjectPool()
           
 void testCheckMinIdleKeyedObjectPoolKeys()
           
 void testCheckMinIdleObjectPool()
           
 void testErodingPerKeyKeyedObjectPool()
           
 void testErodingPoolKeyedObjectPool()
           
 void testErodingPoolObjectPool()
           
 void testJavaBeanInstantiation()
           
 void testPrefillKeyedObjectPool()
           
 void testPrefillKeyedObjectPoolCollection()
           
 void testPrefillObjectPool()
           
 void testSynchronizedPoolableFactoryKeyedPoolableObjectFactory()
           
 void testSynchronizedPoolableFactoryPoolableObjectFactory()
           
 void testSynchronizedPoolKeyedObjectPool()
           
 void testSynchronizedPoolObjectPool()
           
 
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestPoolUtils

public TestPoolUtils()
Method Detail

testJavaBeanInstantiation

public void testJavaBeanInstantiation()

testAdaptKeyedPoolableObjectFactory

public void testAdaptKeyedPoolableObjectFactory()
                                         throws Exception
Throws:
Exception

testAdaptKeyedPoolableObjectFactoryKey

public void testAdaptKeyedPoolableObjectFactoryKey()
                                            throws Exception
Throws:
Exception

testAdaptPoolableObjectFactory

public void testAdaptPoolableObjectFactory()
                                    throws Exception
Throws:
Exception

testAdaptKeyedObjectPool

public void testAdaptKeyedObjectPool()
                              throws Exception
Throws:
Exception

testAdaptKeyedObjectPoolKey

public void testAdaptKeyedObjectPoolKey()
                                 throws Exception
Throws:
Exception

testAdaptObjectPool

public void testAdaptObjectPool()
                         throws Exception
Throws:
Exception

testCheckedPoolObjectPool

public void testCheckedPoolObjectPool()
                               throws Exception
Throws:
Exception

testCheckedPoolKeyedObjectPool

public void testCheckedPoolKeyedObjectPool()
                                    throws Exception
Throws:
Exception

testCheckMinIdleObjectPool

public void testCheckMinIdleObjectPool()
                                throws Exception
Throws:
Exception

testCheckMinIdleKeyedObjectPool

public void testCheckMinIdleKeyedObjectPool()
                                     throws Exception
Throws:
Exception

testCheckMinIdleKeyedObjectPoolKeys

public void testCheckMinIdleKeyedObjectPoolKeys()
                                         throws Exception
Throws:
Exception

testPrefillObjectPool

public void testPrefillObjectPool()
                           throws Exception
Throws:
Exception

testPrefillKeyedObjectPool

public void testPrefillKeyedObjectPool()
                                throws Exception
Throws:
Exception

testPrefillKeyedObjectPoolCollection

public void testPrefillKeyedObjectPoolCollection()
                                          throws Exception
Throws:
Exception

testSynchronizedPoolObjectPool

public void testSynchronizedPoolObjectPool()
                                    throws Exception
Throws:
Exception

testSynchronizedPoolKeyedObjectPool

public void testSynchronizedPoolKeyedObjectPool()
                                         throws Exception
Throws:
Exception

testSynchronizedPoolableFactoryPoolableObjectFactory

public void testSynchronizedPoolableFactoryPoolableObjectFactory()
                                                          throws Exception
Throws:
Exception

testSynchronizedPoolableFactoryKeyedPoolableObjectFactory

public void testSynchronizedPoolableFactoryKeyedPoolableObjectFactory()
                                                               throws Exception
Throws:
Exception

testErodingPoolObjectPool

public void testErodingPoolObjectPool()
                               throws Exception
Throws:
Exception

testErodingPoolKeyedObjectPool

public void testErodingPoolKeyedObjectPool()
                                    throws Exception
Throws:
Exception

testErodingPerKeyKeyedObjectPool

public void testErodingPerKeyKeyedObjectPool()
                                      throws Exception
Throws:
Exception


Copyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.