|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.mule.transport.ftp.server.FTPServerClientTest
public class FTPServerClientTest
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 | |
---|---|
static int |
PORT
|
Constructor Summary | |
---|---|
FTPServerClientTest()
|
Method Summary | |
---|---|
void |
setUp()
Initialize the ftp server |
void |
tearDown()
Stop the ftp server and disconnect the client |
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 junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int PORT
Constructor Detail |
---|
public FTPServerClientTest()
Method Detail |
---|
public void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
public void testCreateDeleteDir() throws IOException
IOException
public void testCreateDeleteFile() throws IOException
IOException
public void testRecursiveDelete() throws IOException
IOException
public void tearDown()
tearDown
in class junit.framework.TestCase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |