Skip navigation links
powermock-core
A B C D E F G H I J K L M N O P R S T U V W 

A

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
An empty implementation of the PowerMockTestListener interface.
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
 

B

backedMap - Variable in class org.powermock.core.IdentityHashSet
 
beforeConstructorCall(Iterable<? extends ParameterDescription>) - Static method in class org.powermock.core.bytebuddy.Frame
 
beforeTestMethod(Object, Method, Object[]) - Method in interface org.powermock.core.spi.PowerMockTestListener
Invoked before each test method.
beforeTestMethod(Object, Method, Object[]) - Method in class org.powermock.core.spi.support.AbstractPowerMockTestListenerBase
Provides an empty implementation.
beforeTestSuiteStarted(Class<?>, Method[]) - Method in interface org.powermock.core.spi.PowerMockTestListener
Invoked once before the test run has started.
beforeTestSuiteStarted(Class<?>, Method[]) - Method in class org.powermock.core.spi.support.AbstractPowerMockTestListenerBase
Provides an empty implementation.
build() - Method in class org.powermock.core.classloader.MockClassLoaderBuilder
 
build() - Method in class org.powermock.core.transformers.support.DefaultMockTransformerChain.MockTransformerChainBuilder
 
ByteCodeFramework - Enum in org.powermock.core.classloader
 
bytecodeFrameworkClue(Method) - Method in class org.powermock.core.transformers.TestClassTransformerBuilder
 

C

CGLIB_ENHANCER - Static variable in class org.powermock.core.classloader.javassist.JavassistMockClassLoader
 
CGLIB_METHOD_WRAPPER - Static variable in class org.powermock.core.classloader.javassist.JavassistMockClassLoader
 
ClassFinalModifierMockTransformer - Class in org.powermock.core.transformers.javassist
 
ClassFinalModifierMockTransformer(TransformStrategy) - Constructor for class org.powermock.core.transformers.javassist.ClassFinalModifierMockTransformer
 
ClassloaderWrapper - Class in org.powermock.core.classloader
 
ClassloaderWrapper() - Constructor for class org.powermock.core.classloader.ClassloaderWrapper
 
ClassLocator - Class in org.powermock.core
 
ClassLocator() - Constructor for class org.powermock.core.ClassLocator
 
ClassMarker - Interface in org.powermock.core.classloader
Instance of this interface can be used to mark a class that it was created and loaded by PowerMock
classMarker - Variable in class org.powermock.core.classloader.MockClassLoader
 
classNotPrepared(Class<T>) - Method in interface org.powermock.core.reporter.PowerMockReporter
 
ClassPathAdjuster - Interface in org.powermock.core.classloader.javassist
This interface can be used to adjust the classpath used by powermock to locate class files.
ClassReplicaCreator - Class in org.powermock.core
This class takes care of creating a replica of a class.
ClassReplicaCreator() - Constructor for class org.powermock.core.ClassReplicaCreator
 
ClassWrapper<T> - Interface in org.powermock.core.transformers
An interface represents an abstraction of the class to be able to pass class to different byte-code instrumentation frameworks.
classWrapperFactory - Variable in class org.powermock.core.classloader.MockClassLoader
 
ClassWrapperFactory<T> - Interface in org.powermock.core.transformers
An implementation should wrap original instance.
clear() - Static method in class org.powermock.configuration.GlobalConfiguration
 
clear() - Method in interface org.powermock.core.agent.JavaAgentClassRegister
Remove all registered classes for all class loaders.
clear() - Method in interface org.powermock.core.agent.JavaAgentFrameworkRegister
Remove all links to JavaAgentClassRegister
clear() - Method in class org.powermock.core.IdentityHashSet
 
clear() - Method in class org.powermock.core.ListMap
 
clear() - Static method in class org.powermock.core.MockRepository
Clear all state of the mock repository except for static initializers.
clone(T[]) - Static method in class org.powermock.utils.ArrayUtil
 
closePendingTestSuites(GlobalNotificationBuildSupport.Callback) - Static method in class org.powermock.core.testlisteners.GlobalNotificationBuildSupport
 
closeTestSuite(Class<?>) - Static method in class org.powermock.core.testlisteners.GlobalNotificationBuildSupport
 
ConcreteClassGenerator - Class in org.powermock.core
This class takes care of creating a concrete sub-class implementing all abstract methods in the parent.
ConcreteClassGenerator() - Constructor for class org.powermock.core.ConcreteClassGenerator
 
ConditionalStateStackManipulation - Class in org.powermock.core.bytebuddy
 
ConditionalStateStackManipulation(StackManipulation, StackManipulation, StackManipulation, Frame) - Constructor for class org.powermock.core.bytebuddy.ConditionalStateStackManipulation
 
Configuration<T extends Configuration> - Interface in org.powermock.configuration
The general interface for all types configurations that could be obtained via GlobalConfiguration.
ConfigurationFactory - Interface in org.powermock.configuration
 
ConfigurationFactoryImpl - Class in org.powermock.configuration.support
 
ConfigurationFactoryImpl() - Constructor for class org.powermock.configuration.support.ConfigurationFactoryImpl
 
ConfigurationType - Enum in org.powermock.configuration
 
constructorCall(Class<?>, Object[], Class<?>[]) - Static method in class org.powermock.core.MockGateway
 
ConstructorsMockTransformer - Class in org.powermock.core.transformers.javassist
Convert all constructors to public
ConstructorsMockTransformer(TransformStrategy) - Constructor for class org.powermock.core.transformers.javassist.ConstructorsMockTransformer
 
contains(Object) - Method in class org.powermock.core.IdentityHashSet
 
containsKey(Object) - Method in class org.powermock.core.ListMap
 
containsValue(Object) - Method in class org.powermock.core.ListMap
 
copyFileUsingStream(File, File) - Static method in class org.powermock.utils.IOUtils
 
create(Class<T>) - Method in interface org.powermock.configuration.ConfigurationFactory
 
create(Class<T>) - Method in class org.powermock.configuration.support.ConfigurationFactoryImpl
 
create() - Static method in class org.powermock.core.agent.JavaAgentFrameworkRegisterFactory
 
create(ByteCodeFramework) - Static method in class org.powermock.core.classloader.MockClassLoaderBuilder
 
createClassReplica(Class<T>) - Method in class org.powermock.core.ClassReplicaCreator
 
createConcreteSubClass(Class<?>) - Method in class org.powermock.core.ConcreteClassGenerator
 
createDefaultChain() - Method in class org.powermock.core.transformers.javassist.JavassistMockTransformerChainFactory
 
createDefaultChain(TransformStrategy) - Method in class org.powermock.core.transformers.javassist.JavassistMockTransformerChainFactory
 
createDefaultChain(List<MockTransformer>) - Method in class org.powermock.core.transformers.javassist.JavassistMockTransformerChainFactory
 
createDefaultChain() - Method in interface org.powermock.core.transformers.MockTransformerChainFactory
Create an MockTransformerChain with using default strategy TransformStrategy.CLASSLOADER
createDefaultChain(TransformStrategy) - Method in interface org.powermock.core.transformers.MockTransformerChainFactory
Create an MockTransformerChain with using the given transformStrategy
createDefaultChain(List<MockTransformer>) - Method in interface org.powermock.core.transformers.MockTransformerChainFactory
Create an MockTransformerChain with using default strategy TransformStrategy.CLASSLOADER and with the given extraMockTransformers
createDelegatorFromClassloader(ClassLoader, Class<?>, List<Method>) - Method in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
 
createForClass(MockTransformer...) - Method in class org.powermock.core.classloader.MockClassLoaderFactory
 
createForMethod(Method, MockTransformer...) - Method in class org.powermock.core.classloader.MockClassLoaderFactory
 
createInstanceReplica(T) - Method in class org.powermock.core.ClassReplicaCreator
Create a class that is a replica of type T.
createPowerMockReporter() - Method in interface org.powermock.core.reporter.PowerMockReporterFactory
 
createTestClassChain(MockTransformer) - Method in class org.powermock.core.transformers.javassist.JavassistMockTransformerChainFactory
 
createTestClassChain(MockTransformer) - Method in interface org.powermock.core.transformers.MockTransformerChainFactory
Create an MockTransformerChain with using the given testClassTransformer as transformer for test class.
createTestDelegators(Class<?>, List<TestChunk>) - Method in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
 
createTestDelegators(Class<?>, List<TestChunk>) - Method in interface org.powermock.tests.utils.RunnerTestSuiteChunker
Create the test delegators needed for a whole class.
CURRENT_TEST_INSTANCE - Static variable in class org.powermock.tests.utils.Keys
Key that can be used to set or get the current test instance in the mock repository.
CURRENT_TEST_METHOD - Static variable in class org.powermock.tests.utils.Keys
Key that can be used to set or get the current test method in the mock repository.
CURRENT_TEST_METHOD_ARGUMENTS - Static variable in class org.powermock.tests.utils.Keys
Key that can be used to set or get the current test method arguments in the mock repository.

D

DefaultBehavior - Interface in org.powermock.core.spi
Interface that provides the replay, verify and reset behavior for mock objects and classes.
DefaultFieldValueGenerator - Class in org.powermock.core
Fills the fields with default not-null values.
DefaultFieldValueGenerator() - Constructor for class org.powermock.core.DefaultFieldValueGenerator
 
DefaultMockTransformerChain - Class in org.powermock.core.transformers.support
 
DefaultMockTransformerChain.MockTransformerChainBuilder - Class in org.powermock.core.transformers.support
 
defineAndTransformClass(String, ProtectionDomain) - Method in class org.powermock.core.classloader.javassist.JavassistMockClassLoader
 
defineAndTransformClass(String, ProtectionDomain) - Method in class org.powermock.core.classloader.MockClassLoader
 
defineClass(String, ProtectionDomain, byte[]) - Method in class org.powermock.core.classloader.MockClassLoader
 
delegates - Variable in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
 
delegatesCreatedForTheseClasses - Variable in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
 
disable() - Method in interface org.powermock.core.reporter.MockingFrameworkReporter
Stop replacing mocking frameworks exception message
DONT_MOCK_NEXT_CALL - Static variable in class org.powermock.core.MockGateway
Used to tell the MockGateway that the next call should not be mocked regardless if a MethodInvocationControl is found in the MockRepository.
DOUBLE - Static variable in class org.powermock.core.bytebuddy.Frame.LocalVariable
 

E

edit(NewExpr) - Method in class org.powermock.core.transformers.javassist.support.PowerMockExpressionEditor
 
edit(MethodCall) - Method in class org.powermock.core.transformers.javassist.support.PowerMockExpressionEditor
 
edit(ConstructorCall) - Method in class org.powermock.core.transformers.javassist.support.PowerMockExpressionEditor
 
edit(FieldAccess) - Method in class org.powermock.core.transformers.javassist.support.PowerMockExpressionEditor
 
enable() - Method in interface org.powermock.core.reporter.MockingFrameworkReporter
Start replacing mocking frameworks exception message
entrySet() - Method in class org.powermock.core.ListMap
 
expectSubstitutionLogic(Object...) - Method in interface org.powermock.core.spi.NewInvocationControl
Expect a call to the new instance substitution logic.

F

fieldCall(Object, Class<?>, String, Class<?>) - Static method in class org.powermock.core.MockGateway
 
FieldDefaulter - Class in org.powermock.core.testlisteners
A test listener that automatically set all instance fields to their default values after each test method.
FieldDefaulter() - Constructor for class org.powermock.core.testlisteners.FieldDefaulter
 
fillWithDefaultValues(T) - Static method in class org.powermock.core.DefaultFieldValueGenerator
 
filter(MockTransformerChain.FilterPredicate) - Method in interface org.powermock.core.transformers.MockTransformerChain
Filter and return collection of MockTransformer which fit the predicate.
filter(MockTransformerChain.FilterPredicate) - Method in class org.powermock.core.transformers.support.DefaultMockTransformerChain
 
FilterPredicates - Class in org.powermock.core.transformers.support
 
FilterPredicates() - Constructor for class org.powermock.core.transformers.support.FilterPredicates
 
forClass(Class<T>) - Static method in enum org.powermock.configuration.ConfigurationType
 
ForMethodsJavaAssistTestClassTransformer - Class in org.powermock.core.transformers.javassist.testclass
 
ForMethodsJavaAssistTestClassTransformer(Class<?>, Class<? extends Annotation>, MethodSignatureWriter<CtMethod>, Collection<Method>) - Constructor for class org.powermock.core.transformers.javassist.testclass.ForMethodsJavaAssistTestClassTransformer
 
forPrimitive(TypeDefinition) - Static method in enum org.powermock.core.bytebuddy.PrimitiveBoxing
 
forTestClass(Class<?>) - Method in class org.powermock.core.classloader.MockClassLoaderBuilder
 
forTestClass(Class<?>) - Static method in class org.powermock.core.transformers.TestClassTransformerBuilder
 
forType(TypeDescription) - Method in class org.powermock.core.bytebuddy.MockGetawayCall
 
Frame - Class in org.powermock.core.bytebuddy
 
Frame(List<Frame.LocalVariable>) - Constructor for class org.powermock.core.bytebuddy.Frame
 
Frame.LocalVariable - Class in org.powermock.core.bytebuddy
 
from(TypeDescription.Generic) - Static method in class org.powermock.core.bytebuddy.Frame.LocalVariable
 
fromAllMethodsExcept(Method) - Method in class org.powermock.core.transformers.TestClassTransformerBuilder.RemovesTestMethodAnnotation
 
FromAllMethodsExceptJavaAssistTestClassTransformer - Class in org.powermock.core.transformers.javassist.testclass
 
FromAllMethodsExceptJavaAssistTestClassTransformer(Class<?>, Class<? extends Annotation>, MethodSignatureWriter<CtMethod>, Method) - Constructor for class org.powermock.core.transformers.javassist.testclass.FromAllMethodsExceptJavaAssistTestClassTransformer
 
fromMethods(Collection<Method>) - Method in class org.powermock.core.transformers.TestClassTransformerBuilder.RemovesTestMethodAnnotation
 

G

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
The class provides static access to 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
 

H

hasMethodProxy(Method) - Static method in class org.powermock.core.MockRepository
 

I

IdentityHashSet<E> - Class in org.powermock.core
 
IdentityHashSet() - Constructor for class org.powermock.core.IdentityHashSet
 
IgnorePackagesExtractor - Interface in org.powermock.tests.utils
 
includeMethods - Variable in class org.powermock.tests.utils.impl.AbstractTestClassExtractor
 
IndicateReloadClass - Class in org.powermock.core
 
IndicateReloadClass() - Constructor for class org.powermock.core.IndicateReloadClass
 
initialize(ClassLoader) - Method in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
 
initialize(ClassLoader) - Method in interface org.powermock.tests.utils.MockPolicyInitializer
Initializes the mock policies for a given class loader.
InstrumentMockTransformer - Class in org.powermock.core.transformers.javassist
 
InstrumentMockTransformer(TransformStrategy) - Constructor for class org.powermock.core.transformers.javassist.InstrumentMockTransformer
 
internalAssertNotNull(Object, String) - Static method in class org.powermock.utils.Asserts
 
InvocationException - Exception in org.powermock.core
 
InvocationException(Throwable) - Constructor for exception org.powermock.core.InvocationException
 
InvocationSubstitute<T> - Interface in org.powermock.core.spi.support
A class that can be used as a substitution instead of mocking a particular class.
invoke(Class<?>, Object[], Class<?>[]) - Method in interface org.powermock.core.spi.NewInvocationControl
Invoke the constructor invocation control
IOUtils - Class in org.powermock.utils
 
IOUtils() - Constructor for class org.powermock.utils.IOUtils
 
isAgentMode() - Method in enum org.powermock.core.transformers.TransformStrategy
Check if this strategy is supported only by Java Agent.
isClassloaderMode() - Method in enum org.powermock.core.transformers.TransformStrategy
Check if this strategy is supported by class loader.
isEmpty() - Method in class org.powermock.core.ListMap
 
isInstanceOf(Class<?>) - Static method in class org.powermock.core.transformers.support.FilterPredicates
 
isInterface() - Method in interface org.powermock.core.transformers.ClassWrapper
Check if class is interface
isInterface() - Method in class org.powermock.core.transformers.javassist.support.JavaAssistClassWrapperFactory.JavaAssistClassWrapper
 
isMethodToBeExecutedByThisClassloader(Method) - Method in class org.powermock.tests.utils.impl.TestChunkImpl
 
isMethodToBeExecutedByThisClassloader(Method) - Method in interface org.powermock.tests.utils.TestChunk
 
isMocked(Method) - Method in interface org.powermock.core.spi.MethodInvocationControl
Determine whether a certain method is mocked by this Invocation Control.
isModifiedByAgent(ClassLoader, String) - Method in interface org.powermock.core.agent.JavaAgentClassRegister
Check if class with className has been modified for the given class loader
isNotSyntheticField(FieldInfo) - Static method in class org.powermock.core.transformers.javassist.support.TransformerHelper
 
isPrepared(AnnotatedElement, String) - Method in class org.powermock.tests.utils.impl.AbstractTestClassExtractor
 
isPrepared(String) - Method in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
 
isPrepared(String) - Method in interface org.powermock.tests.utils.MockPolicyInitializer
 
isPrepared(AnnotatedElement, String) - Method in interface org.powermock.tests.utils.TestClassesExtractor
 
isValid() - Method in class org.powermock.core.bytebuddy.ConditionalStateStackManipulation
 
isValid() - Method in enum org.powermock.core.bytebuddy.PrimitiveBoxing
 
iterator() - Method in class org.powermock.core.IdentityHashSet
 

J

JavaAgentClassRegister - Interface in org.powermock.core.agent
This register contains information about which class has been modified by PowerMock Java Agent.
JavaAgentFrameworkRegister - Interface in org.powermock.core.agent
Instance of class should set/clear an instance of the JavaAgentClassRegister in Mockito Frameworks classes
JavaAgentFrameworkRegisterFactory - Class in org.powermock.core.agent
Factory to create an instance of JavaAgentFrameworkRegister, depends on which mocking framework is loaded in runtime.
JavaAgentFrameworkRegisterFactory() - Constructor for class org.powermock.core.agent.JavaAgentFrameworkRegisterFactory
 
JavaAssistClassWrapperFactory - Class in org.powermock.core.transformers.javassist.support
 
JavaAssistClassWrapperFactory() - Constructor for class org.powermock.core.transformers.javassist.support.JavaAssistClassWrapperFactory
 
JavaAssistClassWrapperFactory.JavaAssistClassWrapper - Class in org.powermock.core.transformers.javassist.support
 
JavaAssistTestClassTransformer - Class in org.powermock.core.transformers.javassist.testclass
 
JavassistMockClassLoader - Class in org.powermock.core.classloader.javassist
 
JavassistMockClassLoader(String[]) - Constructor for class org.powermock.core.classloader.javassist.JavassistMockClassLoader
 
JavassistMockClassLoader(String[], String[], UseClassPathAdjuster) - Constructor for class org.powermock.core.classloader.javassist.JavassistMockClassLoader
 
JavassistMockClassLoader(MockClassLoaderConfiguration) - Constructor for class org.powermock.core.classloader.javassist.JavassistMockClassLoader
 
JavassistMockClassLoader(MockClassLoaderConfiguration, UseClassPathAdjuster) - Constructor for class org.powermock.core.classloader.javassist.JavassistMockClassLoader
 
JavassistMockTransformerChainFactory - Class in org.powermock.core.transformers.javassist
 
JavassistMockTransformerChainFactory() - Constructor for class org.powermock.core.transformers.javassist.JavassistMockTransformerChainFactory
 
join(Object...) - Static method in class org.powermock.utils.StringJoiner
 
join(List<T>) - Static method in class org.powermock.utils.StringJoiner
 
join(String, Object...) - Static method in class org.powermock.utils.StringJoiner
 

K

Keys - Class in org.powermock.tests.utils
Holds various keys that may be put into the MockRepository to store state.
Keys() - Constructor for class org.powermock.tests.utils.Keys
 
keySet() - Method in class org.powermock.core.ListMap
 

L

ListMap<K,V> - Class in org.powermock.core
 
ListMap() - Constructor for class org.powermock.core.ListMap
 
load(Variable) - Static method in class org.powermock.core.bytebuddy.Variable.VariableAccess
 
load(Variable, boolean) - Static method in class org.powermock.core.bytebuddy.Variable.VariableAccess
 
loadClassByThisClassLoader(String) - Method in class org.powermock.core.classloader.MockClassLoader
 
loadUnmockedClass(String, ProtectionDomain) - Method in class org.powermock.core.classloader.javassist.JavassistMockClassLoader
 
loadUnmockedClass(String, ProtectionDomain) - Method in class org.powermock.core.classloader.MockClassLoader
 
locals() - Method in class org.powermock.core.bytebuddy.Frame
 
localSize() - Method in class org.powermock.core.bytebuddy.Frame
 
LogPolicySupport - Class in org.powermock.mockpolicies.support
A support class for mock policies dealing with logging frameworks.
LogPolicySupport() - Constructor for class org.powermock.mockpolicies.support.LogPolicySupport
 

M

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
The default implementation of the MockPolicyClassLoadingSettings interface.
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
The default implementation of the MockPolicyInitializer interface for mock policies.
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
Interface represent chain of MockTransformer.
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
 

N

needsInitialization() - Method in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
 
needsInitialization() - Method in interface org.powermock.tests.utils.MockPolicyInitializer
 
newBuilder() - Static method in class org.powermock.core.transformers.support.DefaultMockTransformerChain
 
newInstanceCall(Class<?>, Object[], Class<?>[]) - Static method in class org.powermock.core.MockGateway
 
NewInvocationControl<T> - Interface in org.powermock.core.spi
A new invocation control pairs up a InvocationSubstitute with the mock object created when invoking InvocationSubstitute.performSubstitutionLogic(Object...) object.
NOT_INITIALIZED - Static variable in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
notifyAfterTestMethod(Object, Method, Object[], TestMethodResult) - Method in class org.powermock.tests.utils.impl.PowerMockTestNotifierImpl
 
notifyAfterTestMethod(boolean) - Method in class org.powermock.tests.utils.impl.PowerMockTestNotifierImpl
 
notifyAfterTestMethod(Object, Method, Object[], TestMethodResult) - Method in interface org.powermock.tests.utils.PowerMockTestNotifier
Notifies all listeners with the "after test method ended" event.
notifyAfterTestMethod(boolean) - Method in interface org.powermock.tests.utils.PowerMockTestNotifier
Notifies all listeners with the "after test method ended" event.
notifyAfterTestSuiteEnded(Class<?>, Method[], TestSuiteResult) - Method in class org.powermock.tests.utils.impl.PowerMockTestNotifierImpl
 
notifyAfterTestSuiteEnded(Class<?>, Method[], TestSuiteResult) - Method in interface org.powermock.tests.utils.PowerMockTestNotifier
Notifies all listeners with the "after test suite ended" event.
notifyBeforeTestMethod(Object, Method, Object[]) - Method in class org.powermock.tests.utils.impl.PowerMockTestNotifierImpl
 
notifyBeforeTestMethod(Object, Method, Object[]) - Method in interface org.powermock.tests.utils.PowerMockTestNotifier
Notifies all listeners with the "before test method started" event.
notifyBeforeTestSuiteStarted(Class<?>, Method[]) - Method in class org.powermock.tests.utils.impl.PowerMockTestNotifierImpl
 
notifyBeforeTestSuiteStarted(Class<?>, Method[]) - Method in interface org.powermock.tests.utils.PowerMockTestNotifier
Notifies all listeners with the "before test suite started" event.

O

of(TypeDescription.Generic, int) - Static method in class org.powermock.core.bytebuddy.Variable
 
org.powermock - package org.powermock
 
org.powermock.configuration - package org.powermock.configuration
 
org.powermock.configuration.support - package org.powermock.configuration.support
 
org.powermock.core - package org.powermock.core
 
org.powermock.core.agent - package org.powermock.core.agent
 
org.powermock.core.bytebuddy - package org.powermock.core.bytebuddy
 
org.powermock.core.classloader - package org.powermock.core.classloader
 
org.powermock.core.classloader.annotations - package org.powermock.core.classloader.annotations
 
org.powermock.core.classloader.javassist - package org.powermock.core.classloader.javassist
 
org.powermock.core.reporter - package org.powermock.core.reporter
 
org.powermock.core.spi - package org.powermock.core.spi
 
org.powermock.core.spi.listener - package org.powermock.core.spi.listener
 
org.powermock.core.spi.support - package org.powermock.core.spi.support
 
org.powermock.core.spi.testresult - package org.powermock.core.spi.testresult
 
org.powermock.core.spi.testresult.impl - package org.powermock.core.spi.testresult.impl
 
org.powermock.core.testlisteners - package org.powermock.core.testlisteners
 
org.powermock.core.transformers - package org.powermock.core.transformers
 
org.powermock.core.transformers.javassist - package org.powermock.core.transformers.javassist
 
org.powermock.core.transformers.javassist.support - package org.powermock.core.transformers.javassist.support
 
org.powermock.core.transformers.javassist.testclass - package org.powermock.core.transformers.javassist.testclass
 
org.powermock.core.transformers.support - package org.powermock.core.transformers.support
 
org.powermock.mockpolicies - package org.powermock.mockpolicies
 
org.powermock.mockpolicies.impl - package org.powermock.mockpolicies.impl
 
org.powermock.mockpolicies.support - package org.powermock.mockpolicies.support
 
org.powermock.tests.utils - package org.powermock.tests.utils
 
org.powermock.tests.utils.impl - package org.powermock.tests.utils.impl
 
org.powermock.utils - package org.powermock.utils
 

P

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
Implementation of the TestClassesExtractor interface that extract classes from the PrepareForTest or PrepareOnlyThisForTest annotations.
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
 

R

refreshPolicies(ClassLoader) - Method in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
 
refreshPolicies(ClassLoader) - Method in interface org.powermock.tests.utils.MockPolicyInitializer
Re executes the MockPolicy of all the policies for a given class loader.
registerClass(ClassLoader, String) - Method in interface org.powermock.core.agent.JavaAgentClassRegister
Register that the class with name className has been modified for the given class loader.
remove(Object) - Method in class org.powermock.core.IdentityHashSet
 
remove(Object) - Method in class org.powermock.core.ListMap
 
remove(Object) - Static method in class org.powermock.core.MockRepository
Removes an object from the MockRepository if it exists.
removeAdditionalState(String) - Static method in class org.powermock.core.MockRepository
 
removeClassMethodInvocationControl(Class<?>) - Static method in class org.powermock.core.MockRepository
 
removeInstanceMethodInvocationControl(Class<?>) - Static method in class org.powermock.core.MockRepository
 
removeMethodProxy(Method) - Static method in class org.powermock.core.MockRepository
 
removesTestMethodAnnotation(Class<? extends Annotation>) - Method in class org.powermock.core.transformers.TestClassTransformerBuilder
 
removesTestMethodAnnotation(Class<? extends Annotation>) - Method in class org.powermock.core.transformers.TestClassTransformerBuilder.TestClassTransformerBuilderWithClue
 
removeSuppressStaticInitializer(String) - Static method in class org.powermock.core.MockRepository
Remove a fully qualified class name for a class that should no longer have its static initializers suppressed.
replay(Object...) - Method in interface org.powermock.core.spi.DefaultBehavior
Replay the given objects or classes.
reset(Object...) - Method in interface org.powermock.core.spi.DefaultBehavior
Reset the given objects or classes.
Result - Enum in org.powermock.core.spi.testresult
 
RunnerTestSuiteChunker - Interface in org.powermock.tests.utils
An interface that should be implemented by classes that performs test suite chunking.
runWithClass(Runnable) - Static method in class org.powermock.core.classloader.ClassloaderWrapper
 
runWithClass(Callable<V>) - Static method in class org.powermock.core.classloader.ClassloaderWrapper
 
runWithClassClassLoader(ClassLoader, Runnable) - Static method in class org.powermock.core.classloader.ClassloaderWrapper
 
runWithClassClassLoader(ClassLoader, Callable<V>) - Static method in class org.powermock.core.classloader.ClassloaderWrapper
 

S

set(JavaAgentClassRegister) - Method in interface org.powermock.core.agent.JavaAgentFrameworkRegister
Set the javaAgentClassRegister to current loaded mocking framework.
setByteCodeFramework(ByteCodeFramework) - Method in class org.powermock.configuration.PowerMockConfiguration
 
setConfigurationFactory(ConfigurationFactory) - Static method in class org.powermock.configuration.GlobalConfiguration
 
setFieldsSuppress(Field[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
setFieldsSuppress(Field[]) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
Set specific fields that should be suppressed upon invocation.
setFieldTypesToSuppress(String[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
setFieldTypesToSuppress(String[]) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
Set which field types that should be suppressed.
setFullyQualifiedNamesOfClassesToLoadByMockClassloader(String[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
 
setFullyQualifiedNamesOfClassesToLoadByMockClassloader(String[]) - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
Set which types that should be loaded (and possibly modified) by the mock classloader.
setGlobalIgnore(String[]) - Method in class org.powermock.configuration.PowerMockConfiguration
 
setMethodsToProxy(Map<Method, InvocationHandler>) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
setMethodsToProxy(Map<Method, InvocationHandler>) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
Set the methods to proxy.
setMethodsToStub(Map<Method, Object>) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
setMethodsToStub(Map<Method, Object>) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
Set the substitute return values.
setMethodsToSuppress(Method[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
setMethodsToSuppress(Method[]) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
Set which methods to suppress.
setMockMakerClass(String) - Method in class org.powermock.configuration.MockitoConfiguration
 
setMockTransformerChain(MockTransformerChain) - Method in class org.powermock.core.classloader.MockClassLoader
 
setStaticInitializersToSuppress(String[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
 
setStaticInitializersToSuppress(String[]) - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
Set which static initializers to suppress.
setSubtituteReturnValues(Map<Method, Object>) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
setSubtituteReturnValues(Map<Method, Object>) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
setTestClass(Class<?>) - Method in interface org.powermock.core.transformers.TestClassAwareTransformer
 
shouldExecuteTestForMethod(Class<?>, Method) - Method in interface org.powermock.tests.utils.TestSuiteChunker
Should reflect whether or not this method is eligible for testing.
shouldSkipMethod(CtMethod) - Static method in class org.powermock.core.transformers.javassist.support.TransformerHelper
 
shouldStubMethod(Method) - Static method in class org.powermock.core.MockRepository
 
shouldSuppressConstructor(Constructor<?>) - Static method in class org.powermock.core.MockRepository
 
shouldSuppressField(Field) - Static method in class org.powermock.core.MockRepository
 
shouldSuppressMethod(Method, Class<?>) - Static method in class org.powermock.core.MockRepository
 
shouldSuppressStaticInitializerFor(String) - Static method in class org.powermock.core.MockRepository
Check whether or not a class with the fully qualified name should have its static initializers suppressed.
shouldTreatAsSystemClassCall(CtClass) - Static method in class org.powermock.core.transformers.javassist.support.TransformerHelper
 
signatureFor(T) - Method in interface org.powermock.core.transformers.MethodSignatureWriter
 
signatureForReflection(Method) - Method in interface org.powermock.core.transformers.MethodSignatureWriter
 
signatureOf(M) - Method in class org.powermock.core.transformers.TestClassTransformer
 
signatureOf(Method) - Method in class org.powermock.core.transformers.TestClassTransformer
 
size() - Method in class org.powermock.core.IdentityHashSet
 
size() - Method in class org.powermock.core.ListMap
 
staticConstructorCall(String) - Static method in class org.powermock.core.MockGateway
 
StaticConstructorSuppressExtractorImpl - Class in org.powermock.tests.utils.impl
Implementation of the TestClassesExtractor interface for classes that should have their static initializers suppressed.
StaticConstructorSuppressExtractorImpl() - Constructor for class org.powermock.tests.utils.impl.StaticConstructorSuppressExtractorImpl
 
StaticFinalFieldsMockTransformer - Class in org.powermock.core.transformers.javassist
Remove final from all static final fields.
StaticFinalFieldsMockTransformer(TransformStrategy) - Constructor for class org.powermock.core.transformers.javassist.StaticFinalFieldsMockTransformer
 
StaticFinalNativeMethodMockTransformer - Class in org.powermock.core.transformers.javassist
 
StaticFinalNativeMethodMockTransformer(TransformStrategy) - Constructor for class org.powermock.core.transformers.javassist.StaticFinalNativeMethodMockTransformer
 
store(Variable) - Static method in class org.powermock.core.bytebuddy.Variable.VariableAccess
 
StringJoiner - Class in org.powermock.utils
 
StringJoiner() - Constructor for class org.powermock.utils.StringJoiner
 
stubMethod(Method, Object) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
stubMethod(Method, Object) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
Add a method that should be intercepted and return another value ( returnObject) (i.e.
suiteClassInitiated(Class<?>) - Method in interface org.powermock.core.testlisteners.GlobalNotificationBuildSupport.Callback
 
SUPPRESS - Static variable in class org.powermock.core.MockGateway
 
suppressConstructorCall(Class<?>, Object[], Class<?>[]) - Static method in class org.powermock.core.MockGateway
 
SuppressStaticInitializationFor - Annotation Type in org.powermock.core.classloader.annotations
Use this annotation to suppress static initializers (constructors) for one or more classes.
SuppressStaticInitializerMockTransformer - Class in org.powermock.core.transformers.javassist
 
SuppressStaticInitializerMockTransformer(TransformStrategy) - Constructor for class org.powermock.core.transformers.javassist.SuppressStaticInitializerMockTransformer
 

T

test(MockTransformer<?>) - Method in interface org.powermock.core.transformers.MockTransformerChain.FilterPredicate
 
TestCaseEntry - Class in org.powermock.tests.utils.impl
A test case entry consists of a test class and a list of test chunks that should be executed for this entry.
TestCaseEntry(Class<?>, List<TestChunk>) - Constructor for class org.powermock.tests.utils.impl.TestCaseEntry
 
TestChunk - Interface in org.powermock.tests.utils
A test chunk consists of a list of methods that should be executed by a particular classloader.
TestChunkImpl - Class in org.powermock.tests.utils.impl
A test chunk consists of a list of methods that should be executed by a particular classloader.
TestChunkImpl(ClassLoader, List<Method>) - Constructor for class org.powermock.tests.utils.impl.TestChunkImpl
 
TestClassAwareTransformer - Interface in org.powermock.core.transformers
If a transformer implements this interface then MockClassLoaderBuilder sets current test class during building a instance of MockClassLoader.
TestClassesExtractor - Interface in org.powermock.tests.utils
 
testClassInitiated(Class<?>) - Static method in class org.powermock.core.testlisteners.GlobalNotificationBuildSupport
 
TestClassTransformer<T,M> - Class in org.powermock.core.transformers
MockTransformer implementation that will make PowerMock test-class enhancements for four purposes...
TestClassTransformer(Class<?>, Class<? extends Annotation>, MethodSignatureWriter<M>) - Constructor for class org.powermock.core.transformers.TestClassTransformer
 
TestClassTransformerBuilder - Class in org.powermock.core.transformers
 
TestClassTransformerBuilder.RemovesTestMethodAnnotation - Class in org.powermock.core.transformers
 
TestClassTransformerBuilder.TestClassTransformerBuilderWithClue - Class in org.powermock.core.transformers
 
testCount - Variable in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
 
testInstanceCreated(Object) - Method in interface org.powermock.core.testlisteners.GlobalNotificationBuildSupport.Callback
 
testInstanceCreated(Object) - Static method in class org.powermock.core.testlisteners.GlobalNotificationBuildSupport
 
testMethodAnnotation() - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
TestMethodResult - Interface in org.powermock.core.spi.testresult
 
TestMethodResultImpl - Class in org.powermock.core.spi.testresult.impl
 
TestMethodResultImpl(Result) - Constructor for class org.powermock.core.spi.testresult.impl.TestMethodResultImpl
 
TestSuiteChunker - Interface in org.powermock.tests.utils
 
TestSuiteResult - Interface in org.powermock.core.spi.testresult
 
TestSuiteResultImpl - Class in org.powermock.core.spi.testresult.impl
 
TestSuiteResultImpl() - Constructor for class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
 
TestSuiteResultImpl(int, int, int, int) - Constructor for class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
 
TOP - Static variable in class org.powermock.core.bytebuddy.Frame.LocalVariable
 
toString() - Method in class org.powermock.core.spi.testresult.impl.TestMethodResultImpl
 
toString() - Method in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
 
toString() - Method in class org.powermock.core.transformers.support.DefaultMockTransformerChain
 
toString() - Method in class org.powermock.tests.utils.impl.TestChunkImpl
 
transform(ClassWrapper<CtClass>) - Method in class org.powermock.core.transformers.javassist.AbstractJavaAssistMockTransformer
 
transform(CtClass) - Method in class org.powermock.core.transformers.javassist.AbstractJavaAssistMockTransformer
 
transform(CtClass) - Method in class org.powermock.core.transformers.javassist.ClassFinalModifierMockTransformer
 
transform(CtClass) - Method in class org.powermock.core.transformers.javassist.ConstructorsMockTransformer
 
transform(CtClass) - Method in class org.powermock.core.transformers.javassist.InstrumentMockTransformer
 
transform(CtClass) - Method in class org.powermock.core.transformers.javassist.MethodSizeMockTransformer
 
transform(CtClass) - Method in class org.powermock.core.transformers.javassist.PackagePrivateClassesMockTransformer
 
transform(CtClass) - Method in class org.powermock.core.transformers.javassist.StaticFinalFieldsMockTransformer
 
transform(CtClass) - Method in class org.powermock.core.transformers.javassist.StaticFinalNativeMethodMockTransformer
 
transform(CtClass) - Method in class org.powermock.core.transformers.javassist.SuppressStaticInitializerMockTransformer
 
transform(ClassWrapper<CtClass>) - Method in class org.powermock.core.transformers.javassist.testclass.JavaAssistTestClassTransformer
 
transform(ClassWrapper<T>) - Method in interface org.powermock.core.transformers.MockTransformer
Transforms the clazz.
transform(ClassWrapper<T>) - Method in interface org.powermock.core.transformers.MockTransformerChain
Go thought all transformers in chain and instrument the clazz.
transform(ClassWrapper<T>) - Method in class org.powermock.core.transformers.support.DefaultMockTransformerChain
 
transformClass(ClassWrapper<T>) - Method in class org.powermock.core.classloader.MockClassLoader
 
TransformerHelper - Class in org.powermock.core.transformers.javassist.support
 
TransformerHelper() - Constructor for class org.powermock.core.transformers.javassist.support.TransformerHelper
 
TransformStrategy - Enum in org.powermock.core.transformers
The enum provide information for MockTransformer have PowerMock is started via Runner(FactoryObject), Rule or JavaAgent

U

UNINITIALIZED_THIS - Static variable in class org.powermock.core.bytebuddy.Frame.LocalVariable
 
unwrap() - Method in interface org.powermock.core.transformers.ClassWrapper
Get original object which represent class
unwrap() - Method in class org.powermock.core.transformers.javassist.support.JavaAssistClassWrapperFactory.JavaAssistClassWrapper
 
UseClassPathAdjuster - Annotation Type in org.powermock.core.classloader.annotations
Deprecated.
Class path adjuster is supported only for Javassist and will be removed in next release.

V

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
 

W

WildcardMatcher - Class in org.powermock.core
Wildcard matcher.
WildcardMatcher() - Constructor for class org.powermock.core.WildcardMatcher
 
withArguments(List<Variable>) - Method in class org.powermock.core.bytebuddy.MockGetawayCall.ForType
 
withParameterTypes(ParameterList<ParameterDescription.InDefinedShape>) - Method in class org.powermock.core.bytebuddy.MockGetawayCall.WithArguments
 
wrap(T) - Method in interface org.powermock.core.transformers.ClassWrapper
Wrap changed implementation to get a new instance of ClassWrapper
wrap(T) - Method in interface org.powermock.core.transformers.ClassWrapperFactory
 
wrap(CtClass) - Method in class org.powermock.core.transformers.javassist.support.JavaAssistClassWrapperFactory.JavaAssistClassWrapper
 
wrap(CtClass) - Method in class org.powermock.core.transformers.javassist.support.JavaAssistClassWrapperFactory
 
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links
powermock-core