|
||||||||||
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.message.MessageBodyTest
Tests on message body.
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 | |
MessageBodyTest(java.lang.String name)
|
Method Summary | |
static Test |
suite()
Method to use this class in a Test suite |
void |
testClearBody_1()
Test that the TextMessage.clearBody() effectively clear the body of the message |
void |
testClearBody_2()
Test that the TextMessage.clearBody() method does nto clear the
message properties. |
void |
testWriteOnReceivedBody()
Test that a call to the TextMessage.setText() method on a
received message raises a javax.jms.MessageNotWriteableException . |
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 MessageBodyTest(java.lang.String name)
Method Detail |
public void testClearBody_2()
TextMessage.clearBody()
method does nto clear the
message properties.
public void testClearBody_1()
TextMessage.clearBody()
effectively clear the body of the message
public void testWriteOnReceivedBody()
TextMessage.setText()
method on a
received message raises a javax.jms.MessageNotWriteableException
.
public static Test suite()
|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |