|
||||||||||
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 Exception
AbstractMuleTestCase
AbstractMuleTestCase.setUp()
in normal JUnit test cases. this is called before a test
method has been called.
doSetUp
in class AbstractMessageProcessorTestCase
Exception
- if something fails that should halt the testcasepublic void testDefaultFlowSync() throws Exception
Exception
public void testDefaultFlowAsync() throws Exception
Exception
public void testFilterAccept() throws Exception
Exception
public void testFilterNotAccept() throws Exception
Exception
public void testSecurityFilterAccept() throws Exception
Exception
public void testSecurityFilterNotAccept() throws Exception
Exception
public void testFilterFirstThenSecurityFilter() throws Exception
EndpointSecurityFilter
is only invoked if endpoint
Filter
accepts message.
Exception
public void testMessagePropertyErrorMapping() throws Exception
Exception
public void testResponseTransformerExceptionDetailAfterRequestFlowInterupt() throws Exception
Exception
public void testNotfication() throws Exception
Exception
public void testTransformers() throws Exception
Exception
public void testObjectAwareInjection() throws Exception
Exception
protected MuleMessage createTestRequestMessage()
protected MuleEvent createTestRequestEvent(ImmutableEndpoint endpoint) throws Exception
Exception
protected MuleEvent createTestResponseEvent(ImmutableEndpoint endpoint) throws Exception
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 |