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).
@Deprecated
public class ConsoleSpammingMockitoJUnitRunner
extends org.junit.runner.Runner
implements org.junit.runner.manipulation.Filterable
Modifier and Type | Field and Description |
---|---|
private MockitoLogger |
logger
Deprecated.
|
private InternalRunner |
runner
Deprecated.
|
Constructor and Description |
---|
ConsoleSpammingMockitoJUnitRunner(java.lang.Class<?> klass)
Deprecated.
|
ConsoleSpammingMockitoJUnitRunner(MockitoLogger logger,
InternalRunner runner)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
filter(org.junit.runner.manipulation.Filter filter)
Deprecated.
|
org.junit.runner.Description |
getDescription()
Deprecated.
|
void |
run(org.junit.runner.notification.RunNotifier notifier)
Deprecated.
|
private final MockitoLogger logger
private final InternalRunner runner
public ConsoleSpammingMockitoJUnitRunner(java.lang.Class<?> klass) throws java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
ConsoleSpammingMockitoJUnitRunner(MockitoLogger logger, InternalRunner runner)
public void run(org.junit.runner.notification.RunNotifier notifier)
run
in class org.junit.runner.Runner
public org.junit.runner.Description getDescription()
getDescription
in interface org.junit.runner.Describable
getDescription
in class org.junit.runner.Runner
public void filter(org.junit.runner.manipulation.Filter filter) throws org.junit.runner.manipulation.NoTestsRemainException
filter
in interface org.junit.runner.manipulation.Filterable
org.junit.runner.manipulation.NoTestsRemainException