getopt-0.3

jrowe.test
Class Tester

java.lang.Object
  |
  +--jrowe.test.Tester

public class Tester
extends Object
implements Serializable

Version:
1.0 30 MAY 2000 Intial version.
Author:
Joshua T. Rowe
See Also:
Serialized Form

Field Summary
static String CONSOLE_PROP
          Indicates the user interface ought to use the command line.
static String NATIVE_PROP
          Indicates the user interface ought to use the AWT widget set.
static String SWING_PROP
          Indicates the user interface ought to use the Swing widget set.
static String UI_PROP
          The name of the system property which stores the gui indicator.
 
Constructor Summary
Tester()
          Creates a Tester.
 
Method Summary
static Test createSuite(Class suiteClass)
          Deprecated.  
static TestSuite createTestSuite(Class cls)
           
static TestSuite createTestSuite(String className)
           
 boolean isConsole()
          Returns whether the console based user interface will be used or not.
 boolean isNativeGUI()
          Returns whether the AWT graphical user interface will be used or not.
 boolean isSwingGUI()
          Returns whether the Swing graphical user interface will be used or not.
static void main(String[] args)
           
 void runSuite(Class cls)
           
 void runSuite(String suiteName)
           
 void runSuite(Test test)
           
 void runSuite(TestSuite suite)
           
 void runSuiteConsole(String className)
           
 void runSuiteConsole(Test suite)
           
 void runSuiteNative(String className)
           
 void runSuiteSwing(String className)
           
 void setConsole()
          Sets this Tester to use the console based user interface.
 void setNativeGUI()
          Sets this Tester to use the AWT graphical user interface.
 void setSwingGUI(boolean newSwingGUI)
          Sets this Tester to use the Swing graphical user interface.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UI_PROP

public static final String UI_PROP
The name of the system property which stores the gui indicator. The gui indicator indicates what form of user interface to use.

NATIVE_PROP

public static final String NATIVE_PROP
Indicates the user interface ought to use the AWT widget set.

SWING_PROP

public static final String SWING_PROP
Indicates the user interface ought to use the Swing widget set.

CONSOLE_PROP

public static final String CONSOLE_PROP
Indicates the user interface ought to use the command line.
Constructor Detail

Tester

public Tester()
Creates a Tester.
Method Detail

setConsole

public void setConsole()
Sets this Tester to use the console based user interface.

isConsole

public boolean isConsole()
Returns whether the console based user interface will be used or not.

setSwingGUI

public void setSwingGUI(boolean newSwingGUI)
Sets this Tester to use the Swing graphical user interface.

isSwingGUI

public boolean isSwingGUI()
Returns whether the Swing graphical user interface will be used or not.

setNativeGUI

public void setNativeGUI()
Sets this Tester to use the AWT graphical user interface.

isNativeGUI

public boolean isNativeGUI()
Returns whether the AWT graphical user interface will be used or not.

createSuite

public static Test createSuite(Class suiteClass)
Deprecated.  

Creates a Test from the specified class.
Parameters:
suiteClass - the specified class

runSuite

public void runSuite(Class cls)

runSuite

public void runSuite(String suiteName)

runSuite

public void runSuite(Test test)

runSuite

public void runSuite(TestSuite suite)

runSuiteNative

public void runSuiteNative(String className)

runSuiteSwing

public void runSuiteSwing(String className)

runSuiteConsole

public void runSuiteConsole(String className)

runSuiteConsole

public void runSuiteConsole(Test suite)

createTestSuite

public static TestSuite createTestSuite(String className)

createTestSuite

public static TestSuite createTestSuite(Class cls)

main

public static void main(String[] args)

getopt-0.3