|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.xmlBlaster.test.distributor.TestConsumableQueue
public class TestConsumableQueue
Test JmsSubscribe.
All methods starting with 'test' and without arguments are invoked automatically Invoke: java -Djava.compiler= junit.swingui.TestRunner -noloading org.xmlBlaster.test.distributor.TestConsumableQueue
ConnectQosData
,
the jms requirementField Summary | |
---|---|
private Global |
global
|
(package private) static java.util.ArrayList<java.lang.String> |
responses
|
private static long |
WAIT_DELAY
|
Constructor Summary | |
---|---|
TestConsumableQueue(java.lang.String name)
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
java org.xmlBlaster.test.classtest.TestConsumableQueue |
void |
prepare(java.lang.String[] args)
|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testPubSub()
A publisher publishes and then one subscriber subscribe The subscriber should get the message. |
void |
testPubSubSub()
A publisher publishes and then two subscribers log subscribe Only one of the subscribers should get the message. |
void |
testSubSubPub()
Two subscribers log subscribe and then a publisher publishes Only one of the subscribers should get the message. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, 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 |
---|
private Global global
static java.util.ArrayList<java.lang.String> responses
private static long WAIT_DELAY
Constructor Detail |
---|
public TestConsumableQueue(java.lang.String name)
Method Detail |
---|
public void prepare(java.lang.String[] args)
protected void setUp()
setUp
in class junit.framework.TestCase
protected void tearDown()
tearDown
in class junit.framework.TestCase
public void testSubSubPub()
public void testPubSub()
public void testPubSubSub()
public static void main(java.lang.String[] args)
java org.xmlBlaster.test.classtest.TestConsumableQueue
|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |