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.Runnerrunner
-
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.RunnergetDecoratedRunner()org.junit.runner.DescriptiongetDescription()voidrun(org.junit.runner.notification.RunNotifier notifier)
-
-
-
Method Detail
-
getDescription
public org.junit.runner.Description getDescription()
- Specified by:
getDescriptionin interfaceorg.junit.runner.Describable- Specified by:
getDescriptionin classorg.junit.runner.Runner
-
run
public void run(org.junit.runner.notification.RunNotifier notifier)
- Specified by:
runin classorg.junit.runner.Runner
-
getDecoratedRunner
public org.junit.runner.Runner getDecoratedRunner()
- Specified by:
getDecoratedRunnerin interfaceRunnerDecorator
-
-