Class AnnotationEnabler
java.lang.Object
org.powermock.core.spi.support.AbstractPowerMockTestListenerBase
org.powermock.api.extension.listener.AnnotationEnabler
org.powermock.api.mockito.powermocklistener.AnnotationEnabler
- All Implemented Interfaces:
AnnotationEnablerListener, PowerMockTestListener
Deprecated.
Test Runners uses an annotation enabling listener per default
since version 1.3. You should just remove this listener.
Before each test method all fields annotated with
Mock have mock objects created for them
and injected to the fields.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AnnotationEnabler
beforeTestMethod, getMockAnnotationsMethods inherited from class AbstractPowerMockTestListenerBase
afterTestMethod, afterTestSuiteEnded, beforeTestSuiteStartedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PowerMockTestListener
afterTestMethod, afterTestSuiteEnded, beforeTestSuiteStarted
-
Constructor Details
-
AnnotationEnabler
public AnnotationEnabler()Deprecated.
-