public class FileExceptionStrategyFunctionalTestCase extends FunctionalTestCase
Modifier and Type | Class and Description |
---|---|
static class |
FileExceptionStrategyFunctionalTestCase.AfterCloseStream |
static class |
FileExceptionStrategyFunctionalTestCase.BeforeCloseStream |
Modifier and Type | Field and Description |
---|---|
static String |
FILE_WORKING_DIRECTORY_FOLDER |
protected File |
inputDir |
static String |
TEST_MESSAGE |
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, muleContext, RECEIVE_TIMEOUT, TEST_PAYLOAD, WORKING_DIRECTORY_SYSTEM_PROPERTY_KEY, workingDirectory
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY, TESTING_MODE_PROPERTY_NAME
Constructor and Description |
---|
FileExceptionStrategyFunctionalTestCase() |
Modifier and Type | Method and Description |
---|---|
protected File |
createDataFile(File folder,
String testMessage) |
protected File |
createDataFile(File folder,
String testMessage,
String encoding) |
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 String |
getConfigFile() |
void |
testConsumeFileWithAsynchronousProcessingStrategy() |
void |
testConsumeFileWithExAndCatch() |
void |
testConsumeFileWithExAndRollback() |
void |
testConsumeFileWithExAndRollbackWithRedelivery() |
void |
testCopyFile() |
void |
testCopyFileWithWorkDir() |
void |
testMoveFile() |
void |
testMoveFileWithWorDir() |
clearFlowAssertions, getBuilder, getComponent, getComponent, getConfigFiles, getConfigResources, getFlowConstruct, getFunctionalTestComponent, getSubFlow, loadResource, loadResourceAsString, lookupFlowConstruct, runFlow, runFlow, runFlow, runFlowAndExpect, runFlowAndExpectProperty, runFlowWithPayloadAndExpect, runSchedulersOnce, stopFlowConstruct, stopFlowSchedulers, testFlow, testFlow
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUpBeforeMuleContextCreation, doTearDown, doTearDownAfterMuleContextDispose, getConfigurationResources, getFileInsideWorkingDirectory, getSensingNullMessageProcessor, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestEventUsingFlow, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestMuleMessage, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTransactedInboundEndpoint, getTestTransformer, getTriggerableMessageSource, getTriggerableMessageSource, getWorkingDirectory, initialiseObject, isDisposeContextPerClass, isGracefulShutdown, isStartContext, setDisposeContextPerClass, setStartContext, setUpMuleContext
clearExcludedFlag, clearRequestContext, clearTestCaseName, createTestTimeoutRule, dumpFilteredThreadsInTest, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile, takeTestCaseName
public static final String TEST_MESSAGE
public static final String FILE_WORKING_DIRECTORY_FOLDER
protected File inputDir
public FileExceptionStrategyFunctionalTestCase()
protected String getConfigFile()
getConfigFile
in class FunctionalTestCase
public void testConsumeFileWithExAndCatch() throws Exception
Exception
public void testConsumeFileWithExAndRollback() throws Exception
Exception
public void testConsumeFileWithExAndRollbackWithRedelivery() throws Exception
Exception
public void testConsumeFileWithAsynchronousProcessingStrategy() throws Exception
Exception
public void doSetUp()
AbstractMuleContextTestCase
AbstractMuleContextTestCase.setUpMuleContext()
.
Under normal circumstances this method could be replaced by a
@Before
annotated method.
doSetUp
in class AbstractMuleContextTestCase
protected File createDataFile(File folder, String testMessage) throws Exception
Exception
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.