Package org.mockito.internal.runners
Class DefaultInternalRunner
- java.lang.Object
-
- org.mockito.internal.runners.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.BlockJUnit4ClassRunnerrunner
-
Constructor Summary
Constructors Constructor Description DefaultInternalRunner(java.lang.Class<?> testClass, Supplier<MockitoTestListener> listenerSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfilter(org.junit.runner.manipulation.Filter filter)org.junit.runner.DescriptiongetDescription()voidrun(org.junit.runner.notification.RunNotifier notifier)
-
-
-
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:
runin interfaceInternalRunner
-
getDescription
public org.junit.runner.Description getDescription()
- Specified by:
getDescriptionin interfaceInternalRunner
-
filter
public void filter(org.junit.runner.manipulation.Filter filter) throws org.junit.runner.manipulation.NoTestsRemainException- Specified by:
filterin interfaceorg.junit.runner.manipulation.Filterable- Throws:
org.junit.runner.manipulation.NoTestsRemainException
-
-