org.suiterunner
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 Rerunnable
.
- Author:
- Bill Venners
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
.
Copyright (C) 2001-2003 Artima Software, Inc. All rights reserved.