GridFTPClientTest (Java Globus API)

org.globus.ftp.test
Class GridFTPClientTest

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

public class GridFTPClientTest
extends TestCase

See Also:
Serialized Form

Field Summary
protected  FTPClient client
           
 
Constructor Summary
GridFTPClientTest(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 test3PartyModeE()
          try third party transfer.
 void testDir()
           
 void testFeature()
           
 void testOptions()
           
 void testRestartMarker()
           
 void testSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

client

protected FTPClient client
Constructor Detail

GridFTPClientTest

public GridFTPClientTest(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

testFeature

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

testOptions

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

testRestartMarker

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

test3PartyModeE

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

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