Java Globus API: Class GridFTPClient2PartyTransferTest
org.globus.ftp.test
Class GridFTPClient2PartyTransferTest
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--org.globus.ftp.test.GridFTPClient2PartyTransferTest
- All Implemented Interfaces:
- junit.framework.Test
- Direct Known Subclasses:
- GridFTPClient2PartyAsynchTransferTest
- public class GridFTPClient2PartyTransferTest
- extends junit.framework.TestCase
Test GridFTPClient.get() and put()
|
Field Summary |
protected static org.apache.log4j.Logger |
logger
|
|
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 |
protected GSSCredential |
getCredential()
|
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()
|
protected void |
testGet(int localServerMode)
|
protected void |
testGet(int localServerMode,
int transferType,
int transferMode)
|
protected void |
testGet(int localServerMode,
int transferType,
int transferMode,
DataChannelAuthentication dcau,
int prot)
|
void |
testGetActive()
|
void |
testGetPassive()
|
protected void |
testPut(int localServerMode)
|
protected void |
testPut(int localServerMode,
int transferType,
int transferMode)
|
protected void |
testPut(int localServerMode,
int transferType,
int transferMode,
DataChannelAuthentication dcau,
int prot)
|
void |
testPutActive()
|
void |
testPutPassive()
|
| 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 |
logger
protected static org.apache.log4j.Logger logger
GridFTPClient2PartyTransferTest
public GridFTPClient2PartyTransferTest(String name)
main
public static void main(String[] args)
throws Exception
suite
public static junit.framework.Test suite()
testGetPassive
public void testGetPassive()
throws Exception
testGetActive
public void testGetActive()
throws Exception
testPutPassive
public void testPutPassive()
throws Exception
testPutActive
public void testPutActive()
throws Exception
testGet
protected void testGet(int localServerMode)
throws Exception
testGet
protected void testGet(int localServerMode,
int transferType,
int transferMode)
throws Exception
testGet
protected void testGet(int localServerMode,
int transferType,
int transferMode,
DataChannelAuthentication dcau,
int prot)
throws Exception
testPut
protected void testPut(int localServerMode)
throws Exception
testPut
protected void testPut(int localServerMode,
int transferType,
int transferMode)
throws Exception
testPut
protected void testPut(int localServerMode,
int transferType,
int transferMode,
DataChannelAuthentication dcau,
int prot)
throws Exception
get
protected void get(GridFTPClient client,
int localServerMode,
int transferType,
int transferMode,
DataChannelAuthentication dcau,
int prot,
String fullLocalFile,
String fullRemoteFile)
throws Exception
- This method performs the actual transfer
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
getCredential
protected GSSCredential getCredential()
throws Exception