|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mule.tck.junit4.AbstractMuleTestCase org.mule.tck.junit4.AbstractMuleContextTestCase org.mule.routing.outbound.DefaultOutboundRouterCollectionTestCase
public class DefaultOutboundRouterCollectionTestCase
Field Summary |
---|
Fields inherited from class org.mule.tck.junit4.AbstractMuleContextTestCase |
---|
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, muleContext, RECEIVE_TIMEOUT, TEST_MESSAGE |
Fields inherited from class org.mule.tck.junit4.AbstractMuleTestCase |
---|
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY |
Constructor Summary | |
---|---|
DefaultOutboundRouterCollectionTestCase()
|
Method Summary | |
---|---|
protected Service |
createService()
|
protected void |
doSetUp()
Enables the adding of extra behavior on the set up stage of a test right after the creation of the mule context in AbstractMuleContextTestCase.setUpMuleContext() . |
void |
testMultipleDoesNotRequireCopyRouterMatchAllFalse()
If there are multiple outbound routers but matchAll is false then we only need to copy message if the router might mutate it in isMatch, if not then no need to copy. |
void |
testMultipleDoesNotRequireCopyRouterMatchAllTrue()
If there are multiple outbound routers and matchAll is true then we need a new message copy for all but the *last* router independent of whether the routers may mutate the message in isMatch or not. |
void |
testMultipleMixMatchAllFalse()
If matchAll is false then we need a new message copy for each router that may mutate the message in isMatch unless it is the last router. |
void |
testMultipleMixMatchAllTrue()
If matchAll is true then we need a new message copy for each and every router except the last one. |
void |
testMultipleRequiresCopyRouterMatchAllFalse()
If there are multiple outbound routers and matchAll is false then we need a new message copy for all but the *last* router that may mutate the message in isMatch. |
void |
testMultipleRequiresCopyRouterMatchAllTrue()
If there are multiple outbound routers and matchAll is true then we need a new message copy for all but the *last* router independent of whether the routers may mutate the message in isMatch or not. |
void |
testSingleDoesNotRequireCopyRouterMatchAllFalse()
If there is just one outbound router we don't need to do any copying at all regardless of if matchAll is true or not or if the router mutates the message in isMatch or not . |
void |
testSingleDoesNotRequireCopyRouterMatchAllTrue()
If there is just one outbound router we don't need to do any copying at all regardless of if matchAll is true or not or if the router mutates the message in isMatch or not . |
void |
testSingleRequiresCopyRouterMatchAllFalse()
If there is just one outbound router we don't need to do any copying at all regardless of if matchAll is true or not or if the router mutates the message in isMatch or not . |
void |
testSingleRequiresCopyRouterMatchAllTrue()
If there is just one outbound router we don't need to do any copying at all regardless of if matchAll is true or not or if the router mutates the message in isMatch or not . |
void |
testStreamPayload()
If the message is a stream and message copying is required due to any of the scenarios tested above then an exception should be thrown as the stream payload cannot be copied. |
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 |
Constructor Detail |
---|
public DefaultOutboundRouterCollectionTestCase()
Method Detail |
---|
protected void doSetUp() throws Exception
AbstractMuleContextTestCase
AbstractMuleContextTestCase.setUpMuleContext()
.
Under normal circumstances this method could be replaced by a
@Before
annotated method.
doSetUp
in class AbstractMuleContextTestCase
Exception
- if something fails that should halt the test caseprotected Service createService() throws MuleException
MuleException
public void testSingleDoesNotRequireCopyRouterMatchAllFalse() throws Exception
Exception
- if the test fails!public void testSingleDoesNotRequireCopyRouterMatchAllTrue() throws Exception
Exception
- if the test fails!public void testSingleRequiresCopyRouterMatchAllFalse() throws Exception
Exception
- if the test fails!public void testSingleRequiresCopyRouterMatchAllTrue() throws Exception
Exception
- if the test fails!public void testMultipleDoesNotRequireCopyRouterMatchAllFalse() throws Exception
Exception
- if the test fails!public void testMultipleDoesNotRequireCopyRouterMatchAllTrue() throws Exception
Exception
- if the test fails!public void testMultipleRequiresCopyRouterMatchAllFalse() throws Exception
Exception
- if the test fails!public void testMultipleRequiresCopyRouterMatchAllTrue() throws Exception
Exception
- if the test fails!public void testMultipleMixMatchAllTrue() throws Exception
Exception
- if the test fails!public void testMultipleMixMatchAllFalse() throws Exception
Exception
- if the test fails!public void testStreamPayload() throws Exception
Exception
- if the test fails!
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |