org.mule.test.integration.exceptions
Class ChoiceExceptionStrategyTestCase

java.lang.Object
  extended by org.mule.tck.junit4.AbstractMuleTestCase
      extended by org.mule.tck.junit4.AbstractMuleContextTestCase
          extended by org.mule.tck.junit4.FunctionalTestCase
              extended by org.mule.test.integration.exceptions.ChoiceExceptionStrategyTestCase

public class ChoiceExceptionStrategyTestCase
extends FunctionalTestCase


Nested Class Summary
static class ChoiceExceptionStrategyTestCase.AnotherTotallyDifferentKindOfException
           
static class ChoiceExceptionStrategyTestCase.AnotherTypeMyException
           
static class ChoiceExceptionStrategyTestCase.BaseException
           
static class ChoiceExceptionStrategyTestCase.StartsWithException
           
static class ChoiceExceptionStrategyTestCase.SubtypeException
           
static class ChoiceExceptionStrategyTestCase.SubtypeSubtypeException
           
static class ChoiceExceptionStrategyTestCase.ThisExceptionFinishesWithException
           
static class ChoiceExceptionStrategyTestCase.ThisExceptionFinishesWithSomethingElse
           
 
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
ChoiceExceptionStrategyTestCase()
           
 
Method Summary
protected  String getConfigResources()
           
 void testMatchesCorrectExceptionStrategy()
           
 void testMatchesCorrectExceptionStrategyUsingBaseClass()
           
 void testMatchesCorrectExceptionStrategyUsingFinishesWithSomethingElse()
           
 void testMatchesCorrectExceptionStrategyUsingFinishesWithWildcard()
           
 void testMatchesCorrectExceptionStrategyUsingGroovyExpressionEvaluator()
           
 void testMatchesCorrectExceptionStrategyUsingMatchesAll()
           
 void testMatchesCorrectExceptionStrategyUsingRegex()
           
 void testMatchesCorrectExceptionStrategyUsingStartsWithWildcard()
           
 void testMatchesCorrectExceptionStrategyUsingSubtypeClass()
           
 void testMatchesCorrectExceptionStrategyUsingSubtypeSubtypeClass()
           
 void testMatchesCorrectExceptionStrategyUsingWrapper()
           
 void testMatchesCorrectExceptionStrategyUsingWrapperAndCause()
           
 void testMatchesCorrectExceptionUsingNoCause()
           
 void testNoMatchThenCallDefaultExceptionStrategy()
           
 
Methods inherited from class org.mule.tck.junit4.FunctionalTestCase
clearFlowAssertions, getBuilder, getComponent, getComponent, getFlowConstruct, getFunctionalTestComponent, loadResource, loadResourceAsString, stopFlowConstruct, testFlow, testFlow
 
Methods inherited from class org.mule.tck.junit4.AbstractMuleContextTestCase
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUp, doTearDown, getConfigurationResources, getSensingNullMessageProcessor, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestEventUsingFlow, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTransactedInboundEndpoint, getTestTransformer, getTriggerableMessageSource, getTriggerableMessageSource, initialiseObject, isDisposeContextPerClass, isGracefulShutdown, isStartContext, setDisposeContextPerClass, setStartContext, setUpMuleContext
 
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

ChoiceExceptionStrategyTestCase

public ChoiceExceptionStrategyTestCase()
Method Detail

getConfigResources

protected String getConfigResources()
Specified by:
getConfigResources in class FunctionalTestCase

testMatchesCorrectExceptionStrategy

public void testMatchesCorrectExceptionStrategy()
                                         throws Exception
Throws:
Exception

testMatchesCorrectExceptionStrategyUsingWrapper

public void testMatchesCorrectExceptionStrategyUsingWrapper()
                                                     throws Exception
Throws:
Exception

testMatchesCorrectExceptionStrategyUsingWrapperAndCause

public void testMatchesCorrectExceptionStrategyUsingWrapperAndCause()
                                                             throws Exception
Throws:
Exception

testMatchesCorrectExceptionStrategyUsingBaseClass

public void testMatchesCorrectExceptionStrategyUsingBaseClass()
                                                       throws Exception
Throws:
Exception

testMatchesCorrectExceptionStrategyUsingSubtypeClass

public void testMatchesCorrectExceptionStrategyUsingSubtypeClass()
                                                          throws Exception
Throws:
Exception

testMatchesCorrectExceptionStrategyUsingSubtypeSubtypeClass

public void testMatchesCorrectExceptionStrategyUsingSubtypeSubtypeClass()
                                                                 throws Exception
Throws:
Exception

testMatchesCorrectExceptionStrategyUsingRegex

public void testMatchesCorrectExceptionStrategyUsingRegex()
                                                   throws Exception
Throws:
Exception

testMatchesCorrectExceptionStrategyUsingGroovyExpressionEvaluator

public void testMatchesCorrectExceptionStrategyUsingGroovyExpressionEvaluator()
                                                                       throws Exception
Throws:
Exception

testMatchesCorrectExceptionStrategyUsingStartsWithWildcard

public void testMatchesCorrectExceptionStrategyUsingStartsWithWildcard()
                                                                throws Exception
Throws:
Exception

testMatchesCorrectExceptionStrategyUsingFinishesWithWildcard

public void testMatchesCorrectExceptionStrategyUsingFinishesWithWildcard()
                                                                  throws Exception
Throws:
Exception

testMatchesCorrectExceptionStrategyUsingMatchesAll

public void testMatchesCorrectExceptionStrategyUsingMatchesAll()
                                                        throws Exception
Throws:
Exception

testMatchesCorrectExceptionStrategyUsingFinishesWithSomethingElse

public void testMatchesCorrectExceptionStrategyUsingFinishesWithSomethingElse()
                                                                       throws Exception
Throws:
Exception

testMatchesCorrectExceptionUsingNoCause

public void testMatchesCorrectExceptionUsingNoCause()
                                             throws Exception
Throws:
Exception

testNoMatchThenCallDefaultExceptionStrategy

public void testNoMatchThenCallDefaultExceptionStrategy()
                                                 throws Exception
Throws:
Exception


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.