- clear() - Method in class org.powermock.api.extension.agent.JavaAgentFrameworkRegisterImpl
-
- createMock(Class<T>, Method...) - Static method in class org.powermock.api.easymock.PowerMock
-
Creates a mock object that supports mocking of final and native methods.
- createMock(Class<T>) - Static method in class org.powermock.api.easymock.PowerMock
-
Creates a mock object that supports mocking of final and native methods.
- createMock(Class<T>, ConstructorArgs, Method...) - Static method in class org.powermock.api.easymock.PowerMock
-
Creates a mock object that supports mocking of final and native methods
and invokes a specific constructor.
- createMock(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Creates a mock object that supports mocking of final and native methods
and invokes a specific constructor based on the supplied argument values.
- createMock(AnnotationMockCreator, MockMetadata) - Method in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
-
- createMockAndExpectNew(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Convenience method for createMock followed by expectNew.
- createMockAndExpectNew(Class<T>, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Convenience method for createMock followed by expectNew when PowerMock
cannot determine which constructor to use automatically.
- createMockControl(Class<?>) - Method in class org.powermock.api.easymock.internal.mockstrategy.impl.AbstractMockStrategyBase
-
- createMockControl(Class<?>) - Method in interface org.powermock.api.easymock.internal.mockstrategy.MockStrategy
-
- createNiceMock(Class<T>, Method...) - Static method in class org.powermock.api.easymock.PowerMock
-
Creates a nice mock object that supports mocking of final and native
methods.
- createNiceMock(Class<T>) - Static method in class org.powermock.api.easymock.PowerMock
-
Creates a nice mock object that supports mocking of final and native
methods.
- createNiceMock(Class<T>, ConstructorArgs, Method...) - Static method in class org.powermock.api.easymock.PowerMock
-
Creates a nice mock object that supports mocking of final and native
methods and invokes a specific constructor.
- createNiceMock(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Creates a nice mock object that supports mocking of final and native
methods and invokes a specific constructor based on the supplied argument
values.
- createNiceMockAndExpectNew(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Convenience method for createNiceMock followed by expectNew.
- createNiceMockAndExpectNew(Class<T>, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Convenience method for createNiceMock followed by expectNew when
PowerMock cannot determine which constructor to use automatically.
- createNicePartialMock(Class<T>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
-
Nicely mock a single specific method.
- createNicePartialMock(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to nicely mock several methods in an
easy way (by just passing in the method names of the method you wish to
mock).
- createNicePartialMock(Class<T>, Class<? super T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to nicely mock several methods in an
easy way (by just passing in the method names of the method you wish to
mock).
- createNicePartialMock(Class<T>, String[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
* A utility method that may be used to nicely mock several methods in an
easy way (by just passing in the method names of the method you wish to
mock).
- createNicePartialMock(Class<T>, String, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to nicely mock several methods in an
easy way (by just passing in the method names of the method you wish to
mock).
- createNicePartialMock(Class<T>, String, Class<?>[], Object[], Class<?>[]) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to nicely mock several methods in an
easy way (by just passing in the method names of the method you wish to
mock).
- createNicePartialMockAndInvokeDefaultConstructor(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to nicely mock several methods in an
easy way (by just passing in the method names of the method you wish to
mock).
- createNicePartialMockForAllMethodsExcept(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to specify several methods that should
not be nicely mocked in an easy manner (by just passing in the
method names of the method you wish not to mock).
- createNicePartialMockForAllMethodsExcept(Class<T>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
-
Mock all methods of a class except for a specific one nicely.
- createPartialMock(Class<T>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
-
Mock a single specific method.
- createPartialMock(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to mock several methods in an easy way
(by just passing in the method names of the method you wish to mock).
- createPartialMock(Class<T>, Class<? super T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to mock several methods in an easy way
(by just passing in the method names of the method you wish to mock).
- createPartialMock(Class<T>, String[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to mock several methods in an easy way
(by just passing in the method names of the method you wish to mock).
- createPartialMock(Class<T>, String, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to mock several methods in an easy way
(by just passing in the method names of the method you wish to mock).
- createPartialMock(Class<T>, String, Class<?>[], Object[], Class<?>[]) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to mock several methods in an easy way
(by just passing in the method names of the method you wish to mock).
- createPartialMockAndInvokeDefaultConstructor(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to mock several methods in an easy way
(by just passing in the method names of the method you wish to mock).
- createPartialMockForAllMethodsExcept(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to specify several methods that should
not be mocked in an easy manner (by just passing in the method
names of the method you wish not to mock).
- createPartialMockForAllMethodsExcept(Class<T>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
-
Mock all methods of a class except for a specific one.
- createStrictMock(Class<T>, Method...) - Static method in class org.powermock.api.easymock.PowerMock
-
Creates a strict mock object that supports mocking of final and native
methods.
- createStrictMock(Class<T>) - Static method in class org.powermock.api.easymock.PowerMock
-
Creates a strict mock object that supports mocking of final and native
methods.
- createStrictMock(Class<T>, ConstructorArgs, Method...) - Static method in class org.powermock.api.easymock.PowerMock
-
Creates a strict mock object that supports mocking of final and native
methods and invokes a specific constructor.
- createStrictMock(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Creates a strict mock object that supports mocking of final and native
methods and invokes a specific constructor based on the supplied argument
values.
- createStrictMockAndExpectNew(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Convenience method for createStrictMock followed by expectNew.
- createStrictMockAndExpectNew(Class<T>, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Convenience method for createStrictMock followed by expectNew when
PowerMock cannot determine which constructor to use automatically.
- createStrictPartialMock(Class<T>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
-
Strictly mock a single specific method.
- createStrictPartialMock(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to strictly mock several methods in an
easy way (by just passing in the method names of the method you wish to
mock).
- createStrictPartialMock(Class<T>, Class<? super T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to strictly mock several methods in an
easy way (by just passing in the method names of the method you wish to
mock).
- createStrictPartialMock(Class<T>, String[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
* A utility method that may be used to strictly mock several methods in
an easy way (by just passing in the method names of the method you wish
to mock).
- createStrictPartialMock(Class<T>, String, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to strictly mock several methods in an
easy way (by just passing in the method names of the method you wish to
mock).
- createStrictPartialMock(Class<T>, String, Class<?>[], Object[], Class<?>[]) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to strictly mock several methods in an
easy way (by just passing in the method names of the method you wish to
mock).
- createStrictPartialMockAndInvokeDefaultConstructor(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to strictly mock several methods in an
easy way (by just passing in the method names of the method you wish to
mock).
- createStrictPartialMockForAllMethodsExcept(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to specify several methods that should
not be strictly mocked in an easy manner (by just passing in the
method names of the method you wish not to mock).
- createStrictPartialMockForAllMethodsExcept(Class<T>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
-
Mock all methods of a class except for a specific one strictly.
- EasyMockAnnotationSupport - Class in org.powermock.api.extension.listener
-
This class works like as EasyMockSupport
and is used to create and inject mocks to
annotated fields of an instance of test class.
- EasyMockAnnotationSupport(Object) - Constructor for class org.powermock.api.extension.listener.EasyMockAnnotationSupport
-
- EasyMockConfiguration - Class in org.powermock.api.easymock
-
Configuration information about EasyMock framework and which feature is supported by version of EasyMock in runtime.
- EasyMockMethodInvocationControl<T> - Class in org.powermock.api.easymock.internal.invocationcontrol
-
The default implementation of the MethodInvocationControl
interface.
- EasyMockMethodInvocationControl(MockInvocationHandler, Set<Method>, T) - Constructor for class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
-
Initializes internal state.
- EasyMockMethodInvocationControl(MockInvocationHandler, Set<Method>) - Constructor for class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
-
Initializes internal state.
- EasyMockNewInvocationControl<T> - Class in org.powermock.api.easymock.internal.invocationcontrol
-
- EasyMockNewInvocationControl(InvocationSubstitute<T>, Class<T>) - Constructor for class org.powermock.api.easymock.internal.invocationcontrol.EasyMockNewInvocationControl
-
- equals(Object) - Method in class org.powermock.api.extension.listener.AnnotationMockMetadata
-
- expectLastCall() - Static method in class org.powermock.api.easymock.PowerMock
-
This method just delegates to EasyMock class extensions
EasyMock.expectLastCall()
method.
- expectNew(Class<T>, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Allows specifying expectations on new invocations.
- expectNew(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Allows specifying expectations on new invocations.
- expectNew(String, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Allows specifying expectations on new invocations for private member
(inner) classes, local or anonymous classes.
- expectNiceNew(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Allows specifying expectations on new invocations.
- expectNiceNew(Class<T>, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Allows specifying expectations on new invocations.
- expectPrivate(Class<?>, Method, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Used to specify expectations on private static methods.
- expectPrivate(Object, Method, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Used to specify expectations on private methods.
- expectPrivate(Object, String, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Used to specify expectations on private methods.
- expectPrivate(Object, String, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Used to specify expectations on methods using the method name.
- expectPrivate(Object, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Used to specify expectations on methods without specifying a method name.
- expectPrivate(Object, String, Class<?>, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Used to specify expectations on methods using the method name at a
specific place in the class hierarchy (specified by the
where
parameter).
- expectPrivate(Object, String, Class<?>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Used to specify expectations on methods using the method name at a
specific place in the class hierarchy (specified by the
where
parameter).
- expectStrictNew(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Allows specifying expectations on new invocations.
- expectStrictNew(Class<T>, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Allows specifying expectations on new invocations.
- expectSubstitutionLogic(Object...) - Method in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockNewInvocationControl
-
- Mock - Annotation Type in org.powermock.api.easymock.annotation
-
This annotation can be placed on those fields in your test class that should
be mocked.
- MockMetadata - Interface in org.powermock.api.extension.listener
-
- MockNice - Annotation Type in org.powermock.api.easymock.annotation
-
This annotation can be placed on those fields in your test class that should
be mocked in a nice manner (i.e.
- mockStatic(Class<?>, Method...) - Static method in class org.powermock.api.easymock.PowerMock
-
Enable static mocking for a class.
- mockStatic(Class<?>) - Static method in class org.powermock.api.easymock.PowerMock
-
Enable static mocking for a class.
- mockStaticNice(Class<?>, Method...) - Static method in class org.powermock.api.easymock.PowerMock
-
Enable nice static mocking for a class.
- mockStaticNice(Class<?>) - Static method in class org.powermock.api.easymock.PowerMock
-
Enable nice static mocking for a class.
- mockStaticPartial(Class<?>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
-
Mock a single static method.
- mockStaticPartial(Class<?>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to mock several static methods
in an easy way (by just passing in the method names of the method you
wish to mock).
- mockStaticPartialNice(Class<?>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
-
Mock a single static method (nice).
- mockStaticPartialNice(Class<?>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to mock several static methods
(nice) in an easy way (by just passing in the method names of the method
you wish to mock).
- mockStaticPartialStrict(Class<?>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
-
Mock a single static method (strict).
- mockStaticPartialStrict(Class<?>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to mock several static methods
(strict) in an easy way (by just passing in the method names of the
method you wish to mock).
- mockStaticStrict(Class<?>, Method...) - Static method in class org.powermock.api.easymock.PowerMock
-
Enable strict static mocking for a class.
- mockStaticStrict(Class<?>) - Static method in class org.powermock.api.easymock.PowerMock
-
Enable strict static mocking for a class.
- MockStrategy - Interface in org.powermock.api.easymock.internal.mockstrategy
-
- MockStrict - Annotation Type in org.powermock.api.easymock.annotation
-
This annotation can be placed on those fields in your test class that should
be mocked in a strict manner (i.e.