Class StrictRunner

java.lang.Object
org.mockito.internal.runners.StrictRunner
All Implemented Interfaces:
org.junit.runner.manipulation.Filterable, InternalRunner

public class StrictRunner extends Object implements InternalRunner
  • Field Details

    • testClass

      private final Class<?> testClass
    • runner

      private final InternalRunner runner
    • filterRequested

      private boolean filterRequested
  • Constructor Details

    • StrictRunner

      public StrictRunner(InternalRunner runner, Class<?> testClass)
      Parameters:
      runner - - the runner to wrap around
      testClass - - for reporting purposes
  • Method Details

    • run

      public void run(org.junit.runner.notification.RunNotifier notifier)
      Specified by:
      run in interface InternalRunner
    • getDescription

      public org.junit.runner.Description getDescription()
      Specified by:
      getDescription in interface InternalRunner
    • filter

      public void filter(org.junit.runner.manipulation.Filter filter) throws org.junit.runner.manipulation.NoTestsRemainException
      Specified by:
      filter in interface org.junit.runner.manipulation.Filterable
      Throws:
      org.junit.runner.manipulation.NoTestsRemainException