org.junit.internal.runners
Class ErrorReportingRunner
java.lang.Object
org.junit.runner.Runner
org.junit.internal.runners.ErrorReportingRunner
- All Implemented Interfaces:
- Describable
public class ErrorReportingRunner
- extends Runner
ErrorReportingRunner
public ErrorReportingRunner(Class<?> testClass,
Throwable cause)
getDescription
public Description getDescription()
- Specified by:
getDescription
in interface Describable
- Specified by:
getDescription
in class Runner
- Returns:
- a
Description
showing the tests to be run by the receiver
run
public void run(RunNotifier notifier)
- Description copied from class:
Runner
- Run the tests for this runner.
- Specified by:
run
in class Runner
- Parameters:
notifier
- will be notified of events while tests are being run--tests being
started, finishing, and failing