org.apache.commons.pool.impl
Class TestStackKeyedObjectPoolFactory

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

public class TestStackKeyedObjectPoolFactory
extends TestKeyedObjectPoolFactory

Tests for StackKeyedObjectPoolFactory.

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

Constructor Summary
TestStackKeyedObjectPoolFactory(String name)
           
 
Method Summary
protected  KeyedObjectPoolFactory makeFactory(KeyedPoolableObjectFactory objectFactory)
           
 void testConstructors()
           
 
Methods inherited from class org.apache.commons.pool.TestKeyedObjectPoolFactory
createObjectFactory, makeFactory, testCreatePool, testToString
 
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

TestStackKeyedObjectPoolFactory

public TestStackKeyedObjectPoolFactory(String name)
Method Detail

makeFactory

protected KeyedObjectPoolFactory makeFactory(KeyedPoolableObjectFactory objectFactory)
                                      throws UnsupportedOperationException
Specified by:
makeFactory in class TestKeyedObjectPoolFactory
Throws:
UnsupportedOperationException - when this is unsupported by this KeyedPoolableObjectFactory type.

testConstructors

public void testConstructors()
                      throws Exception
Throws:
Exception


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