Class DefaultInternalRunner

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

public class DefaultInternalRunner extends Object implements InternalRunner
  • Field Details

    • runner

      private final org.junit.runners.BlockJUnit4ClassRunner runner
  • Constructor Details

    • DefaultInternalRunner

      public DefaultInternalRunner(Class<?> testClass, Supplier<MockitoTestListener> listenerSupplier) throws org.junit.runners.model.InitializationError
      Throws:
      org.junit.runners.model.InitializationError
  • 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