Package org.mockito.runners
Class ConsoleSpammingMockitoJUnitRunner
java.lang.Object
org.junit.runner.Runner
org.mockito.runners.ConsoleSpammingMockitoJUnitRunner
- All Implemented Interfaces:
org.junit.runner.Describable
,org.junit.runner.manipulation.Filterable
@Deprecated
public class ConsoleSpammingMockitoJUnitRunner
extends org.junit.runner.Runner
implements org.junit.runner.manipulation.Filterable
Deprecated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MockitoLogger
Deprecated.private final InternalRunner
Deprecated. -
Constructor Summary
ConstructorsConstructorDescriptionConsoleSpammingMockitoJUnitRunner
(Class<?> klass) Deprecated.ConsoleSpammingMockitoJUnitRunner
(MockitoLogger logger, InternalRunner runner) Deprecated. -
Method Summary
Methods inherited from class org.junit.runner.Runner
testCount
-
Field Details
-
logger
Deprecated. -
runner
Deprecated.
-
-
Constructor Details
-
ConsoleSpammingMockitoJUnitRunner
Deprecated.- Throws:
InvocationTargetException
-
ConsoleSpammingMockitoJUnitRunner
ConsoleSpammingMockitoJUnitRunner(MockitoLogger logger, InternalRunner runner) Deprecated.
-
-
Method Details
-
run
public void run(org.junit.runner.notification.RunNotifier notifier) Deprecated.- Specified by:
run
in classorg.junit.runner.Runner
-
getDescription
public org.junit.runner.Description getDescription()Deprecated.- Specified by:
getDescription
in interfaceorg.junit.runner.Describable
- Specified by:
getDescription
in classorg.junit.runner.Runner
-
filter
public void filter(org.junit.runner.manipulation.Filter filter) throws org.junit.runner.manipulation.NoTestsRemainException Deprecated.- Specified by:
filter
in interfaceorg.junit.runner.manipulation.Filterable
- Throws:
org.junit.runner.manipulation.NoTestsRemainException
-
MockitoJUnitRunner
runner instead which contains support for detecting unused stubs.If you still prefer using this runner, tell us why (create ticket in our issue tracker).