|
||||||||||
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.inbound.InboundEndpointTestCase
public class InboundEndpointTestCase
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.mule.tck.AbstractMuleTestCase |
---|
AbstractMuleTestCase.TestInfo |
Field Summary |
---|
Fields inherited from class org.mule.endpoint.AbstractMessageProcessorTestCase |
---|
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, testTimeoutSecs |
Constructor Summary | |
---|---|
InboundEndpointTestCase()
|
Method Summary | |
---|---|
protected void |
assertMessageNotSent()
|
protected MuleEvent |
assertMessageSent(boolean sync)
|
protected MuleEvent |
assertMessageSentSame(boolean sync)
|
protected MuleEvent |
createTestRequestEvent(ImmutableEndpoint endpoint)
|
protected MuleMessage |
createTestRequestMessage()
|
protected MuleEvent |
createTestResponseEvent(ImmutableEndpoint endpoint)
|
protected void |
doSetUp()
Exactly the same a AbstractMuleTestCase.setUp() in normal JUnit test cases. |
void |
testDefaultFlowAsync()
|
void |
testDefaultFlowSync()
|
void |
testFilterAccept()
|
void |
testFilterFirstThenSecurityFilter()
Assert that EndpointSecurityFilter is only invoked if endpoint
Filter accepts message. |
void |
testFilterNotAccept()
|
void |
testMessagePropertyErrorMapping()
|
void |
testNotfication()
|
void |
testObjectAwareInjection()
|
void |
testResponseTransformerExceptionDetailAfterRequestFlowInterupt()
|
void |
testSecurityFilterAccept()
|
void |
testSecurityFilterNotAccept()
|
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 |
Constructor Detail |
---|
public InboundEndpointTestCase()
Method Detail |
---|
protected void doSetUp() throws java.lang.Exception
AbstractMuleTestCase
AbstractMuleTestCase.setUp()
in normal JUnit test cases. this is called before a test
method has been called.
doSetUp
in class AbstractMessageProcessorTestCase
java.lang.Exception
- if something fails that should halt the testcasepublic void testDefaultFlowSync() throws java.lang.Exception
java.lang.Exception
public void testDefaultFlowAsync() throws java.lang.Exception
java.lang.Exception
public void testFilterAccept() throws java.lang.Exception
java.lang.Exception
public void testFilterNotAccept() 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 testFilterFirstThenSecurityFilter() throws java.lang.Exception
EndpointSecurityFilter
is only invoked if endpoint
Filter
accepts message.
java.lang.Exception
public void testMessagePropertyErrorMapping() throws java.lang.Exception
java.lang.Exception
public void testResponseTransformerExceptionDetailAfterRequestFlowInterupt() throws java.lang.Exception
java.lang.Exception
public void testNotfication() throws java.lang.Exception
java.lang.Exception
public void testTransformers() throws java.lang.Exception
java.lang.Exception
public void testObjectAwareInjection() throws java.lang.Exception
java.lang.Exception
protected MuleMessage createTestRequestMessage()
protected MuleEvent createTestRequestEvent(ImmutableEndpoint endpoint) throws java.lang.Exception
java.lang.Exception
protected MuleEvent createTestResponseEvent(ImmutableEndpoint endpoint) throws java.lang.Exception
java.lang.Exception
protected MuleEvent assertMessageSent(boolean sync) throws MuleException
MuleException
protected MuleEvent assertMessageSentSame(boolean sync) throws MuleException
MuleException
protected void assertMessageNotSent() throws MuleException
MuleException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |