org.mule.util.concurrent
Class WaitPolicyTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.mule.tck.AbstractMuleTestCase
              extended byorg.mule.util.concurrent.WaitPolicyTestCase
All Implemented Interfaces:
Test

public class WaitPolicyTestCase
extends org.mule.tck.AbstractMuleTestCase


Nested Class Summary
 
Nested classes inherited from class org.mule.tck.AbstractMuleTestCase
org.mule.tck.AbstractMuleTestCase.TestInfo
 
Field Summary
 
Fields inherited from class org.mule.tck.AbstractMuleTestCase
logger
 
Constructor Summary
WaitPolicyTestCase()
           
 
Method Summary
protected  void doSetUp()
           
protected  void doTearDown()
           
protected  LinkedList execute(List tasks)
           
 void testWaitPolicyForever()
           
 void testWaitPolicyWithShutdownExecutor()
           
 void testWaitPolicyWithTimeout()
           
 void testWaitPolicyWithTimeoutFailure()
           
 
Methods inherited from class org.mule.tck.AbstractMuleTestCase
addTest, disposeManager, finalize, getDefaultModel, getManager, getName, getTestComponent, getTestConnector, getTestDescriptor, getTestEndpoint, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestInfo, getTestManager, getTestSession, getTestTransformer, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isOffline, run, runBare, setDisposeManagerPerSuite, setUp, suitePostSetUp, suitePostTearDown, suitePreSetUp, suitePreTearDown, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, run, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
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, fail, fail, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WaitPolicyTestCase

public WaitPolicyTestCase()
Method Detail

doSetUp

protected void doSetUp()
                throws Exception
Throws:
Exception

doTearDown

protected void doTearDown()
                   throws Exception
Throws:
Exception

execute

protected LinkedList execute(List tasks)
                      throws InterruptedException
Throws:
InterruptedException

testWaitPolicyWithShutdownExecutor

public void testWaitPolicyWithShutdownExecutor()
                                        throws Exception
Throws:
Exception

testWaitPolicyForever

public void testWaitPolicyForever()
                           throws Exception
Throws:
Exception

testWaitPolicyWithTimeout

public void testWaitPolicyWithTimeout()
                               throws Exception
Throws:
Exception

testWaitPolicyWithTimeoutFailure

public void testWaitPolicyWithTimeoutFailure()
                                      throws Exception
Throws:
Exception


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.