java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.activemq.test.TestSupport
org.activemq.transport.activeio.ExceptionListenerTest
- All Implemented Interfaces:
- javax.jms.ExceptionListener, junit.framework.Test
- Direct Known Subclasses:
- ExceptionListenerTest.NIOExceptionListenerTest, ExceptionListenerTest.VMPipeExceptionListenerTest
- public class ExceptionListenerTest
- extends org.activemq.test.TestSupport
- implements javax.jms.ExceptionListener
- Version:
- $Revision: 1.1.1.1 $
| Fields inherited from class junit.framework.TestCase |
|
| Methods inherited from class org.activemq.test.TestSupport |
assertEquals, assertEquals, assertEquals, assertTextMessageEqual, assertTextMessagesEqual, assertTextMessagesEqual, createConnection, createDestination, createMessage, getConnectionFactory, getConsumerSubject, getProducerSubject, getSubject |
| 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 |
connection
protected javax.jms.Connection connection
exception
protected javax.jms.JMSException exception
ExceptionListenerTest
public ExceptionListenerTest()
testFailingConnection
public void testFailingConnection()
throws java.lang.Exception
onException
public void onException(javax.jms.JMSException e)
- Specified by:
onException in interface javax.jms.ExceptionListener
breakTransport
protected void breakTransport()
throws java.io.IOException,
javax.jms.JMSException
createConnectionFactory
protected org.activemq.ActiveMQConnectionFactory createConnectionFactory()
throws java.lang.Exception
setUp
protected void setUp()
throws java.lang.Exception
- Description copied from class:
junit.framework.TestCase
- Sets up the fixture, for example, open a network connection.
This method is called before a test is executed.
tearDown
protected void tearDown()
throws java.lang.Exception
- Description copied from class:
junit.framework.TestCase
- Tears down the fixture, for example, close a network connection.
This method is called after a test is executed.
getURL
protected java.lang.String getURL()
suite
public static junit.framework.Test suite()