org.mule.util.queue
Class AbstractTransactionQueueManagerTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.mule.tck.AbstractMuleTestCase
              extended by org.mule.util.queue.AbstractTransactionQueueManagerTestCase
All Implemented Interfaces:
Test, org.mule.tck.TestCaseWatchdogTimeoutHandler
Direct Known Subclasses:
FilePersistenceTestCase, NoPersistenceTestCase

public abstract class AbstractTransactionQueueManagerTestCase
extends org.mule.tck.AbstractMuleTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class org.mule.tck.AbstractMuleTestCase
org.mule.tck.AbstractMuleTestCase.TestInfo
 
Field Summary
protected  Log logger
          logger used by this class
 
Fields inherited from class org.mule.tck.AbstractMuleTestCase
IGNORED_DOT_MULE_DIRS
 
Constructor Summary
AbstractTransactionQueueManagerTestCase()
           
 
Method Summary
protected abstract  org.mule.util.queue.TransactionalQueueManager createQueueManager()
           
protected abstract  boolean isPersistent()
           
 void testBench()
           
 void testOffer()
           
 void testPeek()
           
 void testPoll()
           
 void testPutTake()
           
 void testPutWithPersistence()
           
 void testTakePut()
           
 void testTakePutOverCapacity()
           
 void testTakePutRollbackPut()
           
 void testTransactedPutCommitWithPersistence()
           
 void testTransactedPutRollbackWithPersistence()
           
 void testTransactionsOnMultipleQueues()
           
 
Methods inherited from class org.mule.tck.AbstractMuleTestCase
createTestInfo, createWatchdog, disposeManager, doSetUp, doTearDown, getDefaultModel, getManager, getName, getTestComponent, getTestConnector, getTestDescriptor, getTestEndpoint, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestInfo, getTestManager, getTestSession, getTestTransformer, handleTimeout, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isDisposeManagerPerSuite, isExcluded, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

protected transient Log logger
logger used by this class

Constructor Detail

AbstractTransactionQueueManagerTestCase

public AbstractTransactionQueueManagerTestCase()
Method Detail

createQueueManager

protected abstract org.mule.util.queue.TransactionalQueueManager createQueueManager()
                                                                             throws Exception
Throws:
Exception

isPersistent

protected abstract boolean isPersistent()

testPutTake

public void testPutTake()
                 throws Exception
Throws:
Exception

testTakePut

public void testTakePut()
                 throws Exception
Throws:
Exception

testTakePutRollbackPut

public void testTakePutRollbackPut()
                            throws Exception
Throws:
Exception

testTakePutOverCapacity

public void testTakePutOverCapacity()
                             throws Exception
Throws:
Exception

testPutWithPersistence

public void testPutWithPersistence()
                            throws Exception
Throws:
Exception

testTransactedPutCommitWithPersistence

public void testTransactedPutCommitWithPersistence()
                                            throws Exception
Throws:
Exception

testTransactedPutRollbackWithPersistence

public void testTransactedPutRollbackWithPersistence()
                                              throws Exception
Throws:
Exception

testTransactionsOnMultipleQueues

public void testTransactionsOnMultipleQueues()
                                      throws Exception
Throws:
Exception

testPoll

public void testPoll()
              throws Exception
Throws:
Exception

testPeek

public void testPeek()
              throws Exception
Throws:
Exception

testOffer

public void testOffer()
               throws Exception
Throws:
Exception

testBench

public void testBench()
               throws Exception
Throws:
Exception


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