Class IgnoringRunnerDecorator
java.lang.Object
org.junit.runner.Runner
org.junit.vintage.engine.discovery.IgnoringRunnerDecorator
- All Implemented Interfaces:
org.junit.runner.Describable
,RunnerDecorator
- Direct Known Subclasses:
FilterableIgnoringRunnerDecorator
Decorator for Runners that will be ignored completely.
Contrary to IgnoredClassRunner
, this
runner returns a complete description including all children.
- Since:
- 5.1
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.junit.runner.Runner
org.junit.runner.Description
void
run
(org.junit.runner.notification.RunNotifier notifier) Methods inherited from class org.junit.runner.Runner
testCount
-
Field Details
-
runner
protected final org.junit.runner.Runner runner
-
-
Constructor Details
-
IgnoringRunnerDecorator
IgnoringRunnerDecorator(org.junit.runner.Runner runner)
-
-
Method Details
-
getDescription
public org.junit.runner.Description getDescription()- Specified by:
getDescription
in interfaceorg.junit.runner.Describable
- Specified by:
getDescription
in classorg.junit.runner.Runner
-
run
public void run(org.junit.runner.notification.RunNotifier notifier) - Specified by:
run
in classorg.junit.runner.Runner
-
getDecoratedRunner
public org.junit.runner.Runner getDecoratedRunner()- Specified by:
getDecoratedRunner
in interfaceRunnerDecorator
-