Java Globus API: Class FTPClientTest
org.globus.ftp.test
Class FTPClientTest
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--org.globus.ftp.test.FTPClientTest
- All Implemented Interfaces:
- junit.framework.Test
- public class FTPClientTest
- extends junit.framework.TestCase
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
FTPClientTest
public FTPClientTest(String name)
main
public static void main(String[] args)
throws Exception
suite
public static junit.framework.Test suite()
testSize
public void testSize()
throws Exception
testDir
public void testDir()
throws Exception
testModes
public void testModes()
throws Exception
testRestartMarker
public void testRestartMarker()
throws Exception
test3Party
public void test3Party()
throws Exception
- try third party transfer.
no exception should be thrown.
test3Party_noSuchPort
public void test3Party_noSuchPort()
throws Exception
- Try transferring file to and from bad port on existing server.
IOException should be thrown.
test3Party_noSuchServer1
public void test3Party_noSuchServer1()
throws Exception
- Try transferring file to and from non existent server.
IOException should be thrown.
test3Party_noSuchServer2
public void test3Party_noSuchServer2()
throws Exception
- Try transferring file to and from non existent server.
IOException should be thrown.
test3Party_noSuchSrcFile
public void test3Party_noSuchSrcFile()
throws Exception
- try transferring non existent file;
ServerException should be thrown
test3Party_noSuchDestDir
public void test3Party_noSuchDestDir()
throws Exception
- try transferring file to non existent directory;
ServerException should be thrown.