java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.objectweb.jtests.jms.framework.JMSTestCase
org.objectweb.jtests.jms.framework.PTPTestCase
org.objectweb.jtests.jms.conform.message.MessageBodyTest
- All Implemented Interfaces:
- junit.framework.Test
- public class MessageBodyTest
- extends org.objectweb.jtests.jms.framework.PTPTestCase
Tests on message body.
- Version:
- $Id: MessageBodyTest.java,v 1.1 2002/04/21 21:15:18 chirino Exp $
| Fields inherited from class org.objectweb.jtests.jms.framework.PTPTestCase |
admin, ctx, receiver, receiverConnection, receiverQCF, receiverQueue, receiverSession, sender, senderConnection, senderQCF, senderQueue, senderSession |
| Fields inherited from class junit.framework.TestCase |
|
|
Method Summary |
static junit.framework.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.JMSTestCase |
fail |
| Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
MessageBodyTest
public MessageBodyTest(java.lang.String name)
testClearBody_2
public void testClearBody_2()
- Test that the
TextMessage.clearBody() method does nto clear the
message properties.
testClearBody_1
public void testClearBody_1()
- Test that the
TextMessage.clearBody() effectively clear the body of the message
testWriteOnReceivedBody
public void testWriteOnReceivedBody()
- Test that a call to the
TextMessage.setText() method on a
received message raises a javax.jms.MessageNotWriteableException.
suite
public static junit.framework.Test suite()
- Method to use this class in a Test suite