com.enterprisedt.net.ftp.test
Class TestAutoModeTransfer

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.enterprisedt.net.ftp.test.FTPTestCase
              extended by com.enterprisedt.net.ftp.test.TestAutoModeTransfer
All Implemented Interfaces:
junit.framework.Test

public class TestAutoModeTransfer
extends FTPTestCase

Test automatic switching between ASCII & binary files

Version:
$Revision: 1.1 $
Author:
Bruce Blackshaw

Field Summary
static java.lang.String cvsId
          Revision 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
TestAutoModeTransfer()
           
 
Method Summary
protected  java.lang.String getLogName()
          Get name of log file
static void main(java.lang.String[] args)
          Enable our class to be run, doing the tests
static junit.framework.Test suite()
          Automatic test suite construction
 void testAutoModeTransfer()
          Test transfering files with auto switched on
 
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

cvsId

public static java.lang.String cvsId
Revision control id

Constructor Detail

TestAutoModeTransfer

public TestAutoModeTransfer()
Method Detail

getLogName

protected java.lang.String getLogName()
Get name of log file

Specified by:
getLogName in class FTPTestCase
Returns:
name of file to log to

testAutoModeTransfer

public void testAutoModeTransfer()
                          throws java.lang.Exception
Test transfering files with auto switched on

Throws:
java.lang.Exception

suite

public static junit.framework.Test suite()
Automatic test suite construction

Returns:
suite of tests for this class

main

public static void main(java.lang.String[] args)
Enable our class to be run, doing the tests



Copyright (c) 2001-2007 Enterprise Distributed Technologies Ltd. All Rights Reserved.