|
||||||||||
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 (src)
org.objectweb.jtests.jms.conform.session.TopicSessionTest
Test topic sessions
See JMS specifications, §4.4 Session
Field Summary |
Fields inherited from class org.objectweb.jtests.jms.framework.PubSubTestCase (src) |
publisher, publisherConnection, publisherSession, publisherTCF, publisherTopic, subscriber, subscriberConnection, subscriberSession, subscriberTCF, subscriberTopic |
Constructor Summary | |
TopicSessionTest(java.lang.String name)
|
Method Summary | |
static Test |
suite()
Method to use this class in a Test suite |
void |
testCreateDurableSubscriber_1()
Test that a call to the createDurableSubscriber() method with an invalid
Topic throws a javax.jms.InvalidDestinationException . |
void |
testCreateDurableSubscriber_2()
Test that a call to the createDurableSubscriber() method with an invalid
message selector throws a javax.jms.InvalidSelectorException . |
void |
testCreateSubscriber_1()
Test that a call to the createSubscriber() method with an invalid
Topic throws a javax.jms.InvalidDestinationException . |
void |
testCreateSubscriber_2()
Test that a call to the createSubscriber() method with an invalid
message selector throws a javax.jms.InvalidSelectorException . |
void |
testDurableSubscriber()
Test that a durable subscriber effectively receives the messages sent to its topic while it was inactive. |
void |
testRollbackReceivedMessage()
Test that if we rollback a transaction which has consumed a message, the message is effectively redelivered. |
void |
testUnsubscribe()
Test the unsubscription of a durable subscriber. |
Methods inherited from class org.objectweb.jtests.jms.framework.PubSubTestCase (src) |
setUp, tearDown |
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 |
Constructor Detail |
public TopicSessionTest(java.lang.String name)
Method Detail |
public void testRollbackReceivedMessage()
public void testDurableSubscriber()
public void testUnsubscribe()
public void testCreateDurableSubscriber_2()
createDurableSubscriber()
method with an invalid
message selector throws a javax.jms.InvalidSelectorException
.
public void testCreateDurableSubscriber_1()
createDurableSubscriber()
method with an invalid
Topic
throws a javax.jms.InvalidDestinationException
.
public void testCreateSubscriber_2()
createSubscriber()
method with an invalid
message selector throws a javax.jms.InvalidSelectorException
.
public void testCreateSubscriber_1()
createSubscriber()
method with an invalid
Topic
throws a javax.jms.InvalidDestinationException
.
public static Test suite()
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |