| Modifier and Type | Class and Description |
|---|---|
class |
AnnotationEnabler
Before each test method all fields annotated with
Mock, Mock, Mock
MockNice or MockStrict will have mock objects created for
them and injected to the fields. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
AnnotationEnablerListener |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPowerMockTestListenerBase
An empty implementation of the
PowerMockTestListener interface. |
| Modifier and Type | Class and Description |
|---|---|
class |
FieldDefaulter
A test listener that automatically set all instance fields to their default
values after each test method.
|
| Constructor and Description |
|---|
DelegatingPowerMockRunner(java.lang.Class<?> klass,
java.lang.String[] methodsToRun,
PowerMockTestListener[] listeners) |
PowerMockJUnit44RunnerDelegateImpl(java.lang.Class<?> klass,
java.lang.String[] methodsToRun,
PowerMockTestListener[] listeners) |
PowerMockJUnit47RunnerDelegateImpl(java.lang.Class<?> klass,
java.lang.String[] methodsToRun,
PowerMockTestListener[] listeners) |
PowerMockJUnit49RunnerDelegateImpl(java.lang.Class<?> klass,
java.lang.String[] methodsToRun,
PowerMockTestListener[] listeners) |
| Modifier and Type | Field and Description |
|---|---|
private PowerMockTestListener[] |
PowerMockTestNotifierImpl.powerMockTestListeners |
| Constructor and Description |
|---|
PowerMockTestNotifierImpl(PowerMockTestListener[] powerMockTestListeners)
Create a new instance with the following parameters.
|