| 
 | edtFTPj | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.enterprisedt.net.ftp.test.FTPTestCase
com.enterprisedt.net.ftp.test.TestTransfer
public class TestTransfer
Test get'ing and put'ing of remote files in various ways
| Nested Class Summary | |
|---|---|
|  class | TestTransfer.TestProgressMonitorTest of progress monitor functionality | 
| Field Summary | |
|---|---|
| static String | cvsIdRevision control id | 
| Fields inherited from class com.enterprisedt.net.ftp.test.FTPTestCase | 
|---|
| bulkCount, ftp, highPort, localBigFile, localBigTextFile, localBinaryFile, localDataDir, localEmptyFile, localTestDir, localTextFile, localUnixTextFile, log, logDir, lowPort, props, remoteBinaryFile, remoteEmptyDir, remoteEmptyFile, remoteTextFile, testdir, tools | 
| Constructor Summary | |
|---|---|
| TestTransfer() | |
| Method Summary | |
|---|---|
| protected  String | getLogName()Get name of log file | 
| static void | main(String[] args)Enable our class to be run, doing the tests | 
| static junit.framework.Test | suite()Automatic test suite construction | 
|  void | testGetBytes()Test getting a byte array | 
|  void | testNoLocalFilename()Test transfering by only supplying a local dir, not a full pathname | 
|  void | testPutAppend()Test the append functionality in put() | 
|  void | testTransferBinary()Test transfering a binary file | 
|  void | testTransferEmpty()Test transferring empty files | 
|  void | testTransferNonExistent()Test transferring non-existent files | 
|  void | testTransferStream()Test the stream functionality | 
|  void | testTransferText()Test transfering a text file | 
|  void | testTransferUnique()Test transfering using the server to generate a unique file name | 
|  void | testTransferUnixText()Test transfering a text file | 
| Methods inherited from class com.enterprisedt.net.ftp.test.FTPTestCase | 
|---|
| assertIdentical, assertIdentical, assertIdentical, bulkTransfer, connect, generateRandomFilename, print, print, print, setUp, tearDown | 
| Methods inherited from class junit.framework.TestCase | 
|---|
| countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString | 
| Methods inherited from class junit.framework.Assert | 
|---|
| assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, 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 | 
|---|
public static String cvsId
| Constructor Detail | 
|---|
public TestTransfer()
| Method Detail | 
|---|
protected String getLogName()
getLogName in class FTPTestCase
public void testTransferBinary()
                        throws Exception
Exception
public void testTransferUnique()
                        throws Exception
Exception
public void testNoLocalFilename()
                         throws Exception
Exception
public void testTransferText()
                      throws Exception
Exception
public void testTransferUnixText()
                          throws Exception
Exception
public void testGetBytes()
                  throws Exception
Exception
public void testTransferStream()
                        throws Exception
Exception
public void testPutAppend()
                   throws Exception
Exception
public void testTransferEmpty()
                       throws Exception
Exception
public void testTransferNonExistent()
                             throws Exception
Exceptionpublic static junit.framework.Test suite()
public static void main(String[] args)
| 
 | edtFTPj | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||