org.mule.tck.model
Class AbstractPoolTestCase

java.lang.Object
  extended byTestCase
      extended byorg.mule.tck.NamedTestCase
          extended byorg.mule.tck.AbstractMuleTestCase
              extended byorg.mule.tck.model.AbstractPoolTestCase

public abstract class AbstractPoolTestCase
extends AbstractMuleTestCase

AbstractPoolTestCase TODO (document class)

Version:
$Revision: 1.1.1.1 $
Author:
Ross Mason
See Also:
Serialized Form

Field Summary
static byte BLOCK_WHEN_EXHAUSTED
           
static byte DEFAULT_POOL_SIZE
           
static long DEFAULT_WAIT
           
static byte FAIL_WHEN_EXHAUSTED
           
static byte GROW_WHEN_EXHAUSTED
           
 
Constructor Summary
AbstractPoolTestCase()
           
 
Method Summary
abstract  ObjectPool createPool(MuleDescriptor descriptor, byte action)
           
abstract  UMOPoolFactory getPoolFactory()
           
protected  void setUp()
          Print the name of this test to standard output
 void testBlockExpiryOnExhaust()
           
 void testBlockOnExhaust()
           
 void testClearPool()
           
 void testCreateFromFactory()
           
 void testCreatePool()
           
 void testFailOnExhaust()
           
 void testGrowOnExhaust()
           
 void testPoolLifecycle()
           
 
Methods inherited from class org.mule.tck.AbstractMuleTestCase
getManager, getMockConnector, getMockDescriptor, getMockEndpoint, getMockEvent, getMockManager, getMockMessageDispatcher, getMockSession, getMockTransaction, getMockTransactionFactory, getTestComponent, getTestConnector, getTestDescriptor, getTestEndpoint, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestManager, getTestSession, getTestTransformer
 
Methods inherited from class org.mule.tck.NamedTestCase
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FAIL_WHEN_EXHAUSTED

public static final byte FAIL_WHEN_EXHAUSTED
See Also:
Constant Field Values

GROW_WHEN_EXHAUSTED

public static final byte GROW_WHEN_EXHAUSTED
See Also:
Constant Field Values

BLOCK_WHEN_EXHAUSTED

public static final byte BLOCK_WHEN_EXHAUSTED
See Also:
Constant Field Values

DEFAULT_POOL_SIZE

public static final byte DEFAULT_POOL_SIZE
See Also:
Constant Field Values

DEFAULT_WAIT

public static final long DEFAULT_WAIT
See Also:
Constant Field Values
Constructor Detail

AbstractPoolTestCase

public AbstractPoolTestCase()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Description copied from class: NamedTestCase
Print the name of this test to standard output

Overrides:
setUp in class NamedTestCase
Throws:
java.lang.Exception

testCreatePool

public void testCreatePool()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testFailOnExhaust

public void testFailOnExhaust()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testBlockExpiryOnExhaust

public void testBlockExpiryOnExhaust()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testBlockOnExhaust

public void testBlockOnExhaust()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testGrowOnExhaust

public void testGrowOnExhaust()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testClearPool

public void testClearPool()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testCreateFromFactory

public void testCreateFromFactory()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testPoolLifecycle

public void testPoolLifecycle()
                       throws java.lang.Exception
Throws:
java.lang.Exception

createPool

public abstract ObjectPool createPool(MuleDescriptor descriptor,
                                      byte action)
                               throws InitialisationException
Throws:
InitialisationException

getPoolFactory

public abstract UMOPoolFactory getPoolFactory()


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.