org.freecompany.imp
Class JUnit
public
class
JUnit
extends JUnitTask
This task extends the core task for running unit tests to enable
customizable logging per run. The behavior is identical to the
base task class except that an optional log level can be specified
which will be universally applied against all packages in the
master logger. Existing levels for each handler and the root
logger are saved and reset after the tests complete.
Constructor Summary |
| JUnit()
For some unknown reason the base class constructor throws Exception
so our default constructor must match. |
protected Level level
protected String[] packages
public JUnit()
For some unknown reason the base class constructor throws Exception
so our default constructor must match.
public void execute()
public void setLevel(String level)
public void setLoggers(String packages)