|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.tck.junit4.AbstractMuleTestCase
org.mule.tck.junit4.AbstractMuleContextTestCase
org.mule.tck.junit4.FunctionalTestCase
org.mule.Mule4412TestCase
public class Mule4412TestCase
Test for MULE-4412 : selective-consumer filter is applied twice. We test that the filter is only applied once in the positive case, plus make sure it doesn't get filtered at all when the message does not meet the filter criteria
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 | |
---|---|
Mule4412TestCase()
|
Method Summary | |
---|---|
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() . |
protected void |
doTearDown()
Enables the adding of extra behavior on the tear down stage of a test before the mule context is disposed in AbstractMuleContextTestCase.disposeContextPerTest() . |
protected String |
getConfigResources()
|
void |
testFilterOnce()
Make sure that the message only gets filtered once |
void |
testNoProperty()
Make sure the message does not get filtered at all when the expected property is not defined |
void |
testWrongPropertyKey()
Make sure the message does not get filtered when the property key is incorrect |
void |
testWrongPropertyValue()
Make sure the message does not get filtered when the property value is not as expected |
Methods inherited from class org.mule.tck.junit4.FunctionalTestCase |
---|
getBuilder, getComponent, getComponent, getFlowConstruct, getFunctionalTestComponent, loadResource, loadResourceAsString, testFlow, testFlow |
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 Mule4412TestCase()
Method Detail |
---|
protected String getConfigResources()
getConfigResources
in class FunctionalTestCase
protected void doSetUp() throws Exception
AbstractMuleContextTestCase
AbstractMuleContextTestCase.setUpMuleContext()
.
Under normal circumstances this method could be replace with a
@Before
annotated method.
doSetUp
in class AbstractMuleContextTestCase
Exception
- if something fails that should halt the test caseprotected void doTearDown() throws Exception
AbstractMuleContextTestCase
AbstractMuleContextTestCase.disposeContextPerTest()
.
Under normal circumstances this method could be replace with a
@After
annotated method.
doTearDown
in class AbstractMuleContextTestCase
Exception
- if something fails that should halt the testcasepublic void testFilterOnce() throws Exception
Exception
public void testWrongPropertyKey() throws Exception
Exception
public void testWrongPropertyValue() throws Exception
Exception
public void testNoProperty() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |