org.mule.transport.tcp.protocols
Class XmlMessageProtocolTestCase
java.lang.Object
org.mule.tck.junit4.AbstractMuleTestCase
org.mule.transport.tcp.protocols.XmlMessageProtocolTestCase
- Direct Known Subclasses:
- XmlMessageEOFProtocolTestCase
public class XmlMessageProtocolTestCase
- extends AbstractMuleTestCase
Test by reading characters from a fixed StringBuffer instead of a TCP port.
Methods inherited from class org.mule.tck.junit4.AbstractMuleTestCase |
clearExcludedFlag, clearRequestContext, createTestTimeoutRule, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlMessageProtocolTestCase
public XmlMessageProtocolTestCase()
setProtocol
protected void setProtocol(XmlMessageProtocol xmp)
read
protected byte[] read(InputStream is)
throws IOException
- Throws:
IOException
doSetUp
public void doSetUp()
doTearDown
protected void doTearDown()
throws Exception
- Throws:
Exception
testSingleMessage
public void testSingleMessage()
throws Exception
- Throws:
Exception
testTwoMessages
public void testTwoMessages()
throws Exception
- Throws:
Exception
testMultipleMessages
public void testMultipleMessages()
throws Exception
- Throws:
Exception
testSlowStream
public void testSlowStream()
throws Exception
- Throws:
Exception
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.