public class SftpAutoDeleteTestCase extends AbstractSftpFunctionalTestCase
Modifier and Type | Class and Description |
---|---|
static class |
SftpAutoDeleteTestCase.LatchMessageProcessor |
Modifier and Type | Field and Description |
---|---|
String |
profile |
SFTP_PORT, sftpClient, sftpPort, sftpServer, TESTDIR
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, muleContext, RECEIVE_TIMEOUT, TEST_MESSAGE, 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 |
---|
SftpAutoDeleteTestCase() |
Modifier and Type | Method and Description |
---|---|
protected void |
doSetUpBeforeMuleContextCreation() |
void |
doTearDown()
Enables the adding of extra behavior on the tear down stage of a test
before the mule context is disposed in
AbstractMuleContextTestCase.disposeContextPerTest() . |
protected void |
doTearDownAfterMuleContextDispose() |
void |
endpointAutoDeleteFalse() |
void |
endpointAutoDeleteTrue() |
protected String |
getConfigFile() |
static Collection<Object[]> |
parameters() |
protected void |
setUpTestData() |
cleanUpTestFolder, createDefaultSftpClient, setUpServer
clearFlowAssertions, getBuilder, getComponent, getComponent, getConfigFiles, 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, doSetUp, 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, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile, takeTestCaseName
public String profile
public static Collection<Object[]> parameters()
protected String getConfigFile()
getConfigFile
in class FunctionalTestCase
protected void doSetUpBeforeMuleContextCreation() throws Exception
doSetUpBeforeMuleContextCreation
in class AbstractSftpFunctionalTestCase
Exception
protected void doTearDownAfterMuleContextDispose() throws Exception
doTearDownAfterMuleContextDispose
in class AbstractSftpFunctionalTestCase
Exception
protected void setUpTestData() throws IOException
setUpTestData
in class AbstractSftpFunctionalTestCase
IOException
public void doTearDown() throws Exception
AbstractMuleContextTestCase
AbstractMuleContextTestCase.disposeContextPerTest()
.
Under normal circumstances this method could be replace with a
@After
annotated method.
doTearDown
in class AbstractMuleContextTestCase
Exception
- if something fails that should halt the testcaseCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.