Module org.junit.vintage.engine
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
class IgnoringRunnerDecorator extends org.junit.runner.Runner implements RunnerDecorator
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 Modifier and Type Field Description protected org.junit.runner.Runner
runner
-
Constructor Summary
Constructors Constructor Description IgnoringRunnerDecorator(org.junit.runner.Runner runner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runner.Runner
getDecoratedRunner()
org.junit.runner.Description
getDescription()
void
run(org.junit.runner.notification.RunNotifier notifier)
-
-
-
Method Detail
-
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
-
-