public class FileRequestorMoveDeleteTestCase extends AbstractFileMoveDeleteTestCase
AbstractServiceAndFlowTestCase.ConfigVariant
TARGET_FILE, TEST_MESSAGE, tmpDir
configResources, variant
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 |
---|
FileRequestorMoveDeleteTestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant,
String configResources) |
Modifier and Type | Method and Description |
---|---|
protected void |
assertRequested(MuleMessage message,
File inFile,
boolean streaming) |
protected MuleMessage |
request(File file) |
void |
testDeleteOnly() |
void |
testDeleteOnlyFilePayload() |
void |
testDeleteOnlyStreaming() |
void |
testMoveAndDelete() |
void |
testMoveAndDeleteFilePayload() |
void |
testMoveAndDeleteStreaming() |
void |
testMoveOnly() |
void |
testMoveOnlyFilePayload() |
void |
testMoveOnlyStreaming() |
void |
testNoMoveNoDelete() |
void |
testNoMoveNoDeleteFilePayload() |
void |
testNoMoveNoDeleteStreaming() |
assertFiles, assertFilesUntouched, configureConnector, configureConnector
checkReceivedMessage, createAndPopulateTempFile, doTearDown, fileToUrl, initForRequest, parameters, waitForFileSystem
doSetUp, doSetUpForFlow, doSetUpForService, getConfigFile, getConfigFiles, getTestHeader
clearFlowAssertions, getBuilder, getComponent, getComponent, getConfigResources, getFlowConstruct, getFunctionalTestComponent, getSubFlow, loadResource, loadResourceAsString, lookupFlowConstruct, runFlow, runFlow, runFlow, runFlowAndExpect, runFlowAndExpectProperty, runFlowNonBlocking, runFlowNonBlocking, runFlowNonBlocking, runFlowWithPayloadAndExpect, runSchedulersOnce, stopFlowConstruct, stopFlowSchedulers, testFlow, testFlow, testFlowNonBlocking, testFlowNonBlocking
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUpBeforeMuleContextCreation, doTearDownAfterMuleContextDispose, getConfigurationResources, getFileInsideWorkingDirectory, getNonBlockingResponse, getNonBlockingTestEventUsingFlow, getSensingNullMessageProcessor, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestEventUsingFlow, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestMuleMessage, 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, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile, takeTestCaseName
public FileRequestorMoveDeleteTestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant, String configResources)
public void testMoveAndDeleteStreaming() throws Exception
Exception
public void testNoMoveNoDeleteStreaming() throws Exception
Exception
public void testMoveAndDeleteFilePayload() throws Exception
Exception
public void testDeleteOnlyFilePayload() throws Exception
Exception
public void testNoMoveNoDeleteFilePayload() throws Exception
Exception
protected void assertRequested(MuleMessage message, File inFile, boolean streaming) throws IOException, MessagingException, InterruptedException
protected MuleMessage request(File file) throws MuleException, MalformedURLException
MuleException
MalformedURLException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.