Class DefaultInternalRunner

  • All Implemented Interfaces:
    org.junit.runner.manipulation.Filterable, InternalRunner

    public class DefaultInternalRunner
    extends java.lang.Object
    implements InternalRunner
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.junit.runners.BlockJUnit4ClassRunner runner  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void filter​(org.junit.runner.manipulation.Filter filter)  
      org.junit.runner.Description getDescription()  
      void run​(org.junit.runner.notification.RunNotifier notifier)  
      • Methods inherited from class java.lang.Object

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

      • runner

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

      • DefaultInternalRunner

        public DefaultInternalRunner​(java.lang.Class<?> testClass,
                                     Supplier<MockitoTestListener> listenerSupplier)
                              throws org.junit.runners.model.InitializationError
        Throws:
        org.junit.runners.model.InitializationError
    • Method Detail

      • run

        public void run​(org.junit.runner.notification.RunNotifier notifier)
        Specified by:
        run 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