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 public class AnnotationEnabler extends AnnotationEnabler
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 withMock
,MockNice
orMockStrict
will have mock objects created for them and injected to the fields.
-
-
Constructor Summary
Constructors Constructor Description AnnotationEnabler()
Deprecated.
-
Method Summary
-
Methods inherited from class org.powermock.api.extension.listener.AnnotationEnabler
beforeTestMethod, getEasyMockAnnotationSupport, 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
-
-