|
||||||||||
PREV CLASS 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.PTPTestCase (src)
org.objectweb.jtests.jms.conform.message.headers.MessageHeaderTest
Test the headers of a message
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 | |
MessageHeaderTest(java.lang.String name)
|
Method Summary | |
static Test |
suite()
Method to use this class in a Test suite |
void |
testJMSDeliveryMode()
Test that the JMSDeliveryMode header field value is ignored
when the message is sent and that it holds the value specified by the sending
method (i.e. |
void |
testJMSDestination()
Test that the JMSDestination header field value is ignored when the message
is sent and that after completion of the sending method, it holds the Destination
specified by the sending method. |
void |
testJMSExpiration()
Test that the value of the JMSExpiration |
void |
testJMSMessageID_1()
Test that the JMSMessageID header field value is
ignored when the message is sent. |
void |
testJMSMessageID_2()
Test that the JMSMessageID is set by the provider when the send method returns
and that it starts with "ID:" . |
void |
testJMSPriority_1()
Test that the priority set by Message.setJMSPriority() is ignored when a
message is sent and that it holds the value specified when sending the message (i.e. |
void |
testJMSPriority_2()
Test that the MessageProducer.setPriority() changes effectively
priority of the message. |
void |
testJMSReplyTo_1()
Test that a Destination set by the setJMSReplyTo()
method on a sended message corresponds to the Destination get by
the getJMSReplyTo() method. |
void |
testJMSReplyTo_2()
Test that if the JMS ReplyTo header field has been set as a TemporaryQueue ,
it will be rightly get also as a TemporaryQueue
(and not only as a Queue ). |
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 MessageHeaderTest(java.lang.String name)
Method Detail |
public void testJMSPriority_2()
MessageProducer.setPriority()
changes effectively
priority of the message.
public void testJMSPriority_1()
Message.setJMSPriority()
is ignored when a
message is sent and that it holds the value specified when sending the message (i.e.
Message.DEFAULT_PRIORITY
in this test).
public void testJMSExpiration()
JMSExpiration header field is the same
for the sent message and the received one.
public void testJMSMessageID_2()
JMSMessageID
is set by the provider when the send
method returns
and that it starts with "ID:"
.
public void testJMSMessageID_1()
JMSMessageID
header field value is
ignored when the message is sent.
public void testJMSDeliveryMode()
JMSDeliveryMode
header field value is ignored
when the message is sent and that it holds the value specified by the sending
method (i.e. Message.DEFAULT_DELIVERY_MODE
in this test when the message is received.
public void testJMSDestination()
JMSDestination
header field value is ignored when the message
is sent and that after completion of the sending method, it holds the Destination
specified by the sending method.
Also test that the value of the header on the received message is the same that on the sent message.
public void testJMSReplyTo_1()
Destination
set by the setJMSReplyTo()
method on a sended message corresponds to the Destination
get by
the getJMSReplyTo() method.
public void testJMSReplyTo_2()
TemporaryQueue
,
it will be rightly get also as a TemporaryQueue
(and not only as a Queue
).
public static Test suite()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |