| Annotation Type | Description |
|---|---|
| Mock | Deprecated
Use Mock annotation in respective extension API instead.
|
| 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 |
Use this annotation to enable adjusting of the class path used by powermock
to locate class files.
|
Copyright © 2007–2016. All rights reserved.