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