Java Globus API: Class GridFTPClient2PartyAsynchTransferTest

org.globus.ftp.test
Class GridFTPClient2PartyAsynchTransferTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--org.globus.ftp.test.GridFTPClient2PartyTransferTest
                    |
                    +--org.globus.ftp.test.GridFTPClient2PartyAsynchTransferTest
All Implemented Interfaces:
junit.framework.Test

public class GridFTPClient2PartyAsynchTransferTest
extends GridFTPClient2PartyTransferTest

Test GridFTPClient.get() and put()


Field Summary
protected static org.apache.log4j.Logger logger
           
 
Constructor Summary
GridFTPClient2PartyAsynchTransferTest(String name)
           
 
Method Summary
protected  void get(GridFTPClient client, int localServerMode, int transferType, int transferMode, DataChannelAuthentication dcau, int prot, String fullLocalFile, String fullRemoteFile)
          This method performs the actual transfer
static void main(String[] args)
           
protected  void put(GridFTPClient client, int localServerMode, int transferType, int transferMode, DataChannelAuthentication dcau, int prot, String fullLocalFile, String fullRemoteFile)
          This method performs the actual transfer
static junit.framework.Test suite()
           
 void testGetActive()
           
 void testGetPassive()
           
 void testPutActive()
           
 void testPutPassive()
           
 
Methods inherited from class org.globus.ftp.test.GridFTPClient2PartyTransferTest
getCredential, testGet, testGet, testGet, testPut, testPut, testPut
 
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

logger

protected static org.apache.log4j.Logger logger
Constructor Detail

GridFTPClient2PartyAsynchTransferTest

public GridFTPClient2PartyAsynchTransferTest(String name)
Method Detail

main

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

suite

public static junit.framework.Test suite()

testGetPassive

public void testGetPassive()
                    throws Exception
Overrides:
testGetPassive in class GridFTPClient2PartyTransferTest

testGetActive

public void testGetActive()
                   throws Exception
Overrides:
testGetActive in class GridFTPClient2PartyTransferTest

testPutPassive

public void testPutPassive()
                    throws Exception
Overrides:
testPutPassive in class GridFTPClient2PartyTransferTest

testPutActive

public void testPutActive()
                   throws Exception
Overrides:
testPutActive in class GridFTPClient2PartyTransferTest

get

protected void get(GridFTPClient client,
                   int localServerMode,
                   int transferType,
                   int transferMode,
                   DataChannelAuthentication dcau,
                   int prot,
                   String fullLocalFile,
                   String fullRemoteFile)
            throws Exception
Description copied from class: GridFTPClient2PartyTransferTest
This method performs the actual transfer
Overrides:
get in class GridFTPClient2PartyTransferTest

put

protected void put(GridFTPClient client,
                   int localServerMode,
                   int transferType,
                   int transferMode,
                   DataChannelAuthentication dcau,
                   int prot,
                   String fullLocalFile,
                   String fullRemoteFile)
            throws Exception
This method performs the actual transfer
Overrides:
put in class GridFTPClient2PartyTransferTest