Package 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
-
-
Constructor Summary
Constructors Constructor Description ErrorReportingRunner(java.lang.Class<?> testClass, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private Description
describeCause(java.lang.Throwable child)
private java.util.List<java.lang.Throwable>
getCauses(java.lang.Throwable cause)
Description
getDescription()
void
run(RunNotifier notifier)
Run the tests for this runner.private void
runCause(java.lang.Throwable child, RunNotifier notifier)
-
-
-
Method Detail
-
getDescription
public Description getDescription()
- Specified by:
getDescription
in interfaceDescribable
- Specified by:
getDescription
in classRunner
- 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.
-
getCauses
private java.util.List<java.lang.Throwable> getCauses(java.lang.Throwable cause)
-
describeCause
private Description describeCause(java.lang.Throwable child)
-
runCause
private void runCause(java.lang.Throwable child, RunNotifier notifier)
-
-