FTPClientTest (Java Globus API)

org.globus.ftp.test
Class FTPClientTest

java.lang.Object
  |
  +--TestCase
        |
        +--org.globus.ftp.test.FTPClientTest

public class FTPClientTest
extends TestCase

See Also:
Serialized Form

Field Summary
protected  FTPClient dest
           
protected  FTPClient src
           
 
Constructor Summary
FTPClientTest(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void setUp()
          This will be called before each test
static Test suite()
           
 void tearDown()
          This will be called after each test
 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_noSuchServer()
          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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

src

protected FTPClient src

dest

protected FTPClient dest
Constructor Detail

FTPClientTest

public FTPClientTest(java.lang.String name)
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
java.lang.Exception

suite

public static Test suite()

setUp

public void setUp()
           throws java.lang.Exception
This will be called before each test

java.lang.Exception

tearDown

public void tearDown()
              throws java.lang.Exception
This will be called after each test

java.lang.Exception

testSize

public void testSize()
              throws java.lang.Exception
java.lang.Exception

testDir

public void testDir()
             throws java.lang.Exception
java.lang.Exception

testModes

public void testModes()
               throws java.lang.Exception
java.lang.Exception

testRestartMarker

public void testRestartMarker()
                       throws java.lang.Exception
java.lang.Exception

test3Party

public void test3Party()
                throws java.lang.Exception
try third party transfer. no exception should be thrown.

java.lang.Exception

test3Party_noSuchPort

public void test3Party_noSuchPort()
                           throws java.lang.Exception
Try transferring file to and from bad port on existing server. IOException should be thrown.

java.lang.Exception

test3Party_noSuchServer

public void test3Party_noSuchServer()
                             throws java.lang.Exception
Try transferring file to and from non existent server. IOException should be thrown.

java.lang.Exception

test3Party_noSuchSrcFile

public void test3Party_noSuchSrcFile()
                              throws java.lang.Exception
try transferring non existent file; ServerException should be thrown

java.lang.Exception

test3Party_noSuchDestDir

public void test3Party_noSuchDestDir()
                              throws java.lang.Exception
try transferring file to non existent directory; ServerException should be thrown.

java.lang.Exception