- AbstractCommonTestSuiteChunkerImpl - Class in org.powermock.tests.utils.impl
-
- AbstractCommonTestSuiteChunkerImpl(Class<?>) - Constructor for class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- AbstractJavaAssistMockTransformer - Class in org.powermock.core.transformers.javassist
-
- AbstractJavaAssistMockTransformer(TransformStrategy) - Constructor for class org.powermock.core.transformers.javassist.AbstractJavaAssistMockTransformer
-
- 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(String, String, int) - Method in class org.powermock.core.bytebuddy.MethodMaxLocals
-
- 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.MockClassLoaderBuilder
-
- addClassesToModify(String...) - Method in class org.powermock.core.classloader.MockClassLoaderConfiguration
-
Add classes that will be loaded by the mock classloader, i.e.
- addClassPathAdjuster(UseClassPathAdjuster) - Method in class org.powermock.core.classloader.MockClassLoaderBuilder
-
- addConstructorToSuppress(Constructor<?>) - Static method in class org.powermock.core.MockRepository
-
Add a constructor to suppress.
- addExtraMockTransformers(MockTransformer...) - Method in class org.powermock.core.classloader.MockClassLoaderBuilder
-
- 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.MockClassLoaderBuilder
-
- addIgnorePackage(String...) - Method in class org.powermock.core.classloader.MockClassLoaderConfiguration
-
Add packages or classes to ignore.
- addLocalVariable(Frame.LocalVariable) - Method in class org.powermock.core.bytebuddy.Frame
-
- addLocalVariables(ParameterList<ParameterDescription.InDefinedShape>) - Method in class org.powermock.core.bytebuddy.Frame
-
- 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.
- 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.
- addTopToLocals(int) - Method in class org.powermock.core.bytebuddy.Frame
-
- adjustClassPath(ClassPool) - Method in interface org.powermock.core.classloader.javassist.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.
- AnnotationEnablerListener - Interface in org.powermock.core.spi.listener
-
- append(MockTransformer) - Method in class org.powermock.core.transformers.support.DefaultMockTransformerChain.MockTransformerChainBuilder
-
- append(List<MockTransformer>) - Method in class org.powermock.core.transformers.support.DefaultMockTransformerChain.MockTransformerChainBuilder
-
- apply(MethodVisitor, Implementation.Context) - Method in class org.powermock.core.bytebuddy.ConditionalStateStackManipulation
-
- apply(MethodVisitor, Implementation.Context) - Method in enum org.powermock.core.bytebuddy.PrimitiveBoxing
-
- 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.
- getByteCodeFramework() - Method in class org.powermock.configuration.PowerMockConfiguration
-
- getByteCodeFrameworkForMethod(Class<?>, Method) - Static method in enum org.powermock.core.classloader.ByteCodeFramework
-
- getByteCodeFrameworkForTestClass(Class<?>) - Static method in enum org.powermock.core.classloader.ByteCodeFramework
-
- 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
-
- getClassFor(CtPrimitiveType) - Static method in class org.powermock.core.transformers.javassist.support.Primitives
-
- 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
-
- getCorrectReturnValueType(CtClass) - Static method in class org.powermock.core.transformers.javassist.support.TransformerHelper
-
- 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.
- getMethodMaxLocal(MethodDescription) - Method in class org.powermock.core.bytebuddy.MethodMaxLocals
-
- getMethodProxy(Method) - Static method in class org.powermock.core.MockRepository
-
- getMethods() - Method in class org.powermock.core.bytebuddy.MaxLocalsExtractor
-
- 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
-
- getMockMakerClass() - Method in class org.powermock.configuration.MockitoConfiguration
-
- getMockTransformerChain() - Method in class org.powermock.core.classloader.MockClassLoader
-
- 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.
- 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
-
- getReturnTypeAsString(CtMethod) - Static method in class org.powermock.core.transformers.javassist.support.TransformerHelper
-
- getStackSize() - Method in class org.powermock.core.bytebuddy.Frame.LocalVariable
-
- 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
-
- getStrategy() - Method in class org.powermock.core.transformers.javassist.AbstractJavaAssistMockTransformer
-
- 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.core.transformers.TestClassTransformer
-
- 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).
- getTestMethodAnnotationType() - Method in class org.powermock.core.transformers.TestClassTransformer
-
- getTestMethodsToBeExecutedByThisClassloader() - Method in class org.powermock.tests.utils.impl.TestChunkImpl
-
- getTestMethodsToBeExecutedByThisClassloader() - Method in interface org.powermock.tests.utils.TestChunk
-
- getType() - Method in class org.powermock.core.bytebuddy.Frame.LocalVariable
-
- 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(ClassWrapper<T>) - Method in interface org.powermock.core.classloader.ClassMarker
-
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
-
- MaxLocalsExtractor - Class in org.powermock.core.bytebuddy
-
- MaxLocalsExtractor() - Constructor for class org.powermock.core.bytebuddy.MaxLocalsExtractor
-
- maxLocalVariableIndex() - Method in class org.powermock.core.bytebuddy.Frame
-
- 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.
- MethodMaxLocals - Class in org.powermock.core.bytebuddy
-
- MethodSignatures - Enum in org.powermock.core.transformers
-
- methodSignatureWriter() - Method in enum org.powermock.core.transformers.MethodSignatures
-
- MethodSignatureWriter<T> - Interface in org.powermock.core.transformers
-
- MethodSizeMockTransformer - Class in org.powermock.core.transformers.javassist
-
According to JVM specification method size must be lower than 65536 bytes.
- MethodSizeMockTransformer(TransformStrategy) - Constructor for class org.powermock.core.transformers.javassist.MethodSizeMockTransformer
-
- 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[]) - Constructor for class org.powermock.core.classloader.MockClassLoader
-
Creates a new instance of the based on the
following parameters:
- MockClassLoader(MockClassLoaderConfiguration, ClassWrapperFactory) - 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
-
- MockClassLoaderConfiguration - Class in org.powermock.core.classloader
-
The instance of the class provides information about classes which have to be mocked, loaded without modification
or defer to system class loader.
- MockClassLoaderConfiguration() - Constructor for class org.powermock.core.classloader.MockClassLoaderConfiguration
-
Create an instance of configuration without any classes to mock or ignore.
- MockClassLoaderConfiguration(String[], String[]) - Constructor for class org.powermock.core.classloader.MockClassLoaderConfiguration
-
Create an instance of configuration
- MockClassLoaderFactory - Class in org.powermock.core.classloader
-
- MockClassLoaderFactory(Class<?>) - Constructor for class org.powermock.core.classloader.MockClassLoaderFactory
-
- MockClassLoaderFactory(Class<?>, String[]) - Constructor for class org.powermock.core.classloader.MockClassLoaderFactory
-
- MockGateway - Class in org.powermock.core
-
All mock invocations are routed through this gateway.
- MockGateway() - Constructor for class org.powermock.core.MockGateway
-
- MockGetawayCall - Class in org.powermock.core.bytebuddy
-
- MockGetawayCall(Class) - Constructor for class org.powermock.core.bytebuddy.MockGetawayCall
-
- MockGetawayCall.ForType - Class in org.powermock.core.bytebuddy
-
- MockGetawayCall.WithArguments - Class in org.powermock.core.bytebuddy
-
- 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<T> - Interface in org.powermock.core.transformers
-
Interface that all mock transformers must implement.
- MockTransformerChain - Interface in org.powermock.core.transformers
-
- MockTransformerChain.FilterPredicate - Interface in org.powermock.core.transformers
-
- MockTransformerChainFactory - Interface in org.powermock.core.transformers
-
An implementation of interface should create a
MockTransformerChain
with full set of required transformers to enable all mocking features.
- 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.
- mustHaveTestAnnotationRemoved(CtMethod) - Method in class org.powermock.core.transformers.javassist.testclass.ForMethodsJavaAssistTestClassTransformer
-
- mustHaveTestAnnotationRemoved(CtMethod) - Method in class org.powermock.core.transformers.javassist.testclass.FromAllMethodsExceptJavaAssistTestClassTransformer
-
- mustHaveTestAnnotationRemoved(CtMethod) - Method in class org.powermock.core.transformers.javassist.testclass.JavaAssistTestClassTransformer
-
- PackagePrivateClassesMockTransformer - Class in org.powermock.core.transformers.javassist
-
Set class modifier to public to allow for mocking of package private
classes.
- PackagePrivateClassesMockTransformer(TransformStrategy) - Constructor for class org.powermock.core.transformers.javassist.PackagePrivateClassesMockTransformer
-
- 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 - Class in org.powermock.core.transformers.javassist.support
-
- PowerMockExpressionEditor(TransformStrategy, CtClass, Class<?>) - Constructor for class org.powermock.core.transformers.javassist.support.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
-
- PowerMockInternalException(Throwable) - Constructor for exception org.powermock.PowerMockInternalException
-
- PowerMockInternalException(String) - Constructor for exception org.powermock.PowerMockInternalException
-
- PowerMockInternalException(String, Throwable) - Constructor for exception org.powermock.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
-
- PrimitiveBoxing - Enum in org.powermock.core.bytebuddy
-
- Primitives - Class in org.powermock.core.transformers.javassist.support
-
Simple utility that maps constant fields of CtClass
to
their corresponding java class-objects for primitive types.
- Primitives() - Constructor for class org.powermock.core.transformers.javassist.support.Primitives
-
- 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
-
- valueOf(String) - Static method in enum org.powermock.configuration.ConfigurationType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.powermock.core.bytebuddy.PrimitiveBoxing
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.powermock.core.classloader.ByteCodeFramework
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.powermock.core.spi.testresult.Result
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.powermock.core.transformers.MethodSignatures
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.powermock.core.transformers.TransformStrategy
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.powermock.configuration.ConfigurationType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.powermock.core.bytebuddy.PrimitiveBoxing
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.powermock.core.classloader.ByteCodeFramework
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Method in class org.powermock.core.ListMap
-
- values() - Static method in enum org.powermock.core.spi.testresult.Result
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.powermock.core.transformers.MethodSignatures
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.powermock.core.transformers.TransformStrategy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- Variable - Class in org.powermock.core.bytebuddy
-
- Variable.VariableAccess - Class in org.powermock.core.bytebuddy
-
- VariableAccess() - Constructor for class org.powermock.core.bytebuddy.Variable.VariableAccess
-
- visitMethod(int, String, String, String, String[]) - Method in class org.powermock.core.bytebuddy.MaxLocalsExtractor
-
- VOID - Static variable in class org.powermock.core.transformers.javassist.support.TransformerHelper
-