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


Field Summary
protected  FTPClient client
           
 
Constructor Summary
GridFTPClientTest(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_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 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
 

Field Detail

client

protected FTPClient client
Constructor Detail

GridFTPClientTest

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

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.