Class 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)  
      • Methods inherited from class org.junit.runner.Runner

        testCount
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • runner

        protected final org.junit.runner.Runner runner
    • Constructor Detail

      • IgnoringRunnerDecorator

        IgnoringRunnerDecorator​(org.junit.runner.Runner runner)
    • Method Detail

      • 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