org.jboss.test.messagedriven.support
Class SimpleMessageDrivenUnitTest

java.lang.Object
  extended byTestCase
      extended byorg.jboss.test.JBossTestCase (src) 
          extended byorg.jboss.test.messagedriven.support.BasicMessageDrivenUnitTest (src) 
              extended byorg.jboss.test.messagedriven.support.SimpleMessageDrivenUnitTest
Direct Known Subclasses:
JMSContainerInvokerMessageDrivenUnitTestCase (src) , SimpleQueueMessageDrivenUnitTestCase (src) , SimpleTopicMessageDrivenUnitTestCase (src)

public abstract class SimpleMessageDrivenUnitTest
extends BasicMessageDrivenUnitTest (src)

A simple test

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.jboss.test.messagedriven.support.BasicMessageDrivenUnitTest (src)
BasicMessageDrivenUnitTest.ReceiverRunnable (src)
 
Field Summary
 
Fields inherited from class org.jboss.test.messagedriven.support.BasicMessageDrivenUnitTest (src)
connection, connectionFactoryJNDI, defaultProps, destination, dlqDestination, dlqJMXDestination, jmxDestination, mbeansar, mdbjar, messages, producers, props, REPEATED_WAIT, running, session, testQueue, testQueueProps, testTopic, testTopicProps, thread, WAIT_TIME
 
Fields inherited from class org.jboss.test.JBossTestCase (src)
delegate, deploymentException, log
 
Constructor Summary
SimpleMessageDrivenUnitTest(java.lang.String name, ObjectName (src)  jmxDestination, java.util.Properties defaultProps)
           
 
Method Summary
 Operation (src) [] getDLQOperations()
           
 Operation (src) [] getOperations()
           
 void testSimpleBMT()
           
 void testSimpleDLQ()
           
 void testSimpleNotSupported()
           
 void testSimpleRequired()
           
 
Methods inherited from class org.jboss.test.messagedriven.support.BasicMessageDrivenUnitTest (src)
clearMessages, getAttribute, getConnection, getDestination, getDLQDestination, getDLQJMXDestination, getJMXDestination, getMDBDeployment, getMessageProducer, getMessageProducer, getMessages, getSession, getTestMessage, initProperties, lookup, runTest, setUp, startReceiverThread, startTest, stopReceiverThread, stopTest, tearDown, waitMessages
 
Methods inherited from class org.jboss.test.JBossTestCase (src)
deploy, flushAuthCache, flushAuthCache, getBeanCount, getDeployerName, getDeploySetup, getDeployURL, getInitialContext, getIterationCount, getJndiInitFactory, getJndiURL, getLog, getResourceURL, getServer, getServerHost, getThreadCount, initDelegate, invoke, restartDBPool, sleep, testServerFound, undeploy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleMessageDrivenUnitTest

public SimpleMessageDrivenUnitTest(java.lang.String name,
                                   ObjectName (src)  jmxDestination,
                                   java.util.Properties defaultProps)
Method Detail

testSimpleRequired

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

testSimpleNotSupported

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

testSimpleBMT

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

testSimpleDLQ

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

getOperations

public Operation (src) [] getOperations()
                          throws java.lang.Exception
Throws:
java.lang.Exception

getDLQOperations

public Operation (src) [] getDLQOperations()
                             throws java.lang.Exception
Throws:
java.lang.Exception