Java Globus API: Class GridFTPClientTest
org.globus.ftp.test
Class GridFTPClientTest
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--org.globus.ftp.test.GridFTPClientTest
- All Implemented Interfaces:
- junit.framework.Test
- public class GridFTPClientTest
- 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 |
client
protected FTPClient client
GridFTPClientTest
public GridFTPClientTest(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
testFeature
public void testFeature()
throws Exception
testOptions
public void testOptions()
throws Exception
testRestartMarker
public void testRestartMarker()
throws Exception
test3PartyModeE
public void test3PartyModeE()
throws Exception
- try third party transfer.
no exception should be thrown.
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_noSuchServer
public void test3Party_noSuchServer()
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.