|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.transport.MuleAbstractConnectableTestCase
public class MuleAbstractConnectableTestCase
This test tests class AbstractConnectable
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".
Constructor Summary | |
---|---|
MuleAbstractConnectableTestCase()
|
Method Summary | |
---|---|
void |
testStartIsThreadSafe()
This test tests that start method is thread safe and that AbstractConnectable.doStart() is always called making sure that the
connectable is connected . |
void |
testStartRethrowsMuleExceptionCorrectly()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MuleAbstractConnectableTestCase()
Method Detail |
---|
public void testStartRethrowsMuleExceptionCorrectly() throws java.lang.Exception
java.lang.Exception
public void testStartIsThreadSafe() throws java.lang.Throwable
AbstractConnectable.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.
java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |