Class AnnotationEnabler
java.lang.Object
org.powermock.core.spi.support.AbstractPowerMockTestListenerBase
org.powermock.api.extension.listener.AnnotationEnabler
org.powermock.api.easymock.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
,
MockNice
or MockStrict
will have mock objects created for
them and injected to the fields.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.powermock.api.extension.listener.AnnotationEnabler
beforeTestMethod, getMockAnnotations
Methods inherited from class org.powermock.core.spi.support.AbstractPowerMockTestListenerBase
afterTestMethod, afterTestSuiteEnded, beforeTestSuiteStarted
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.powermock.core.spi.PowerMockTestListener
afterTestMethod, afterTestSuiteEnded, beforeTestSuiteStarted
-
Constructor Details
-
AnnotationEnabler
public AnnotationEnabler()Deprecated.
-