|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.mule.tck.AbstractMuleTestCase
org.mule.endpoint.AbstractMessageProcessorTestCase
org.mule.endpoint.outbound.DynamicOutboundEndpointTestCase
public class DynamicOutboundEndpointTestCase
Tests flow of messages from DynamicOutboundEndpoint.process(org.mule.api.MuleEvent)
down to
AbstractMessageDispatcher
and the chain of MessageProcessor's that
implement the outbound endpoint processing.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.mule.tck.AbstractMuleTestCase |
---|
AbstractMuleTestCase.TestInfo |
Field Summary | |
---|---|
protected org.mule.endpoint.outbound.DynamicOutboundEndpointTestCase.FakeMessageDispatcher |
dispacher
|
protected MuleEvent |
testOutboundEvent
|
Fields inherited from class org.mule.endpoint.AbstractMessageProcessorTestCase |
---|
RESPONSE_MESSAGE, responseMessage, TEST_URI |
Fields inherited from class org.mule.tck.AbstractMuleTestCase |
---|
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, DEFAULT_MULE_TEST_TIMEOUT_SECS, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, logger, muleContext, numPorts, ports, PROPERTY_MULE_TEST_TIMEOUT, RECEIVE_TIMEOUT, TEST_MESSAGE, testTimeoutSecs |
Constructor Summary | |
---|---|
DynamicOutboundEndpointTestCase()
|
Method Summary | |
---|---|
protected void |
assertMessageEqualEncodingPropertyAdded(MuleMessage expect,
MuleMessage actual)
|
protected void |
assertMessageNotSent()
|
protected MuleEvent |
assertMessageSent(boolean sync)
|
protected MuleEvent |
assertMessageSentSame(boolean sync)
|
protected OutboundEndpoint |
createOutboundEndpoint(Filter filter,
EndpointSecurityFilter securityFilter,
Transformer in,
Transformer response,
MessageExchangePattern exchangePattern,
TransactionConfig txConfig)
|
protected void |
setUpFakeDispatcher(OutboundEndpoint endpoint)
|
void |
testConnectorNotStarted()
|
void |
testDefaultFlowRequestResponse()
|
void |
testDispatchNotfication()
|
void |
testExceptionHandling()
|
void |
testSecurityFilterAccept()
|
void |
testSecurityFilterNotAccept()
|
void |
testSendNotfication()
|
void |
testTimeoutSetOnEvent()
|
void |
testTransaction()
|
void |
testTransformers()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, runTest, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected org.mule.endpoint.outbound.DynamicOutboundEndpointTestCase.FakeMessageDispatcher dispacher
protected MuleEvent testOutboundEvent
Constructor Detail |
---|
public DynamicOutboundEndpointTestCase()
Method Detail |
---|
public void testDefaultFlowRequestResponse() throws java.lang.Exception
java.lang.Exception
public void testSecurityFilterAccept() throws java.lang.Exception
java.lang.Exception
public void testSecurityFilterNotAccept() throws java.lang.Exception
java.lang.Exception
public void testSendNotfication() throws java.lang.Exception
java.lang.Exception
public void testDispatchNotfication() throws java.lang.Exception
java.lang.Exception
public void testTransformers() throws java.lang.Exception
java.lang.Exception
public void testConnectorNotStarted() throws java.lang.Exception
java.lang.Exception
public void testTimeoutSetOnEvent() throws java.lang.Exception
java.lang.Exception
public void testTransaction()
public void testExceptionHandling()
protected MuleEvent assertMessageSent(boolean sync) throws MuleException
MuleException
protected MuleEvent assertMessageSentSame(boolean sync) throws MuleException
MuleException
protected void assertMessageNotSent() throws MuleException
MuleException
protected void assertMessageEqualEncodingPropertyAdded(MuleMessage expect, MuleMessage actual)
protected OutboundEndpoint createOutboundEndpoint(Filter filter, EndpointSecurityFilter securityFilter, Transformer in, Transformer response, MessageExchangePattern exchangePattern, TransactionConfig txConfig) throws java.lang.Exception
java.lang.Exception
protected void setUpFakeDispatcher(OutboundEndpoint endpoint)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |