org.mule.properties
Class AttachmentTransformerTestCase

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.properties.AttachmentTransformerTestCase

public class AttachmentTransformerTestCase
extends FunctionalTestCase


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
AttachmentTransformerTestCase()
           
 
Method Summary
protected  String getConfigResources()
           
 void runScenario(String flowName)
           
 void testAddAttachment()
           
 void testAddAttachmentUsingExpressionContentType()
           
 void testAddAttachmentUsingExpressionKey()
           
 void testCopyAttachments()
           
 void testCopyAttachmentsWithWildcard()
           
 void testEnrichAttachment()
           
 void testEnrichAttachmentUsingDataHandler()
           
 void testEnrichAttachmentWithoutContentType()
           
 void testRemoveAllAttachments()
           
 void testRemoveAttachment()
           
 void testRemoveAttachmentsUsingExpression()
           
 void testRemoveAttachmentsUsingRegex()
           
 
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

AttachmentTransformerTestCase

public AttachmentTransformerTestCase()
Method Detail

getConfigResources

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

testAddAttachment

public void testAddAttachment()
                       throws Exception
Throws:
Exception

testAddAttachmentUsingExpressionKey

public void testAddAttachmentUsingExpressionKey()
                                         throws Exception
Throws:
Exception

testAddAttachmentUsingExpressionContentType

public void testAddAttachmentUsingExpressionContentType()
                                                 throws Exception
Throws:
Exception

testRemoveAttachment

public void testRemoveAttachment()
                          throws Exception
Throws:
Exception

testRemoveAttachmentsUsingExpression

public void testRemoveAttachmentsUsingExpression()
                                          throws Exception
Throws:
Exception

testRemoveAttachmentsUsingRegex

public void testRemoveAttachmentsUsingRegex()
                                     throws Exception
Throws:
Exception

testRemoveAllAttachments

public void testRemoveAllAttachments()
                              throws Exception
Throws:
Exception

testEnrichAttachment

public void testEnrichAttachment()
                          throws Exception
Throws:
Exception

testEnrichAttachmentUsingDataHandler

public void testEnrichAttachmentUsingDataHandler()
                                          throws Exception
Throws:
Exception

testEnrichAttachmentWithoutContentType

public void testEnrichAttachmentWithoutContentType()
                                            throws Exception
Throws:
Exception

testCopyAttachments

public void testCopyAttachments()
                         throws Exception
Throws:
Exception

testCopyAttachmentsWithWildcard

public void testCopyAttachmentsWithWildcard()
                                     throws Exception
Throws:
Exception

runScenario

public void runScenario(String flowName)
                 throws Exception
Throws:
Exception


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