java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.presumo.jms.client.ClientTests
- All Implemented Interfaces:
- junit.framework.Test
- public class ClientTests
- extends junit.framework.TestCase
Unit tests for the client. Should test IntraJVM traffic, so consequently
the Router will get instantiate to route the messages between the publisher
and subscriber in the same JVM.
|
Field Summary |
private static boolean |
VERBOSE
|
| Fields inherited from class junit.framework.TestCase |
|
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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 |
VERBOSE
private static final boolean VERBOSE
- See Also:
- Constant Field Values
ClientTests
public ClientTests(java.lang.String name)
suite
public static junit.framework.Test suite()
testAutoAcknowledge
public void testAutoAcknowledge()
throws javax.jms.JMSException
testDupsOkAcknowledge
public void testDupsOkAcknowledge()
throws javax.jms.JMSException
testClientAcknowledge
public void testClientAcknowledge()
throws javax.jms.JMSException
testSimplePubSubMultiple
public void testSimplePubSubMultiple()
throws javax.jms.JMSException
testSimplePubSub
private void testSimplePubSub(int ackMode)
throws javax.jms.JMSException
verbose
private static final void verbose(java.lang.String s)
sleepRandom
private static final void sleepRandom()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception