All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.ajug.jsl.jester.tester.SuiteOptions

java.lang.Object
   |
   +----org.ajug.jsl.jester.tester.SuiteOptions

public class SuiteOptions
extends Object
This class contains all the options describing a test suite. This is all the data needed to run a suite.

The default for all Strings is null and all booleans false.


Constructor Index

 o SuiteOptions()

Method Index

 o configUsingTokens(String[])
Configures the suite options using the command line tokens.
 o getRootTestClassName()
Returns the root test class name or null if none.
 o isNoCatch()
Returns the "no catch" policy.
 o setNoCatch(boolean)
Sets whether the "no catch" policy is in effect or not.
 o setRootTestClassName(String)
Sets the root test class name, which must implement Test and is probably a container.

Constructors

 o SuiteOptions
 public SuiteOptions()

Methods

 o setRootTestClassName
 public void setRootTestClassName(String className)
Sets the root test class name, which must implement Test and is probably a container.

 o getRootTestClassName
 public String getRootTestClassName()
Returns the root test class name or null if none.

 o setNoCatch
 public void setNoCatch(boolean isNoCatch)
Sets whether the "no catch" policy is in effect or not. If in effect then exceptions will not be caught. The default is false.

 o isNoCatch
 public boolean isNoCatch()
Returns the "no catch" policy.

 o configUsingTokens
 public void configUsingTokens(String tokens[])
Configures the suite options using the command line tokens. See documentation in Tester for command line documentation. Use of this method is an alternative to configuring this class with the other setters. Note that the tokens are not saved, but merely converted to property values. This is a sophisticated convenience method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index