| Annotation Type | Description |
|---|---|
| MockPolicy |
A Mock Policy can be used to make it easier to unit test some code with
PowerMock in isolation from a certain framework.
|
| PowerMockIgnore |
This annotation tells PowerMock to defer the loading of classes with the
names supplied to
PowerMockIgnore.value() to the system classloader. |
| PowerMockListener |
The PowerMock listener annotation can be used to tell PowerMock which
listeners should be instantiated and invoked during a test.
|
| PrepareEverythingForTest |
This annotation tells PowerMock to prepare all classes (except certain system
and test related classes) for test.
|
| PrepareForTest |
This annotation tells PowerMock to prepare certain classes for testing.
|
| PrepareOnlyThisForTest |
This annotation tells PowerMock to prepare certain classes for testing.
|
| SuppressStaticInitializationFor |
Use this annotation to suppress static initializers (constructors) for one or
more classes.
|
| UseClassPathAdjuster | Deprecated
Class path adjuster is supported only for Javassist and will be removed in next release.
|