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


Constructor Summary
FTPClientTest(String name)
           
 
Method Summary
static void main(String[] args)
           
static junit.framework.Test suite()
           
 void test3Party_noSuchDestDir()
          try transferring file to non existent directory; ServerException should be thrown.
 void test3Party_noSuchPort()
          Try transferring file to and from bad port on existing server.
 void test3Party_noSuchServer1()
          Try transferring file to and from non existent server.
 void test3Party_noSuchServer2()
          Try transferring file to and from non existent server.
 void test3Party_noSuchSrcFile()
          try transferring non existent file; ServerException should be thrown
 void test3Party()
          try third party transfer.
 void testDir()
           
 void testModes()
           
 void testRestartMarker()
           
 void testSize()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FTPClientTest

public FTPClientTest(String name)
Method Detail

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.