com.artima.testkit
Interface Rerunnable
- public interface Rerunnable
Interface implemented by objects that can rerun tests or other entities. An object implementing
this interface can be passed to a Reporter as part of a Report. The
test or other entity about which the report is made can then be rerun by invoking the
rerun method on the Rerunable.
|
Method Summary |
void |
rerun(Reporter reporter,
java.lang.ClassLoader loader)
Rerun a test or other entity, reporting results to the specified Reporter. |
rerun
public void rerun(Reporter reporter,
java.lang.ClassLoader loader)
- Rerun a test or other entity, reporting results to the specified
Reporter.
- Parameters:
reporter - the Reporter to which results will be reportedloader - the ClassLoader from which to load classes needed to rerun
the test or other entity.- Throws:
NullPointerException - if reporter is null.