org.mule.test.spring
Class SpringNamespaceConfigBuilderV2TestCase

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.tck.AbstractScriptConfigBuilderTestCase
                  extended by org.mule.tck.AbstractConfigBuilderTestCase
                      extended by org.mule.test.spring.SpringNamespaceConfigBuilderV2TestCase

public class SpringNamespaceConfigBuilderV2TestCase
extends AbstractConfigBuilderTestCase

This is an extended version of the same test covered in SpringNamespaceConfigBuilderTestCase. Both are translations of an earlier (1.X) test. I realise this seems rather messy, and I did consider merging the two, but they often test different things, and we would have lost quite a few tests on merging. So I am afraid we are left with two rather rambling, parallel tests. But these tests examing "corner cases" no other tests cover, so are quite valuable...


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
SpringNamespaceConfigBuilderV2TestCase()
           
 
Method Summary
 ConfigurationBuilder getBuilder()
           
 String getConfigResources()
           
 void testEndpointURIParamsConfig()
           
 void testMessageInfoMappingConfig()
           
 void testPropertyTypesConfig()
           
 void testTransformerConfig()
           
 
Methods inherited from class org.mule.tck.AbstractConfigBuilderTestCase
isGracefulShutdown, testBindngProxyCreation, testConnectorConfig, testEndpointConfig, testEndpointProperties, testEnvironmentProperties, testExceptionStrategy2, testGlobalEndpointConfig, testGlobalInterceptorStack, testInboundRouterConfig2, testInterceptors, testManagerConfig, testModelConfig, testMuleConfiguration, testOutboundRouterConfig2, testPoolingConfig, testQueueProfileConfig, testThreadingConfig, testTransactionConfig
 
Methods inherited from class org.mule.tck.AbstractScriptConfigBuilderTestCase
testBindingConfig, testDescriptorEndpoints, testEndpointPropertiesConfig, testExceptionStrategy, testInboundRouterConfig, testOutboundRouterConfig, testResponseRouterConfig
 
Methods inherited from class org.mule.tck.junit4.FunctionalTestCase
clearFlowAssertions, 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, 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

SpringNamespaceConfigBuilderV2TestCase

public SpringNamespaceConfigBuilderV2TestCase()
Method Detail

getConfigResources

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

getBuilder

public ConfigurationBuilder getBuilder()
                                throws ConfigurationException
Overrides:
getBuilder in class FunctionalTestCase
Throws:
ConfigurationException

testMessageInfoMappingConfig

public void testMessageInfoMappingConfig()
                                  throws Exception
Throws:
Exception

testPropertyTypesConfig

public void testPropertyTypesConfig()
                             throws Exception
Throws:
Exception

testEndpointURIParamsConfig

public void testEndpointURIParamsConfig()

testTransformerConfig

public void testTransformerConfig()
Overrides:
testTransformerConfig in class AbstractConfigBuilderTestCase


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