| java.lang.Object test.org.mandarax.testsupport.TestRunner
TestRunner | public class TestRunner (Code) | | Utility class to build test runner. For a detailed description
how it works, read the comment for run(Class,String[])
author: Jens Dietrich version: 3.4 <7 March 05> since: 1.2 |
Method Summary | |
public static void | run(Class suite, String[] pars) Run a test suite. | public static void | run(Class suite, String[] pars, boolean initLog) Run a test suite. |
run | public static void run(Class suite, String[] pars)(Code) | | Run a test suite. suite is a class that has a static suite() method returning a test suite.
The parameters determine how the test should be performed.
By default, the swing test runner (junit.swingui.TestRunner) is used.
If one parameter equals "awt", we use the awt based test runner, if "text" is specified, we use
the text based swing runner. By default, classes are not reloaded.
Parameters: suite - a test suite Parameters: pars - java.lang.String[] |
run | public static void run(Class suite, String[] pars, boolean initLog)(Code) | | Run a test suite. suite is a class that has a static suite() method returning a test suite.
The parameters determine how the test should be performed.
By default, the swing test runner (junit.swingui.TestRunner) is used.
If one parameter equals "awt", we use the awt based test runner, if "text" is specified, we use
the text based swing runner. By default, classes are not reloaded.
Parameters: suite - a test suite Parameters: pars - java.lang.String[] Parameters: initLog - whether to initialize log4j |
|
|