public class ErrorReportingRunner extends Runner
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<java.lang.Throwable> |
causes |
private java.lang.Class<?> |
testClass |
| Constructor and Description |
|---|
ErrorReportingRunner(java.lang.Class<?> testClass,
java.lang.Throwable cause) |
| Modifier and Type | Method and 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) |
private final java.util.List<java.lang.Throwable> causes
private final java.lang.Class<?> testClass
public ErrorReportingRunner(java.lang.Class<?> testClass,
java.lang.Throwable cause)
public Description getDescription()
getDescription in interface DescribablegetDescription in class RunnerDescription showing the tests to be run by the receiverpublic void run(RunNotifier notifier)
Runnerprivate java.util.List<java.lang.Throwable> getCauses(java.lang.Throwable cause)
private Description describeCause(java.lang.Throwable child)
private void runCause(java.lang.Throwable child,
RunNotifier notifier)