Package org.mockito.internal.runners
Class StrictRunner
- java.lang.Object
-
- org.mockito.internal.runners.StrictRunner
-
- All Implemented Interfaces:
org.junit.runner.manipulation.Filterable,InternalRunner
public class StrictRunner extends java.lang.Object implements InternalRunner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private classStrictRunner.RecordingFilter
-
Field Summary
Fields Modifier and Type Field Description private InternalRunnerrunnerprivate java.lang.Class<?>testClassprivate booleantestsSkipped
-
Constructor Summary
Constructors Constructor Description StrictRunner(InternalRunner runner, java.lang.Class<?> testClass)
-
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)
-
-
-
Field Detail
-
testClass
private final java.lang.Class<?> testClass
-
runner
private final InternalRunner runner
-
testsSkipped
private boolean testsSkipped
-
-
Constructor Detail
-
StrictRunner
public StrictRunner(InternalRunner runner, java.lang.Class<?> testClass)
- Parameters:
runner- - the runner to wrap aroundtestClass- - for reporting purposes
-
-
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
-
-