Package org.junit.internal.runners
Class ErrorReportingRunner
java.lang.Object
org.junit.runner.Runner
org.junit.internal.runners.ErrorReportingRunner
- All Implemented Interfaces:
Describable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionErrorReportingRunner
(Class<?> testClass, Throwable cause) ErrorReportingRunner
(Throwable cause, Class<?>... testClasses) -
Method Summary
Modifier and TypeMethodDescriptionprivate Description
private String
getClassNames
(Class<?>... testClasses) void
run
(RunNotifier notifier) Run the tests for this runner.private void
runCause
(Throwable child, RunNotifier notifier)
-
Field Details
-
causes
-
classNames
-
-
Constructor Details
-
ErrorReportingRunner
-
ErrorReportingRunner
-
-
Method Details
-
getDescription
- Specified by:
getDescription
in interfaceDescribable
- Specified by:
getDescription
in classRunner
- Returns:
- a
Description
showing the tests to be run by the receiver
-
run
Description copied from class:Runner
Run the tests for this runner. -
getClassNames
-
getCauses
-
describeCause
-
runCause
-