public class SftpWrongPassPhraseOnOutboundDirectoryTestCase extends AbstractSftpDataIntegrityTestCase
AbstractSftpTestCase.DispatchParameters
AbstractServiceAndFlowTestCase.ConfigVariant
TEMP_DIR
FILENAME, INBOUND_ENDPOINT_DIR, MESSAGE_PROPERTIES, OUTBOUND_ENDPOINT_DIR, port, sftpClient, sftpServer
configResources, variant
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 |
---|
SftpWrongPassPhraseOnOutboundDirectoryTestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant,
String configResources) |
Modifier and Type | Method and Description |
---|---|
protected void |
initEndpointDirectory(String endpointName)
Ensures that the directory exists and is writable by deleting the directory
and then recreate it.
|
static Collection<Object[]> |
parameters() |
void |
testWrongPassPhraseOnOutboundDirectory()
The outbound directory doesn't exist.
|
verifyInAndOutFiles
assertFilesInEndpoint, assertFilesInEndpoint, assertFilesInEndpoint, assertFilesInEndpoint, assertFilesInLocalFilesystem, assertFilesInLocalFilesystem, assertNoFilesInEndpoint, assertNoFilesInEndpoint, assertNoFilesInLocalFilesystem, checkConnectors, createRemoteDirectory, dispatchAndWaitForDelivery, dispatchAndWaitForException, dispatchAndWaitForException, doSetUpBeforeMuleContextCreation, executeBaseAssertionsAfterCall, executeBaseAssertionsBeforeCall, executeBaseTest, executeBaseTest, executeBaseTest, getAddressByEndpoint, getImmutableEndpoint, getPathByEndpoint, getSftpClient, getSftpClient, getUriByEndpointName, initEndpointDirectories, recursiveDelete, recursiveDeleteInLocalFilesystem, remoteChmod, startServerOnStartUp, startSftpServerAndClient, stopSftpServerAndClient, verifyFileExists, verifyFileExists
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, doTearDown, 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 SftpWrongPassPhraseOnOutboundDirectoryTestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant, String configResources)
public static Collection<Object[]> parameters()
public void testWrongPassPhraseOnOutboundDirectory() throws Exception
Exception
protected void initEndpointDirectory(String endpointName) throws MuleException, IOException, com.jcraft.jsch.SftpException
initEndpointDirectory
in class AbstractSftpTestCase
MuleException
IOException
com.jcraft.jsch.SftpException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.