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 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 interface org.junit.runner.Describable
      Specified by:
      getDescription in class org.junit.runner.Runner
    • run

      public void run(org.junit.runner.notification.RunNotifier notifier)
      Specified by:
      run in class org.junit.runner.Runner
    • getDecoratedRunner

      public org.junit.runner.Runner getDecoratedRunner()
      Specified by:
      getDecoratedRunner in interface RunnerDecorator