|
||||||||||
PREV CLASS NEXT CLASS (src) | 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.PTPTestCase (src)
org.objectweb.jtests.jms.conform.session.QueueSessionTest
Test queue sessions
See JMS specifications, §4.4 Session
Field Summary |
Fields inherited from class org.objectweb.jtests.jms.framework.PTPTestCase (src) |
admin, ctx, receiver, receiverConnection, receiverQCF, receiverQueue, receiverSession, sender, senderConnection, senderQCF, senderQueue, senderSession |
Constructor Summary | |
QueueSessionTest(java.lang.String name)
|
Method Summary | |
static Test |
suite()
Method to use this class in a Test suite |
void |
testCreateBrowser_1()
Test that a call to the createBrowser() method with an invalid
Queue throws a javax.jms.InvalidDestinationException . |
void |
testCreateBrowser_2()
Test that a call to the createBrowser() method with an invalid
messaeg session throws a javax.jms.InvalidSelectorException . |
void |
testCreateReceiver_1()
Test that a call to the createReceiver() method with an invalid
Queue throws a javax.jms.InvalidDestinationException > |
void |
testCreateReceiver_2()
Test that a call to the createReceiver() method with an invalid
message selector throws a javax.jms.InvalidSelectorException . |
void |
testRollbackRececeivedMessage()
Test that if we rollback a transaction which has consumed a message, the message is effectively redelivered. |
Methods inherited from class org.objectweb.jtests.jms.framework.PTPTestCase (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 QueueSessionTest(java.lang.String name)
Method Detail |
public void testRollbackRececeivedMessage()
public void testCreateBrowser_2()
createBrowser()
method with an invalid
messaeg session throws a javax.jms.InvalidSelectorException
.
public void testCreateBrowser_1()
createBrowser()
method with an invalid
Queue
throws a javax.jms.InvalidDestinationException
.
public void testCreateReceiver_2()
createReceiver()
method with an invalid
message selector throws a javax.jms.InvalidSelectorException
.
public void testCreateReceiver_1()
createReceiver()
method with an invalid
Queue
throws a javax.jms.InvalidDestinationException
>
public static Test suite()
|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |