|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTestCase
org.objectweb.jtests.jms.framework.JMSTestCase (src)
org.objectweb.jtests.jms.framework.PubSubTestCase
Creates convenient JMS Publish/Subscribe objects which can be needed for tests.
This class defines the setUp and tearDown methods so
that JMS administrated objects and other "ready to use" Pub/Sub objects (that is to say topics,
sessions, publishers and subscribers) are available conveniently for the test cases.
Classes which want that convenience should extend PubSubTestCase
instead of
JMSTestCase
.
Field Summary | |
protected TopicPublisher (src) |
publisher
Publisher on queue |
protected TopicConnection (src) |
publisherConnection
TopicConnection of the publisher |
protected TopicSession (src) |
publisherSession
TopicSession of the publisher (non transacted, AUTO_ACKNOWLEDGE) |
protected TopicConnectionFactory (src) |
publisherTCF
TopicConnectionFactory of the publisher |
protected Topic (src) |
publisherTopic
Topic used by a publisher |
protected TopicSubscriber (src) |
subscriber
Subscriber on queue |
protected TopicConnection (src) |
subscriberConnection
TopicConnection of the subscriber |
protected TopicSession (src) |
subscriberSession
TopicSession of the subscriber (non transacted, AUTO_ACKNOWLEDGE) |
protected TopicConnectionFactory (src) |
subscriberTCF
TopicConnectionFactory of the subscriber |
protected Topic (src) |
subscriberTopic
Topic used by a subscriber |
Constructor Summary | |
PubSubTestCase(java.lang.String name)
|
Method Summary | |
protected void |
setUp()
Create all administrated objects connections and sessions ready to use for tests. |
protected void |
tearDown()
Close connections and delete administrated objects |
Methods inherited from class org.objectweb.jtests.jms.framework.JMSTestCase (src) |
fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Topic (src) publisherTopic
protected TopicPublisher (src) publisher
protected TopicConnectionFactory (src) publisherTCF
protected TopicConnection (src) publisherConnection
protected TopicSession (src) publisherSession
protected Topic (src) subscriberTopic
protected TopicSubscriber (src) subscriber
protected TopicConnectionFactory (src) subscriberTCF
protected TopicConnection (src) subscriberConnection
protected TopicSession (src) subscriberSession
Constructor Detail |
public PubSubTestCase(java.lang.String name)
Method Detail |
protected void setUp()
protected void tearDown()
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |