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.
-
SuiteOptions()
-
-
configUsingTokens(String[])
- Configures the suite options using the command line tokens.
-
getRootTestClassName()
- Returns the root test class name or null if none.
-
isNoCatch()
- Returns the "no catch" policy.
-
setNoCatch(boolean)
- Sets whether the "no catch" policy is in effect or not.
-
setRootTestClassName(String)
- Sets the root test class name, which must implement Test and is
probably a container.
SuiteOptions
public SuiteOptions()
setRootTestClassName
public void setRootTestClassName(String className)
- Sets the root test class name, which must implement Test and is
probably a container.
getRootTestClassName
public String getRootTestClassName()
- Returns the root test class name or null if none.
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.
isNoCatch
public boolean isNoCatch()
- Returns the "no catch" policy.
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