Java Globus API: Class TestEnv

org.globus.ftp.test
Class TestEnv

java.lang.Object
  |
  +--org.globus.ftp.test.TestEnv

public class TestEnv
extends Object

Utility for tests. This class has two functions. First, it holds in public variables the test properties. Second, it supplies simplified syntax for setting the values for class loggers.


Field Summary
static String CONFIG
           
static boolean failUnset
           
static String fileSeparator
           
static String localDestDir
           
static int localServerPort
           
static String localSrcDir
           
static String localSrcFile
           
static org.apache.log4j.Logger logger
          This logger can be used anywhere in the application.
static String nl
           
static String noSuchServer
           
static int parallelism
           
static String serverADir
           
static String serverAFile
           
static int serverAFileSize
           
static String serverAHost
           
static String serverALargeFile
           
static String serverANoSuchFile
           
static int serverANoSuchPort
           
static int serverAPort
           
static String serverASmallFile
           
static String serverBDir
           
static String serverBFile
           
static String serverBHost
           
static String serverBNoSuchDir
           
static int serverBPort
           
static String serverFDir
           
static String serverFFile
           
static int serverFFileSize
           
static String serverFHost
           
static String serverFNoSuchFile
           
static int serverFNoSuchPort
           
static String serverFPassword
           
static int serverFPort
           
static String serverFUser
           
static String serverGDir
           
static String serverGFile
           
static String serverGHost
           
static String serverGNoSuchDir
           
static String serverGPassword
           
static int serverGPort
           
static String serverGUser
           
static int UNDEFINED
           
 
Constructor Summary
TestEnv()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static org.apache.log4j.Logger logger
This logger can be used anywhere in the application.

UNDEFINED

public static final int UNDEFINED

localDestDir

public static String localDestDir

localSrcDir

public static String localSrcDir

localSrcFile

public static String localSrcFile

localServerPort

public static int localServerPort

serverAHost

public static String serverAHost

serverAPort

public static int serverAPort

serverADir

public static String serverADir

serverAFile

public static String serverAFile

serverAFileSize

public static int serverAFileSize

serverALargeFile

public static String serverALargeFile

serverASmallFile

public static String serverASmallFile

serverANoSuchFile

public static String serverANoSuchFile

serverANoSuchPort

public static int serverANoSuchPort

serverBHost

public static String serverBHost

serverBPort

public static int serverBPort

serverBDir

public static String serverBDir

serverBFile

public static String serverBFile

serverBNoSuchDir

public static String serverBNoSuchDir

noSuchServer

public static String noSuchServer

serverFHost

public static String serverFHost

serverFPort

public static int serverFPort

serverFDir

public static String serverFDir

serverFFile

public static String serverFFile

serverFFileSize

public static int serverFFileSize

serverFUser

public static String serverFUser

serverFPassword

public static String serverFPassword

serverFNoSuchFile

public static String serverFNoSuchFile

serverFNoSuchPort

public static int serverFNoSuchPort

serverGHost

public static String serverGHost

serverGPort

public static int serverGPort

serverGDir

public static String serverGDir

serverGFile

public static String serverGFile

serverGUser

public static String serverGUser

serverGPassword

public static String serverGPassword

serverGNoSuchDir

public static String serverGNoSuchDir

parallelism

public static int parallelism

fileSeparator

public static String fileSeparator

nl

public static String nl

failUnset

public static boolean failUnset

CONFIG

public static final String CONFIG
Constructor Detail

TestEnv

public TestEnv()