- AbstractCommonTestSuiteChunkerImpl - Class in org.powermock.tests.utils.impl
-
- AbstractCommonTestSuiteChunkerImpl(Class<?>) - Constructor for class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- AbstractCommonTestSuiteChunkerImpl(Class<?>...) - Constructor for class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- AbstractMainMockTransformer - Class in org.powermock.core.transformers.impl
-
- AbstractMainMockTransformer(TransformStrategy) - Constructor for class org.powermock.core.transformers.impl.AbstractMainMockTransformer
-
- AbstractMainMockTransformer.PowerMockExpressionEditor - Class in org.powermock.core.transformers.impl
-
- AbstractPowerMockTestListenerBase - Class in org.powermock.core.spi.support
-
- AbstractPowerMockTestListenerBase() - Constructor for class org.powermock.core.spi.support.AbstractPowerMockTestListenerBase
-
- AbstractTestClassExtractor - Class in org.powermock.tests.utils.impl
-
Base class for all test class extractors.
- AbstractTestClassExtractor() - Constructor for class org.powermock.tests.utils.impl.AbstractTestClassExtractor
-
- AbstractTestClassExtractor(boolean) - Constructor for class org.powermock.tests.utils.impl.AbstractTestClassExtractor
-
- AbstractTestSuiteChunkerImpl<T> - Class in org.powermock.tests.utils.impl
-
Abstract base class for test suite chunking, i.e.
- AbstractTestSuiteChunkerImpl(Class<?>) - Constructor for class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
-
- AbstractTestSuiteChunkerImpl(Class<?>...) - Constructor for class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
-
- add(E) - Method in class org.powermock.core.IdentityHashSet
-
- addAfterMethodRunner(Runnable) - Static method in class org.powermock.core.MockRepository
-
Add a Runnable
that will be executed after each test
- addAll(T[], T[]) - Static method in class org.powermock.utils.ArrayUtil
-
- addClassesToModify(String...) - Method in class org.powermock.core.classloader.MockClassLoader
-
Add classes that will be loaded by the mock classloader, i.e.
- addClassesToModify(String[]) - Method in class org.powermock.core.classloader.MockClassLoaderBuilder
-
- addConstructorToSuppress(Constructor<?>) - Static method in class org.powermock.core.MockRepository
-
Add a constructor to suppress.
- addFieldToSuppress(Field) - Static method in class org.powermock.core.MockRepository
-
Add a field to suppress.
- addFieldToSuppress(Field, Field...) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- addFieldToSuppress(Field[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- addFieldToSuppress(Field, Field...) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Add specific fields that should be suppressed upon invocation.
- addFieldToSuppress(Field[]) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Add specific fields that should be suppressed upon invocation.
- addFieldTypesToSuppress(String, String...) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- addFieldTypesToSuppress(String[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- addFieldTypesToSuppress(String, String...) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Add field types that should be suppressed.
- addFieldTypesToSuppress(String[]) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Add field types that should be suppressed.
- addFieldTypeToSuppress(String) - Static method in class org.powermock.core.MockRepository
-
Add a field type to suppress.
- addFullyQualifiedNamesOfClassesToLoadByMockClassloader(String, String...) - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
-
- addFullyQualifiedNamesOfClassesToLoadByMockClassloader(String[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
-
- addFullyQualifiedNamesOfClassesToLoadByMockClassloader(String, String...) - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
-
Add types that should be loaded (and possibly modified) by the mock
classloader.
- addFullyQualifiedNamesOfClassesToLoadByMockClassloader(String[]) - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
-
Add types that should be loaded (and possibly modified) by the mock
classloader.
- addIgnorePackage(String...) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
-
Add packages or classes to ignore.
- addIgnorePackage(String[]) - Method in class org.powermock.core.classloader.MockClassLoaderBuilder
-
- addMethodsToSuppress(Method, Method...) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- addMethodsToSuppress(Method[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- addMethodsToSuppress(Method, Method...) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Add methods to suppress upon invocation.
- addMethodsToSuppress(Method[]) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Add methods to suppress upon invocation.
- addMethodToSuppress(Method) - Static method in class org.powermock.core.MockRepository
-
Add a method to suppress.
- addMockTransformerChain(List<MockTransformer>) - Method in class org.powermock.core.classloader.MockClassLoaderBuilder
-
- addObjectsToAutomaticallyReplayAndVerify(Object...) - Static method in class org.powermock.core.MockRepository
-
Add classes that should be automatically replayed or verified.
- addStaticInitializersToSuppress(String, String...) - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
-
- addStaticInitializersToSuppress(String[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
-
- addStaticInitializersToSuppress(String, String...) - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
-
Add static initializers to suppress.
- addStaticInitializersToSuppress(String[]) - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
-
Add static initializers to suppress.
- addSubtituteReturnValue(Method, Object) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- addSubtituteReturnValue(Method, Object) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
- addSuppressStaticInitializer(String) - Static method in class org.powermock.core.MockRepository
-
Add a fully qualified class name for a class that should have its static
initializers suppressed.
- adjustClassPath(ClassPool) - Method in interface org.powermock.core.classloader.ClassPathAdjuster
-
- afterTestMethod(Object, Method, Object[], TestMethodResult) - Method in interface org.powermock.core.spi.PowerMockTestListener
-
Invoked after each test method.
- afterTestMethod(Object, Method, Object[], TestMethodResult) - Method in class org.powermock.core.spi.support.AbstractPowerMockTestListenerBase
-
Provides an empty implementation.
- afterTestMethod(Object, Method, Object[], TestMethodResult) - Method in class org.powermock.core.testlisteners.FieldDefaulter
-
- afterTestSuiteEnded(Class<?>, Method[], TestSuiteResult) - Method in interface org.powermock.core.spi.PowerMockTestListener
-
Invoked after a test suite has ended.
- afterTestSuiteEnded(Class<?>, Method[], TestSuiteResult) - Method in class org.powermock.core.spi.support.AbstractPowerMockTestListenerBase
-
Provides an empty implementation.
- allowMockingOfPackagePrivateClasses(CtClass) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
-
- allowMockingOfStaticAndFinalAndNativeMethods(CtClass) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
-
- AnnotationEnablerListener - Interface in org.powermock.core.spi.listener
-
- applyClassLoadingPolicy(MockPolicyClassLoadingSettings) - Method in interface org.powermock.core.spi.PowerMockPolicy
-
Apply all class-loading related policies that must be present before the
interception policies can take place.
- applyInterceptionPolicy(MockPolicyInterceptionSettings) - Method in interface org.powermock.core.spi.PowerMockPolicy
-
Apply the interception policies, for example which methods that should be
suppressed or which methods that should be intercepted and return some
else than their original value.
- ArrayMerger - Interface in org.powermock.tests.utils
-
An array merger concatenates several arrays to one.
- ArrayMergerImpl - Class in org.powermock.tests.utils.impl
-
The default implementation of the
ArrayMerger
interface.
- ArrayMergerImpl() - Constructor for class org.powermock.tests.utils.impl.ArrayMergerImpl
-
- ArrayUtil - Class in org.powermock.utils
-
- ArrayUtil() - Constructor for class org.powermock.utils.ArrayUtil
-
- assertNotNull(Object, String) - Static method in class org.powermock.utils.Asserts
-
- Asserts - Class in org.powermock.utils
-
- Asserts() - Constructor for class org.powermock.utils.Asserts
-
- get(Object) - Method in class org.powermock.core.ListMap
-
- getAdditionalState(String) - Static method in class org.powermock.core.MockRepository
-
Retrieve state based on the supplied key.
- getCallerClass() - Static method in class org.powermock.core.ClassLocator
-
- getChunkSize() - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- getChunkSize() - Method in interface org.powermock.tests.utils.TestSuiteChunker
-
Get the number of chunks defined in this suite.
- getClassesToModify(AnnotatedElement) - Method in class org.powermock.tests.utils.impl.AbstractTestClassExtractor
-
Get the fully qualified names for classes that must should be modified
for this element
.
- getClassesToModify(AnnotatedElement) - Method in class org.powermock.tests.utils.impl.PrepareForTestExtractorImpl
-
- getClassesToModify(AnnotatedElement) - Method in class org.powermock.tests.utils.impl.StaticConstructorSuppressExtractorImpl
-
- getClassIterator(ClassLoader) - Static method in class org.powermock.core.PowerMockUtils
-
Get an iterator of all classes loaded by the specific classloader.
- getClassLoader() - Method in class org.powermock.tests.utils.impl.TestChunkImpl
-
- getClassLoader() - Method in interface org.powermock.tests.utils.TestChunk
-
- getDelegatorIndex(int) - Method in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
-
Get the junit runner delegate that handles the test at index
testIndex
.
- getFailureCount() - Method in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
-
- getFailureCount() - Method in interface org.powermock.core.spi.testresult.TestSuiteResult
-
- getFieldsToSuppress() - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- getFieldsToSuppress() - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
- getFieldTypesToSuppress() - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- getFieldTypesToSuppress() - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
- getFullyQualifiedNamesOfClassesToLoadByMockClassloader() - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
-
- getFullyQualifiedNamesOfClassesToLoadByMockClassloader() - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
-
- getGlobalIgnore() - Method in class org.powermock.configuration.PowerMockConfiguration
-
- getIgnoreCount() - Method in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
-
- getIgnoreCount() - Method in interface org.powermock.core.spi.testresult.TestSuiteResult
-
- getInstanceMethodInvocationControl(Object) - Static method in class org.powermock.core.MockRepository
-
- getInternalTestIndex(int) - Method in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
-
Get the internal test index for a junit runner delegate based on the
"real" original test index.
- getLoggerMethods(String, String, String) - Method in class org.powermock.mockpolicies.support.LogPolicySupport
-
Get the methods that should be mocked.
- getMethodProxy(Method) - Static method in class org.powermock.core.MockRepository
-
- getMethodsToSuppress() - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- getMethodsToSuppress() - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
- getMethodToStub(Method) - Static method in class org.powermock.core.MockRepository
-
- getMockAnnotations() - Method in interface org.powermock.core.spi.listener.AnnotationEnablerListener
-
- getMockClassLoaderFactory(Class<?>, String[], String[], MockTransformer[]) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- getMockMakerClass() - Method in class org.powermock.configuration.MockitoConfiguration
-
- getNewInstanceControl(Class<?>) - Static method in class org.powermock.core.MockRepository
-
- getObjectsToAutomaticallyReplayAndVerify() - Static method in class org.powermock.core.MockRepository
-
- getPackagesToIgnore(AnnotatedElement) - Method in interface org.powermock.tests.utils.IgnorePackagesExtractor
-
- getPackagesToIgnore(AnnotatedElement) - Method in class org.powermock.tests.utils.impl.PowerMockIgnorePackagesExtractorImpl
-
- getPowerMockTestListenersLoadedByASpecificClassLoader(Class<?>, ClassLoader) - Method in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
-
- getPrefix() - Method in enum org.powermock.configuration.ConfigurationType
-
- getProxiedMethods() - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- getProxiedMethods() - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Get all methods that should be proxied and the invocation handler for
each method.
- getResource(String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
-
- getResourceAsStream(String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
-
- getResources(String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
-
- getResult() - Method in class org.powermock.core.spi.testresult.impl.TestMethodResultImpl
-
- getResult() - Method in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
-
- getResult() - Method in interface org.powermock.core.spi.testresult.TestMethodResult
-
- getResult() - Method in interface org.powermock.core.spi.testresult.TestSuiteResult
-
- getStaticInitializersToSuppress() - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
-
- getStaticInitializersToSuppress() - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
-
- getStaticMethodInvocationControl(Class<?>) - Static method in class org.powermock.core.MockRepository
-
- getStubbedMethods() - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- getStubbedMethods() - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Get all substitute return values and also returns an unmodifiable map of
all method-object pairs the were initialized.
- getSubstituteReturnValues() - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- getSubstituteReturnValues() - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
- getSuccessCount() - Method in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
-
- getSuccessCount() - Method in interface org.powermock.core.spi.testresult.TestSuiteResult
-
- getTestChunk(Method) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- getTestChunk(Method) - Method in interface org.powermock.tests.utils.TestSuiteChunker
-
Get TestChunk for the given method.
- getTestChunks() - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- getTestChunks() - Method in class org.powermock.tests.utils.impl.TestCaseEntry
-
- getTestChunks() - Method in interface org.powermock.tests.utils.TestSuiteChunker
-
Get all chunk entries.
- getTestChunksEntries(Class<?>) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- getTestChunksEntries(Class<?>) - Method in interface org.powermock.tests.utils.TestSuiteChunker
-
Get all chunk entries for a specific class.
- getTestClass() - Method in class org.powermock.tests.utils.impl.TestCaseEntry
-
- getTestClasses(AnnotatedElement) - Method in class org.powermock.tests.utils.impl.AbstractTestClassExtractor
-
If element
is a class this method traverses the hierarchy
and extracts classes that should be prepared for test in all super
classes.
- getTestClasses() - Method in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
-
- getTestClasses(AnnotatedElement) - Method in interface org.powermock.tests.utils.TestClassesExtractor
-
- getTestCount() - Method in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
-
- getTestCount() - Method in interface org.powermock.core.spi.testresult.TestSuiteResult
-
- getTestCount() - Method in interface org.powermock.tests.utils.RunnerTestSuiteChunker
-
Get the number of total tests defined in the suite (the sum of all tests
defined in all chunks for this suite).
- getTestMethodsToBeExecutedByThisClassloader() - Method in class org.powermock.tests.utils.impl.TestChunkImpl
-
- getTestMethodsToBeExecutedByThisClassloader() - Method in interface org.powermock.tests.utils.TestChunk
-
- getType(String, String) - Method in class org.powermock.mockpolicies.support.LogPolicySupport
-
Get the class type representing the fully-qualified name.
- GlobalConfiguration - Class in org.powermock.configuration
-
- GlobalNotificationBuildSupport - Class in org.powermock.core.testlisteners
-
Core static utility to help modules, such as PowerMockRunner, that needs to
communicate with some 3rd-party framework in order to properly fire
events to PowerMockTestListener instances.
- GlobalNotificationBuildSupport() - Constructor for class org.powermock.core.testlisteners.GlobalNotificationBuildSupport
-
- GlobalNotificationBuildSupport.Callback - Interface in org.powermock.core.testlisteners
-
- mark(CtClass) - Method in interface org.powermock.core.classloader.JavaAssistClassMarker
-
Mark type as loaded by PowerMock
- matches(String, String) - Static method in class org.powermock.core.WildcardMatcher
-
Performs a wildcard matching for the text and pattern provided.
- matchesAny(Collection<String>, String) - Static method in class org.powermock.core.WildcardMatcher
-
- matchesAny(Iterable<String>, String) - Static method in class org.powermock.core.WildcardMatcher
-
- matchesAny(String[], String) - Static method in class org.powermock.core.WildcardMatcher
-
- merge(T) - Method in interface org.powermock.configuration.Configuration
-
Merge values of the configuration with values of configuration
.
- merge(MockitoConfiguration) - Method in class org.powermock.configuration.MockitoConfiguration
-
- merge(PowerMockConfiguration) - Method in class org.powermock.configuration.PowerMockConfiguration
-
- mergeArrays(Class<T>, T[]...) - Method in interface org.powermock.tests.utils.ArrayMerger
-
Merge arrays of a specific type.
- mergeArrays(Class<T>, T[]...) - Method in class org.powermock.tests.utils.impl.ArrayMergerImpl
-
- mergeArrays(String[], String[]) - Static method in class org.powermock.utils.ArrayUtil
-
- methodCall(Object, String, Object[], Class<?>[], String) - Static method in class org.powermock.core.MockGateway
-
- methodCall(Class<?>, String, Object[], Class<?>[], String) - Static method in class org.powermock.core.MockGateway
-
- MethodInvocationControl - Interface in org.powermock.core.spi
-
The purpose of a method invocation control is to invoke a proxy to simulate a
method call.
- MOCK_ANNOTATION_METHODS - Static variable in class org.powermock.core.MockGateway
-
Tells PowerMock whether or not to mock
Class.isAnnotationPresent(Class)
and
Class.getAnnotation(Class)
.
- MOCK_GET_CLASS_METHOD - Static variable in class org.powermock.core.MockGateway
-
Tells PowerMock whether or not to mock
Object.getClass()
.
- MOCK_STANDARD_METHODS - Static variable in class org.powermock.core.MockGateway
-
Tells PowerMock to mock standard methods.
- MockClassLoader - Class in org.powermock.core.classloader
-
The classloader loads and modified all classes except:
- MockClassLoader(String[], String[], UseClassPathAdjuster) - Constructor for class org.powermock.core.classloader.MockClassLoader
-
Creates a new instance of the based on the
following parameters:
- MockClassLoader(String[], String[]) - Constructor for class org.powermock.core.classloader.MockClassLoader
-
Creates a new instance of the based on the
following parameters:
- MockClassLoader(String[], UseClassPathAdjuster) - Constructor for class org.powermock.core.classloader.MockClassLoader
-
Creates a new instance of the based on the
following parameters:
- MockClassLoader(String[]) - Constructor for class org.powermock.core.classloader.MockClassLoader
-
Creates a new instance of the based on the
following parameters:
- MockClassLoaderBuilder - Class in org.powermock.core.classloader
-
MockClassLoader builder.
- mockClassLoaderBuilder() - Static method in class org.powermock.core.classloader.MockClassLoaderBuilders
-
- MockClassLoaderBuilders - Class in org.powermock.core.classloader
-
Factory class for MockClassLoaderBuilder
- MockClassLoaderBuilders() - Constructor for class org.powermock.core.classloader.MockClassLoaderBuilders
-
- MockGateway - Class in org.powermock.core
-
All mock invocations are routed through this gateway.
- MockGateway() - Constructor for class org.powermock.core.MockGateway
-
- MockingFrameworkReporter - Interface in org.powermock.core.reporter
-
The instance of the interface is used to replace default mocking frameworks
exception message via message specific for PowerMock use-cases.
- mockitoConfiguration() - Static method in class org.powermock.configuration.GlobalConfiguration
-
- MockitoConfiguration - Class in org.powermock.configuration
-
- MockitoConfiguration() - Constructor for class org.powermock.configuration.MockitoConfiguration
-
- MockPolicy - Annotation Type in org.powermock.core.classloader.annotations
-
A Mock Policy can be used to make it easier to unit test some code with
PowerMock in isolation from a certain framework.
- MockPolicyClassLoadingSettings - Interface in org.powermock.mockpolicies
-
Contains class-loading related settings.
- MockPolicyClassLoadingSettingsImpl - Class in org.powermock.mockpolicies.impl
-
- MockPolicyClassLoadingSettingsImpl() - Constructor for class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
-
- MockPolicyInitializer - Interface in org.powermock.tests.utils
-
A Mock Policy initializer takes care of initializing the behavior defined by
the mock policies.
- MockPolicyInitializerImpl - Class in org.powermock.tests.utils.impl
-
- MockPolicyInitializerImpl(Class<? extends PowerMockPolicy>[]) - Constructor for class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
-
- MockPolicyInitializerImpl(Class<?>) - Constructor for class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
-
- MockPolicyInterceptionSettings - Interface in org.powermock.mockpolicies
-
Contains interception related settings.
- MockPolicyInterceptionSettingsImpl - Class in org.powermock.mockpolicies.impl
-
- MockPolicyInterceptionSettingsImpl() - Constructor for class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- MockRepository - Class in org.powermock.core
-
Hold mock objects that should be used instead of the concrete implementation.
- MockRepository() - Constructor for class org.powermock.core.MockRepository
-
- MockTransformer - Interface in org.powermock.core.transformers
-
Interface that all mock transformers must implement.
- MODIFY_ALL_CLASSES - Static variable in class org.powermock.core.classloader.MockClassLoader
-
Pass this string to the constructor to indicate that all classes should
be modified.
- performSubstitutionLogic(Object...) - Method in interface org.powermock.core.spi.support.InvocationSubstitute
-
- powerMockConfiguration() - Static method in class org.powermock.configuration.GlobalConfiguration
-
- PowerMockConfiguration - Class in org.powermock.configuration
-
The class provides list of setting for PowerMock.
- PowerMockConfiguration() - Constructor for class org.powermock.configuration.PowerMockConfiguration
-
- PowerMockExpressionEditor(CtClass) - Constructor for class org.powermock.core.transformers.impl.AbstractMainMockTransformer.PowerMockExpressionEditor
-
- PowerMockIgnore - Annotation Type in org.powermock.core.classloader.annotations
-
This annotation tells PowerMock to defer the loading of classes with the
names supplied to
PowerMockIgnore.value()
to the system classloader.
- PowerMockIgnorePackagesExtractorImpl - Class in org.powermock.tests.utils.impl
-
- PowerMockIgnorePackagesExtractorImpl() - Constructor for class org.powermock.tests.utils.impl.PowerMockIgnorePackagesExtractorImpl
-
- PowerMockInternalException - Exception in org.powermock.core
-
- PowerMockInternalException(Throwable) - Constructor for exception org.powermock.core.PowerMockInternalException
-
- PowerMockListener - Annotation Type in org.powermock.core.classloader.annotations
-
The PowerMock listener annotation can be used to tell PowerMock which
listeners should be instantiated and invoked during a test.
- PowerMockModified - Interface in org.powermock.core.classloader
-
Interface marker.
- PowerMockPolicy - Interface in org.powermock.core.spi
-
This interface can be implemented to create policies for certain frameworks
to make it easier for users to test their code in isolation from these
frameworks.
- PowerMockReporter - Interface in org.powermock.core.reporter
-
The interface is used to provide a user well-defined exception description.
- PowerMockReporterFactory - Interface in org.powermock.core.reporter
-
- PowerMockTestListener - Interface in org.powermock.core.spi
-
This interface should be implemented by all PowerMock test listeners.
- PowerMockTestNotifier - Interface in org.powermock.tests.utils
-
Implementors of this interface that must provide the ability to notify
PowerMock test listeners with the events as specified by the methods declared
in this interface.
- PowerMockTestNotifierImpl - Class in org.powermock.tests.utils.impl
-
Utility class that may be used by PowerMock test runners to notify listeners.
- PowerMockTestNotifierImpl(PowerMockTestListener[]) - Constructor for class org.powermock.tests.utils.impl.PowerMockTestNotifierImpl
-
Create a new instance with the following parameters.
- PowerMockUtils - Class in org.powermock.core
-
- PowerMockUtils() - Constructor for class org.powermock.core.PowerMockUtils
-
- PrepareEverythingForTest - Annotation Type in org.powermock.core.classloader.annotations
-
This annotation tells PowerMock to prepare all classes (except certain system
and test related classes) for test.
- PrepareForTest - Annotation Type in org.powermock.core.classloader.annotations
-
This annotation tells PowerMock to prepare certain classes for testing.
- PrepareForTestExtractorImpl - Class in org.powermock.tests.utils.impl
-
- PrepareForTestExtractorImpl() - Constructor for class org.powermock.tests.utils.impl.PrepareForTestExtractorImpl
-
- PrepareForTestExtractorImpl(boolean) - Constructor for class org.powermock.tests.utils.impl.PrepareForTestExtractorImpl
-
- PrepareOnlyThisForTest - Annotation Type in org.powermock.core.classloader.annotations
-
This annotation tells PowerMock to prepare certain classes for testing.
- prepareTestSuite(String, GlobalNotificationBuildSupport.Callback) - Static method in class org.powermock.core.testlisteners.GlobalNotificationBuildSupport
-
- printClassesLoadedByClassloader(ClassLoader, boolean) - Static method in class org.powermock.core.PowerMockUtils
-
- PROCEED - Static variable in class org.powermock.core.MockGateway
-
- proxyMethod(Method, InvocationHandler) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- proxyMethod(Method, InvocationHandler) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Proxy a method with the given invocation handler.
- put(K, V) - Method in class org.powermock.core.ListMap
-
- putAdditionalState(String, Object) - Static method in class org.powermock.core.MockRepository
-
When a mock framework API needs to store additional state not applicable
for the other methods, it may use this method to do so.
- putAll(Map<? extends K, ? extends V>) - Method in class org.powermock.core.ListMap
-
- putInstanceMethodInvocationControl(Object, MethodInvocationControl) - Static method in class org.powermock.core.MockRepository
-
- putMethodProxy(Method, InvocationHandler) - Static method in class org.powermock.core.MockRepository
-
Set a proxy for a method.
- putMethodToStub(Method, Object) - Static method in class org.powermock.core.MockRepository
-
Set a substitute return value for a method.
- putNewInstanceControl(Class<?>, NewInvocationControl<?>) - Static method in class org.powermock.core.MockRepository
-
- putStaticMethodInvocationControl(Class<?>, MethodInvocationControl) - Static method in class org.powermock.core.MockRepository
-