org.mule.tck.model
Class AbstractPoolTestCase

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

public abstract class AbstractPoolTestCase
extends AbstractMuleTestCase

AbstractPoolTestCase TODO (document class)

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

Nested Class Summary
 
Nested classes inherited from class org.mule.tck.AbstractMuleTestCase
AbstractMuleTestCase.TestInfo
 
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
           
 
Fields inherited from class org.mule.tck.AbstractMuleTestCase
logger, prereqs
 
Constructor Summary
AbstractPoolTestCase()
           
 
Method Summary
abstract  ObjectPool createPool(MuleDescriptor descriptor, byte action)
           
protected  void doSetUp()
           
abstract  UMOPoolFactory getPoolFactory()
           
 void testBlockExpiryOnExhaust()
           
 void testBlockOnExhaust()
           
 void testClearPool()
           
 void testCreateFromFactory()
           
 void testCreatePool()
           
 void testFailOnExhaust()
           
 void testGrowOnExhaust()
           
 void testPoolLifecycle()
           
 
Methods inherited from class org.mule.tck.AbstractMuleTestCase
addTest, checkPreReqs, disposeManager, doTearDown, finalize, getManager, getName, getTestComponent, getTestConnector, getTestDescriptor, getTestEndpoint, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestInfo, getTestManager, getTestSession, getTestTransformer, isOffline, isPrereqsMet, setDisposeManagerPerSuite, setUp, suitePostSetUp, suitePostTearDown, suitePreSetUp, suitePreTearDown, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, 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

doSetUp

protected void doSetUp()
                throws Exception
Overrides:
doSetUp in class AbstractMuleTestCase
Throws:
Exception

testCreatePool

public void testCreatePool()
                    throws Exception
Throws:
Exception

testFailOnExhaust

public void testFailOnExhaust()
                       throws Exception
Throws:
Exception

testBlockExpiryOnExhaust

public void testBlockExpiryOnExhaust()
                              throws Exception
Throws:
Exception

testBlockOnExhaust

public void testBlockOnExhaust()
                        throws Exception
Throws:
Exception

testGrowOnExhaust

public void testGrowOnExhaust()
                       throws Exception
Throws:
Exception

testClearPool

public void testClearPool()
                   throws Exception
Throws:
Exception

testCreateFromFactory

public void testCreateFromFactory()
                           throws Exception
Throws:
Exception

testPoolLifecycle

public void testPoolLifecycle()
                       throws Exception
Throws:
Exception

createPool

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

getPoolFactory

public abstract UMOPoolFactory getPoolFactory()


Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.