| |
|
| com.sun.jbi.messaging.TestMessageImpl
TestMessageImpl | public class TestMessageImpl extends junit.framework.TestCase (Code) | | Tests for the MessageImpl class
author: Sun Microsystems, Inc. |
Constructor Summary | |
public | TestMessageImpl(String aTestName) The constructor for this testcase, forwards the test name to
the jUnit TestCase base class. |
ATTACH_CONTENT | final public static String ATTACH_CONTENT(Code) | | |
XML_CONTENT_PATH | final public static String XML_CONTENT_PATH(Code) | | Path to endpoint descriptor.
|
TestMessageImpl | public TestMessageImpl(String aTestName)(Code) | | The constructor for this testcase, forwards the test name to
the jUnit TestCase base class.
Parameters: aTestName - String with the name of this test. |
createTextAttachment | DataHandler createTextAttachment()(Code) | | Creates a simple text attachment.
|
setUp | public void setUp() throws Exception(Code) | | Setup for the test. This creates the ComponentRegistry instance
and other objects needed for the tests.
throws: Exception - when set up fails for any reason. |
tearDown | public void tearDown() throws Exception(Code) | | Cleanup for the test.
throws: Exception - when tearDown fails for any reason. |
testAddAtachment | public void testAddAtachment() throws Exception(Code) | | testAddAtachment
throws: Exception - if an unexpected error occurs |
testGetSetContent | public void testGetSetContent() throws Exception(Code) | | testGetSetContent
throws: Exception - if an unexpected error occurs |
testGetSetKnownProperties | public void testGetSetKnownProperties() throws Exception(Code) | | testGetSetKnownProperties
throws: Exception - if an unexpected error occurs |
testGetSetProperty | public void testGetSetProperty() throws Exception(Code) | | testGetSetProperty
throws: Exception - if an unexpected error occurs |
testListAttachments | public void testListAttachments() throws Exception(Code) | | testListAttachments
throws: Exception - if an unexpected error occurs |
testRemoveAtachment | public void testRemoveAtachment() throws Exception(Code) | | testRemoveAtachment
throws: Exception - if an unexpected error occurs |
|
|
|