org.mule.transport
Class MuleAbstractTransportMessageHandlerTestCase
java.lang.Object
org.mule.transport.MuleAbstractTransportMessageHandlerTestCase
public class MuleAbstractTransportMessageHandlerTestCase
- extends Object
This test tests class AbstractTransportMessageHandler
but its name starts with "Mule"
because there is an exclusion rule in parent pom for test classes that have their
names starting with "Abstract".
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MuleAbstractTransportMessageHandlerTestCase
public MuleAbstractTransportMessageHandlerTestCase()
testStartRethrowsMuleExceptionCorrectly
public void testStartRethrowsMuleExceptionCorrectly()
throws Exception
- Throws:
Exception
testStartIsThreadSafe
public void testStartIsThreadSafe()
throws Throwable
- This test tests that start method is thread safe and that
AbstractTransportMessageHandler.doStart()
is always called making sure that the
connectable is connected
.
To make multithreaded test easier it uses a library called MultithreadedTC. You will perhaps go and read that link if you want to
understand how this test works.
- Throws:
Throwable
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.