org.mule.transport.ftp.server
Class FTPServerClientTest

java.lang.Object
  extended by org.mule.tck.junit4.AbstractMuleTestCase
      extended by org.mule.transport.ftp.server.FTPServerClientTest

public class FTPServerClientTest
extends AbstractMuleTestCase

Various tests against the FTPClient/Server we use in Mule ftp transport tests. This is to make sure basic ftp functionality works with our current ftp client/server before we throw Mule into the mix.


Field Summary
 DynamicPort dynamicPort
           
 
Fields inherited from class org.mule.tck.junit4.AbstractMuleTestCase
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY
 
Constructor Summary
FTPServerClientTest()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testCreateDeleteDir()
          Create a directory and delete it
 void testCreateDeleteFile()
          Create a file and delete it
 void testRecursiveDelete()
          Create a bunch of files/dirs then recursively delete them
 
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
 

Field Detail

dynamicPort

public DynamicPort dynamicPort
Constructor Detail

FTPServerClientTest

public FTPServerClientTest()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

testCreateDeleteDir

public void testCreateDeleteDir()
                         throws IOException
Create a directory and delete it

Throws:
IOException

testCreateDeleteFile

public void testCreateDeleteFile()
                          throws IOException
Create a file and delete it

Throws:
IOException

testRecursiveDelete

public void testRecursiveDelete()
                         throws IOException
Create a bunch of files/dirs then recursively delete them

Throws:
IOException

tearDown

public void tearDown()


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