Index

A B C D E F G H I J K L M N O P Q R S T U V W X _ 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

a() - Static method in class samples.stress.ClassWithStatic
 
A - Static variable in interface samples.staticinitializer.InterfaceA
 
A() - Method in class samples.strict.StrictDemo
 
A(String) - Method in class samples.nice.NiceDemo
 
a1() - Method in class samples.stress.StressSample
 
AbstractClassloaderExecutor - Class in org.powermock.classloading
 
AbstractClassloaderExecutor() - Constructor for class org.powermock.classloading.AbstractClassloaderExecutor
 
AbstractClassTransformer - Class in org.powermock.modules.agent
 
AbstractClassTransformer() - Constructor for class org.powermock.modules.agent.AbstractClassTransformer
 
AbstractCommonPowerMockRunner - Class in org.powermock.modules.junit4.common.internal.impl
 
AbstractCommonPowerMockRunner(Class<?>, Class<? extends PowerMockJUnitRunnerDelegate>) - Constructor for class org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner
 
AbstractCommonTestSuiteChunkerImpl - Class in org.powermock.tests.utils.impl
 
AbstractCommonTestSuiteChunkerImpl(Class<?>) - Constructor for class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
AbstractCommonTestSuiteChunkerImpl(Class<?>...) - Constructor for class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
AbstractEasyMockLogPolicyBase - Class in org.powermock.api.easymock.mockpolicies
A base class for EasyMock log policies.
AbstractEasyMockLogPolicyBase() - Constructor for class org.powermock.api.easymock.mockpolicies.AbstractEasyMockLogPolicyBase
 
AbstractJavaAssistMockTransformer - Class in org.powermock.core.transformers.javassist
 
AbstractJavaAssistMockTransformer(TransformStrategy) - Constructor for class org.powermock.core.transformers.javassist.AbstractJavaAssistMockTransformer
 
AbstractMethodMocking - Class in samples.abstractmocking
Demonstrates that PowerMock can mock abstract methods.
AbstractMethodMocking() - Constructor for class samples.abstractmocking.AbstractMethodMocking
 
AbstractMockCreator - Class in org.powermock.api.mockito.internal.mockcreation
 
AbstractMockCreator() - Constructor for class org.powermock.api.mockito.internal.mockcreation.AbstractMockCreator
 
AbstractMockStrategyBase - Class in org.powermock.api.easymock.internal.mockstrategy.impl
Base class that should be used by all mock strategies.
AbstractMockStrategyBase(MockType) - Constructor for class org.powermock.api.easymock.internal.mockstrategy.impl.AbstractMockStrategyBase
 
AbstractMockTypeValidator(Class<T>) - Constructor for class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory.AbstractMockTypeValidator
 
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
 
AbstractStaticInitializerExample - Class in samples.staticinitializer
 
AbstractStaticInitializerExample() - Constructor for class samples.staticinitializer.AbstractStaticInitializerExample
 
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
 
accepts(MockMetadata) - Method in class org.powermock.api.extension.listener.TestSubjectInjector.InjectionTarget
 
action - Variable in class org.powermock.core.bytebuddy.ConditionalStateStackManipulation
 
actualParameterTypes - Variable in class org.powermock.reflect.internal.ParameterTypesMatcher
 
add(E) - Method in class org.powermock.core.IdentityHashSet
 
add(String, String, int) - Method in class org.powermock.core.bytebuddy.MethodMaxLocals
 
add(List<MockMetadata>) - Method in class org.powermock.api.extension.listener.AnnotationGlobalMetadata
 
add(MockMetadata) - Method in class org.powermock.api.extension.listener.AnnotationGlobalMetadata
 
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
 
addArgumentForNestedClass() - Method in class org.powermock.reflect.internal.ConstructorFinder
 
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.
addClassHierarchy(Set<String>, Class<?>) - Method in class org.powermock.tests.utils.impl.PrepareForTestExtractorImpl
 
addClassInitializerNotification(CtClass) - Method in class org.powermock.core.transformers.javassist.testclass.JavaAssistTestClassTransformer
 
addClassPathAdjuster(UseClassPathAdjuster) - Method in class org.powermock.core.classloader.MockClassLoaderBuilder
 
addConstructorNotification(CtClass) - Method in class org.powermock.core.transformers.javassist.testclass.JavaAssistTestClassTransformer
 
addConstructorToSuppress(Constructor<?>) - Static method in class org.powermock.core.MockRepository
Add a constructor to suppress.
addDelegatorField(T, CtClass) - Method in class org.powermock.core.ClassReplicaCreator
Add a field to the replica class that holds the instance delegator.
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[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
addFieldToSuppress(Field[]) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
Add specific fields that should be suppressed upon invocation.
addFieldToSuppress(Field, 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.
addFieldTypesToSuppress(String[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
addFieldTypesToSuppress(String[]) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
Add field types that should be suppressed.
addFieldTypesToSuppress(String, 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.
addFieldTypeToSuppress(String) - Static method in class org.powermock.core.MockRepository
Add a field type to suppress.
addFirstListener(RunListener) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
addFullyQualifiedNames(Set<String>, String[]) - Method in class org.powermock.tests.utils.impl.PrepareForTestExtractorImpl
 
addFullyQualifiedNames(Set<String>, PrepareForTest) - Method in class org.powermock.tests.utils.impl.PrepareForTestExtractorImpl
 
addFullyQualifiedNames(Set<String>, PrepareOnlyThisForTest) - Method in class org.powermock.tests.utils.impl.PrepareForTestExtractorImpl
 
addFullyQualifiedNamesOfClassesToLoadByMockClassloader(String[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
 
addFullyQualifiedNamesOfClassesToLoadByMockClassloader(String[]) - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
Add types that should be loaded (and possibly modified) by the mock classloader.
addFullyQualifiedNamesOfClassesToLoadByMockClassloader(String, 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.
addGlobalIgnore(String[], String[]) - Method in class org.powermock.tests.utils.impl.PowerMockIgnorePackagesExtractorImpl
 
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.
addInnerClassesAndInterfaces(Set<String>, Class<?>) - Method in class org.powermock.tests.utils.impl.PrepareForTestExtractorImpl
 
addItem(String, String) - Method in class samples.suppressfield.ItemRepository
 
additionalState - Static variable in class org.powermock.core.MockRepository
Sometimes mock frameworks needs to store additional state.
addLifeCycleNotifications(CtClass) - Method in class org.powermock.core.transformers.javassist.testclass.JavaAssistTestClassTransformer
 
addListener(RunListener) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
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 in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
addMethodsToSuppress(Method[]) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
Add methods to suppress upon invocation.
addMethodsToSuppress(Method, 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.
addMethodToSuppress(Method) - Static method in class org.powermock.core.MockRepository
Add a method to suppress.
addNewDeferConstructor(CtClass) - Method in class org.powermock.core.transformers.javassist.support.PowerMockExpressionEditor
Create a defer constructor in the class which will be called when the constructor is suppressed.
addObjectsToAutomaticallyReplayAndVerify(Object...) - Static method in class org.powermock.core.MockRepository
Add classes that should be automatically replayed or verified.
addStaticInitializersToSuppress(String[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
 
addStaticInitializersToSuppress(String[]) - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
Add static initializers to suppress.
addStaticInitializersToSuppress(String, String...) - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
 
addStaticInitializersToSuppress(String, 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.
addTestCase(Set<String>, AnnotatedElement) - Method in class org.powermock.tests.utils.impl.PrepareForTestExtractorImpl
 
addTopToLocals(int) - Method in class org.powermock.core.bytebuddy.Frame
 
addValueFromAnnotation(AnnotatedElement, Set<String>) - Method in class org.powermock.tests.utils.impl.PowerMockIgnorePackagesExtractorImpl
 
addValuesFromSuperclass(Class<?>, Set<String>) - Method in class org.powermock.tests.utils.impl.PowerMockIgnorePackagesExtractorImpl
 
adjustClassPath(ClassPool) - Method in interface org.powermock.core.classloader.javassist.ClassPathAdjuster
 
afterMethodRunners - Static variable in class org.powermock.core.MockRepository
Set of runnables that will be executed after the test (method) is completed.
afterPowerMockTestClass() - Method in class org.powermock.modules.testng.PowerMockTestCase
 
afterPowerMockTestMethod() - Method in class org.powermock.modules.testng.PowerMockTestCase
Must be executed after each test method.
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.
agentClassRegister - Variable in class org.powermock.api.mockito.internal.mockcreation.AbstractMockCreator
 
agentClassRegister - Variable in class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory.JavaAgentMockTypeValidator
 
AgentInitialization - Class in org.powermock.modules.agent
 
AgentInitialization() - Constructor for class org.powermock.modules.agent.AgentInitialization
 
AgentInitializationException - Exception Class in com.sun.tools.attach
The exception thrown when an agent fails to initialize in the target Java virtual machine.
AgentInitializationException() - Constructor for exception class com.sun.tools.attach.AgentInitializationException
Constructs an AgentInitializationException with no detail message.
AgentInitializationException(String) - Constructor for exception class com.sun.tools.attach.AgentInitializationException
Constructs an AgentInitializationException with the specified detail message.
AgentInitializationException(String, int) - Constructor for exception class com.sun.tools.attach.AgentInitializationException
Constructs an AgentInitializationException with the specified detail message and the return value from the execution of the agent's Agent_OnAttach function.
AgentLoader - Class in org.powermock.modules.agent
 
AgentLoader(String) - Constructor for class org.powermock.modules.agent.AgentLoader
 
AgentLoadException - Exception Class in com.sun.tools.attach
The exception thrown when an agent cannot be loaded into the target Java virtual machine.
AgentLoadException() - Constructor for exception class com.sun.tools.attach.AgentLoadException
Constructs an AgentLoadException with no detail message.
AgentLoadException(String) - Constructor for exception class com.sun.tools.attach.AgentLoadException
Constructs an AgentLoadException with the specified detail message.
agentmain(String, Instrumentation) - Static method in class org.powermock.modules.agent.PowerMockAgent
 
alias - Variable in class org.powermock.configuration.support.ConfigurationBuilder
 
alias - Variable in class org.powermock.configuration.support.ConfigurationBuilder.ConfigurationCreator
 
alias - Variable in class org.powermock.configuration.support.ValueAliases
 
aliases - Variable in class org.powermock.configuration.support.ConfigurationMapper
 
ALL_TESTINSTANCES_ARE_CREATED_FIRST - Enum constant in enum org.powermock.modules.junit4.internal.impl.NotificationBuilder.DetectedTestRunBehaviour
 
allClassMethodsCache - Static variable in class org.powermock.reflect.internal.WhiteboxImpl
"Strong" map prevent class and method objects from being GCed and unloaded.
AllFieldsMatcherStrategy - Class in org.powermock.reflect.internal.matcherstrategies
 
AllFieldsMatcherStrategy() - Constructor for class org.powermock.reflect.internal.matcherstrategies.AllFieldsMatcherStrategy
 
alternativePath() - Method in class samples.expectnew.ExpectNewDemo
 
ALWAYS_IGNORED - Static variable in class org.powermock.modules.agent.AbstractClassTransformer
 
aMethod() - Method in class samples.constructor.PublicConstructorWithDependencyDemo
 
aMethod() - Method in class samples.partialmocking.MockSelfDemo
 
aMethod() - Method in class samples.partialmocking.MockSelfWithNoDefaultConstructorDemo
 
aMethod2() - Method in class samples.partialmocking.MockSelfDemo
 
aMethod2() - Method in class samples.partialmocking.MockSelfWithNoDefaultConstructorDemo
 
aMethod2(String) - Static method in class samples.staticandinstance.StaticAndInstanceDemo
 
andReturn(T) - Method in class org.powermock.api.support.membermodification.strategy.impl.MethodStubStrategyImpl
Deprecated.
andReturn(T) - Method in interface org.powermock.api.support.membermodification.strategy.MethodStubStrategy
Deprecated.
Since version 1.4.1, use MethodStubStrategy.toReturn(Object) instead.
AnnotatedClassDemo - Class in samples.annotationbased
 
AnnotatedClassDemo() - Constructor for class samples.annotationbased.AnnotatedClassDemo
 
annotation - Variable in class org.powermock.api.extension.listener.AnnotationMockMetadata
 
annotation - Variable in class org.powermock.api.extension.listener.AnnotationMockScanner
 
AnnotationDemo - Class in samples.annotationbased
 
AnnotationDemo() - Constructor for class samples.annotationbased.AnnotationDemo
 
AnnotationDemo(Service) - Constructor for class samples.annotationbased.AnnotationDemo
 
annotationEnabler - Variable in class org.powermock.modules.testng.internal.PowerMockTestNGMethodHandler
 
annotationEnabler - Variable in class org.powermock.modules.testng.PowerMockTestCase
 
AnnotationEnabler - Class in org.powermock.api.easymock.powermocklistener
Deprecated.
Test Runners uses an annotation enabling listener per default since version 1.3. You should just remove this listener.
AnnotationEnabler - Class in org.powermock.api.extension.listener
Before each test method all fields annotated with Mock, Mock, Mock MockNice or MockStrict will have mock objects created for them and injected to the fields.
AnnotationEnabler - Class in org.powermock.api.mockito.powermocklistener
Deprecated.
Test Runners uses an annotation enabling listener per default since version 1.3. You should just remove this listener.
AnnotationEnabler() - Constructor for class org.powermock.api.easymock.powermocklistener.AnnotationEnabler
Deprecated.
 
AnnotationEnabler() - Constructor for class org.powermock.api.extension.listener.AnnotationEnabler
 
AnnotationEnabler() - Constructor for class org.powermock.api.mockito.powermocklistener.AnnotationEnabler
Deprecated.
 
AnnotationEnablerListener - Interface in org.powermock.core.spi.listener
 
AnnotationGlobalMetadata - Class in org.powermock.api.extension.listener
 
AnnotationGlobalMetadata() - Constructor for class org.powermock.api.extension.listener.AnnotationGlobalMetadata
 
annotationInstance - Variable in class org.powermock.api.extension.listener.AnnotationMockMetadata
 
AnnotationMockCreator - Interface in org.powermock.api.extension.listener
 
annotationMockCreatorFactory - Variable in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
 
AnnotationMockCreatorFactory - Class in org.powermock.api.extension.listener
 
AnnotationMockCreatorFactory() - Constructor for class org.powermock.api.extension.listener.AnnotationMockCreatorFactory
 
AnnotationMockMetadata - Class in org.powermock.api.extension.listener
 
AnnotationMockMetadata(Class<? extends Annotation>, Field) - Constructor for class org.powermock.api.extension.listener.AnnotationMockMetadata
 
AnnotationMockScanner - Class in org.powermock.api.extension.listener
 
AnnotationMockScanner(Class<? extends Annotation>) - Constructor for class org.powermock.api.extension.listener.AnnotationMockScanner
 
annotations - Variable in class org.powermock.reflect.internal.matcherstrategies.FieldAnnotationMatcherStrategy
 
AnotherSomeObjectInterfaceImpl - Class in samples.enummocking
 
AnotherSomeObjectInterfaceImpl() - Constructor for class samples.enummocking.AnotherSomeObjectInterfaceImpl
 
answer(InvocationOnMock) - Method in class org.powermock.api.mockito.internal.stubbing.PowerMockCallRealMethod
 
anyMethodInClassHasPowerMockAnnotation(Class<?>) - Method in class org.powermock.modules.testng.PowerMockObjectFactory
 
AppaleList - Class in samples.suppressconstructor
 
AppaleList() - Constructor for class samples.suppressconstructor.AppaleList
 
AppaleList(String) - Constructor for class samples.suppressconstructor.AppaleList
 
append(List<MockTransformer>) - Method in class org.powermock.core.transformers.support.DefaultMockTransformerChain.MockTransformerChainBuilder
 
append(MockTransformer) - Method in class org.powermock.core.transformers.support.DefaultMockTransformerChain.MockTransformerChainBuilder
 
appendArgument(StringBuilder, int, String, Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Append argument.
apply(Statement, FrameworkMethod, Object) - Method in class org.powermock.modules.junit4.rule.PowerMockRule
 
apply(MethodVisitor, Implementation.Context) - Method in class org.powermock.core.bytebuddy.ConditionalStateStackManipulation
 
apply(MethodVisitor, Implementation.Context) - Method in class org.powermock.core.bytebuddy.MockGetawayCall.ConstructorMockGetawayCall
 
apply(MethodVisitor, Implementation.Context) - Method in enum org.powermock.core.bytebuddy.PrimitiveBoxing
 
applyClassLoadingPolicy(MockPolicyClassLoadingSettings) - Method in class org.powermock.api.easymock.mockpolicies.AbstractEasyMockLogPolicyBase
 
applyClassLoadingPolicy(MockPolicyClassLoadingSettings) - Method in class org.powermock.api.mockito.mockpolicies.Slf4jMockPolicy
 
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 class org.powermock.api.easymock.mockpolicies.AbstractEasyMockLogPolicyBase
 
applyInterceptionPolicy(MockPolicyInterceptionSettings) - Method in class org.powermock.api.mockito.mockpolicies.Slf4jMockPolicy
 
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.
applyRuleToLastStatement(Method, Object, Field, Statement) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner
 
applyRuleToLastStatement(Method, Object, Field, Statement) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit49RunnerDelegateImpl.PowerMockJUnit49MethodRunner
 
areAllArgumentsOfSameType(Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Check if all arguments are of the same type.
areAllMethodsStatic(Method...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Are all methods static.
ArgumentMatcherDemo - Class in samples.argumentmatcher
 
ArgumentMatcherDemo() - Constructor for class samples.argumentmatcher.ArgumentMatcherDemo
 
arguments - Variable in class org.powermock.core.bytebuddy.MockGetawayCall.ConstructorMockGetawayCall
 
arguments - Variable in class org.powermock.core.bytebuddy.MockGetawayCall.WithArguments
 
arguments - Variable in class org.powermock.reflect.internal.ConstructorFinder
 
arguments - Variable in class org.powermock.reflect.internal.ParametersMatcher
 
argumentsApplied(Constructor<?>) - Method in class org.powermock.reflect.internal.CandidateConstructorSearcher
 
argumentTypes - Variable in class org.powermock.reflect.internal.CandidateConstructorSearcher
 
argumentTypesEqualsPrimitiveTypes(Class<?>[], Class<?>[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
 
arrayMerger - Variable in class org.powermock.api.mockito.expectation.DefaultConstructorExpectationSetup
 
arrayMerger - Variable in class org.powermock.core.classloader.MockClassLoaderFactory
 
arrayMerger - Variable in class org.powermock.modules.testng.internal.TestNGMockClassLoaderFactory
 
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
 
ArrayWriter - Enum constant in enum org.powermock.configuration.support.ConfigurationMapper.PropertyWriter
 
asOriginalClass(CtClass) - Method in class org.powermock.core.transformers.javassist.testclass.JavaAssistTestClassTransformer
 
asOriginalClassParams(CtClass[]) - Method in class org.powermock.core.transformers.javassist.testclass.JavaAssistTestClassTransformer
 
assertArgumentNotNull(Object, String) - Method in class org.powermock.classloading.AbstractClassloaderExecutor
 
assertInvocationHandlerNotNull(InvocationHandler) - Static method in class org.powermock.api.support.MethodProxy
 
assertNotNull(Object, String) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
assertNotNull(Object, String) - Static method in class org.powermock.utils.Asserts
 
assertObjectInGetInternalStateIsNotNull(Object) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Assert object in get internal state is not null.
assertParametersTypesNotNull() - Method in class org.powermock.reflect.internal.ParameterTypesMatcher
 
Asserts - Class in org.powermock.utils
 
Asserts() - Constructor for class org.powermock.utils.Asserts
 
assertThatVerifyWorksForMultipleMocks() - Static method in class samples.singleton.StaticService
 
AssignableFromFieldTypeMatcherStrategy - Class in org.powermock.reflect.internal.matcherstrategies
 
AssignableFromFieldTypeMatcherStrategy(Class<?>) - Constructor for class org.powermock.reflect.internal.matcherstrategies.AssignableFromFieldTypeMatcherStrategy
 
AssignableToFieldTypeMatcherStrategy - Class in org.powermock.reflect.internal.matcherstrategies
 
AssignableToFieldTypeMatcherStrategy(Class<?>) - Constructor for class org.powermock.reflect.internal.matcherstrategies.AssignableToFieldTypeMatcherStrategy
 
Assumes - Class in org.powermock.modules.testng.internal
 
Assumes() - Constructor for class org.powermock.modules.testng.internal.Assumes
 
assumeTrue(String, boolean) - Static method in class org.powermock.modules.testng.internal.Assumes
 
assumptionFailed(Description) - Method in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
 
AT - Static variable in class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
 
aTestMethod(int) - Method in class samples.privatemocking.PrivateMethodDemo
 
aTestMethod(Integer) - Method in class samples.privatemocking.PrivateMethodDemo
 
atLeast(JavaVersion) - Method in enum org.powermock.utils.JavaVersion
Whether this version of Java is at least the version of Java passed in.
attach(VirtualMachineDescriptor) - Static method in class com.sun.tools.attach.VirtualMachine
Attaches to a Java virtual machine.
attach(String) - Static method in class com.sun.tools.attach.VirtualMachine
Attaches to a Java virtual machine.
ATTACH_ERROR_BADJAR - Static variable in class sun.tools.attach.HotSpotVirtualMachine
 
ATTACH_ERROR_BADVERSION - Static variable in class sun.tools.attach.BsdVirtualMachine
 
ATTACH_ERROR_BADVERSION - Static variable in class sun.tools.attach.LinuxVirtualMachine
 
ATTACH_ERROR_NOTONCP - Static variable in class sun.tools.attach.HotSpotVirtualMachine
 
ATTACH_ERROR_STARTFAIL - Static variable in class sun.tools.attach.HotSpotVirtualMachine
 
ATTACH_PROVIDER - Static variable in class org.powermock.modules.agent.AgentLoader
 
AttachNotSupportedException - Exception Class in com.sun.tools.attach
Thrown by VirtalMachine.attach when attempting to attach to a Java virtual machine for which a compatible AttachProvider does not exist.
AttachNotSupportedException() - Constructor for exception class com.sun.tools.attach.AttachNotSupportedException
Constructs an AttachNotSupportedException with no detail message.
AttachNotSupportedException(String) - Constructor for exception class com.sun.tools.attach.AttachNotSupportedException
Constructs an AttachNotSupportedException with the specified detail message.
AttachProvider - Class in com.sun.tools.attach.spi
Attach provider class for attaching to a Java virtual machine.
AttachProvider() - Constructor for class com.sun.tools.attach.spi.AttachProvider
Initializes a new instance of this class.
attachTimeout - Variable in class sun.tools.attach.HotSpotVirtualMachine
 
attachTimeout() - Method in class sun.tools.attach.HotSpotVirtualMachine
 
attachToThisVM() - Method in class org.powermock.modules.agent.AgentLoader
 
attachVirtualMachine(VirtualMachineDescriptor) - Method in class com.sun.tools.attach.spi.AttachProvider
Attaches to a Java virtual machine.
attachVirtualMachine(String) - Method in class com.sun.tools.attach.spi.AttachProvider
Attaches to a Java virtual machine.
aVoidMethod() - Static method in class samples.staticandinstance.StaticAndInstanceDemo
 

B

b() - Static method in class samples.stress.ClassWithStatic
 
B - Static variable in interface samples.staticinitializer.InterfaceB
 
B() - Method in class samples.strict.StrictDemo
 
B(String) - Method in class samples.nice.NiceDemo
 
b1() - Method in class samples.stress.StressSample
 
backedMap - Variable in class org.powermock.core.IdentityHashSet
 
beforeConstructorCall(Iterable<? extends ParameterDescription>) - Static method in class org.powermock.core.bytebuddy.Frame
 
beforePowerMockTestClass() - Method in class org.powermock.modules.testng.PowerMockTestCase
 
beforePowerMockTestMethod() - Method in class org.powermock.modules.testng.PowerMockTestCase
Must be executed before each test method.
beforeTestMethod(Object, Method, Object[]) - Method in class org.powermock.api.extension.listener.AnnotationEnabler
 
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.
behaviour - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
 
blockDuplicateQualifiers(String) - Method in class org.powermock.api.extension.listener.AnnotationGlobalMetadata
 
BOOLEAN - Enum constant in enum org.powermock.core.bytebuddy.PrimitiveBoxing
 
boxedWrapper - Static variable in class org.powermock.reflect.internal.primitivesupport.BoxedWrapper
 
BoxedWrapper - Class in org.powermock.reflect.internal.primitivesupport
The purpose of the Primitive Wrapper is to provide methods that deals with translating wrapper types to its related primitive type.
BoxedWrapper() - Constructor for class org.powermock.reflect.internal.primitivesupport.BoxedWrapper
 
boxingMethodDescriptor - Variable in enum org.powermock.core.bytebuddy.PrimitiveBoxing
 
boxingMethodName - Variable in enum org.powermock.core.bytebuddy.PrimitiveBoxing
 
BsdVirtualMachine - Class in sun.tools.attach
 
BsdVirtualMachine(AttachProvider, String) - Constructor for class sun.tools.attach.BsdVirtualMachine
Attaches to the target VM
BsdVirtualMachine.SocketInputStream - Class in sun.tools.attach
 
build() - Method in class org.powermock.core.classloader.MockClassLoaderBuilder
 
build() - Method in class org.powermock.core.transformers.support.DefaultMockTransformerChain.MockTransformerChainBuilder
 
BYTE - Enum constant in enum org.powermock.core.bytebuddy.PrimitiveBoxing
 
byteArrays - Variable in class samples.expectnew.SimpleVarArgsConstructorDemo
 
byteArrays - Variable in class samples.expectnew.VarArgsConstructorDemo
 
ByteBuddy - Enum constant in enum org.powermock.core.transformers.MethodSignatures
 
ByteBuddyMethodSignatureWriterWriter() - Constructor for class org.powermock.core.transformers.MethodSignatures.ByteBuddyMethodSignatureWriterWriter
 
byteCodeFramework - Variable in class org.powermock.configuration.PowerMockConfiguration
 
byteCodeFramework - Variable in class org.powermock.core.classloader.MockClassLoaderBuilder
 
byteCodeFramework - Variable in class org.powermock.core.transformers.TestClassTransformerBuilder.RemovesTestMethodAnnotation
 
byteCodeFramework() - Element in annotation type org.powermock.core.classloader.annotations.PrepareEverythingForTest
 
byteCodeFramework() - Element in annotation type org.powermock.core.classloader.annotations.PrepareForTest
 
byteCodeFramework() - Element in annotation type org.powermock.core.classloader.annotations.PrepareOnlyThisForTest
 
byteCodeFramework() - Element in annotation type org.powermock.core.classloader.annotations.SuppressStaticInitializationFor
 
ByteCodeFramework - Enum in org.powermock.core.classloader
 
ByteCodeFramework() - Constructor for enum org.powermock.core.classloader.ByteCodeFramework
 
bytecodeFrameworkClue(Method) - Method in class org.powermock.core.transformers.TestClassTransformerBuilder
 

C

c() - Static method in class samples.stress.ClassWithStatic
 
C - Static variable in interface samples.staticinitializer.InterfaceC
 
c1() - Method in class samples.stress.StressSample
 
cache(Class<?>) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
Register a class to the cache of this classloader
cacheMockClass(Class<?>) - Method in class org.powermock.api.mockito.internal.mockcreation.DefaultMockCreator
 
calculate() - Method in class samples.mockpolicy.ResultCalculator
 
calculate() - Method in class samples.simplemix.SimpleMix
 
calculate(int, int) - Static method in class samples.singleton.StaticService
 
calculateWithinHierarchy() - Static method in class samples.staticinitializer.InterfaceComputation
 
calculateWithReference() - Static method in class samples.staticinitializer.InterfaceComputation
 
calculator - Variable in class samples.mockpolicy.SimpleClassWithADependency
 
callAThenB() - Method in class samples.nice.NiceDemo
 
callAThenB() - Method in class samples.strict.StrictDemo
 
calledFromMockito() - Static method in class org.powermock.core.MockGateway
 
canBeInvokeWith(Object[]) - Method in class org.powermock.reflect.internal.Constructor
 
CandidateConstructorSearcher<T> - Class in org.powermock.reflect.internal
This class search the best candidate in the given class to invoke constructor with given parameters.
CandidateConstructorSearcher(Class<T>, Class<?>[]) - Constructor for class org.powermock.reflect.internal.CandidateConstructorSearcher
 
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
 
changeMessageContent(String) - Static method in class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
 
CHARACTER - Enum constant in enum org.powermock.core.bytebuddy.PrimitiveBoxing
 
checkArgumentTypesMatchParameterTypes(boolean, Class<?>[], Object[]) - Method in class org.powermock.reflect.internal.ParametersMatcher
 
checkArgumentTypesMatchParameterTypes(boolean, Class<?>[], Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Check argument types match parameter types.
checkIfParameterTypesAreSame(boolean, Class<?>[], Class<?>[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Check if parameter types are same.
checkPermissions(String) - Static method in class sun.tools.attach.BsdVirtualMachine
 
checkPermissions(String) - Static method in class sun.tools.attach.LinuxVirtualMachine
 
checkPermissions(String) - Static method in class sun.tools.attach.SolarisVirtualMachine
 
ChildA - Class in samples.classhierarchy
 
ChildA() - Constructor for class samples.classhierarchy.ChildA
 
ChildB - Class in samples.classhierarchy
 
ChildB() - Constructor for class samples.classhierarchy.ChildB
 
chunkClass(Class<?>) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
CLASS_UNDER_TEST_FIELD - Static variable in class org.powermock.modules.junit4.internal.impl.testcaseworkaround.PowerMockJUnit4MethodValidator
 
classAnnotations() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
classes - Variable in class org.powermock.core.classloader.DeferSupportingClassLoader
 
classesToModify - Variable in class org.powermock.core.classloader.MockClassLoaderBuilder
 
classesToTransform - Variable in class org.powermock.modules.agent.PowerMockClassTransformer
 
ClassFinalModifierMockTransformer - Class in org.powermock.core.transformers.javassist
 
ClassFinalModifierMockTransformer(TransformStrategy) - Constructor for class org.powermock.core.transformers.javassist.ClassFinalModifierMockTransformer
 
classFoundInClassloader(Class<?>, ClassLoader) - Method in class org.powermock.api.easymock.PowerMock.EasyMockStateCleaner
 
ClassInsideJavaPackage - Class in samples.java
 
ClassInsideJavaPackage() - Constructor for class samples.java.ClassInsideJavaPackage
 
classloader - Variable in class org.powermock.classloading.SingleClassloaderExecutor
 
classLoader - Variable in class org.powermock.configuration.support.PropertiesFinder
 
classLoader - Variable in class org.powermock.tests.utils.impl.TestChunkImpl
 
CLASSLOADER - Enum constant in enum org.powermock.core.transformers.TransformStrategy
 
classloaderExecutor - Variable in class org.powermock.modules.junit4.rule.PowerMockStatement
 
ClassloaderExecutor - Interface in org.powermock.classloading
A ClassLoaderExecutor can run any code in any classloader.
classLoaderFactory - Variable in class org.powermock.modules.testng.internal.PowerMockClassloaderObjectFactory
 
classloadersToClear() - Method in class org.powermock.api.easymock.PowerMock.EasyMockStateCleaner
 
ClassLoaderUtil - Class in org.powermock.api.support
 
ClassLoaderUtil() - Constructor for class org.powermock.api.support.ClassLoaderUtil
 
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 - Variable in class org.powermock.core.classloader.MockClassLoader
 
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
classMocks - Static variable in class org.powermock.core.MockRepository
Holds info about general method invocation mocks for classes.
classNotPrepared(Class<T>) - Method in class org.powermock.api.mockito.expectation.reporter.MockitoPowerMockReporter
 
classNotPrepared(Class<T>) - Method in interface org.powermock.core.reporter.PowerMockReporter
 
ClassNotPreparedException - Exception Class in org.powermock.api.mockito
The exception is thrown when a user tries to mock class which is't prepared, but should be.
ClassNotPreparedException(String) - Constructor for exception class org.powermock.api.mockito.ClassNotPreparedException
 
classOrInstance(CtMethod) - Method in class org.powermock.core.transformers.javassist.MethodMockTransformer
 
ClassPathAdjuster - Interface in org.powermock.core.classloader.javassist
This interface can be used to adjust the classpath used by powermock to locate class files.
classPool - Variable in class org.powermock.core.classloader.javassist.JavaAssistClassMarkerFactory.InterfaceClassMarker
 
classPool - Variable in class org.powermock.core.classloader.javassist.JavassistMockClassLoader
 
ClassPoolFactory - Class in org.powermock.core.classloader.javassist
 
ClassPoolFactory(UseClassPathAdjuster) - Constructor for class org.powermock.core.classloader.javassist.ClassPoolFactory
 
ClassReplaceStrategy - Interface in org.powermock.api.support.membermodification.strategy
Specifies the replace strategy for a class.
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
 
classThatContainsTheConstructorToTest - Variable in class org.powermock.reflect.internal.CandidateConstructorSearcher
 
classTransformer - Static variable in class org.powermock.modules.agent.PowerMockAgent
 
ClassWithInnerMembers - Class in samples.classwithinnermembers
Class that is used to test that local and member class works with PowerMock.
ClassWithInnerMembers() - Constructor for class samples.classwithinnermembers.ClassWithInnerMembers
 
ClassWithInnerMembers.InnerInterface - Interface in samples.classwithinnermembers
 
ClassWithInnerMembers.MyInnerClass - Class in samples.classwithinnermembers
 
ClassWithInnerMembers.MyInnerClassWithConstructorArgument - Class in samples.classwithinnermembers
 
ClassWithInnerMembers.MyInnerClassWithPackageConstructorWithMultArgs - Class in samples.classwithinnermembers
 
ClassWithInnerMembers.MyInnerClassWithPrivateConstructorWithDiffMultArgs - Class in samples.classwithinnermembers
 
ClassWithInnerMembers.MyInnerClassWithPrivateConstructorWithMultArgs - Class in samples.classwithinnermembers
 
ClassWithInnerMembers.MyInnerClassWithProtectedConstructorWithMultArgs - Class in samples.classwithinnermembers
 
ClassWithInnerMembers.MyInnerClassWithPublicConstructorWithMultArgs - Class in samples.classwithinnermembers
 
ClassWithInnerMembers.StaticInnerClassWithConstructorArgument - Class in samples.classwithinnermembers
 
ClassWithNonPrivateInnerClass - Class in samples.innerclassmocking
Demonstrates the ability to mock an inner class (if the inner class is not private).
ClassWithNonPrivateInnerClass() - Constructor for class samples.innerclassmocking.ClassWithNonPrivateInnerClass
 
ClassWithNonPrivateInnerClass.InnerClass - Class in samples.innerclassmocking
 
ClassWithPowerMockGeneratedConstructor - Class in samples.whitebox
Class that simulates a PowerMock generated constructor.
ClassWithPowerMockGeneratedConstructor(String) - Constructor for class samples.whitebox.ClassWithPowerMockGeneratedConstructor
 
ClassWithPowerMockGeneratedConstructor(IndicateReloadClass) - Constructor for class samples.whitebox.ClassWithPowerMockGeneratedConstructor
Simulates a PowerMock generated constructor.
ClassWithPrivateInnerClass - Class in samples.innerclassmocking
Used for demonstration of the ability to mock methods from a private inner class.
ClassWithPrivateInnerClass() - Constructor for class samples.innerclassmocking.ClassWithPrivateInnerClass
 
ClassWithPrivateInnerClass.InnerClass - Class in samples.innerclassmocking
 
ClassWithStatic - Class in samples.stress
 
ClassWithStatic() - Constructor for class samples.stress.ClassWithStatic
 
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.
clazz - Variable in class org.powermock.core.transformers.javassist.support.PowerMockExpressionEditor
 
clear() - Method in class org.powermock.api.extension.agent.JavaAgentFrameworkRegisterImpl
 
clear() - Method in class org.powermock.api.mockito.ConfigurationTestUtils
 
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.
clear() - Method in class org.powermock.modules.agent.support.JavaAgentClassRegisterImpl
 
clearMockFields() - Method in class org.powermock.modules.testng.internal.PowerMockTestNGMethodHandler
 
clearMockFields() - Method in class org.powermock.modules.testng.PowerMockTestCase
 
clearStateFromOtherClassLoaders() - Method in class org.powermock.api.easymock.PowerMock.EasyMockStateCleaner
 
clone(T) - Method in class org.powermock.classloading.DeepCloner
Clones an object.
clone(T) - Method in interface org.powermock.classloading.spi.DeepClonerSPI
 
clone(T[]) - Static method in class org.powermock.utils.ArrayUtil
 
cloneArguments(Object[], DeepClonerSPI) - Method in class org.powermock.classloading.AbstractClassloaderExecutor
 
cloneResult(Object) - Method in class org.powermock.classloading.AbstractClassloaderExecutor
 
close() - Method in class sun.tools.attach.BsdVirtualMachine.SocketInputStream
 
close() - Method in class sun.tools.attach.LinuxVirtualMachine.SocketInputStream
 
close() - Method in class sun.tools.attach.SolarisVirtualMachine.SocketInputStream
 
close() - Method in class sun.tools.attach.WindowsVirtualMachine.PipedInputStream
 
close(int) - Static method in class sun.tools.attach.BsdVirtualMachine
 
close(int) - Static method in class sun.tools.attach.LinuxVirtualMachine
 
close(int) - Static method in class sun.tools.attach.SolarisVirtualMachine
 
closePendingTestSuites(GlobalNotificationBuildSupport.Callback) - Static method in class org.powermock.core.testlisteners.GlobalNotificationBuildSupport
 
closePipe(long) - Static method in class sun.tools.attach.WindowsVirtualMachine
 
closeProcess(long) - Static method in class sun.tools.attach.WindowsVirtualMachine
 
closeTestSuite(Class<?>) - Static method in class org.powermock.core.testlisteners.GlobalNotificationBuildSupport
 
collaborator - Variable in class samples.simplemix.SimpleMix
 
COLON_NEWLINE - Static variable in class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
 
com.sun.tools.attach - package com.sun.tools.attach
 
com.sun.tools.attach.spi - package com.sun.tools.attach.spi
 
ComparatorFactory - Class in org.powermock.reflect.internal.comparator
This comparator factory is used to create Comparators for Whitebox which are used to find best candidates for constructor and method invocation.
ComparatorFactory() - Constructor for class org.powermock.reflect.internal.comparator.ComparatorFactory
 
ComparatorFactory.ConstructorComparator - Class in org.powermock.reflect.internal.comparator
 
ComparatorFactory.MethodComparator - Class in org.powermock.reflect.internal.comparator
 
ComparatorFactory.ParametersComparator - Class in org.powermock.reflect.internal.comparator
 
compare(Class[], Class[]) - Method in class org.powermock.reflect.internal.comparator.ComparatorFactory.ParametersComparator
 
compare(Object, Object) - Method in class org.powermock.modules.junit4.common.internal.impl.VersionComparator
 
compare(Constructor, Constructor) - Method in class org.powermock.reflect.internal.comparator.ComparatorFactory.ConstructorComparator
 
compare(Method, Method) - Method in class org.powermock.reflect.internal.comparator.ComparatorFactory.MethodComparator
 
complete() - Method in class samples.newmocking.SomeDependency
 
concatenateStrings(String...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Concatenate strings.
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
 
condition - Variable in class org.powermock.core.bytebuddy.ConditionalStateStackManipulation
 
ConditionalStateStackManipulation - Class in org.powermock.core.bytebuddy
 
ConditionalStateStackManipulation(StackManipulation, StackManipulation, StackManipulation, Frame) - Constructor for class org.powermock.core.bytebuddy.ConditionalStateStackManipulation
 
config - Variable in class org.powermock.api.mockito.ConfigurationTestUtils
 
CONFIG_FILE - Static variable in class org.powermock.api.mockito.ConfigurationTestUtils
 
configuration - Variable in class org.powermock.configuration.support.ConfigurationMapper
 
configuration - Variable in class org.powermock.core.classloader.DeferSupportingClassLoader
 
Configuration<T> - Interface in org.powermock.configuration
The general interface for all types configurations that could be obtained via GlobalConfiguration.
ConfigurationBuilder<T> - Class in org.powermock.configuration.support
 
ConfigurationBuilder(Class<T>) - Constructor for class org.powermock.configuration.support.ConfigurationBuilder
 
ConfigurationBuilder.ConfigurationCreator - Class in org.powermock.configuration.support
 
configurationClass - Variable in enum org.powermock.configuration.ConfigurationType
 
configurationClass - Variable in class org.powermock.configuration.support.ConfigurationMapper
 
ConfigurationCreator(Map<String, String>) - Constructor for class org.powermock.configuration.support.ConfigurationBuilder.ConfigurationCreator
 
configurationFactory - Static variable in class org.powermock.configuration.GlobalConfiguration
 
ConfigurationFactory - Interface in org.powermock.configuration
 
ConfigurationFactoryImpl - Class in org.powermock.configuration.support
 
ConfigurationFactoryImpl() - Constructor for class org.powermock.configuration.support.ConfigurationFactoryImpl
 
ConfigurationFactoryImpl(String) - Constructor for class org.powermock.configuration.support.ConfigurationFactoryImpl
 
ConfigurationFactoryImpl(String, String) - Constructor for class org.powermock.configuration.support.ConfigurationFactoryImpl
 
ConfigurationKey(ConfigurationType, String) - Constructor for class org.powermock.configuration.support.ConfigurationMapper.ConfigurationKey
 
ConfigurationMapper<T> - Class in org.powermock.configuration.support
 
ConfigurationMapper(Class<T>, T, ValueAliases) - Constructor for class org.powermock.configuration.support.ConfigurationMapper
 
ConfigurationMapper.ConfigurationKey - Class in org.powermock.configuration.support
 
ConfigurationMapper.PropertyWriter - Enum in org.powermock.configuration.support
 
ConfigurationSource(String, InputStream) - Constructor for class org.powermock.configuration.support.PropertiesFinder.ConfigurationSource
 
ConfigurationTestUtils - Class in org.powermock.api.mockito
 
ConfigurationTestUtils() - Constructor for class org.powermock.api.mockito.ConfigurationTestUtils
 
configurationType - Variable in class org.powermock.configuration.support.ConfigurationBuilder
 
configurationType - Variable in class org.powermock.configuration.support.ConfigurationMapper.ConfigurationKey
 
ConfigurationType - Enum in org.powermock.configuration
 
ConfigurationType(String, Class<? extends Configuration>) - Constructor for enum org.powermock.configuration.ConfigurationType
 
connect(int, String) - Static method in class sun.tools.attach.BsdVirtualMachine
 
connect(int, String) - Static method in class sun.tools.attach.LinuxVirtualMachine
 
connectPipe(long) - Static method in class sun.tools.attach.WindowsVirtualMachine
 
constructor - Variable in class org.powermock.modules.testng.internal.TestClassInstanceFactory
 
constructor - Variable in class org.powermock.reflect.internal.Constructor
 
constructor(Class<T>) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Returns any one constructor specified in declaringClass.
constructor(Class<T>, Class<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Returns a constructor specified in declaringClass.
Constructor - Class in org.powermock.reflect.internal
 
Constructor(Constructor) - Constructor for class org.powermock.reflect.internal.Constructor
 
ConstructorArgsDemo - Class in samples.constructorargs
 
ConstructorArgsDemo() - Constructor for class samples.constructorargs.ConstructorArgsDemo
 
ConstructorArgsDemo(String) - Constructor for class samples.constructorargs.ConstructorArgsDemo
 
ConstructorArgumentsVerification - Interface in org.powermock.api.mockito.verification
 
ConstructorAwareExpectationSetup<T> - Class in org.powermock.api.mockito.expectation
 
ConstructorAwareExpectationSetup(Constructor<T>) - Constructor for class org.powermock.api.mockito.expectation.ConstructorAwareExpectationSetup
 
constructorCall(Class<?>, Object[], Class<?>[]) - Static method in class org.powermock.core.MockGateway
 
ConstructorComparator(ComparatorFactory.ParametersComparator) - Constructor for class org.powermock.reflect.internal.comparator.ComparatorFactory.ConstructorComparator
 
ConstructorExpectationSetup<T> - Interface in org.powermock.api.mockito.expectation
 
ConstructorFinder - Class in org.powermock.reflect.internal
 
ConstructorFinder(Class<?>, Object...) - Constructor for class org.powermock.reflect.internal.ConstructorFinder
 
ConstructorMockGetawayCall(Method, TypeDescription, List<Variable>, ParameterList<ParameterDescription.InDefinedShape>) - Constructor for class org.powermock.core.bytebuddy.MockGetawayCall.ConstructorMockGetawayCall
 
ConstructorNotFoundException - Exception Class in org.powermock.reflect.exceptions
A run-time exception that may be thrown to indicate that a constructor was not found.
ConstructorNotFoundException(String) - Constructor for exception class org.powermock.reflect.exceptions.ConstructorNotFoundException
Constructs a new exception with the specified detail message.
ConstructorNotFoundException(String, Throwable) - Constructor for exception class org.powermock.reflect.exceptions.ConstructorNotFoundException
Constructs a new runtime exception with the specified detail message and cause.
constructorResult - Variable in class samples.constructor.PrivateConstructorDemo
 
constructorResult - Variable in class samples.constructor.PublicConstructorDemo
 
constructors(Constructor<?>, Constructor<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Convenience method to get a constructor from a class.
constructorsDeclaredIn(Class<?>, Class<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get all constructors in the supplied class(es).
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
 
convertArgumentTypesToPrimitive(Class<?>[], Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Convert argument types to primitive.
convertParameterTypesToPrimitive(Class<?>[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Convert parameter types to primitive.
copy(T, T, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
 
copyArgumentsForInnerOrLocalOrAnonymousClass(Object[], Class<?>, boolean) - Static method in class org.powermock.core.MockGateway
The first parameter of an inner, local or anonymous inner class is null or the enclosing instance.
copyFields(CtClass, CtClass) - Method in class org.powermock.core.ClassReplicaCreator
 
copyFileUsingStream(File, File) - Static method in class org.powermock.utils.IOUtils
 
copyProperty(String, String) - Method in class samples.system.SystemClassUser
 
copyState(Object, Object, FieldMatchingStrategy) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Copy state.
copyTemplateToPropertiesFile() - Method in class org.powermock.api.mockito.ConfigurationTestUtils
 
copyToMock(T, T) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
 
copyToRealObject(T, T) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
 
copyValue(T, T, Field) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
 
copyValues(T, T, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
 
counter - Static variable in class org.powermock.core.ClassReplicaCreator
 
counter - Static variable in class org.powermock.core.ConcreteClassGenerator
 
countInitializersInTrace(String) - Static method in class org.powermock.core.testlisteners.GlobalNotificationBuildSupport
 
create() - Static method in class org.powermock.core.agent.JavaAgentFrameworkRegisterFactory
 
create() - Method in class org.powermock.core.classloader.javassist.ClassPoolFactory
 
create() - Method in class org.powermock.modules.testng.internal.TestClassInstanceFactory
 
create() - Method in enum samples.enummocking.EnumWithConstructor
 
create(Class<T>) - Method in interface org.powermock.configuration.ConfigurationFactory
 
create(Class<T>) - Method in class org.powermock.configuration.support.ConfigurationFactoryImpl
 
create(Class<T>, Properties) - Method in class org.powermock.configuration.support.ConfigurationBuilder.ConfigurationCreator
 
create(ByteCodeFramework) - Static method in class org.powermock.core.classloader.MockClassLoaderBuilder
 
create(ByteCodeFramework, String[], MockTransformer...) - Method in class org.powermock.core.classloader.MockClassLoaderFactory
 
create(ITestContext) - Method in class org.powermock.modules.testng.PowerMockTestCase
 
createAndPopulateVarArgsArray(Class<?>, int, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Creates the and populate var args array.
createAttachFile(int) - Method in class sun.tools.attach.LinuxVirtualMachine
 
createAttachFile(int) - Method in class sun.tools.attach.SolarisVirtualMachine
 
createAttachFile(String) - Static method in class sun.tools.attach.BsdVirtualMachine
 
createClassloader(MockClassLoaderConfiguration, UseClassPathAdjuster) - Method in enum org.powermock.core.classloader.ByteCodeFramework
 
createClassLoader(Class<?>) - Method in class org.powermock.modules.testng.internal.TestNGMockClassLoaderFactory
 
createClassLoaderForMethod(Class<?>, Method) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
createClassMarker(ClassPool) - Static method in class org.powermock.core.classloader.javassist.JavaAssistClassMarkerFactory
 
createClassReplica(Class<T>) - Method in class org.powermock.core.ClassReplicaCreator
 
createConcreteSubClass(Class<?>) - Method in class org.powermock.core.ConcreteClassGenerator
 
createConfig(Class<T>) - Method in class org.powermock.configuration.GlobalConfiguration
 
createConfigurationFor(Class<C>) - Static method in class org.powermock.configuration.support.ConfigurationBuilder
 
createConstructorComparator() - Static method in class org.powermock.reflect.internal.comparator.ComparatorFactory
 
createDeepCloner(ClassLoader) - Method in class org.powermock.classloading.AbstractClassloaderExecutor
 
createDefaultChain() - 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(List<MockTransformer>) - Method in class org.powermock.core.transformers.javassist.JavassistMockTransformerChainFactory
 
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
createDefaultChain(TransformStrategy) - Method in class org.powermock.core.transformers.javassist.JavassistMockTransformerChainFactory
 
createDefaultChain(TransformStrategy) - Method in interface org.powermock.core.transformers.MockTransformerChainFactory
Create an MockTransformerChain with using the given transformStrategy
createDefaultChainBuilder(TransformStrategy) - Method in class org.powermock.core.transformers.javassist.JavassistMockTransformerChainFactory
 
createDefaultMockCreator() - Method in class org.powermock.api.extension.listener.AnnotationMockCreatorFactory
 
createDefaultMockLoader(Class<?>, Collection<Method>) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
createDefaultRunner(Class<?>) - Static method in class org.powermock.modules.junit4.PowerMockRunnerDelegate.DefaultJUnitRunner
 
createDelegate(Class<?>) - Static method in class org.powermock.modules.junit4.internal.impl.DelegatingPowerMockRunner
 
createDelegatorFromClassloader(ClassLoader, Class<?>, List<Method>) - Method in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl
 
createDelegatorFromClassloader(ClassLoader, Class<?>, List<Method>) - Method in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
 
createDirectoryStructure(String) - Method in class samples.expectnew.NewFileExample
 
createForClass(MockTransformer...) - Method in class org.powermock.core.classloader.MockClassLoaderFactory
 
createForMethod(Method, MockTransformer...) - Method in class org.powermock.core.classloader.MockClassLoaderFactory
 
createFromInterfaces(Class<?>[]) - Method in class org.powermock.reflect.internal.proxy.UnproxiedTypeFactory
 
createFromSuperclassAndInterfaces(Class<?>, Class<?>[]) - Method in class org.powermock.reflect.internal.proxy.UnproxiedTypeFactory
 
createFromType(Class<?>) - Method in class org.powermock.reflect.internal.proxy.UnproxiedTypeFactory
 
createInstance(Constructor<T>, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Creates the instance.
createInstanceReplica(T) - Method in class org.powermock.core.ClassReplicaCreator
Create a class that is a replica of type T.
createInvocation(Object, Method, Object[]) - Method in class org.powermock.api.mockito.invocation.MockHandlerAdaptor
 
createInvocation(Object, Method, MockCreationSettings, Object...) - Method in class org.powermock.api.mockito.invocation.InvocationFactory
 
createMethodComparator() - Static method in class org.powermock.reflect.internal.comparator.ComparatorFactory
 
createMethodInvocationControl(Class<T>, Method[], Object, MockSettings) - Method in class org.powermock.api.mockito.internal.mockcreation.DefaultMockCreator
 
createMock(Class<T>) - Static method in class org.powermock.api.easymock.PowerMock
Creates a mock object that supports mocking of final and native methods.
createMock(Class<T>, boolean, boolean, Object, MockSettings, Method...) - Method in class org.powermock.api.mockito.internal.mockcreation.DefaultMockCreator
 
createMock(Class<T>, boolean, boolean, Object, MockSettings, Method...) - Method in interface org.powermock.api.mockito.internal.mockcreation.MockCreator
 
createMock(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Creates a mock object that supports mocking of final and native methods and invokes a specific constructor based on the supplied argument values.
createMock(Class<T>, Method...) - Static method in class org.powermock.api.easymock.PowerMock
Creates a mock object that supports mocking of final and native methods.
createMock(Class<T>, ConstructorArgs, Method...) - Static method in class org.powermock.api.easymock.PowerMock
Creates a mock object that supports mocking of final and native methods and invokes a specific constructor.
createMock(MockCreationSettings<T>, MockHandler) - Method in class org.powermock.api.mockito.mockmaker.PowerMockMaker
 
createMock(AnnotationMockCreator, MockMetadata) - Method in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
 
createMockAndExpectNew(Class<T>, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
Convenience method for createMock followed by expectNew when PowerMock cannot determine which constructor to use automatically.
createMockAndExpectNew(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Convenience method for createMock followed by expectNew.
createMockClassLoader(ByteCodeFramework, String[], UseClassPathAdjuster, MockTransformer...) - Method in class org.powermock.core.classloader.MockClassLoaderFactory
 
createMockClassLoader(ByteCodeFramework, String[], MockTransformer...) - Method in class org.powermock.core.classloader.MockClassLoaderFactory
 
createMockControl(Class<?>) - Method in class org.powermock.api.easymock.internal.mockstrategy.impl.AbstractMockStrategyBase
 
createMockControl(Class<?>) - Method in interface org.powermock.api.easymock.internal.mockstrategy.MockStrategy
 
createMockInstance(Class<?>, Method[]) - Method in interface org.powermock.api.extension.listener.AnnotationMockCreator
 
createNewArrayWithSameType(T[], int) - Static method in class org.powermock.utils.ArrayUtil
 
createNewInvocationControl(Class<T>, Class<T>) - Method in class org.powermock.api.mockito.expectation.DefaultConstructorExpectationSetup
 
createNewInvocationControl(InvocationSubstitute<T>) - Method in class org.powermock.api.mockito.expectation.DefaultConstructorExpectationSetup
 
createNewSubstituteMock(Class<T>, Class<?>[], Object...) - Method in class org.powermock.api.mockito.expectation.DefaultConstructorExpectationSetup
 
createNiceMock(Class<T>) - Static method in class org.powermock.api.easymock.PowerMock
Creates a nice mock object that supports mocking of final and native methods.
createNiceMock(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Creates a nice mock object that supports mocking of final and native methods and invokes a specific constructor based on the supplied argument values.
createNiceMock(Class<T>, Method...) - Static method in class org.powermock.api.easymock.PowerMock
Creates a nice mock object that supports mocking of final and native methods.
createNiceMock(Class<T>, ConstructorArgs, Method...) - Static method in class org.powermock.api.easymock.PowerMock
Creates a nice mock object that supports mocking of final and native methods and invokes a specific constructor.
createNiceMockAndExpectNew(Class<T>, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
Convenience method for createNiceMock followed by expectNew when PowerMock cannot determine which constructor to use automatically.
createNiceMockAndExpectNew(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Convenience method for createNiceMock followed by expectNew.
createNiceMockCreator() - Method in class org.powermock.api.extension.listener.AnnotationMockCreatorFactory
 
createNicePartialMock(Class<T>, Class<? super T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to nicely mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createNicePartialMock(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to nicely mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createNicePartialMock(Class<T>, String[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
* A utility method that may be used to nicely mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createNicePartialMock(Class<T>, String, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to nicely mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createNicePartialMock(Class<T>, String, Class<?>[], Object[], Class<?>[]) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to nicely mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createNicePartialMock(Class<T>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Nicely mock a single specific method.
createNicePartialMockAndInvokeDefaultConstructor(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to nicely mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createNicePartialMockForAllMethodsExcept(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to specify several methods that should not be nicely mocked in an easy manner (by just passing in the method names of the method you wish not to mock).
createNicePartialMockForAllMethodsExcept(Class<T>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Mock all methods of a class except for a specific one nicely.
createParamArgMatcher(Class<?>) - Method in class org.powermock.api.mockito.expectation.DefaultConstructorExpectationSetup
 
createPartialMock(Class<T>, Class<? super T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createPartialMock(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createPartialMock(Class<T>, String[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createPartialMock(Class<T>, String, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createPartialMock(Class<T>, String, Class<?>[], Object[], Class<?>[]) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createPartialMock(Class<T>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Mock a single specific method.
createPartialMockAndInvokeDefaultConstructor(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createPartialMockForAllMethodsExcept(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to specify several methods that should not be mocked in an easy manner (by just passing in the method names of the method you wish not to mock).
createPartialMockForAllMethodsExcept(Class<T>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Mock all methods of a class except for a specific one.
createPipe(String) - Static method in class sun.tools.attach.WindowsVirtualMachine
 
createPowerMockReporter() - Method in interface org.powermock.core.reporter.PowerMockReporterFactory
 
createPowerMockRunner(Object, TestMethod, RunNotifier, Description, boolean) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
createPowerMockRunner(Object, TestMethod, RunNotifier, Description, boolean) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl
 
createPowerMockRunner(Object, TestMethod, RunNotifier, Description, boolean) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit49RunnerDelegateImpl
 
createProxyTestClass(Class<?>) - Method in class org.powermock.modules.testng.internal.TestClassInstanceFactory
 
createReader(File) - Method in class samples.privatemocking.PrivateMethodDemo
 
createRealMethod(Object, Method, Object...) - Method in class org.powermock.api.mockito.invocation.InvocationFactory
 
createReplicaType(Class<T>, boolean, ConstructorArgs) - Static method in class org.powermock.api.easymock.PowerMock
 
createRunnerDelegate(Class<?>) - Static method in class org.powermock.modules.junit4.PowerMockRunnerDelegate.SinceJUnit_4_5
 
createSignature(String, String, String, String[]) - Method in class org.powermock.core.transformers.MethodSignatures.JavassistMethodSignatureWriterWriter
 
createSimpleThing() - Static method in class samples.rule.SimpleThingCreator
 
createStatement(Method, Object, Runnable, Set<Field>) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner
 
createStaticMockSettings(Class) - Method in class org.powermock.api.mockito.mockmaker.PowerMockMaker
 
createStrictMock(Class<T>) - Static method in class org.powermock.api.easymock.PowerMock
Creates a strict mock object that supports mocking of final and native methods.
createStrictMock(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Creates a strict mock object that supports mocking of final and native methods and invokes a specific constructor based on the supplied argument values.
createStrictMock(Class<T>, Method...) - Static method in class org.powermock.api.easymock.PowerMock
Creates a strict mock object that supports mocking of final and native methods.
createStrictMock(Class<T>, ConstructorArgs, Method...) - Static method in class org.powermock.api.easymock.PowerMock
Creates a strict mock object that supports mocking of final and native methods and invokes a specific constructor.
createStrictMockAndExpectNew(Class<T>, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
Convenience method for createStrictMock followed by expectNew when PowerMock cannot determine which constructor to use automatically.
createStrictMockAndExpectNew(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Convenience method for createStrictMock followed by expectNew.
createStrictMockCreator() - Method in class org.powermock.api.extension.listener.AnnotationMockCreatorFactory
 
createStrictPartialMock(Class<T>, Class<? super T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to strictly mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createStrictPartialMock(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to strictly mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createStrictPartialMock(Class<T>, String[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
* A utility method that may be used to strictly mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createStrictPartialMock(Class<T>, String, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to strictly mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createStrictPartialMock(Class<T>, String, Class<?>[], Object[], Class<?>[]) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to strictly mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createStrictPartialMock(Class<T>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Strictly mock a single specific method.
createStrictPartialMockAndInvokeDefaultConstructor(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to strictly mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createStrictPartialMockForAllMethodsExcept(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to specify several methods that should not be strictly mocked in an easy manner (by just passing in the method names of the method you wish not to mock).
createStrictPartialMockForAllMethodsExcept(Class<T>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Mock all methods of a class except for a specific one strictly.
createTarget(ITarget) - Method in class samples.expectnew.ExpectNewDemo
 
createTest() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
createTestClass(Class<?>) - Method in class org.powermock.modules.testng.internal.TestClassInstanceFactory
We proxy the test class in order to be able to clear state after each test method invocation.
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.
createTestInstance() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
createTransformerChain() - Method in class org.powermock.core.classloader.MockClassLoaderBuilder
 
createTransformerChainFactory() - Method in enum org.powermock.core.classloader.ByteCodeFramework
 
createTypeValidator(Class<T>, boolean, boolean) - Method in class org.powermock.api.mockito.internal.mockcreation.AbstractMockCreator
 
createValidator(Class<T>, boolean, boolean, JavaAgentClassRegister) - Static method in class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory
 
createWithPrivilegeAccessController(ByteCodeFramework, String[], MockTransformer...) - Method in class org.powermock.core.classloader.MockClassLoaderFactory
 
CreationException - Exception Class in samples.expectnew
 
CreationException() - Constructor for exception class samples.expectnew.CreationException
 
ct2primitiveClass - Static variable in class org.powermock.core.transformers.javassist.support.Primitives
 
ctClass - Variable in class org.powermock.core.transformers.javassist.support.JavaAssistClassWrapperFactory.JavaAssistClassWrapper
 
ctor - Variable in class org.powermock.api.mockito.expectation.ConstructorAwareExpectationSetup
 
ctors - Variable in class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing
 
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.
currentDescription - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
 
currentTestIndex - Variable in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
currentTestInstance - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
 
currentTestSuccessful - Variable in class org.powermock.modules.junit4.common.internal.impl.PowerMockJUnit4RunListener
 

D

d() - Static method in class samples.stress.ClassWithStatic
 
d1() - Method in class samples.stress.StressSample
 
DeepCloner - Class in org.powermock.classloading
The purpose of the deep cloner is to create a deep clone of an object.
DeepCloner() - Constructor for class org.powermock.classloading.DeepCloner
Clone using the current ContextClassLoader.
DeepCloner(ClassLoader) - Constructor for class org.powermock.classloading.DeepCloner
Clone using the supplied ClassLoader.
DeepClonerSPI - Interface in org.powermock.classloading.spi
A deep-cloner must implement this interface.
DEFAULT - Static variable in class org.powermock.core.transformers.javassist.JavassistMockTransformerChainFactory
 
DEFAULT - Static variable in class samples.constructorargs.ConstructorArgsDemo
 
DEFAULT_CONFIGURATION - Static variable in class org.powermock.configuration.support.ConfigurationFactoryImpl
 
DEFAULT_TEST_LISTENERS_SIZE - Static variable in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
defaultAttachTimeout - Static variable in class sun.tools.attach.HotSpotVirtualMachine
 
DefaultBehavior - Interface in org.powermock.core.spi
Interface that provides the replay, verify and reset behavior for mock objects and classes.
defaultConfigurationLocation - Variable in class org.powermock.configuration.support.ConfigurationFactoryImpl
 
DefaultConstructorArgumentsVerification<T> - Class in org.powermock.api.mockito.internal.verification
 
DefaultConstructorArgumentsVerification(NewInvocationControl<T>, Class<?>) - Constructor for class org.powermock.api.mockito.internal.verification.DefaultConstructorArgumentsVerification
 
DefaultConstructorExpectationSetup<T> - Class in org.powermock.api.mockito.expectation
 
DefaultConstructorExpectationSetup(Class<T>) - Constructor for class org.powermock.api.mockito.expectation.DefaultConstructorExpectationSetup
 
defaultConstructorIn(Class<T>) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Returns the default constructor in declaringClass
DefaultFieldValueGenerator - Class in org.powermock.core
Fills the fields with default not-null values.
DefaultFieldValueGenerator() - Constructor for class org.powermock.core.DefaultFieldValueGenerator
 
DefaultInjectFieldSearcher - Class in org.powermock.api.extension.listener
 
DefaultInjectFieldSearcher() - Constructor for class org.powermock.api.extension.listener.DefaultInjectFieldSearcher
 
DefaultJUnitRunner(Class<?>) - Constructor for class org.powermock.modules.junit4.PowerMockRunnerDelegate.DefaultJUnitRunner
 
DefaultMethodExpectationSetup<T> - Class in org.powermock.api.mockito.internal.expectation
 
DefaultMethodExpectationSetup(Object, Method) - Constructor for class org.powermock.api.mockito.internal.expectation.DefaultMethodExpectationSetup
 
DefaultMockCreator - Class in org.powermock.api.mockito.internal.mockcreation
 
DefaultMockCreator() - Constructor for class org.powermock.api.mockito.internal.mockcreation.DefaultMockCreator
 
DefaultMockCreator.MockData<T> - Class in org.powermock.api.mockito.internal.mockcreation
Class that encapsulate a mock and its corresponding invocation control.
DefaultMockStrategy - Class in org.powermock.api.easymock.internal.mockstrategy.impl
 
DefaultMockStrategy() - Constructor for class org.powermock.api.easymock.internal.mockstrategy.impl.DefaultMockStrategy
 
DefaultMockTransformerChain - Class in org.powermock.core.transformers.support
 
DefaultMockTransformerChain(List<MockTransformer>) - Constructor for class org.powermock.core.transformers.support.DefaultMockTransformerChain
 
DefaultMockTransformerChain.MockTransformerChainBuilder - Class in org.powermock.core.transformers.support
 
DefaultMockTypeValidator(Class<T>) - Constructor for class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory.DefaultMockTypeValidator
 
defaultObjectFactory - Variable in class org.powermock.modules.testng.PowerMockObjectFactory
 
DefaultPrivatelyExpectedArguments - Class in org.powermock.api.mockito.internal.expectation
 
DefaultPrivatelyExpectedArguments(Object, Method) - Constructor for class org.powermock.api.mockito.internal.expectation.DefaultPrivatelyExpectedArguments
 
DefaultPrivateMethodVerification - Class in org.powermock.api.mockito.internal.verification
 
DefaultPrivateMethodVerification(Object) - Constructor for class org.powermock.api.mockito.internal.verification.DefaultPrivateMethodVerification
 
DefaultPrivateMethodVerification.VerificationArguments - Class in org.powermock.api.mockito.internal.verification
 
deferConditionMatches(String, String) - Method in class org.powermock.core.classloader.MockClassLoaderConfiguration
 
deferPackages - Variable in class org.powermock.core.classloader.MockClassLoaderConfiguration
 
DeferSupportingClassLoader - Class in org.powermock.core.classloader
Defers classloading of system classes to a delegate.
DeferSupportingClassLoader(ClassLoader, MockClassLoaderConfiguration) - Constructor for class org.powermock.core.classloader.DeferSupportingClassLoader
 
deferTo - Variable in class org.powermock.core.classloader.DeferSupportingClassLoader
 
DefinalizingClassTransformer - Class in org.powermock.modules.agent
 
DefinalizingClassTransformer() - Constructor for class org.powermock.modules.agent.DefinalizingClassTransformer
 
DefinalizingClassVisitor - Class in org.powermock.modules.agent
 
DefinalizingClassVisitor(ClassVisitor) - Constructor for class org.powermock.modules.agent.DefinalizingClassVisitor
 
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, URL, ProtectionDomain) - Method in class org.powermock.core.classloader.MockClassLoader
 
defineClass(String, ProtectionDomain, byte[]) - Method in class org.powermock.core.classloader.MockClassLoader
 
delegate - Variable in class org.powermock.modules.junit4.internal.impl.DelegatingPowerMockRunner
 
delegates - Variable in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
 
delegatesCreatedForTheseClasses - Variable in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
 
DelegatingPowerMockRunner - Class in org.powermock.modules.junit4.internal.impl
 
DelegatingPowerMockRunner(Class<?>) - Constructor for class org.powermock.modules.junit4.internal.impl.DelegatingPowerMockRunner
 
DelegatingPowerMockRunner(Class<?>, String[]) - Constructor for class org.powermock.modules.junit4.internal.impl.DelegatingPowerMockRunner
 
DelegatingPowerMockRunner(Class<?>, String[], PowerMockTestListener[]) - Constructor for class org.powermock.modules.junit4.internal.impl.DelegatingPowerMockRunner
 
DelegatingToConstructorsOngoingStubbing<T> - Class in org.powermock.api.mockito.internal.expectation
Implementation of OngoingStubbing that delegates invocations to all supplied ctors
DelegatingToConstructorsOngoingStubbing(Constructor<?>[], OngoingStubbing<T>) - Constructor for class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing
 
DelegatingToConstructorsOngoingStubbing.InvokeStubMethod - Class in org.powermock.api.mockito.internal.expectation
 
delegator - Variable in class org.powermock.api.mockito.invocation.MockitoMethodInvocationControl
 
delItem(String) - Method in class samples.suppressfield.ItemRepository
 
DependencyHolder - Class in samples.injectmocks
Simple class used to demonstrate setter injection..
DependencyHolder() - Constructor for class samples.injectmocks.DependencyHolder
 
DependencyHolderQualifier - Class in samples.injectmocks
Simple class used to demonstrate setter injection..
DependencyHolderQualifier() - Constructor for class samples.injectmocks.DependencyHolderQualifier
 
description - Variable in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl
 
description - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit49RunnerDelegateImpl.PowerMockJUnit49MethodRunner
 
detach() - Method in class com.sun.tools.attach.VirtualMachine
Detach from the virtual machine.
detach() - Method in class sun.tools.attach.BsdVirtualMachine
Detach from the target VM
detach() - Method in class sun.tools.attach.LinuxVirtualMachine
Detach from the target VM
detach() - Method in class sun.tools.attach.SolarisVirtualMachine
Detach from the target VM
detach() - Method in class sun.tools.attach.WindowsVirtualMachine
 
DetectedTestRunBehaviour() - Constructor for enum org.powermock.modules.junit4.internal.impl.NotificationBuilder.DetectedTestRunBehaviour
 
determineTestMethod(Description) - Method in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
 
determineTestMethods(Class<?>, String[]) - Static method in class org.powermock.modules.junit4.internal.impl.DelegatingPowerMockRunner
 
disable() - Method in interface org.powermock.core.reporter.MockingFrameworkReporter
Stop replacing mocking frameworks exception message
disableSecurity() - Method in class org.powermock.classloading.DeepCloner
 
discoverPathToJarFile() - Method in class org.powermock.modules.agent.AgentInitialization
 
discoverProcessIdForRunningVM() - Static method in class org.powermock.modules.agent.AgentLoader
 
displayMessage(String) - Method in class samples.swing.ReallySimpleSwingDemo
 
displayName - Variable in class com.sun.tools.attach.VirtualMachineDescriptor
 
displayName() - Method in class com.sun.tools.attach.VirtualMachineDescriptor
Return the display name component of this descriptor.
doAnswer(Object, Object...) - Method in class org.powermock.api.mockito.internal.PowerMockitoCore
 
doAnswer(Callable<Stubber>) - Method in class org.powermock.api.mockito.internal.PowerMockitoCore
 
doAnswer(Answer) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
doAnswer(Answer) - Method in class org.powermock.api.mockito.internal.PowerMockitoCore
 
doAnswer(Answer<?>) - Static method in class org.powermock.api.mockito.PowerMockito
Use doAnswer() when you want to stub a void method with generic Answer.
doArrayInternal(String[]) - Method in class samples.privatemocking.PrivateMethodDemo
 
doArrayStuff(String) - Method in class samples.privatemocking.PrivateMethodDemo
 
doCallRealMethod() - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
doCallRealMethod() - Method in class org.powermock.api.mockito.internal.PowerMockitoCore
 
doCallRealMethod() - Static method in class org.powermock.api.mockito.PowerMockito
Use doCallRealMethod() when you want to call the real implementation of a method.
doCreateDeepCloner(ClassLoader, Class<DeepClonerSPI>) - Method in class org.powermock.classloading.AbstractClassloaderExecutor
 
doCreateMock(Class<T>, boolean, boolean, Object, MockSettings, Method[]) - Method in class org.powermock.api.mockito.internal.mockcreation.DefaultMockCreator
 
doCreateMock(Class<T>, ConstructorArgs, IMocksControl, Method...) - Static method in class org.powermock.api.easymock.PowerMock
 
doesParameterTypesMatchForVarArgsInvocation(boolean, Class<?>[], Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Does parameter types match for var args invocation.
doesParameterTypesMatchForVarArgsInvocation(Object[]) - Method in class org.powermock.reflect.internal.ParametersMatcher
 
doExpectNew(Class<T>, MockStrategy, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
 
doExpectPrivate(Object, Method, Object...) - Static method in class org.powermock.api.easymock.PowerMock
 
doFilterByQualifier(Set<Field>, String) - Method in class org.powermock.api.extension.listener.DefaultInjectFieldSearcher
 
doFilterByType(Set<Field>, Class<?>) - Method in class org.powermock.api.extension.listener.DefaultInjectFieldSearcher
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class samples.servletmocking.SampleServlet
 
doGetAllMethods(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
 
doInvokeMethod(Object, Class<?>, String, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Do invoke method.
doLoad(ClassLoader, String) - Method in class org.powermock.api.mockito.mockmaker.MockMakerLoader
 
domainObject - Variable in class samples.suppressfield.SuppressField
 
DomainObject - Class in samples.suppressfield
 
DomainObject() - Constructor for class samples.suppressfield.DomainObject
 
doMethodCall(Object, Object[], String, MockInvocation, MethodInvocationControl) - Static method in class org.powermock.core.MockGateway
 
doMethodCall(Object, String, Object[], Class<?>[], String) - Static method in class org.powermock.core.MockGateway
 
doMock(Class<T>, boolean, MockStrategy, ConstructorArgs, Method...) - Static method in class org.powermock.api.easymock.PowerMock
 
doMockSpecific(Class<T>, MockStrategy, String[], ConstructorArgs, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
 
doMoreComplicatedStuff() - Method in class samples.system.SystemClassUser
 
doNativeStuff(String) - Method in class samples.mockpolicy.frameworkexample.SimpleFramework
 
DoNotClone - Annotation Type in org.powermock.classloading.spi
Fields annotated with this annotation are not allowed to be cloned by a Deep Cloner implementation.
doNothing() - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
doNothing() - Method in class org.powermock.api.mockito.internal.PowerMockitoCore
 
doNothing() - Static method in class org.powermock.api.mockito.PowerMockito
Use doNothing() for setting void methods to do nothing.
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.
doObjectInternal(Object) - Method in class samples.privatemocking.PrivateMethodDemo
 
doObjectStuff(Object) - Method in class samples.privatemocking.PrivateMethodDemo
 
doReturn(Object) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
doReturn(Object) - Method in class org.powermock.api.mockito.internal.PowerMockitoCore
 
doReturn(Object) - Static method in class org.powermock.api.mockito.PowerMockito
Use doReturn() in those rare occasions when you cannot use PowerMockito.when(Object).
doReturn(Object, Object...) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
doReturn(Object, Object...) - Static method in class org.powermock.api.mockito.PowerMockito
Same as PowerMockito.doReturn(Object) but sets consecutive values to be returned.
doSayYear(int, String) - Method in class samples.privatemocking.PrivateMethodDemo
 
doSomeNativeStuffUsingTheLoadedSystemLibrary() - Method in class samples.staticinitializer.EvilStaticInitializerExample
 
doStatic(int) - Static method in class samples.singleton.StaticService
 
doStuff() - Method in interface samples.classwithinnermembers.ClassWithInnerMembers.InnerInterface
 
doStuff() - Method in class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClass
 
doStuff() - Method in class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClassWithConstructorArgument
 
doStuff() - Method in class samples.classwithinnermembers.ClassWithInnerMembers.StaticInnerClassWithConstructorArgument
 
doStuff(String) - Method in class samples.suppressconstructor.InvokeConstructor
 
doThrow(Class<? extends Throwable>) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
doThrow(Class<? extends Throwable>, Class<? extends Throwable>[]) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
doThrow(Throwable) - Method in class org.powermock.api.mockito.internal.PowerMockitoCore
 
doThrow(Throwable) - Static method in class org.powermock.api.mockito.PowerMockito
Use doThrow() when you want to stub the void method with an exception.
doThrow(Throwable...) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
DOUBLE - Enum constant in enum org.powermock.core.bytebuddy.PrimitiveBoxing
 
DOUBLE - Static variable in class org.powermock.core.bytebuddy.Frame.LocalVariable
 
dummyField - Variable in class samples.expectnew.ExpectNewDemo
 
dumpHeap(Object...) - Method in class sun.tools.attach.HotSpotVirtualMachine
 

E

e() - Static method in class samples.stress.ClassWithStatic
 
e1() - Method in class samples.stress.StressSample
 
EasyMockAnnotationSupport - Class in org.powermock.api.extension.listener
This class works like as EasyMockSupport and is used to create and inject mocks to annotated fields of an instance of test class.
EasyMockAnnotationSupport(Object) - Constructor for class org.powermock.api.extension.listener.EasyMockAnnotationSupport
 
easyMockConfiguration - Variable in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
 
EasyMockConfiguration - Class in org.powermock.api.easymock
Configuration information about EasyMock framework and which feature is supported by version of EasyMock in runtime.
EasyMockConfiguration() - Constructor for class org.powermock.api.easymock.EasyMockConfiguration
 
EasyMockMethodInvocationControl<T> - Class in org.powermock.api.easymock.internal.invocationcontrol
The default implementation of the MethodInvocationControl interface.
EasyMockMethodInvocationControl(MockInvocationHandler, Set<Method>) - Constructor for class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
Initializes internal state.
EasyMockMethodInvocationControl(MockInvocationHandler, Set<Method>, T) - Constructor for class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
Initializes internal state.
EasyMockNewInvocationControl<T> - Class in org.powermock.api.easymock.internal.invocationcontrol
 
EasyMockNewInvocationControl(InvocationSubstitute<T>, Class<T>) - Constructor for class org.powermock.api.easymock.internal.invocationcontrol.EasyMockNewInvocationControl
 
EasyMockStateCleaner() - Constructor for class org.powermock.api.easymock.PowerMock.EasyMockStateCleaner
 
edit(ConstructorCall) - Method in class org.powermock.core.transformers.javassist.support.PowerMockExpressionEditor
 
edit(FieldAccess) - Method in class org.powermock.core.transformers.javassist.support.PowerMockExpressionEditor
 
edit(MethodCall) - Method in class org.powermock.core.transformers.javassist.support.PowerMockExpressionEditor
 
edit(NewExpr) - Method in class org.powermock.core.transformers.javassist.support.PowerMockExpressionEditor
 
EMPTY_STRING - Static variable in class org.powermock.utils.StringJoiner
 
enable() - Method in interface org.powermock.core.reporter.MockingFrameworkReporter
Start replacing mocking frameworks exception message
enhancedSay(String, String) - Method in class samples.privatemocking.PrivateMethodDemo
 
enqueue(int, String, Object...) - Static method in class sun.tools.attach.SolarisVirtualMachine
 
enqueue(long, byte[], String, String, Object...) - Static method in class sun.tools.attach.WindowsVirtualMachine
 
entries - Variable in class org.powermock.core.ListMap
 
entrySet() - Method in class org.powermock.core.ListMap
 
EnumWithConstructor - Enum in samples.enummocking
 
EnumWithConstructor() - Constructor for enum samples.enummocking.EnumWithConstructor
 
EnumWriter - Enum constant in enum org.powermock.configuration.support.ConfigurationMapper.PropertyWriter
 
equals(Object) - Method in class com.sun.tools.attach.VirtualMachine
Tests this VirtualMachine for equality with another object.
equals(Object) - Method in class com.sun.tools.attach.VirtualMachineDescriptor
Tests this VirtualMachineDescriptor for equality with another object.
equals(Object) - Method in class org.powermock.api.extension.listener.AnnotationMockMetadata
 
equals(Object) - Method in class org.powermock.configuration.support.PropertiesFinder.ConfigurationSource
 
equals(Object) - Method in class samples.equalswithgetclass.EqualsWithGetClass
 
equals(Object) - Method in class samples.expectnew.ExpectNewDemo
 
equals(Object) - Method in class samples.partialmocking.MockSelfDemo
 
equals(Object, Object) - Method in class org.powermock.modules.junit4.common.internal.impl.VersionComparator
 
EqualsWithGetClass - Class in samples.equalswithgetclass
Class that implements an equals method that contains a call to getClass();
EqualsWithGetClass(String) - Constructor for class samples.equalswithgetclass.EqualsWithGetClass
 
ERROR_LOCATION_MARKER - Static variable in class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
 
ERROR_MESSAGE_TEMPLATE - Static variable in class org.powermock.tests.utils.impl.PowerMockTestNotifierImpl
 
ERRORS_FIELD - Static variable in class org.powermock.modules.junit4.internal.impl.testcaseworkaround.PowerMockJUnit4MethodValidator
 
establishConnection(Connection) - Method in class samples.partialmocking.MockSelfDemo
 
evaluate() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner.TestExecutorStatement
 
evaluate() - Method in class org.powermock.modules.junit4.rule.PowerMockStatement
 
evaluateStatement(Statement) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner
 
everythingDeclaredIn(Class<?>, Class<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get all constructors and methods in the supplied class(es).
EvilStaticInitializerExample - Class in samples.staticinitializer
Simple example of a class with a static initializer.
EvilStaticInitializerExample() - Constructor for class samples.staticinitializer.EvilStaticInitializerExample
 
execute(Object, Method, Object...) - Method in class org.powermock.classloading.AbstractClassloaderExecutor
 
execute(Object, Method, Object...) - Method in class org.powermock.classloading.SingleClassloaderExecutor
 
execute(Runnable) - Method in class org.powermock.classloading.AbstractClassloaderExecutor
 
execute(Runnable) - Method in interface org.powermock.classloading.ClassloaderExecutor
 
execute(String, Object...) - Method in class sun.tools.attach.BsdVirtualMachine
Execute the given command in the target VM.
execute(String, Object...) - Method in class sun.tools.attach.HotSpotVirtualMachine
 
execute(String, Object...) - Method in class sun.tools.attach.LinuxVirtualMachine
Execute the given command in the target VM.
execute(String, Object...) - Method in class sun.tools.attach.SolarisVirtualMachine
Execute the given command in the target VM.
execute(String, Object...) - Method in class sun.tools.attach.WindowsVirtualMachine
 
execute(Callable<T>) - Method in class org.powermock.classloading.AbstractClassloaderExecutor
 
execute(Callable<T>) - Method in interface org.powermock.classloading.ClassloaderExecutor
 
executeCommand() - Method in class samples.system.SystemClassUser
 
executeCommand(String, Object...) - Method in class sun.tools.attach.HotSpotVirtualMachine
 
executeJCmd(String) - Method in class sun.tools.attach.HotSpotVirtualMachine
 
executeTest(Method, Object, Runnable) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
 
executeTest(Method, Object, Runnable) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner
 
executeTestInSuper(Method, Object, Runnable) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner
 
executeWithClassLoader(Object, Method, ClassLoader, Object[]) - Method in class org.powermock.classloading.AbstractClassloaderExecutor
 
expectationSetup - Variable in class org.powermock.api.mockito.expectation.ConstructorAwareExpectationSetup
 
expectedExceptionsExtractor - Variable in class org.powermock.modules.testng.internal.TestNGMockClassLoaderFactory
 
expectedFieldType - Variable in class org.powermock.reflect.internal.matcherstrategies.FieldTypeMatcherStrategy
 
expectedParameterTypes - Variable in class org.powermock.reflect.internal.ParameterTypesMatcher
 
expectLastCall() - Static method in class org.powermock.api.easymock.PowerMock
This method just delegates to EasyMock class extensions EasyMock.expectLastCall() method.
expectNew(Class<T>, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
Allows specifying expectations on new invocations.
expectNew(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Allows specifying expectations on new invocations.
expectNew(String, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Allows specifying expectations on new invocations for private member (inner) classes, local or anonymous classes.
ExpectNewDemo - Class in samples.expectnew
 
ExpectNewDemo() - Constructor for class samples.expectnew.ExpectNewDemo
 
ExpectNewOfFinalSystemClassDemo - Class in samples.expectnew
 
ExpectNewOfFinalSystemClassDemo() - Constructor for class samples.expectnew.ExpectNewOfFinalSystemClassDemo
 
ExpectNewServiceUser - Class in samples.expectnew
 
ExpectNewServiceUser(Service, int) - Constructor for class samples.expectnew.ExpectNewServiceUser
 
ExpectNewWithMultipleCtorDemo - Class in samples.expectnew
 
ExpectNewWithMultipleCtorDemo(Service) - Constructor for class samples.expectnew.ExpectNewWithMultipleCtorDemo
 
ExpectNewWithMultipleCtorDemo(Service, int) - Constructor for class samples.expectnew.ExpectNewWithMultipleCtorDemo
 
expectNiceNew(Class<T>, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
Allows specifying expectations on new invocations.
expectNiceNew(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Allows specifying expectations on new invocations.
expectPrivate(Class<?>, Method, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Used to specify expectations on private static methods.
expectPrivate(Object, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Used to specify expectations on methods without specifying a method name.
expectPrivate(Object, Method, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Used to specify expectations on private methods.
expectPrivate(Object, String, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
Used to specify expectations on private methods.
expectPrivate(Object, String, Class<?>, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
Used to specify expectations on methods using the method name at a specific place in the class hierarchy (specified by the where parameter).
expectPrivate(Object, String, Class<?>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Used to specify expectations on methods using the method name at a specific place in the class hierarchy (specified by the where parameter).
expectPrivate(Object, String, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Used to specify expectations on methods using the method name.
expectStrictNew(Class<T>, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
Allows specifying expectations on new invocations.
expectStrictNew(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Allows specifying expectations on new invocations.
expectSubstitutionLogic(Object...) - Method in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockNewInvocationControl
 
expectSubstitutionLogic(Object...) - Method in class org.powermock.api.mockito.internal.invocation.MockitoNewInvocationControl
 
expectSubstitutionLogic(Object...) - Method in interface org.powermock.core.spi.NewInvocationControl
Expect a call to the new instance substitution logic.
ExpectVoidDemo - Class in samples.expectvoid
 
ExpectVoidDemo() - Constructor for class samples.expectvoid.ExpectVoidDemo
 
extendsFromTestCase - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
 
extendsPowerMockTestCase(Class<?>) - Method in class org.powermock.modules.testng.internal.TestClassInstanceFactory
 
extractClassesAndAddThemToList(AnnotatedElement, Set<String>) - Method in class org.powermock.tests.utils.impl.AbstractTestClassExtractor
 
extractClassesFromTestClass(Class<?>, Set<String>) - Method in class org.powermock.tests.utils.impl.AbstractTestClassExtractor
 
extractPackageToIgnore(AnnotatedElement, Set<String>) - Method in class org.powermock.tests.utils.impl.PowerMockIgnorePackagesExtractorImpl
 
extraMockTransformers - Variable in class org.powermock.core.classloader.MockClassLoaderBuilder
 

F

f() - Static method in class samples.stress.ClassWithStatic
 
f1() - Method in class samples.stress.StressSample
 
FAILED - Enum constant in enum org.powermock.core.spi.testresult.Result
 
FAILED_TO_LOAD_LIBRARY_MESSAGE - Static variable in class samples.staticinitializer.EvilStaticInitializerExample
 
failure(Failure) - Method in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
 
failureCount - Variable in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
 
failureCount - Variable in class org.powermock.modules.junit4.common.internal.impl.PowerMockJUnit4RunListener
 
fd - Variable in class sun.tools.attach.SolarisVirtualMachine
 
field - Variable in class org.powermock.api.extension.listener.TestSubjectInjector.InjectionTarget
 
field(Class<?>, String) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get a field from a class.
FieldAnnotationMatcherStrategy - Class in org.powermock.reflect.internal.matcherstrategies
 
FieldAnnotationMatcherStrategy(Class<? extends Annotation>[]) - Constructor for class org.powermock.reflect.internal.matcherstrategies.FieldAnnotationMatcherStrategy
 
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
 
FieldInitializerDemo - Class in samples.fieldmock
 
FieldInitializerDemo() - Constructor for class samples.fieldmock.FieldInitializerDemo
 
FieldMatcherStrategy - Class in org.powermock.reflect.internal.matcherstrategies
Class that should be implemented by field matching strategies.
FieldMatcherStrategy() - Constructor for class org.powermock.reflect.internal.matcherstrategies.FieldMatcherStrategy
 
FieldMatchingStrategy - Enum in org.powermock.reflect.matching
Defines strategies for field matching.
FieldMatchingStrategy() - Constructor for enum org.powermock.reflect.matching.FieldMatchingStrategy
 
fieldName - Variable in class org.powermock.api.extension.listener.AnnotationMockMetadata
 
fieldName - Variable in class org.powermock.reflect.internal.matcherstrategies.FieldNameMatcherStrategy
 
fieldName() - Element in annotation type org.powermock.api.easymock.annotation.Mock
Name of the test subject field to which this mock will be assigned.
FieldNameMatcherStrategy - Class in org.powermock.reflect.internal.matcherstrategies
 
FieldNameMatcherStrategy(String) - Constructor for class org.powermock.reflect.internal.matcherstrategies.FieldNameMatcherStrategy
 
FieldNotFoundException - Exception Class in org.powermock.reflect.exceptions
A run-time exception that may be thrown to indicate that a field was not found.
FieldNotFoundException(String) - Constructor for exception class org.powermock.reflect.exceptions.FieldNotFoundException
Constructs a new exception with the specified detail message.
fields(Class<?>) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get all fields in a class hierarchy.
fields(Class<?>, String[]) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get an array of Field's that matches the supplied list of field names.
fields(Class<?>, String, String...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get an array of Field's that matches the supplied list of field names.
fields(Field, Field...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get an array of Field's.
fieldsToSuppress - Variable in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
fieldsTypesToSuppress - Variable in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
FieldTypeMatcherStrategy - Class in org.powermock.reflect.internal.matcherstrategies
 
FieldTypeMatcherStrategy(Class<?>) - Constructor for class org.powermock.reflect.internal.matcherstrategies.FieldTypeMatcherStrategy
 
fileExists(String) - Method in class samples.expectnew.ExpectNewDemo
 
fileWriter(String, String) - Method in class samples.expectnew.ExpectNewDemo
 
fileWriterPrint(String, String) - Method in class samples.expectnew.ExpectNewDemo
 
fillWithDefaultValues(T) - Static method in class org.powermock.core.DefaultFieldValueGenerator
 
filter(Filter) - Method in class org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner
 
filter(Filter) - Method in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl
 
filter(Filter) - Method in class org.powermock.modules.junit4.internal.impl.DelegatingPowerMockRunner
 
filter(Filter) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
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
 
filterByFieldName(Set<Field>, String) - Method in class org.powermock.api.extension.listener.DefaultInjectFieldSearcher
 
filterByQualifier(Set<Field>, String) - Method in class org.powermock.api.extension.listener.DefaultInjectFieldSearcher
 
filterByType(Set<Field>, Class<?>) - Method in class org.powermock.api.extension.listener.DefaultInjectFieldSearcher
 
filterInterfaces(Class<?>[]) - Method in class org.powermock.reflect.internal.proxy.UnproxiedTypeFactory
 
filterPowerMockConstructor(Constructor<?>[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Filter power mock constructor.
FilterPredicates - Class in org.powermock.core.transformers.support
 
FilterPredicates() - Constructor for class org.powermock.core.transformers.support.FilterPredicates
 
finalDemo - Variable in class samples.injectmocks.DependencyHolder
 
finalDemo - Variable in class samples.injectmocks.DependencyHolderQualifier
 
FinalDemo - Class in samples.finalmocking
 
FinalDemo() - Constructor for class samples.finalmocking.FinalDemo
 
finalDemoQualifier - Variable in class samples.injectmocks.DependencyHolderQualifier
 
finalVoidCallee() - Method in class samples.finalmocking.FinalDemo
 
finalVoidCaller() - Method in class samples.finalmocking.FinalDemo
 
find(String) - Method in class org.powermock.configuration.support.PropertiesFinder
 
findAllFieldsUsingStrategy(FieldMatcherStrategy, Object, boolean, boolean, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Find all fields using strategy.
findBestCandidate(Constructor<T>[]) - Method in class org.powermock.reflect.internal.CandidateConstructorSearcher
 
findByNamedQuery(String, List<String>) - Method in class samples.argumentmatcher.ArgumentMatcherDemo
 
findConstructor() - Method in class org.powermock.reflect.internal.CandidateConstructorSearcher
 
findConstructor() - Method in class org.powermock.reflect.internal.ConstructorFinder
 
findConstructorOrThrowException(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Finds and returns any constructor.
findDefaultConstructorOrThrowException(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Finds and returns the default constructor.
findField(Object, MockMetadata) - Method in interface org.powermock.api.extension.InjectFieldSearcher
 
findField(Object, MockMetadata) - Method in class org.powermock.api.extension.listener.DefaultInjectFieldSearcher
 
findField(Object, FieldMatcherStrategy, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Find field.
findFieldInHierarchy(Object, String) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Find field in hierarchy.
findFieldInHierarchy(Object, FieldMatcherStrategy) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Find field in hierarchy.
findFieldOrThrowException(Class<?>, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Find field or throw exception.
findLoadedClass1(String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
 
findMethod(Class<T>, String, Class<?>...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Finds and returns a method based on the input parameters.
findMethodOrThrowException(Class<?>, String, Class<?>...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Find method or throw exception.
findMethodOrThrowException(Object, Class<?>, String, Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Finds and returns a certain method.
findMethods(TestCaseEntry, Class<?>) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
findMethodToInvoke(String, Class<?>[], Class<?>) - Static method in class org.powermock.core.MockInvocation
 
findPathToJarFileFromClasspath() - Method in class org.powermock.modules.agent.AgentInitialization
 
findQualifier() - Method in class org.powermock.api.extension.listener.AnnotationMockMetadata
 
findResource(String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
Finds the resource with the specified name on the search path.
findResources(String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
 
findSingleFieldUsingStrategy(FieldMatcherStrategy, Object, boolean, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Find single field using strategy.
findSocketFile(int) - Method in class sun.tools.attach.BsdVirtualMachine
 
findSocketFile(int) - Method in class sun.tools.attach.LinuxVirtualMachine
 
findUniqueAssignable(TestSubjectInjector.InjectionTarget) - Method in class org.powermock.api.extension.listener.TestSubjectInjector
 
findUniqueConstructorOrThrowException(Class<?>, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Finds and returns a certain constructor.
findValue(String) - Method in class org.powermock.configuration.support.ValueAliases
 
fireTestAssumptionFailed(Failure) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
fireTestFailure(Failure) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
fireTestFinished(Description) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
fireTestIgnored(Description) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
fireTestRunFinished(Result) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
fireTestRunStarted(Description) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
fireTestStarted(Description) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
first - Variable in class samples.expectnew.MultiConstructor
 
FLOAT - Enum constant in enum org.powermock.core.bytebuddy.PrimitiveBoxing
 
fNext - Variable in class org.powermock.modules.junit4.rule.PowerMockStatement
 
forClass(Class<T>) - Static method in enum org.powermock.configuration.ConfigurationType
 
format(String, String) - Method in class samples.system.SystemClassUser
 
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
 
forProperty(PropertyDescriptor) - Static method in enum org.powermock.configuration.support.ConfigurationMapper.PropertyWriter
 
forTestClass(Class<?>) - Method in class org.powermock.core.classloader.MockClassLoaderBuilder
 
forTestClass(Class<?>) - Static method in class org.powermock.core.transformers.TestClassTransformerBuilder
 
forType - Variable in class org.powermock.core.bytebuddy.MockGetawayCall.WithArguments
 
forType(TypeDescription) - Method in class org.powermock.core.bytebuddy.MockGetawayCall
 
ForType(MockGetawayCall, TypeDescription) - Constructor for class org.powermock.core.bytebuddy.MockGetawayCall.ForType
 
frame - Variable in class org.powermock.core.bytebuddy.ConditionalStateStackManipulation
 
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
 
FRAMEWORK_NAME - Static variable in class org.powermock.api.mockito.mockpolicies.Slf4jMockPolicy
 
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
 
fromFile(String) - Method in class org.powermock.configuration.support.ConfigurationBuilder
 
fromMethods(Collection<Method>) - Method in class org.powermock.core.transformers.TestClassTransformerBuilder.RemovesTestMethodAnnotation
 
fromProperties(Properties) - Method in class org.powermock.configuration.support.ConfigurationBuilder
 
fullyQualifiedNames() - Element in annotation type org.powermock.core.classloader.annotations.PrepareForTest
 
fullyQualifiedNames() - Element in annotation type org.powermock.core.classloader.annotations.PrepareOnlyThisForTest
 
fullyQualifiedNamesOfClassesToLoadByMockClassloader - Variable in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
 

G

g() - Static method in class samples.stress.ClassWithStatic
 
g1() - Method in class samples.stress.StressSample
 
generateClassName(Class<T>) - Method in class org.powermock.core.ConcreteClassGenerator
 
generatePerishableToken() - Method in class samples.system.SystemClassUser
 
generateReplicaClassName(Class<T>) - Method in class org.powermock.core.ClassReplicaCreator
 
generateStub() - Static method in class sun.tools.attach.WindowsVirtualMachine
 
get() - Method in class samples.mockpolicy.frameworkexample.NativeResult
 
get(Object) - Method in class org.powermock.core.ListMap
 
get(String) - Static method in enum org.powermock.utils.JavaVersion
Transforms the given string with a Java version number to the corresponding constant of this enumeration class.
getAdditionalState(String) - Static method in class org.powermock.core.MockRepository
Retrieve state based on the supplied key.
getAgentProperties() - Method in class com.sun.tools.attach.VirtualMachine
Returns the current agent properties in the target virtual machine.
getAgentProperties() - Method in class sun.tools.attach.HotSpotVirtualMachine
 
getAll() - Method in class samples.suppressconstructor.AppaleList
 
getAllConstructors(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Get all declared constructors in the class and set accessible to true.
getAllFields(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Get all fields in a class hierarchy! Both declared an non-declared (no duplicates).
getAllInstanceFields(Object) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Get all instance fields for a particular object.
getAllInstanceFields(Object) - Static method in class org.powermock.reflect.Whitebox
Get all instance fields for a particular object.
getAllMessages() - Method in class samples.expectnew.VarArgsConstructorDemo
 
getAllMethodExcept(Class<T>, String...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Gets the all method except.
getAllMethods(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Get all methods in a class hierarchy! Both declared an non-declared (no duplicates).
getAllMethodsExcept(Class<T>, String, Class<?>[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Gets the all metods except.
getAllPublicMethods(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Get all public methods for a class (no duplicates)! Note that the class-hierarchy will not be traversed.
getAllServices() - Method in class samples.expectnew.VarArgsConstructorDemo
 
getAllStaticFields(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Get all static fields for a particular type.
getAllStaticFields(Class<?>) - Static method in class org.powermock.reflect.Whitebox
Get all static fields for a particular type.
getAMessage() - Method in class samples.partialmocking.MockSelfDemoSubClass
 
getAnnotation() - Method in class org.powermock.api.extension.listener.AnnotationMockMetadata
 
getAnnotation() - Method in interface org.powermock.api.extension.listener.MockMetadata
 
getAnnotationNames() - Method in class org.powermock.reflect.internal.matcherstrategies.FieldAnnotationMatcherStrategy
 
getAnonymousInnerClassType(Class<?>, int) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Get the type of an anonymous inner class.
getAnonymousInnerClassType(Class<?>, int) - Static method in class org.powermock.reflect.Whitebox
Get the type of an anonymous inner class.
getAProtectedMessage() - Method in class samples.partialmocking.MockSelfDemoSubClass
 
getArgumentTypesAsString(Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Gets the argument types as string.
getawayMethod - Variable in class org.powermock.core.bytebuddy.MockGetawayCall.ConstructorMockGetawayCall
 
getawayMethod - Variable in class org.powermock.core.bytebuddy.MockGetawayCall
 
getBestCandidateConstructor(Class<T>, Class<?>[], Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
 
getBestMethodCandidate(Class<?>, String, Class<?>[], boolean) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Gets the best method candidate.
getBoolean() - Method in class samples.suppressmethod.SuppressMethod
 
getBoxedFromPrimitiveType(Class<?>) - Static method in class org.powermock.reflect.internal.primitivesupport.BoxedWrapper
Get the wrapped counter part from a primitive type.
getByte() - Method in class samples.suppressmethod.SuppressMethod
 
getByteArrays() - Method in class samples.expectnew.SimpleVarArgsConstructorDemo
 
getByteArrays() - Method in class samples.expectnew.VarArgsConstructorDemo
 
getByteCodeFramework() - Method in class org.powermock.configuration.PowerMockConfiguration
 
getByteCodeFramework(AnnotatedElement) - Static method in enum org.powermock.core.classloader.ByteCodeFramework
 
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
 
getClassLoadingLock(String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
 
getClassLoadingSettings() - Method in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
 
getClasstransformer() - Static method in class org.powermock.modules.agent.PowerMockAgent
 
getComponentType(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
 
getCompositeMessage() - Method in class samples.privatefield.MockSelfPrivateFieldServiceClass
 
getConcatenatedString(String) - Method in class samples.staticinitializer.SimpleStaticInitializerExample
 
getConfiguration() - Static method in class org.powermock.api.easymock.EasyMockConfiguration
 
getConfiguration() - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
 
getConnection() - Static method in class samples.interfacemethodfinding.WsUtil
 
getConstructor(Class<?>, Class<?>...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Convenience method to get a (declared) constructor from a class type without having to catch the checked exceptions otherwise required.
getConstructor(Class<?>, Class<?>...) - Static method in class org.powermock.reflect.Whitebox
Convenience method to get a (declared) constructor from a class type without having to catch the checked exceptions otherwise required.
getConstructorResult() - Method in class samples.constructor.PrivateConstructorDemo
 
getConstructorResult() - Method in class samples.constructor.PublicConstructorDemo
 
getConstructors() - Method in class org.powermock.reflect.internal.CandidateConstructorSearcher
 
getConstructorValue() - Method in class samples.partialmocking.MockSelfDemo
 
getCorrectReturnValueType(CtClass) - Static method in class org.powermock.core.transformers.javassist.support.TransformerHelper
 
getCtClass(byte[]) - Method in class org.powermock.modules.agent.PowerMockClassTransformer
 
getDeclaredConstructorsWithoutPowerMockConstructor() - Method in class org.powermock.reflect.internal.ConstructorFinder
 
getDefaultConfigurationLocation() - Method in class org.powermock.configuration.support.ConfigurationFactoryImpl
 
getDefaultValue(Class<?>) - Static method in class org.powermock.reflect.internal.TypeUtils
Get the default value for a type.
getDefaultValue(String) - Static method in class org.powermock.reflect.internal.TypeUtils
Get the default value of a type with based on its fully-qualified name.
getDefaultValueAsString(String) - Static method in class org.powermock.reflect.internal.TypeUtils
Get the default value of a type with based on its fully-qualified name.
getDeferPackages() - Method in class org.powermock.core.classloader.MockClassLoaderConfiguration
 
getDelegatorIndex(int) - Method in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
Get the junit runner delegate that handles the test at index testIndex.
getDescription() - Method in class org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner
 
getDescription() - Method in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl
 
getDescription() - Method in interface org.powermock.modules.junit4.common.internal.JUnit4TestSuiteChunker
 
getDescription() - Method in interface org.powermock.modules.junit4.common.internal.PowerMockJUnitRunnerDelegate
 
getDescription() - Method in class org.powermock.modules.junit4.internal.impl.DelegatingPowerMockRunner
 
getDescription() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
getDescription() - Method in class org.powermock.modules.junit4.PowerMockRunnerDelegate.DefaultJUnitRunner
 
getDomainObject() - Method in class samples.suppressfield.SuppressField
 
getDouble() - Method in class samples.suppressmethod.SuppressMethod
 
getDouble(double) - Method in class samples.suppressmethod.SuppressMethod
 
getEasyMockAnnotationSupport(Object) - Method in class org.powermock.api.extension.listener.AnnotationEnabler
 
getExpectedExceptionName(TestMethod) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
 
getFailureCount() - Method in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
 
getFailureCount() - Method in interface org.powermock.core.spi.testresult.TestSuiteResult
 
getFailureCount() - Method in class org.powermock.modules.junit4.common.internal.impl.PowerMockJUnit4RunListener
 
getField() - Method in class org.powermock.api.extension.listener.TestSubjectInjector.InjectionTarget
 
getField(Class<?>, String) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Convenience method to get a field from a class type.
getField(Class<?>, String) - Static method in class org.powermock.reflect.Whitebox
Convenience method to get a field from a class type.
getField(String, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Gets the field.
getFieldByName(Class<?>, String) - Method in class org.powermock.api.extension.listener.TestSubjectInjector
 
getFieldName() - Method in class org.powermock.api.extension.listener.AnnotationMockMetadata
 
getFieldName() - Method in interface org.powermock.api.extension.listener.MockMetadata
 
getFields(Class<?>, String...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Get an array of Field's that matches the supplied list of field names.
getFields(Class<?>, String...) - Static method in class org.powermock.reflect.Whitebox
Get an array of Field's that matches the supplied list of field names.
getFields(Object) - Method in class org.powermock.api.extension.listener.AnnotationMockScanner
 
getFieldsAnnotatedWith(Object, Class<? extends Annotation>[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Get all fields annotated with a particular annotation.
getFieldsAnnotatedWith(Object, Class<? extends Annotation>[]) - Static method in class org.powermock.reflect.Whitebox
Get all fields annotated with a particular annotation.
getFieldsAnnotatedWith(Object, Class<? extends Annotation>, Class<? extends Annotation>...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Get all fields annotated with a particular annotation.
getFieldsAnnotatedWith(Object, Class<? extends Annotation>, Class<? extends Annotation>...) - Static method in class org.powermock.reflect.Whitebox
Get all fields annotated with a particular annotation.
getFieldsOfType(Object, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Get all fields assignable from a particular type.
getFieldsOfType(Object, Class<?>) - Static method in class org.powermock.reflect.Whitebox
Get all fields assignable from a particular type.
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
 
getFinalDemo() - Method in class samples.finalmocking.HoldingFinalDemo
 
getFinalDemo() - Static method in class samples.finalmocking.StaticHoldingFinalDemo
 
getFinalDemo() - Method in class samples.injectmocks.DependencyHolder
 
getFinalDemo() - Method in class samples.injectmocks.DependencyHolderQualifier
 
getFinalDemoQualifier() - Method in class samples.injectmocks.DependencyHolderQualifier
 
getFirst() - Method in class samples.expectnew.MultiConstructor
 
getFirstChar() - Method in class samples.expectnew.ExpectNewOfFinalSystemClassDemo
 
getFirstParentConstructor(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Get the first parent constructor defined in a super class of klass.
getFirstParentConstructor(Class<?>) - Static method in class org.powermock.reflect.Whitebox
Get the first parent constructor defined in a super class of klass.
getFloat() - Method in class samples.suppressmethod.SuppressMethod
 
getFromMap(int) - Method in class samples.fieldmock.FieldInitializerDemo
 
getFullyQualifiedNamesOfClassesToLoadByMockClassloader() - Method in class org.powermock.api.easymock.mockpolicies.AbstractEasyMockLogPolicyBase
 
getFullyQualifiedNamesOfClassesToLoadByMockClassloader() - Method in class org.powermock.api.easymock.mockpolicies.JclMockPolicy
Loads all log4j classes with the mock classloader.
getFullyQualifiedNamesOfClassesToLoadByMockClassloader() - Method in class org.powermock.api.easymock.mockpolicies.Log4jMockPolicy
Loads all log4j classes with the mock classloader.
getFullyQualifiedNamesOfClassesToLoadByMockClassloader() - Method in class org.powermock.api.easymock.mockpolicies.Slf4jMockPolicy
 
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
 
getGlobalIgnore() - Method in class org.powermock.tests.utils.impl.PowerMockIgnorePackagesExtractorImpl
 
getHandler(Object) - Method in class org.powermock.api.mockito.mockmaker.PowerMockMaker
 
getHello() - Method in class samples.suppressconstructor.SuppressNonParentConstructorDemo
 
getHello() - Method in class samples.suppressconstructor.SuppressSpecificConstructorDemo
 
getId() - Method in interface samples.expectnew.ITarget
 
getId() - Method in class samples.expectnew.Target
 
getIgnoreCount() - Method in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
 
getIgnoreCount() - Method in interface org.powermock.core.spi.testresult.TestSuiteResult
 
getIgnoreCount() - Method in class org.powermock.modules.junit4.common.internal.impl.PowerMockJUnit4RunListener
 
getImplementerClassName() - Static method in class org.powermock.core.agent.JavaAgentFrameworkRegisterFactory
 
getInjectDemo() - Method in class samples.injectmocks.InjectDependencyHolder
 
getInjectDemo() - Method in class samples.injectmocks.InjectDependencyHolderQualifier
 
getInjectDemoQualifier() - Method in class samples.injectmocks.InjectDependencyHolderQualifier
 
getInnerClassType(Class<?>, String) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Get an inner class type.
getInnerClassType(Class<?>, String) - Static method in class org.powermock.reflect.Whitebox
Get an inner class type
getInnerMessage() - Method in class samples.innerclassmocking.ClassWithNonPrivateInnerClass.InnerClass
 
getInnerMessage() - Method in class samples.innerclassmocking.ClassWithPrivateInnerClass.InnerClass
 
getInstanceForClassLoader(ClassLoader) - Static method in class org.powermock.core.agent.JavaAgentFrameworkRegisterFactory
 
getInstanceMethodInvocationControl(Object) - Static method in class org.powermock.core.MockRepository
 
getInt() - Method in class samples.suppressmethod.SuppressMethod
 
getInterceptionSettings() - Method in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
 
getInterfaces() - Method in interface org.powermock.reflect.internal.proxy.UnproxiedType
 
getInterfaces() - Method in class org.powermock.reflect.internal.proxy.UnproxiedTypeFactory.UnproxiedTypeImpl
 
getInternalMessage() - Method in class samples.partialmocking.MockSelfDemoWithSubClass
 
getInternalState(Object, Class<T>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Get the value of a field using reflection.
getInternalState(Object, Class<T>) - Static method in class org.powermock.reflect.Whitebox
Get the value of a field using reflection based on the fields type.
getInternalState(Object, Class<T>, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Get the value of a field using reflection.
getInternalState(Object, Class<T>, Class<?>) - Static method in class org.powermock.reflect.Whitebox
Get the value of a field using reflection based on the field type.
getInternalState(Object, String) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Get the value of a field using reflection.
getInternalState(Object, String) - Static method in class org.powermock.reflect.Whitebox
Get the value of a field using reflection.
getInternalState(Object, String, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Get the value of a field using reflection.
getInternalState(Object, String, Class<?>) - Static method in class org.powermock.reflect.Whitebox
Get the value of a field using reflection.
getInternalState(Object, String, Class<?>, Class<T>) - Static method in class org.powermock.reflect.Whitebox
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.
getInts() - Method in class samples.expectnew.VarArgsConstructorDemo
 
getInvocationContainer() - Method in class org.powermock.api.mockito.mockmaker.PowerMockMaker.StaticMockHandler
 
getIt() - Method in class samples.abstractmocking.AbstractMethodMocking
 
getJavaAgentFrameworkRegisterClass(ClassLoader) - Static method in class org.powermock.core.agent.JavaAgentFrameworkRegisterFactory
 
getJavaConstructor() - Method in class org.powermock.reflect.internal.Constructor
 
getJUnitVersion() - Static method in class org.powermock.modules.junit4.common.internal.impl.JUnitVersion
 
getKey() - Method in class org.powermock.core.ListMap.SimpleEntry
 
getLinuxThreadsManager(int) - Static method in class sun.tools.attach.LinuxVirtualMachine
 
getLocalClassType(Class<?>, int, String) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Get the type of a local inner class.
getLocalClassType(Class<?>, int, String) - Static method in class org.powermock.reflect.Whitebox
Get the type of a local inner class.
getLocalClassValue() - Method in class samples.classwithinnermembers.ClassWithInnerMembers
 
getLocalClassValueWithArgument() - Method in class samples.classwithinnermembers.ClassWithInnerMembers
 
getLocalHost() - Method in class samples.system.SystemClassUser
 
getLocation() - Method in class org.powermock.configuration.support.PropertiesFinder.ConfigurationSource
 
getLogFrameworkName() - Method in class org.powermock.api.easymock.mockpolicies.AbstractEasyMockLogPolicyBase
 
getLogFrameworkName() - Method in class org.powermock.api.easymock.mockpolicies.JclMockPolicy
 
getLogFrameworkName() - Method in class org.powermock.api.easymock.mockpolicies.Log4jMockPolicy
 
getLogFrameworkName() - Method in class org.powermock.api.easymock.mockpolicies.Slf4jMockPolicy
 
getLoggerClass(LogPolicySupport) - Method in class org.powermock.api.mockito.mockpolicies.Slf4jMockPolicy
 
getLoggerClassToMock() - Method in class org.powermock.api.easymock.mockpolicies.AbstractEasyMockLogPolicyBase
 
getLoggerClassToMock() - Method in class org.powermock.api.easymock.mockpolicies.JclMockPolicy
 
getLoggerClassToMock() - Method in class org.powermock.api.easymock.mockpolicies.Log4jMockPolicy
 
getLoggerClassToMock() - Method in class org.powermock.api.easymock.mockpolicies.Slf4jMockPolicy
 
getLoggerFactoryClassName() - Method in class org.powermock.api.easymock.mockpolicies.AbstractEasyMockLogPolicyBase
 
getLoggerFactoryClassName() - Method in class org.powermock.api.easymock.mockpolicies.JclMockPolicy
 
getLoggerFactoryClassName() - Method in class org.powermock.api.easymock.mockpolicies.Log4jMockPolicy
 
getLoggerFactoryClassName() - Method in class org.powermock.api.easymock.mockpolicies.Slf4jMockPolicy
 
getLoggerMethodName() - Method in class org.powermock.api.easymock.mockpolicies.AbstractEasyMockLogPolicyBase
 
getLoggerMethodName() - Method in class org.powermock.api.easymock.mockpolicies.JclMockPolicy
 
getLoggerMethodName() - Method in class org.powermock.api.easymock.mockpolicies.Log4jMockPolicy
 
getLoggerMethodName() - Method in class org.powermock.api.easymock.mockpolicies.Slf4jMockPolicy
 
getLoggerMethods(String, String, String) - Method in class org.powermock.mockpolicies.support.LogPolicySupport
Get the methods that should be mocked.
getLong() - Method in class samples.suppressmethod.SuppressMethod
 
getMessage() - Method in class samples.anonymousmocking.MyAbstractClass
 
getMessage() - Method in class samples.expectnew.ExpectNewDemo
 
getMessage() - Method in class samples.injectmocks.InjectDemo
 
getMessage() - Method in class samples.innerclassmocking.ClassWithNonPrivateInnerClass
 
getMessage() - Method in class samples.innerclassmocking.ClassWithPrivateInnerClass
 
getMessage() - Method in class samples.newmocking.MyClass
 
getMessage() - Method in class samples.newmocking.StupidNew
 
getMessage() - Method in class samples.partialmocking.MockSelfDemoWithSubClass
 
getMessage() - Method in class samples.staticandinstance.StaticAndInstanceDemo
 
getMessage() - Method in class samples.staticandinstance.StaticAndInstanceWithConstructorCodeDemo
 
getMessage() - Method in class samples.suppressconstructor.SuppressConstructorHierarchyParent
 
getMessage() - Method in class samples.suppressconstructor.SuppressConstructorSubclassDemo
 
getMessage(String) - Method in class samples.newmocking.MyClass
 
getMessageFromMyClass() - Method in class samples.anonymousmocking.StupidAnonymous
 
getMessageFromOtherMethodInInnerClass() - Method in class samples.anonymousmocking.StupidAnonymous
 
getMessagesFromSeveralInnerClasses() - Method in class samples.anonymousmocking.StupidAnonymous
 
getMessageWithArgument() - Method in class samples.expectnew.ExpectNewDemo
 
getMessageWithArgument() - Method in class samples.newmocking.StupidNew
 
getMethod() - Method in class org.powermock.api.extension.listener.AnnotationMockMetadata
 
getMethod() - Method in class org.powermock.core.MockInvocation
 
getMethod(Class<?>, Class<?>...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Convenience method to get a method from a class type without having to catch the checked exceptions otherwise required.
getMethod(Class<?>, Class<?>...) - Static method in class org.powermock.reflect.Whitebox
Convenience method to get a method from a class type without having to catch the checked exceptions otherwise required.
getMethod(Class<?>, String, Class<?>...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Convenience method to get a method from a class type without having to catch the checked exceptions otherwise required.
getMethod(Class<?>, String, Class<?>...) - Static method in class org.powermock.reflect.Whitebox
Convenience method to get a method from a class type without having to catch the checked exceptions otherwise required.
getMethodInvocationControl() - Method in class org.powermock.api.mockito.internal.mockcreation.DefaultMockCreator.MockData
 
getMethodInvocationControl() - Method in class org.powermock.core.MockInvocation
 
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.api.extension.listener.AnnotationMockMetadata
 
getMethods() - Method in interface org.powermock.api.extension.listener.MockMetadata
 
getMethods() - Method in class org.powermock.core.bytebuddy.MaxLocalsExtractor
 
getMethods(Class<?>, String...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Get an array of Method's that matches the supplied list of method names.
getMethods(Class<?>, String...) - Static method in class org.powermock.reflect.Whitebox
Get an array of Method's that matches the supplied list of method names.
getMethods(Class<?>, String, Class<?>[], boolean) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Get an array of Method's that matches the method name and whose argument types are assignable from expectedTypes.
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
 
getMethodWithMostSpecificParameterTypes(Method, Method) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Find the method whose parameter types most closely matches the types.
getMock() - Method in class org.powermock.api.extension.listener.AnnotationMockMetadata
 
getMock() - Method in interface org.powermock.api.extension.listener.MockMetadata
 
getMock() - Method in class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing
 
getMock() - Method in class org.powermock.api.mockito.internal.mockcreation.DefaultMockCreator.MockData
 
getMock() - Method in class org.powermock.api.mockito.invocation.MockHandlerAdaptor
 
getMockAnnotations() - Method in class org.powermock.api.extension.listener.AnnotationEnabler
 
getMockAnnotations() - Method in interface org.powermock.core.spi.listener.AnnotationEnablerListener
 
getMockCreator() - Method in class org.powermock.api.mockito.expectation.DefaultConstructorExpectationSetup
 
getMockHandler() - Method in class org.powermock.api.mockito.invocation.MockHandlerAdaptor
 
getMockHandlerAdaptor() - Method in class org.powermock.api.mockito.invocation.MockitoMethodInvocationControl
 
getMockitoConfiguration() - Method in class org.powermock.configuration.GlobalConfiguration
 
getMockMaker() - Method in class org.powermock.api.mockito.mockmaker.PowerMockMaker
 
getMockMakerClass() - Method in class org.powermock.configuration.MockitoConfiguration
 
getMockPolicies(Class<?>) - Static method in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
Get the mock policies from a test-class.
getMockSettings() - Method in class org.powermock.api.mockito.invocation.MockHandlerAdaptor
 
getMockSettings() - Method in class org.powermock.api.mockito.mockmaker.PowerMockMaker.StaticMockHandler
 
getMockTransformerChain() - Method in class org.powermock.core.classloader.MockClassLoader
 
getMockType() - Method in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
 
getMockType(Class<T>) - Method in class org.powermock.api.mockito.internal.mockcreation.DefaultMockCreator
 
getMyChar() - Method in class samples.suppressfield.SuppressField
 
getMyInt() - Method in class samples.expectnew.PrimitiveAndWrapperDemo
 
getMyObject() - Static method in class samples.suppressfield.SuppressField
 
getMyOwnMessage() - Method in class samples.suppressconstructor.SuppressConstructorDemo
 
getMySecondValue() - Method in class samples.suppressfield.SuppressField
 
getMySet() - Static method in class samples.staticinitializer.StaticInitializerExample
 
getMyString() - Method in class samples.spy.SpyObject
 
getMyValue() - Method in class samples.simplemix.SimpleMixConstruction
 
getMyValue() - Static method in class samples.suppressfield.SuppressField
 
getMyWrappedBoolean() - Method in class samples.suppressfield.SuppressField
 
getName() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
getName() - Method in interface samples.expectnew.ITarget
 
getName() - Method in class samples.expectnew.Target
 
getName() - Method in class samples.rule.ThingToTest
 
getNewInstanceControl(Class<?>) - Static method in class org.powermock.core.MockRepository
 
getNumber() - Method in class org.powermock.modules.junit4.common.internal.impl.VersionTokenizer
 
getNumber() - Method in class samples.suppressconstructor.SuppressConstructorHierarchy
This method is just here to check if it works to execute several tests with the same test suite class loader.
getNumberFromInner() - Static method in class samples.singleton.StaticService
 
getNumberFromInnerInstance() - Static method in class samples.singleton.StaticService
 
getObject() - Method in class samples.suppressmethod.SuppressMethod
 
getObject() - Method in class samples.suppressmethod.SuppressMethodExample
 
getObjectStatic() - Static method in class samples.suppressmethod.SuppressMethod
 
getObjectsToAutomaticallyReplayAndVerify() - Static method in class org.powermock.core.MockRepository
 
getObjectType() - Method in class org.powermock.core.MockInvocation
 
getObjectWithArgument(String) - Method in class samples.suppressmethod.SuppressMethod
 
getOriginalType() - Method in interface org.powermock.reflect.internal.proxy.UnproxiedType
 
getOriginalType() - Method in class org.powermock.reflect.internal.proxy.UnproxiedTypeFactory.UnproxiedTypeImpl
 
getOriginalUnmockedType(Class<T>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Gets the unmocked type.
getOwnMessage() - Method in class samples.privatefield.MockSelfPrivateFieldServiceClass
 
getPackagesToDefer(String[]) - Static method in class org.powermock.core.classloader.MockClassLoaderConfiguration
 
getPackagesToIgnore(AnnotatedElement) - Method in class org.powermock.modules.testng.internal.PowerMockExpectedExceptionsExtractorImpl
 
getPackagesToIgnore(AnnotatedElement) - Method in interface org.powermock.tests.utils.IgnorePackagesExtractor
 
getPackagesToIgnore(AnnotatedElement) - Method in class org.powermock.tests.utils.impl.PowerMockIgnorePackagesExtractorImpl
 
getPackageToIgnoreWithGlobal(String[]) - Method in class org.powermock.tests.utils.impl.PowerMockIgnorePackagesExtractorImpl
 
getParametersAsString(String[]) - Static method in class org.powermock.core.ClassReplicaCreator
 
getParameterTypes(CtMethod) - Method in class org.powermock.core.ClassReplicaCreator
 
getPathToJarFileContainingThisClass() - Method in class org.powermock.modules.agent.AgentInitialization
 
getPotentialConstructorPrimitive(Class<T>, Class<?>[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
 
getPotentialConstructorWrapped(Class<T>, Class<?>[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
 
getPotentialVarArgsConstructor(Class<T>, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Gets the potential var args constructor.
getPowerMockConfiguration() - Method in class org.powermock.configuration.GlobalConfiguration
 
getPowerMockTestListenersLoadedByASpecificClassLoader(Class<?>, ClassLoader) - Method in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
 
getPrefix() - Method in enum org.powermock.configuration.ConfigurationType
 
getPrimitiveFromWrapperType(Class<?>) - Static method in class org.powermock.reflect.internal.primitivesupport.PrimitiveWrapper
Get the primitive counter part from a wrapped type.
getPrivateMessage() - Method in class samples.staticandinstance.StaticAndInstanceDemo
 
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.
getQualifiedInjections() - Method in class org.powermock.api.extension.listener.AnnotationGlobalMetadata
 
getQualifier() - Method in class org.powermock.api.extension.listener.AnnotationMockMetadata
 
getQualifier() - Method in interface org.powermock.api.extension.listener.MockMetadata
 
getRandomInteger() - Method in class samples.simplemix.SimpleMixCollaborator
 
getRandomInteger() - Static method in class samples.simplemix.SimpleMixUtilities
 
getRealMock(Object) - Method in class org.powermock.api.mockito.mockmaker.PowerMockMaker
 
getReplicaMethodDelegationCode(Class<?>, CtMethod, String) - Method in class org.powermock.core.ClassReplicaCreator
 
getResource(String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
 
getResourceAsStream(String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
 
getResources(String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
 
getResult() - Method in class org.powermock.core.spi.testresult.impl.TestMethodResultImpl
 
getResult() - Method in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
 
getResult() - Method in interface org.powermock.core.spi.testresult.TestMethodResult
 
getResult() - Method in interface org.powermock.core.spi.testresult.TestSuiteResult
 
getResult() - Method in class org.powermock.modules.junit4.internal.impl.NotificationBuilder.OngoingTestRun
 
getResult() - Method in class samples.mockpolicy.SimpleClassWithADependency
 
getResult() - Method in class samples.mockpolicy.SomeClassWithAMethod
 
getResult() - Method in class samples.mockpolicy.SomeClassWithAMethodParent
 
getResult(Method, Object, Object[]) - Method in class org.powermock.classloading.AbstractClassloaderExecutor
 
getReturnCode(CtClass) - Method in class org.powermock.core.ConcreteClassGenerator
 
getReturnTypeAsString(CtMethod) - Static method in class org.powermock.core.transformers.javassist.support.TransformerHelper
 
getRunnerDelegateImplClass(Class<?>) - Static method in class org.powermock.modules.junit4.PowerMockRunner
 
getSecondMessage() - Method in class samples.partialmocking.MockSelfDemoWithSubClass
 
getService() - Method in class samples.constructor.PublicConstructorWithDependencyDemo
 
getServiceMessage() - Method in class samples.annotationbased.AnnotationDemo
 
getServiceMessage() - Method in interface samples.Service
 
getServiceMessageFromInnerClass() - Method in class samples.anonymousmocking.StupidAnonymous
 
getShort() - Method in class samples.suppressmethod.SuppressMethod
 
getSomething() - Static method in class samples.partialmocking.MockSelfDemo
 
getStackSize() - Method in class org.powermock.core.bytebuddy.Frame.LocalVariable
 
getStackTraceCleaner(StackTraceCleaner) - Method in class org.powermock.api.mockito.internal.exceptions.StackTraceCleanerProvider
 
getState() - Method in class samples.constructor.PrivateConstructorInstantiationDemo
 
getState() - Static method in class samples.partialmocking.MockWithStaticStateDemo
 
getStaticInitializersToSuppress() - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
 
getStaticInitializersToSuppress() - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
 
getStaticMessage() - Static method in class samples.staticandinstance.StaticAndInstanceDemo
 
getStaticMethodInvocationControl(Class<?>) - Static method in class org.powermock.core.MockRepository
 
getStaticString() - Static method in class samples.staticinitializer.AbstractStaticInitializerExample
 
getStaticSuppressionClasses(Method) - Method in class org.powermock.core.classloader.MockClassLoaderFactory
 
getStrategy() - Method in class org.powermock.core.transformers.javassist.AbstractJavaAssistMockTransformer
 
getString() - Static method in enum samples.enummocking.MyEnum
 
getString() - Method in class samples.methodhierarchy.MethodInvocationDemo
 
getString() - Method in class samples.methodhierarchy.MethodInvocationDemoGrandParent
 
getString() - Method in class samples.methodhierarchy.MethodInvocationDemoParent
 
getString() - Method in class samples.partialmocking.MockSelfDemo
 
getString() - Method in class samples.staticinitializer.AbstractStaticInitializerExample
 
getString() - Method in class samples.staticinitializer.SimpleStaticInitializerExample
 
getString(int) - Method in class samples.methodhierarchy.MethodInvocationDemoGrandParent
 
getString(String) - Method in class samples.partialmocking.MockSelfDemo
 
getString2() - Method in class samples.partialmocking.MockSelfDemo
 
getString2(String) - Method in class samples.partialmocking.MockSelfDemo
 
getStringObject() - Method in class samples.suppressmethod.SuppressMethodExample
 
getStringObjectStatic() - Static method in class samples.suppressmethod.SuppressMethodExample
 
getStringTwo() - Method in class samples.spy.SpyObject
 
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.
getSubstitute() - Method in class org.powermock.api.mockito.internal.invocation.MockitoNewInvocationControl
 
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
 
getSuffix() - Method in class org.powermock.modules.junit4.common.internal.impl.VersionTokenizer
 
getSuiteClass() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
getSystemProperties() - Method in class com.sun.tools.attach.VirtualMachine
Returns the current system properties in the target virtual machine.
getSystemProperties() - Method in class sun.tools.attach.HotSpotVirtualMachine
 
getSystemProperty() - Method in class samples.system.SystemClassUser
 
getTargetName(ITarget) - Method in class samples.expectnew.ExpectNewDemo
 
getTempDir() - Static method in class sun.tools.attach.BsdVirtualMachine
 
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 interface org.powermock.modules.junit4.common.internal.PowerMockJUnitRunnerDelegate
 
getTestClass() - Method in class org.powermock.modules.junit4.internal.impl.DelegatingPowerMockRunner
 
getTestClass() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
getTestClass() - Method in class org.powermock.tests.utils.impl.TestCaseEntry
 
getTestClasses() - Method in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
 
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(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 class org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl
 
getTestCount() - Method in interface org.powermock.modules.junit4.common.internal.PowerMockJUnitRunnerDelegate
 
getTestCount() - Method in class org.powermock.modules.junit4.internal.impl.DelegatingPowerMockRunner
 
getTestCount() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
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
 
getTestMethods(Class<?>, String[]) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
getTestMethods(TestClass, Class<?>) - Method in class org.powermock.modules.junit4.internal.impl.testcaseworkaround.PowerMockJUnit4MethodValidator
 
getTestMethodsToBeExecutedByThisClassloader() - Method in class org.powermock.tests.utils.impl.TestChunkImpl
 
getTestMethodsToBeExecutedByThisClassloader() - Method in interface org.powermock.tests.utils.TestChunk
 
getTestMethodsWithNoAnnotation(Class<?>) - Method in class org.powermock.modules.junit4.internal.impl.testcaseworkaround.PowerMockJUnit4MethodValidator
 
getTestWrappedClass() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
getTheSecret() - Method in class samples.constructorargs.ConstructorArgsDemo
 
getTheString() - Method in class samples.methodhierarchy.MethodInvocationDemoGrandParent
 
getTheString() - Method in class samples.methodhierarchy.MethodInvocationDemoParent
 
getThingName() - Method in interface samples.rule.SimpleThing
 
getThingName() - Method in class samples.rule.SimpleThingImpl
 
getTwoStrings() - Method in class samples.partialmocking.MockSelfDemo
 
getType() - Method in class org.powermock.api.extension.listener.AnnotationMockMetadata
 
getType() - Method in interface org.powermock.api.extension.listener.MockMetadata
 
getType() - Method in class org.powermock.core.bytebuddy.Frame.LocalVariable
 
getType(Object) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Gets the type.
getType(Object) - Static method in class org.powermock.reflect.Whitebox
 
getType(String, String) - Method in class org.powermock.mockpolicies.support.LogPolicySupport
Get the class type representing the fully-qualified name.
getTypeAsPrimitiveIfWrapped(Object) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Get the type of an object and convert it to primitive if the type has a primitive counter-part.
getTypes(Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Gets the types.
getUnproxiedType(Class<?>) - Method in class org.powermock.reflect.internal.proxy.ProxyFrameworks
 
getUnproxiedType(Class<T>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
 
getUnproxiedType(Object) - Method in class org.powermock.reflect.internal.proxy.ProxyFrameworks
 
getUnproxyType(Object) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Gets the type.
getUnproxyType(Object) - Static method in class org.powermock.reflect.Whitebox
Gets the type.
getUnqualifiedInjections() - Method in class org.powermock.api.extension.listener.AnnotationGlobalMetadata
 
getUnsafe() - Static method in class org.powermock.reflect.internal.WhiteboxImpl
 
getUserConfigurationLocation() - Method in class org.powermock.configuration.support.ConfigurationFactoryImpl
 
getValue() - Method in class org.powermock.core.ListMap.SimpleEntry
 
getValue() - Method in class samples.abstractmocking.AbstractMethodMocking
 
getValue() - Method in class samples.classhierarchy.Parent
 
getValue() - Method in class samples.classwithinnermembers.ClassWithInnerMembers
 
getValue() - Method in class samples.packageprivate.PackagePrivateClass
 
getValue() - Method in class samples.simplemix.SimpleMix
 
getValueForAnonymousInnerClass() - Method in class samples.classwithinnermembers.ClassWithInnerMembers
 
getValueForInnerClassWithConstructorArgument() - Method in class samples.classwithinnermembers.ClassWithInnerMembers
 
getValueForStaticInnerClassWithConstructorArgument() - Method in class samples.classwithinnermembers.ClassWithInnerMembers
 
getVirtualMachineImplementationFromEmbeddedOnes() - Method in class org.powermock.modules.agent.AgentLoader
 
GlobalConfiguration - Class in org.powermock.configuration
The class provides static access to Configuration.
GlobalConfiguration() - Constructor for class org.powermock.configuration.GlobalConfiguration
 
globalIgnore - Variable in class org.powermock.configuration.PowerMockConfiguration
 
globalIgnore() - Element in annotation type org.powermock.core.classloader.annotations.PowerMockIgnore
Set to true if packages from configuration should merge with list of packages/classes from PowerMockIgnore.value().
globalMetadata - Variable in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
 
globalMetadata - Variable in class org.powermock.api.extension.listener.TestSubjectInjector
 
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

h() - Static method in class samples.stress.ClassWithStatic
 
h1() - Method in class samples.stress.StressSample
 
handle(Invocation) - Method in class org.powermock.api.mockito.mockmaker.PowerMockMaker.StaticMockHandler
 
handledByMockito - Static variable in class org.powermock.api.mockito.internal.stubbing.MockitoRealMethodInvocation
 
handleException(TestMethod, Throwable) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
 
handleException(TestMethod, Throwable) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner
Since a JUnit 4.7 rule may potentially deal with "unexpected" exceptions we cannot handle the exception before the rule has been completely evaluated.
handleInvocationTargetException(TestMethod, InvocationTargetException) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
 
hasArgumentLength(Method, int) - Method in class org.powermock.modules.testng.internal.TestNGMethodFilter
 
hasBeenCaughtByMockitoProxy() - Method in class org.powermock.api.mockito.invocation.MockitoMethodInvocationControl
 
hasBoxedCounterPart(Class<?>) - Static method in class org.powermock.reflect.internal.primitivesupport.BoxedWrapper
Returns true if type has a primitive counter-part.
hasChunkAnnotation(Method) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
hasClass(Class<T>, ClassLoader) - Static method in class org.powermock.api.support.ClassLoaderUtil
Check whether a classloader can load the given class.
hasDelegator() - Method in class org.powermock.api.mockito.invocation.MockitoMethodInvocationControl
 
hasFieldProperModifier(Object, Field, boolean) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Checks for field proper modifier.
hash - Variable in class com.sun.tools.attach.VirtualMachine
 
hash - Variable in class com.sun.tools.attach.VirtualMachineDescriptor
 
hash - Variable in class samples.hashcode.HashCodeInitializedInCtor
 
hashCode() - Method in class com.sun.tools.attach.VirtualMachine
Returns a hash-code value for this VirtualMachine.
hashCode() - Method in class com.sun.tools.attach.VirtualMachineDescriptor
Returns a hash-code value for this VirtualMachineDescriptor.
hashCode() - Method in class org.powermock.api.extension.listener.AnnotationMockMetadata
 
hashCode() - Method in class org.powermock.configuration.support.PropertiesFinder.ConfigurationSource
 
hashCode() - Method in class samples.equalswithgetclass.EqualsWithGetClass
 
hashCode() - Method in class samples.expectnew.ExpectNewDemo
 
hashCode() - Method in class samples.hashcode.HashCodeInitializedInCtor
 
hashCode() - Method in class samples.partialmocking.MockSelfDemo
 
HashCodeInitializedInCtor - Class in samples.hashcode
 
HashCodeInitializedInCtor() - Constructor for class samples.hashcode.HashCodeInitializedInCtor
 
hasInheritableConstructor(CtClass) - Method in class org.powermock.core.ConcreteClassGenerator
 
hasMethodProxy(Method) - Static method in class org.powermock.core.MockRepository
 
hasMockPolicyProvidedClasses(Class<?>) - Method in class org.powermock.core.classloader.MockClassLoaderFactory
 
hasPowerMockAnnotation(Class<?>) - Method in class org.powermock.modules.testng.PowerMockObjectFactory
 
hasPrimitiveCounterPart(Class<?>) - Static method in class org.powermock.reflect.internal.primitivesupport.PrimitiveWrapper
Returns true if type has a primitive counter-part.
hasReplayed - Variable in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
 
hasReplayed - Variable in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockNewInvocationControl
 
hasRules - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl
 
hasSuperClass(CtClass) - Static method in class org.powermock.core.transformers.javassist.testclass.JavaAssistTestClassTransformer
 
hasVerified - Variable in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
 
hasVerified - Variable in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockNewInvocationControl
 
heapHisto(Object...) - Method in class sun.tools.attach.HotSpotVirtualMachine
 
hello - Variable in class samples.partialmocking.MockSelfDemo
 
hello - Variable in class samples.partialmocking.MockSelfWithNoDefaultConstructorDemo
 
HERE_TEXT - Static variable in class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
 
HoldingFinalDemo - Class in samples.finalmocking
 
HoldingFinalDemo() - Constructor for class samples.finalmocking.HoldingFinalDemo
 
HotSpotVirtualMachine - Class in sun.tools.attach
 
HotSpotVirtualMachine(AttachProvider, String) - Constructor for class sun.tools.attach.HotSpotVirtualMachine
 
hPipe - Variable in class sun.tools.attach.WindowsVirtualMachine.PipedInputStream
 
hProcess - Variable in class sun.tools.attach.WindowsVirtualMachine
 

I

id - Variable in class com.sun.tools.attach.VirtualMachine
 
id - Variable in class com.sun.tools.attach.VirtualMachineDescriptor
 
id - Variable in class samples.expectnew.Target
 
id() - Method in class com.sun.tools.attach.VirtualMachine
Returns the identifier for this Java virtual machine.
id() - Method in class com.sun.tools.attach.VirtualMachineDescriptor
Return the identifier component of this descriptor.
IdentityHashSet<E> - Class in org.powermock.core
 
IdentityHashSet() - Constructor for class org.powermock.core.IdentityHashSet
 
ignoreCount - Variable in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
 
ignoreCount - Variable in class org.powermock.modules.junit4.common.internal.impl.PowerMockJUnit4RunListener
 
IGNORED - Enum constant in enum org.powermock.core.spi.testresult.Result
 
ignorePackagesExtractor - Variable in class org.powermock.modules.testng.internal.TestNGMockClassLoaderFactory
 
IgnorePackagesExtractor - Interface in org.powermock.tests.utils
 
includeMethods - Variable in class org.powermock.tests.utils.impl.AbstractTestClassExtractor
 
INCONSISTENT_BEHAVIOUR - Enum constant in enum org.powermock.modules.junit4.internal.impl.NotificationBuilder.DetectedTestRunBehaviour
 
IndicateReloadClass - Class in org.powermock.core
 
IndicateReloadClass() - Constructor for class org.powermock.core.IndicateReloadClass
 
init() - Method in class org.powermock.core.MockInvocation
 
init() - Static method in class samples.largemethod.MethodExceedingJvmLimit
Method size after instrumentation is equal to 91265.
init() - Static method in class sun.tools.attach.WindowsVirtualMachine
 
init(Object) - Method in class org.powermock.modules.junit4.rule.PowerMockRule
 
initEntries(List<TestCaseEntry>) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
initialize() - Method in class samples.partialmocking.PartialMockingWithConstructor
 
initialize() - Method in class samples.swing.SimpleSwingDemo
 
initialize(Class<?>, JavaAgentClassRegister) - Static method in class org.powermock.modules.agent.support.PowerMockAgentTestInitializer
 
initialize(ClassLoader) - Method in class org.powermock.core.classloader.MockClassLoaderFactory
 
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.
initialize(String, Instrumentation) - Static method in class org.powermock.modules.agent.PowerMockAgent
 
initialize(MockClassLoader) - Method in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
 
initializeAccordingToJDKVersion() - Method in class org.powermock.modules.agent.AgentInitialization
 
initializeIfNeeded() - Static method in class org.powermock.modules.agent.PowerMockAgent
 
initializeIfPossible() - Static method in class org.powermock.modules.agent.PowerMockAgent
 
initializeInterceptionSettings() - Method in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
 
initializeMockForThread(LogPolicySupport) - Method in class org.powermock.api.mockito.mockpolicies.Slf4jMockPolicy
 
initializeMockPolicy() - Method in class org.powermock.modules.testng.internal.TestClassInstanceFactory
 
initiatedTestSuiteClasses - Static variable in class org.powermock.core.testlisteners.GlobalNotificationBuildSupport
 
initInjectMocksSupported() - Method in class org.powermock.api.easymock.EasyMockConfiguration
 
initReallyEasyMock() - Method in class org.powermock.api.easymock.EasyMockConfiguration
 
initTestSubjectSupported() - Method in class org.powermock.api.easymock.EasyMockConfiguration
 
inject(Object, Class<? extends Annotation>, AnnotationMockCreator) - Method in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
 
inject(Object, MockMetadata) - Method in class org.powermock.api.extension.listener.TestSubjectInjector.InjectionTarget
 
injectByName(Set<Field>, Object) - Method in class org.powermock.api.extension.listener.TestSubjectInjector
 
injectByType(Set<Field>, Object) - Method in class org.powermock.api.extension.listener.TestSubjectInjector
 
injectDefaultMocks() - Method in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
 
injectDemo - Variable in class samples.injectmocks.InjectDependencyHolder
 
injectDemo - Variable in class samples.injectmocks.InjectDependencyHolderQualifier
 
InjectDemo - Class in samples.injectmocks
 
InjectDemo() - Constructor for class samples.injectmocks.InjectDemo
 
injectDemoQualifier - Variable in class samples.injectmocks.InjectDependencyHolderQualifier
 
InjectDependencyHolder - Class in samples.injectmocks
Simple class used to demonstrate setter injection..
InjectDependencyHolder() - Constructor for class samples.injectmocks.InjectDependencyHolder
 
InjectDependencyHolderQualifier - Class in samples.injectmocks
Simple class used to demonstrate setter injection..
InjectDependencyHolderQualifier() - Constructor for class samples.injectmocks.InjectDependencyHolderQualifier
 
InjectFieldSearcher - Interface in org.powermock.api.extension
 
InjectionTarget(Field) - Constructor for class org.powermock.api.extension.listener.TestSubjectInjector.InjectionTarget
 
injectMock(Object, MockMetadata, AnnotationMockCreator, InjectFieldSearcher) - Method in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
 
injectMocks() - Method in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
 
injectMocks() - Method in class org.powermock.modules.testng.PowerMockTestCase
 
injectMocksSupported - Variable in class org.powermock.api.easymock.EasyMockConfiguration
 
injectMocksUsingAnnotationEnabler(Object) - Method in class org.powermock.modules.testng.internal.PowerMockTestNGMethodHandler
 
injectNiceMocks() - Method in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
 
injectStrictMocks() - Method in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
 
injectTestSubjectFields(Object) - Method in class org.powermock.api.extension.listener.TestSubjectInjector
 
injectTestSubjectMocks() - Method in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
 
injectTestSubjectMocks() - Method in class org.powermock.api.extension.listener.TestSubjectInjector
 
InnerClass() - Constructor for class samples.innerclassmocking.ClassWithNonPrivateInnerClass.InnerClass
 
InnerClass() - Constructor for class samples.innerclassmocking.ClassWithPrivateInnerClass.InnerClass
 
inputStream - Variable in class org.powermock.configuration.support.PropertiesFinder.ConfigurationSource
 
inputStream() - Method in class org.powermock.configuration.support.PropertiesFinder.ConfigurationSource
 
INST_REDEFINE - Enum constant in enum org.powermock.core.transformers.TransformStrategy
 
INSTANCE - Static variable in class org.powermock.api.easymock.EasyMockConfiguration
 
instanceMockHandler(Object) - Method in class org.powermock.api.mockito.mockmaker.PowerMockMaker
 
instanceMocks - Static variable in class org.powermock.core.MockRepository
Holds info about general method invocation mocks for instances.
instantiateFieldType(Field) - Static method in class org.powermock.core.DefaultFieldValueGenerator
 
instantiateUseMe() - Method in class samples.reflection.ReflectionInstantiator
 
instrumentation - Static variable in class org.powermock.modules.agent.PowerMockAgent
 
instrumentation() - Static method in class org.powermock.modules.agent.PowerMockAgent
 
InstrumentMockTransformer - Class in org.powermock.core.transformers.javassist
 
InstrumentMockTransformer(TransformStrategy) - Constructor for class org.powermock.core.transformers.javassist.InstrumentMockTransformer
 
INTEGER - Enum constant in enum org.powermock.core.bytebuddy.PrimitiveBoxing
 
InterfaceA - Interface in samples.staticinitializer
 
InterfaceB - Interface in samples.staticinitializer
 
InterfaceC - Interface in samples.staticinitializer
 
InterfaceClassMarker(ClassPool) - Constructor for class org.powermock.core.classloader.javassist.JavaAssistClassMarkerFactory.InterfaceClassMarker
 
InterfaceComputation - Class in samples.staticinitializer
 
InterfaceComputation() - Constructor for class samples.staticinitializer.InterfaceComputation
 
InterfaceMethodHierarchyUsage - Class in samples.interfacemethodfinding
There was a bug in PowerMock 1.2 and its predecessors that made PowerMock WhiteboxImpl.getMethod(Class, Class...) fail when invoking proxified interface methods declared in extended interfaces.
InterfaceMethodHierarchyUsage() - Constructor for class samples.interfacemethodfinding.InterfaceMethodHierarchyUsage
 
interfaces - Variable in class org.powermock.reflect.internal.proxy.UnproxiedTypeFactory.UnproxiedTypeImpl
 
InterfaceWithStaticFinalField - Interface in samples.interfacefieldchange
The purpose of the simple class is to demonstrate PowerMocks (possibly future) ability to change static final fields in an interface.
INTERNAL_INDEX_NOT_FOUND - Static variable in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
internalAssertNotNull(Object, String) - Static method in class org.powermock.utils.Asserts
 
internalGetNumberFromInnerInstance() - Method in class samples.singleton.StaticService
 
internalSuites - Variable in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
ints - Variable in class samples.expectnew.VarArgsConstructorDemo
 
intValue - Static variable in class samples.singleton.StaticService
 
invocationControl - Variable in class org.powermock.api.mockito.internal.verification.DefaultConstructorArgumentsVerification
 
InvocationControlAssertionError - Class in org.powermock.api.mockito.internal.invocation
 
InvocationControlAssertionError() - Constructor for class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
 
InvocationException - Exception Class in org.powermock.core
 
InvocationException(Throwable) - Constructor for exception class org.powermock.core.InvocationException
 
invocationFactory - Variable in class org.powermock.api.mockito.invocation.MockHandlerAdaptor
 
InvocationFactory - Class in org.powermock.api.mockito.invocation
 
InvocationFactory() - Constructor for class org.powermock.api.mockito.invocation.InvocationFactory
 
invocationHandler - Variable in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
 
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() - Method in class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing.InvokeStubMethod
 
invoke(Class<?>, Object[], Class<?>[]) - Method in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockNewInvocationControl
 
invoke(Class<?>, Object[], Class<?>[]) - Method in class org.powermock.api.mockito.internal.invocation.MockitoNewInvocationControl
 
invoke(Class<?>, Object[], Class<?>[]) - Method in interface org.powermock.core.spi.NewInvocationControl
Invoke the constructor invocation control
invoke(Object...) - Method in class org.powermock.api.mockito.internal.verification.DefaultPrivateMethodVerification
 
invoke(Object...) - Method in interface org.powermock.api.mockito.verification.PrivateMethodVerification
Deprecated.
Use PrivateMethodVerification.invoke(String, Object...) instead. Will be remove in PowerMock 3.0
invoke(Object, Method, Object[]) - Method in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
 
invoke(Object, Method, Object[]) - Method in class org.powermock.api.mockito.invocation.MockitoMethodInvocationControl
 
invoke(Object, Method, Object[]) - Method in class org.powermock.api.support.membermodification.strategy.impl.MethodReplaceStrategyImpl.MethodInvocationHandler
 
invoke(Object, Method, Method, Object[]) - Method in class org.powermock.modules.testng.internal.PowerMockTestNGMethodHandler
 
invoke(Method) - Method in class org.powermock.api.mockito.internal.verification.DefaultPrivateMethodVerification
 
invoke(Method) - Method in interface org.powermock.api.mockito.verification.PrivateMethodVerification
Verify calls to the specific method.
invoke(String, Object...) - Method in class org.powermock.api.mockito.internal.verification.DefaultPrivateMethodVerification
 
invoke(String, Object...) - Method in interface org.powermock.api.mockito.verification.PrivateMethodVerification
Verify a private method call by specifying the method name of the method to verify.
invoke(String, Object...) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
invokeAPrivateVoidMethod(int) - Method in class samples.expectvoid.ExpectVoidDemo
 
invokeConstructor(Class<T>, Class<?>[], Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Invoke a constructor.
invokeConstructor(Class<T>, Class<?>[], Object[]) - Static method in class org.powermock.reflect.Whitebox
Invoke a constructor.
invokeConstructor(Class<T>, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Invoke a constructor.
invokeConstructor(Class<T>, Object...) - Static method in class org.powermock.reflect.Whitebox
Invoke a constructor.
InvokeConstructor - Class in samples.suppressconstructor
 
InvokeConstructor() - Constructor for class samples.suppressconstructor.InvokeConstructor
 
invokeInitializeInterceptionSettingsFromClassLoader(MockClassLoader) - Method in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
 
invokeMethod(Class<?>, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Invoke a private or inner class method without the need to specify the method name.
invokeMethod(Class<?>, Object...) - Static method in class org.powermock.reflect.Whitebox
Invoke a private or inner class static method without the need to specify the method name.
invokeMethod(Class<?>, String, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Invoke a private or inner class method.
invokeMethod(Class<?>, String, Object...) - Static method in class org.powermock.reflect.Whitebox
Invoke a static private or inner class method.
invokeMethod(Object, Class<?>, String, Class<?>[], Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Invoke a private method in that is located in a subclass of an instance.
invokeMethod(Object, Class<?>, String, Class<?>[], Object...) - Static method in class org.powermock.reflect.Whitebox
Invoke a private or inner class method in that is located in a subclass of the instance.
invokeMethod(Object, Class<?>, String, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Invoke a private or inner class method in that is located in a subclass of the tested instance.
invokeMethod(Object, Class<?>, String, Object...) - Static method in class org.powermock.reflect.Whitebox
Invoke a private or inner class method in that is located in a subclass of the instance.
invokeMethod(Object, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Invoke a private or inner class method without the need to specify the method name.
invokeMethod(Object, Object...) - Static method in class org.powermock.reflect.Whitebox
Invoke a private or inner class method without the need to specify the method name.
invokeMethod(Object, String, Class<?>[], Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Invoke a private or inner class method in cases where power mock cannot automatically determine the type of the parameters, for example when mixing primitive types and wrapper types in the same method.
invokeMethod(Object, String, Class<?>[], Object...) - Static method in class org.powermock.reflect.Whitebox
Invoke a private or inner class method in cases where PowerMock cannot automatically determine the type of the parameters, for example when mixing primitive types and wrapper types in the same method.
invokeMethod(Object, String, Class<?>, Class<?>[], Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Invoke a private or inner class method in a subclass (defined by definedIn) in cases where power mock cannot automatically determine the type of the parameters, for example when mixing primitive types and wrapper types in the same method.
invokeMethod(Object, String, Class<?>, Class<?>[], Object...) - Static method in class org.powermock.reflect.Whitebox
Invoke a private or inner class method in a subclass (defined by definedIn) in cases where PowerMock cannot automatically determine the type of the parameters, for example when mixing primitive types and wrapper types in the same method.
invokeMethod(Object, String, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Invoke a private or inner class method.
invokeMethod(Object, String, Object...) - Static method in class org.powermock.reflect.Whitebox
Invoke a private or inner class method.
invokeNative(String) - Method in class samples.nativemocking.NativeService
 
invokeNativeMethod(String) - Method in class samples.nativemocking.NativeMockingSample
 
InvokeStubMethod() - Constructor for class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing.InvokeStubMethod
 
invokeSubstitute(Object...) - Method in class org.powermock.api.mockito.internal.verification.DefaultConstructorArgumentsVerification
 
invokeTestMethod(Method, RunNotifier) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
invokeVarArgsMethod(int, int) - Method in class samples.privatemocking.PrivateMethodDemo
 
invokeVoid(StringBuilder) - Method in class samples.suppressmethod.SuppressMethod
 
invokeVoidMethod() - Method in class samples.expectnew.ExpectNewDemo
 
invokeVoidMethod() - Method in class samples.newmocking.StupidNew
 
invokeWithClassLoader(ClassLoader, Method, Object, Object[]) - Method in class org.powermock.classloading.AbstractClassloaderExecutor
 
IOUtils - Class in org.powermock.utils
 
IOUtils() - Constructor for class org.powermock.utils.IOUtils
 
isAccessFlagSynthetic(CtMethod) - Static method in class org.powermock.core.transformers.javassist.support.TransformerHelper
 
isAgentMode() - Method in enum org.powermock.core.transformers.TransformStrategy
Check if this strategy is supported only by Java Agent.
isAnnotationMethod(String, Class<?>[]) - Static method in class org.powermock.core.MockGateway
 
isAssignableFrom(Class<?>, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
 
isBridgeMethod(CtMethod) - Static method in class org.powermock.core.transformers.javassist.support.TransformerHelper
 
isCanBeHandledByMockito(Method) - Method in class org.powermock.api.mockito.invocation.MockitoMethodInvocationControl
 
isCglibCallbackMethod(Method) - Method in class org.powermock.reflect.internal.proxy.ProxyFrameworks
 
isCglibProxyClass(Class<?>) - Method in class org.powermock.reflect.internal.proxy.ProxyFrameworks
 
isClass(Class<?>) - Static method in class org.powermock.core.DefaultFieldValueGenerator
 
isClass(Object) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Checks if is class.
isClassAnnotatedWithPowerMockAnnotation(Class<?>) - Method in class org.powermock.modules.testng.PowerMockObjectFactory
 
isClassloaderMode() - Method in enum org.powermock.core.transformers.TransformStrategy
Check if this strategy is supported by class loader.
isContextClassLoaderShouldBeUsed(String[]) - Method in class org.powermock.core.classloader.MockClassLoaderFactory
 
isEasyMocked(Object) - Static method in class org.powermock.api.easymock.PowerMock
Test if a object is a mock created by EasyMock or not.
isEmpty() - Method in class org.powermock.core.ListMap
 
isEmpty(T[]) - Static method in class org.powermock.utils.ArrayUtil
 
isEquals(Method) - Method in class org.powermock.modules.testng.internal.TestNGMethodFilter
 
isEqualsMethod(MockInvocation) - Static method in class org.powermock.core.MockGateway
 
isFinalize(Method) - Method in class org.powermock.modules.testng.internal.TestNGMethodFilter
 
isFinalJavaSystemClass(Class<T>) - Static method in class org.powermock.api.mockito.internal.mockcreation.DefaultMockCreator
 
isGetClassMethod(String, Class<?>[]) - Static method in class org.powermock.core.MockGateway
 
isGreaterThanOrEqualTo(String) - Static method in class org.powermock.modules.junit4.common.internal.impl.JUnitVersion
 
isHandled(Method) - Method in class org.powermock.modules.testng.internal.TestNGMethodFilter
 
isHandledByMockito() - Static method in class org.powermock.api.mockito.internal.stubbing.MockitoRealMethodInvocation
 
isHashCode(Method) - Method in class org.powermock.modules.testng.internal.TestNGMethodFilter
 
isInjectMocksSupported() - Method in class org.powermock.api.easymock.EasyMockConfiguration
 
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
 
isJavaProxy(Class<?>) - Method in class org.powermock.reflect.internal.proxy.ProxyFrameworks
 
isJavaStandardMethod(String, Class<?>[]) - Static method in class org.powermock.core.MockGateway
 
isJUnit3TestMethod() - Method in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestMethodChecker
 
isJUnit4TestMethod() - Method in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestMethodChecker
 
isLastFinding(int) - Static method in class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
 
isLinuxThreads - Static variable in class sun.tools.attach.LinuxVirtualMachine
 
isLinuxThreads() - Static method in class sun.tools.attach.LinuxVirtualMachine
 
isLoadedByBootstrap(Class) - Static method in class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory
 
isLoadedByPowerMockClassloader() - Method in class org.powermock.modules.testng.PowerMockTestCase
 
isMethodSizeExceeded(CtMethod) - Method in class org.powermock.core.transformers.javassist.MethodSizeMockTransformer
 
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 class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
 
isMocked(Method) - Method in class org.powermock.api.mockito.invocation.MockitoMethodInvocationControl
 
isMocked(Method) - Method in interface org.powermock.core.spi.MethodInvocationControl
Determine whether a certain method is mocked by this Invocation Control.
isMockFrameworkInterface(Class<?>) - Method in class org.powermock.reflect.internal.proxy.UnproxiedTypeFactory
 
isMockito1() - Static method in class org.powermock.api.mockito.MockitoVersion
 
isMockito1_0() - Method in class org.powermock.api.mockito.MockitoVersion
 
isMockito2() - Static method in class org.powermock.api.mockito.MockitoVersion
 
isMockito2_0() - Method in class org.powermock.api.mockito.MockitoVersion
 
isMockito3() - Static method in class org.powermock.api.mockito.MockitoVersion
 
isMockito3_0() - Method in class org.powermock.api.mockito.MockitoVersion
 
isMockito4() - Static method in class org.powermock.api.mockito.MockitoVersion
 
isMockito4_0() - Method in class org.powermock.api.mockito.MockitoVersion
 
isModifiedByAgent() - Method in class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory.JavaAgentMockTypeValidator
 
isModifiedByAgent(ClassLoader, String) - Method in interface org.powermock.core.agent.JavaAgentClassRegister
Check if class with className has been modified for the given class loader
isModifiedByAgent(ClassLoader, String) - Method in class org.powermock.modules.agent.support.JavaAgentClassRegisterImpl
 
isModifiedByPowerMock() - Method in class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory.DefaultMockTypeValidator
 
isMyBoolean() - Method in class samples.suppressfield.SuppressField
 
isNestedClass() - Method in class org.powermock.reflect.internal.ConstructorFinder
 
isNestedWithinTestClass(CtClass) - Method in class org.powermock.core.transformers.javassist.testclass.JavaAssistTestClassTransformer
 
isNiceReplayAndVerifyMode() - Static method in class org.powermock.api.easymock.PowerMock
 
isNotRuleInitialized(Object) - Method in class org.powermock.modules.junit4.rule.PowerMockRule
 
isNotSyntheticField(FieldInfo) - Static method in class org.powermock.core.transformers.javassist.support.TransformerHelper
 
isNotSystemClass(String) - Static method in class org.powermock.core.transformers.javassist.PackagePrivateClassesMockTransformer
 
isOneArgumentMethodOfType(Method, Class<?>) - Method in class org.powermock.modules.testng.internal.TestNGMethodFilter
 
isParametersLengthMatch() - Method in class org.powermock.reflect.internal.ParameterTypesMatcher
 
isParametersMatch() - Method in class org.powermock.reflect.internal.ParameterTypesMatcher
 
isParameterTypesNotMatch(Class<?>, Class<?>) - Method in class org.powermock.reflect.internal.ParameterTypesMatcher
 
isPotentialVarArgsMethod(Method, Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Checks if is potential var args method.
isPowerMockConstructor(Class<?>[]) - Method in class org.powermock.reflect.internal.ConstructorFinder
 
isPrepared(AnnotatedElement, String) - Method in class org.powermock.tests.utils.impl.AbstractTestClassExtractor
 
isPrepared(AnnotatedElement, String) - Method in interface org.powermock.tests.utils.TestClassesExtractor
 
isPrepared(String) - Method in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
 
isPrepared(String) - Method in interface org.powermock.tests.utils.MockPolicyInitializer
 
isReallyEasyMock() - Method in class org.powermock.api.easymock.EasyMockConfiguration
 
isRemainParamsVarArgs(int, Class<?>) - Method in class org.powermock.reflect.internal.ParameterTypesMatcher
 
isStaticMethod(MockInvocation) - Static method in class org.powermock.core.MockGateway
 
isTestClass(CtClass) - Method in class org.powermock.core.transformers.javassist.testclass.JavaAssistTestClassTransformer
 
isTestMethod() - Method in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestMethodChecker
 
isTestSubjectSupported() - Method in class org.powermock.api.easymock.EasyMockConfiguration
 
isToString(Method) - Method in class org.powermock.modules.testng.internal.TestNGMethodFilter
 
isTypeMockable(Class<?>) - Method in class org.powermock.api.mockito.mockmaker.PowerMockMaker
 
isValid() - Method in class org.powermock.core.bytebuddy.ConditionalStateStackManipulation
 
isValid() - Method in class org.powermock.core.bytebuddy.MockGetawayCall.ConstructorMockGetawayCall
 
isValid() - Method in enum org.powermock.core.bytebuddy.PrimitiveBoxing
 
isVarArg() - Method in class org.powermock.reflect.internal.Constructor
 
isVarArgConstructorFound() - Method in class org.powermock.reflect.internal.ConstructorFinder
 
isVarArgs - Variable in class org.powermock.reflect.internal.Constructor
 
isVarArgs - Variable in class org.powermock.reflect.internal.ParametersMatcher
 
isVarArgs - Variable in class org.powermock.reflect.internal.ParameterTypesMatcher
 
isZeroArgumentMethod(Method) - Method in class org.powermock.modules.testng.internal.TestNGMethodFilter
 
ITarget - Interface in samples.expectnew
 
itemMap - Static variable in class samples.suppressfield.ItemRepository
 
ItemRepository - Class in samples.suppressfield
 
ItemRepository() - Constructor for class samples.suppressfield.ItemRepository
 
ItemRepository.MyClass - Class in samples.suppressfield
 
iterator() - Method in class org.powermock.core.IdentityHashSet
 

J

JAR_REGEX - Static variable in class org.powermock.modules.agent.AgentInitialization
 
jarFilePath - Variable in class org.powermock.modules.agent.AgentLoader
 
JAVA_0_9 - Enum constant in enum org.powermock.utils.JavaVersion
The Java version reported by Android.
JAVA_1_1 - Enum constant in enum org.powermock.utils.JavaVersion
Java 1.1.
JAVA_1_2 - Enum constant in enum org.powermock.utils.JavaVersion
Java 1.2.
JAVA_1_3 - Enum constant in enum org.powermock.utils.JavaVersion
Java 1.3.
JAVA_1_4 - Enum constant in enum org.powermock.utils.JavaVersion
Java 1.4.
JAVA_1_5 - Enum constant in enum org.powermock.utils.JavaVersion
Java 1.5.
JAVA_1_6 - Enum constant in enum org.powermock.utils.JavaVersion
Java 1.6.
JAVA_1_7 - Enum constant in enum org.powermock.utils.JavaVersion
Java 1.7.
JAVA_1_8 - Enum constant in enum org.powermock.utils.JavaVersion
Java 1.8.
JAVA_1_9 - Enum constant in enum org.powermock.utils.JavaVersion
Deprecated.
As of release 3.5, replaced by JavaVersion.JAVA_9
JAVA_10 - Enum constant in enum org.powermock.utils.JavaVersion
Java 10
JAVA_11 - Enum constant in enum org.powermock.utils.JavaVersion
Java 11
JAVA_12 - Enum constant in enum org.powermock.utils.JavaVersion
Java 12
JAVA_13 - Enum constant in enum org.powermock.utils.JavaVersion
Java 13
JAVA_9 - Enum constant in enum org.powermock.utils.JavaVersion
Java 9
JAVA_RECENT - Enum constant in enum org.powermock.utils.JavaVersion
The most recent java version.
javaAgentClassRegister - Variable in class org.powermock.modules.agent.PowerMockClassTransformer
 
JavaAgentClassRegister - Interface in org.powermock.core.agent
This register contains information about which class has been modified by PowerMock Java Agent.
JavaAgentClassRegisterImpl - Class in org.powermock.modules.agent.support
Basic not thread-safety implementation of the JavaAgentClassRegister
JavaAgentClassRegisterImpl() - Constructor for class org.powermock.modules.agent.support.JavaAgentClassRegisterImpl
 
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
 
JavaAgentFrameworkRegisterImpl - Class in org.powermock.api.extension.agent
Implementation of JavaAgentFrameworkRegister for EasyMock framework.
JavaAgentFrameworkRegisterImpl() - Constructor for class org.powermock.api.extension.agent.JavaAgentFrameworkRegisterImpl
 
JavaAgentMockTypeValidator(Class<T>, JavaAgentClassRegister) - Constructor for class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory.JavaAgentMockTypeValidator
 
JavaAssistClassMarkerFactory - Class in org.powermock.core.classloader.javassist
 
JavaAssistClassMarkerFactory() - Constructor for class org.powermock.core.classloader.javassist.JavaAssistClassMarkerFactory
 
JavaAssistClassMarkerFactory.InterfaceClassMarker - Class in org.powermock.core.classloader.javassist
The implementation of the ClassMarker which use an interface to mark type.
JavaAssistClassWrapper(CtClass) - Constructor for class org.powermock.core.transformers.javassist.support.JavaAssistClassWrapperFactory.JavaAssistClassWrapper
 
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
 
JavaAssistTestClassTransformer(Class<?>, Class<? extends Annotation>, MethodSignatureWriter<CtMethod>) - Constructor for class org.powermock.core.transformers.javassist.testclass.JavaAssistTestClassTransformer
 
javaSpecVersion - Static variable in class org.powermock.modules.agent.PowerMockAgent
 
Javassist - Enum constant in enum org.powermock.core.classloader.ByteCodeFramework
 
Javassist - Enum constant in enum org.powermock.core.transformers.MethodSignatures
 
JavassistMethodSignatureWriterWriter() - Constructor for class org.powermock.core.transformers.MethodSignatures.JavassistMethodSignatureWriterWriter
 
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
 
JavaVersion - Enum in org.powermock.utils
 
JavaVersion(float, String) - Constructor for enum org.powermock.utils.JavaVersion
Constructor.
JclMockPolicy - Class in org.powermock.api.easymock.mockpolicies
A Jakarta Commons-Logging (JCL) mock policy.
JclMockPolicy() - Constructor for class org.powermock.api.easymock.mockpolicies.JclMockPolicy
 
jdk6OrLater - Static variable in class org.powermock.modules.agent.PowerMockAgent
 
JNI_ENOMEM - Static variable in class sun.tools.attach.HotSpotVirtualMachine
 
join(Object...) - Static method in class org.powermock.utils.StringJoiner
 
join(Object, Object[]) - Static method in class org.powermock.api.mockito.internal.expectation.DefaultMethodExpectationSetup
 
join(StringBuilder, Iterable, String) - Static method in class org.powermock.utils.StringJoiner
 
join(String, Object...) - Static method in class org.powermock.utils.StringJoiner
 
join(List<T>) - Static method in class org.powermock.utils.StringJoiner
 
JUnit4TestMethodChecker - Class in org.powermock.modules.junit4.common.internal.impl
 
JUnit4TestMethodChecker(Class<?>, Method) - Constructor for class org.powermock.modules.junit4.common.internal.impl.JUnit4TestMethodChecker
 
JUnit4TestSuiteChunker - Interface in org.powermock.modules.junit4.common.internal
 
JUnit4TestSuiteChunkerImpl - Class in org.powermock.modules.junit4.common.internal.impl
 
JUnit4TestSuiteChunkerImpl(Class<?>, Class<? extends PowerMockJUnitRunnerDelegate>) - Constructor for class org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl
 
junitRunNotifier - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
JUnitVersion - Class in org.powermock.modules.junit4.common.internal.impl
 
JUnitVersion() - Constructor for class org.powermock.modules.junit4.common.internal.impl.JUnitVersion
 

K

key - Variable in class org.powermock.core.ListMap.SimpleEntry
 
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

latestMethod - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
 
latestTestInstance - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
 
lengthOf(CharSequence) - Method in class samples.system.SystemClassUser
 
lengthOf(StringBuilder) - Method in class samples.system.SystemClassUser
 
LINE_SEPARATOR - Static variable in class org.powermock.utils.StringJoiner
 
LinuxVirtualMachine - Class in sun.tools.attach
 
LinuxVirtualMachine(AttachProvider, String) - Constructor for class sun.tools.attach.LinuxVirtualMachine
Attaches to the target VM
LinuxVirtualMachine.SocketInputStream - Class in sun.tools.attach
 
list() - Static method in class com.sun.tools.attach.VirtualMachine
Return a list of Java virtual machines.
ListMap<K,V> - Class in org.powermock.core
 
ListMap() - Constructor for class org.powermock.core.ListMap
 
ListMap.SimpleEntry<K,V> - Class in org.powermock.core
 
listVirtualMachines() - Method in class com.sun.tools.attach.spi.AttachProvider
Lists the Java virtual machines known to this provider.
load(String) - Method in class org.powermock.configuration.support.PropertiesLoader
 
load(MockitoConfiguration) - Method in class org.powermock.api.mockito.mockmaker.MockMakerLoader
 
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
 
loadAgent() - Method in class org.powermock.modules.agent.AgentLoader
 
loadAgent(String) - Method in class com.sun.tools.attach.VirtualMachine
Loads an agent.
loadAgent(String, String) - Method in class com.sun.tools.attach.VirtualMachine
Loads an agent.
loadAgent(String, String) - Method in class sun.tools.attach.HotSpotVirtualMachine
 
loadAgentAndDetachFromThisVM(VirtualMachine) - Method in class org.powermock.modules.agent.AgentLoader
 
loadAgentLibrary(String) - Method in class com.sun.tools.attach.VirtualMachine
Loads an agent library.
loadAgentLibrary(String, boolean, String) - Method in class sun.tools.attach.HotSpotVirtualMachine
 
loadAgentLibrary(String, String) - Method in class com.sun.tools.attach.VirtualMachine
Loads an agent library.
loadAgentLibrary(String, String) - Method in class sun.tools.attach.HotSpotVirtualMachine
 
loadAgentPath(String) - Method in class com.sun.tools.attach.VirtualMachine
Load a native agent library by full pathname.
loadAgentPath(String, String) - Method in class com.sun.tools.attach.VirtualMachine
Load a native agent library by full pathname.
loadAgentPath(String, String) - Method in class sun.tools.attach.HotSpotVirtualMachine
 
loadArgumentsFromVariable() - Method in class org.powermock.core.bytebuddy.MockGetawayCall.ConstructorMockGetawayCall
 
loadByDeferClassLoader(String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
 
loadClass(Class<T>, ClassLoader) - Static method in class org.powermock.api.support.ClassLoaderUtil
Loads a class with a specific classloader, wraps the ClassNotFoundException in a runtime exeception.
loadClass(String) - Static method in class org.powermock.api.support.ClassLoaderUtil
Loads a class from the current classloader
loadClass(String, boolean) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
 
loadClass(String, ClassLoader) - Static method in class org.powermock.api.support.ClassLoaderUtil
Load a class from a specific classloader
loadClass1(String, boolean) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
 
loadClassByThisClassLoader(String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
 
loadClassByThisClassLoader(String) - Method in class org.powermock.core.classloader.MockClassLoader
 
loadMockClass(String, ProtectionDomain) - Method in class org.powermock.core.classloader.MockClassLoader
 
loadProperties(List<PropertiesFinder.ConfigurationSource>, String) - Method in class org.powermock.configuration.support.PropertiesLoader
 
loadPropertiesFromFile(PropertiesFinder.ConfigurationSource) - Method in class org.powermock.configuration.support.PropertiesLoader
 
loadSignatureParametersClasess() - Method in class org.powermock.core.bytebuddy.MockGetawayCall.ConstructorMockGetawayCall
 
loadUnmockedClass(String, ProtectionDomain) - Method in class org.powermock.core.classloader.javassist.JavassistMockClassLoader
 
loadUnmockedClass(String, ProtectionDomain) - Method in class org.powermock.core.classloader.MockClassLoader
 
localDataDump() - Method in class sun.tools.attach.HotSpotVirtualMachine
 
locals - Variable in class org.powermock.core.bytebuddy.Frame
 
locals() - Method in class org.powermock.core.bytebuddy.Frame
 
localSize() - Method in class org.powermock.core.bytebuddy.Frame
 
LocalVariable(Object, StackSize) - Constructor for class org.powermock.core.bytebuddy.Frame.LocalVariable
 
location - Variable in class org.powermock.configuration.support.PropertiesFinder.ConfigurationSource
 
lock - Static variable in class com.sun.tools.attach.spi.AttachProvider
 
Log4jMockPolicy - Class in org.powermock.api.easymock.mockpolicies
A log4j mock policy.
Log4jMockPolicy() - Constructor for class org.powermock.api.easymock.mockpolicies.Log4jMockPolicy
 
LOGGER_CLASS - Static variable in class org.powermock.api.easymock.mockpolicies.Log4jMockPolicy
 
LOGGER_CLASS_NAME - Static variable in class org.powermock.api.mockito.mockpolicies.Slf4jMockPolicy
 
LOGGER_FACTORY_CLASS_NAME - Static variable in class org.powermock.api.mockito.mockpolicies.Slf4jMockPolicy
 
LOGGER_FACTORY_METHOD_NAME - Static variable in class org.powermock.api.mockito.mockpolicies.Slf4jMockPolicy
 
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
 
LONG - Enum constant in enum org.powermock.core.bytebuddy.PrimitiveBoxing
 
lookOverMethods(Class<?>) - Method in class org.powermock.tests.utils.impl.AbstractTestClassExtractor
 
lookupMappings() - Static method in class org.powermock.core.transformers.javassist.support.Primitives
 
lookupPotentialConstructor() - Method in class org.powermock.reflect.internal.ConstructorFinder
 

M

main(String[]) - Static method in class samples.staticinitializer.InterfaceComputation
 
main(String[]) - Static method in class samples.swing.SimpleSwingDemo
 
makeDate() - Method in class samples.expectnew.ExpectNewDemo
 
makeDeferConstructorNonPublic(CtClass) - Method in class org.powermock.core.transformers.javassist.testclass.JavaAssistTestClassTransformer
 
makeMyInnerClassWithPackageConstructorWithMultArgs(String, String, String) - Method in class samples.classwithinnermembers.ClassWithInnerMembers
 
makeMyInnerClassWithPrivateConstructorWithDiffMultArgs(String, int, String) - Method in class samples.classwithinnermembers.ClassWithInnerMembers
 
makeMyInnerClassWithPrivateConstructorWithMultArgs(String, String, String) - Method in class samples.classwithinnermembers.ClassWithInnerMembers
 
makeMyInnerClassWithProtectedConstructorWithMultArgs(String, String, String) - Method in class samples.classwithinnermembers.ClassWithInnerMembers
 
makeMyInnerClassWithPublicConstructorWithMultArgs(String, String, String) - Method in class samples.classwithinnermembers.ClassWithInnerMembers
 
makeSureArrayContainsTestClassName(String[], String) - Method in class org.powermock.core.classloader.MockClassLoaderFactory
 
map - Variable in class samples.fieldmock.FieldInitializerDemo
 
map(Properties) - Method in class org.powermock.configuration.support.ConfigurationMapper
 
mapConfiguration(Class<T>, T, Properties) - Method in class org.powermock.configuration.support.ConfigurationBuilder.ConfigurationCreator
 
mapProperty(PropertyDescriptor, Properties) - Method in class org.powermock.configuration.support.ConfigurationMapper
 
mArg1 - Variable in class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClassWithPackageConstructorWithMultArgs
 
mArg1 - Variable in class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClassWithPrivateConstructorWithDiffMultArgs
 
mArg1 - Variable in class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClassWithPrivateConstructorWithMultArgs
 
mArg1 - Variable in class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClassWithProtectedConstructorWithMultArgs
 
mArg1 - Variable in class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClassWithPublicConstructorWithMultArgs
 
mArg2 - Variable in class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClassWithPackageConstructorWithMultArgs
 
mArg2 - Variable in class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClassWithPrivateConstructorWithDiffMultArgs
 
mArg2 - Variable in class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClassWithPrivateConstructorWithMultArgs
 
mArg2 - Variable in class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClassWithProtectedConstructorWithMultArgs
 
mArg2 - Variable in class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClassWithPublicConstructorWithMultArgs
 
mArg3 - Variable in class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClassWithPackageConstructorWithMultArgs
 
mArg3 - Variable in class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClassWithPrivateConstructorWithDiffMultArgs
 
mArg3 - Variable in class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClassWithPrivateConstructorWithMultArgs
 
mArg3 - Variable in class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClassWithProtectedConstructorWithMultArgs
 
mArg3 - Variable in class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClassWithPublicConstructorWithMultArgs
 
mark(CtClass) - Method in class org.powermock.core.classloader.javassist.JavaAssistClassMarkerFactory.InterfaceClassMarker
 
mark(ClassWrapper<T>) - Method in interface org.powermock.core.classloader.ClassMarker
Mark type as loaded by PowerMock
mark(ClassWrapper<T>) - Method in class org.powermock.core.classloader.javassist.JavaAssistClassMarkerFactory.InterfaceClassMarker
Mark type as loaded by PowerMock
match() - Method in class org.powermock.reflect.internal.ParametersMatcher
 
match() - Method in class org.powermock.reflect.internal.ParameterTypesMatcher
 
matches(Field) - Method in class org.powermock.reflect.internal.matcherstrategies.AllFieldsMatcherStrategy
 
matches(Field) - Method in class org.powermock.reflect.internal.matcherstrategies.AssignableFromFieldTypeMatcherStrategy
 
matches(Field) - Method in class org.powermock.reflect.internal.matcherstrategies.AssignableToFieldTypeMatcherStrategy
 
matches(Field) - Method in class org.powermock.reflect.internal.matcherstrategies.FieldAnnotationMatcherStrategy
 
matches(Field) - Method in class org.powermock.reflect.internal.matcherstrategies.FieldMatcherStrategy
A field matcher that checks if a field matches a given criteria.
matches(Field) - Method in class org.powermock.reflect.internal.matcherstrategies.FieldNameMatcherStrategy
 
matches(Field) - Method in class org.powermock.reflect.internal.matcherstrategies.FieldTypeMatcherStrategy
 
matches(String, String) - Static method in class org.powermock.core.WildcardMatcher
Performs a wildcard matching for the text and pattern provided.
matchesAny(Iterable<String>, String) - Static method in class org.powermock.core.WildcardMatcher
 
matchesAny(String[], String) - Static method in class org.powermock.core.WildcardMatcher
 
matchesAny(Collection<String>, String) - Static method in class org.powermock.core.WildcardMatcher
 
MATCHING - Enum constant in enum org.powermock.reflect.matching.FieldMatchingStrategy
All fields in the context are copied to the target instance or class.
MAX_METHOD_CODE_LENGTH_LIMIT - Static variable in class org.powermock.core.transformers.javassist.MethodSizeMockTransformer
 
maxLocals - Variable in class org.powermock.core.bytebuddy.MaxLocalsExtractor.MaxLocalsMethodVisitor
 
MaxLocalsExtractor - Class in org.powermock.core.bytebuddy
 
MaxLocalsExtractor() - Constructor for class org.powermock.core.bytebuddy.MaxLocalsExtractor
 
MaxLocalsExtractor.MaxLocalsMethodVisitor - Class in org.powermock.core.bytebuddy
 
MaxLocalsMethodVisitor(String, String, MethodMaxLocals) - Constructor for class org.powermock.core.bytebuddy.MaxLocalsExtractor.MaxLocalsMethodVisitor
 
maxLocalVariableIndex() - Method in class org.powermock.core.bytebuddy.Frame
 
maxVersion() - Static method in enum org.powermock.utils.JavaVersion
Gets the Java Version from the system or 99.0 if the java.specification.version system property is not set.
MemberMatcher - Class in org.powermock.api.support.membermodification
Finds members in classes.
MemberMatcher() - Constructor for class org.powermock.api.support.membermodification.MemberMatcher
 
MemberModifier - Class in org.powermock.api.support.membermodification
Contains various utilities for modifying members of classes such as constructors, fields and methods.
MemberModifier() - Constructor for class org.powermock.api.support.membermodification.MemberModifier
 
merge(Constructor<?>, Constructor<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
 
merge(Field, Field...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
 
merge(Method, Method...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
 
merge(String, String...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
 
merge(List<String>) - Method in class org.powermock.modules.agent.AbstractClassTransformer
 
merge(MockitoConfiguration) - Method in class org.powermock.configuration.MockitoConfiguration
 
merge(PowerMockConfiguration) - Method in class org.powermock.configuration.PowerMockConfiguration
 
merge(T) - Method in interface org.powermock.configuration.Configuration
Merge values of the configuration with values of configuration.
mergeArgumentTypes(Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
 
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
 
message - Variable in class samples.suppressconstructor.SuppressConstructorHierarchyParent
 
message - Variable in class samples.suppressconstructor.SuppressConstructorSubclassDemo
 
MESSAGE - Static variable in exception class org.powermock.PowerMockInternalException
 
messageStorage - Static variable in class samples.singleton.StaticService
 
method - Variable in class org.powermock.api.mockito.internal.expectation.DefaultMethodExpectationSetup
 
method - Variable in class org.powermock.api.mockito.internal.expectation.DefaultPrivatelyExpectedArguments
 
method - Variable in class org.powermock.api.mockito.internal.verification.DefaultPrivateMethodVerification.VerificationArguments
 
method - Variable in class org.powermock.api.support.membermodification.strategy.impl.MethodReplaceStrategyImpl
 
method - Variable in class org.powermock.api.support.membermodification.strategy.impl.MethodStubStrategyImpl
 
method - Variable in class org.powermock.core.MockInvocation
 
method - Variable in class org.powermock.core.transformers.TestClassTransformerBuilder.TestClassTransformerBuilderWithClue
 
method - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner.TestExecutorStatement
 
method(Class<?>, Class<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get a method without having to specify the method name.
method(Class<?>, String, Class<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get a method when it cannot be determined by methodName or parameter types only.
methodCall(Class<?>, String, Object[], Class<?>[], String) - Static method in class org.powermock.core.MockGateway
 
methodCall(Object, String, Object[], Class<?>[], String) - Static method in class org.powermock.core.MockGateway
 
methodCallingPrimitiveTestMethod() - Method in class samples.privatemocking.PrivateMethodDemo
 
methodCallingWrappedTestMethod() - Method in class samples.privatemocking.PrivateMethodDemo
 
MethodComparator(ComparatorFactory.ParametersComparator) - Constructor for class org.powermock.reflect.internal.comparator.ComparatorFactory.MethodComparator
 
methodDelegator - Variable in class org.powermock.api.support.membermodification.strategy.impl.MethodReplaceStrategyImpl.MethodInvocationHandler
 
methodDescription(Method) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
methodDisplayNameRgx - Static variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
 
MethodExceedingJvmLimit - Class in samples.largemethod
Example of class with method which after instrumentation is larger than JVM limit.
MethodExceedingJvmLimit() - Constructor for class samples.largemethod.MethodExceedingJvmLimit
 
methodInvocationControl - Variable in class org.powermock.api.mockito.internal.mockcreation.DefaultMockCreator.MockData
 
methodInvocationControl - Variable in class org.powermock.core.MockInvocation
 
MethodInvocationControl - Interface in org.powermock.core.spi
The purpose of a method invocation control is to invoke a proxy to simulate a method call.
MethodInvocationDemo - Class in samples.methodhierarchy
 
MethodInvocationDemo() - Constructor for class samples.methodhierarchy.MethodInvocationDemo
 
MethodInvocationDemoGrandParent - Class in samples.methodhierarchy
 
MethodInvocationDemoGrandParent() - Constructor for class samples.methodhierarchy.MethodInvocationDemoGrandParent
 
MethodInvocationDemoParent - Class in samples.methodhierarchy
 
MethodInvocationDemoParent() - Constructor for class samples.methodhierarchy.MethodInvocationDemoParent
 
MethodInvocationException - Exception Class in org.powermock.reflect.exceptions
A run-time exception that may be thrown to indicate that a method invocation failed.
MethodInvocationException(String) - Constructor for exception class org.powermock.reflect.exceptions.MethodInvocationException
Constructs a new exception with the specified detail message.
MethodInvocationException(String, Throwable) - Constructor for exception class org.powermock.reflect.exceptions.MethodInvocationException
Constructs a new runtime exception with the specified detail message and cause.
MethodInvocationException(Throwable) - Constructor for exception class org.powermock.reflect.exceptions.MethodInvocationException
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
MethodInvocationHandler(Method) - Constructor for class org.powermock.api.support.membermodification.strategy.impl.MethodReplaceStrategyImpl.MethodInvocationHandler
 
methodMaxLocals - Variable in class org.powermock.core.bytebuddy.MaxLocalsExtractor.MaxLocalsMethodVisitor
 
methodMaxLocals - Variable in class org.powermock.core.bytebuddy.MaxLocalsExtractor
 
methodMaxLocals - Variable in class org.powermock.core.bytebuddy.MethodMaxLocals
 
MethodMaxLocals - Class in org.powermock.core.bytebuddy
 
MethodMaxLocals() - Constructor for class org.powermock.core.bytebuddy.MethodMaxLocals
 
MethodMockTransformer - Class in org.powermock.core.transformers.javassist
 
MethodMockTransformer(TransformStrategy) - Constructor for class org.powermock.core.transformers.javassist.MethodMockTransformer
 
methodName - Variable in class org.powermock.core.MockInvocation
 
MethodNotFoundException - Exception Class in org.powermock.reflect.exceptions
A run-time exception that may be thrown to indicate that a method was not found.
MethodNotFoundException(String) - Constructor for exception class org.powermock.reflect.exceptions.MethodNotFoundException
Constructs a new exception with the specified detail message.
methodProxies - Static variable in class org.powermock.core.MockRepository
Holds info about which methods that are proxied.
MethodProxy - Class in org.powermock.api.support
 
MethodProxy() - Constructor for class org.powermock.api.support.MethodProxy
 
MethodReplaceStrategy - Interface in org.powermock.api.support.membermodification.strategy
Specifies the replace strategy for a method.
MethodReplaceStrategyImpl - Class in org.powermock.api.support.membermodification.strategy.impl
 
MethodReplaceStrategyImpl(Method) - Constructor for class org.powermock.api.support.membermodification.strategy.impl.MethodReplaceStrategyImpl
 
MethodReplaceStrategyImpl.MethodInvocationHandler - Class in org.powermock.api.support.membermodification.strategy.impl
 
methods - Variable in class org.powermock.api.extension.listener.AnnotationMockMetadata
 
methods(Class<?>, String[]) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get an array of Method's that matches the supplied list of method names.
methods(Class<?>, String, String...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get an array of Method's that matches the supplied list of method names.
methods(Method, Method...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get an array of Field's.
methodsDeclaredIn(Class<?>, Class<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get all methods in a class hierarchy of the supplied classes.
MethodSignatures - Enum in org.powermock.core.transformers
 
MethodSignatures() - Constructor for enum org.powermock.core.transformers.MethodSignatures
 
MethodSignatures.ByteBuddyMethodSignatureWriterWriter - Class in org.powermock.core.transformers
 
MethodSignatures.JavassistMethodSignatureWriterWriter - Class in org.powermock.core.transformers
 
methodSignatureWriter - Variable in class org.powermock.core.transformers.TestClassTransformer
 
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
 
methodsPerInstance - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
 
methodsThatRunOnOtherClassLoaders - Variable in class org.powermock.core.transformers.javassist.testclass.ForMethodsJavaAssistTestClassTransformer
Is lazily initilized because of AbstractTestSuiteChunkerImpl#chunkClass(Class)
methodsToSuppress - Variable in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
MethodStubStrategy<T> - Interface in org.powermock.api.support.membermodification.strategy
Specifies the return value when stubbing a method.
MethodStubStrategyImpl<T> - Class in org.powermock.api.support.membermodification.strategy.impl
 
MethodStubStrategyImpl(Method) - Constructor for class org.powermock.api.support.membermodification.strategy.impl.MethodStubStrategyImpl
 
methodToBeStubbed() - Static method in class samples.partialmocking.MockSelfDemo
 
methodToMock() - Method in class samples.partialmocking.PartialMockingExample
 
methodToMock(String) - Method in class samples.partialmocking.PrivatePartialMockingExample
 
methodToTest() - Method in class samples.partialmocking.PartialMockingExample
 
methodToTest() - Method in class samples.partialmocking.PrivatePartialMockingExample
 
methodUnderTest() - Method in class samples.newmocking.NewDemo
 
mock - Variable in class org.powermock.api.extension.listener.AnnotationMockMetadata
 
mock - Variable in class org.powermock.api.mockito.expectation.DefaultConstructorExpectationSetup
 
mock - Variable in class org.powermock.api.mockito.internal.expectation.DefaultPrivatelyExpectedArguments
 
mock - Variable in class org.powermock.api.mockito.internal.mockcreation.DefaultMockCreator.MockData
 
mock - Variable in class org.powermock.api.mockito.invocation.MockHandlerAdaptor
 
mock(Class<T>) - Static method in class org.powermock.api.mockito.PowerMockito
Creates a mock object that supports mocking of final and native methods.
mock(Class<T>, boolean, boolean, Object, MockSettings, Method...) - Static method in class org.powermock.api.mockito.internal.mockcreation.DefaultMockCreator
 
mock(Class<T>, MockSettings) - Static method in class org.powermock.api.mockito.PowerMockito
Creates a mock with some non-standard settings.
mock(Class<T>, Answer) - Static method in class org.powermock.api.mockito.PowerMockito
Creates mock with a specified strategy for its answers to interactions.
Mock - Annotation Type in org.powermock.api.easymock.annotation
This annotation can be placed on those fields in your test class that should be mocked.
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_CREATOR - Static variable in class org.powermock.api.mockito.internal.mockcreation.DefaultMockCreator
 
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.
MOCK_TRANSFORMER_CHAIN - Static variable in class org.powermock.modules.agent.PowerMockClassTransformer
 
mockClassLoader - Variable in class org.powermock.modules.junit4.common.internal.impl.PowerMockJUnit4RunListener
 
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
 
MockClassLoaderBuilder(ByteCodeFramework) - Constructor for class org.powermock.core.classloader.MockClassLoaderBuilder
 
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
 
mockCreator - Variable in class org.powermock.api.mockito.expectation.DefaultConstructorExpectationSetup
 
MockCreator - Interface in org.powermock.api.mockito.internal.mockcreation
An implementer of interface is reasonable for creating of an mocked instance of specific type.
MockData(MockitoMethodInvocationControl, T) - Constructor for class org.powermock.api.mockito.internal.mockcreation.DefaultMockCreator.MockData
 
mockedMethods - Variable in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
 
mockedMethods - Variable in class org.powermock.api.mockito.invocation.MockitoMethodInvocationControl
 
MockGateway - Class in org.powermock.core
All mock invocations are routed through this gateway.
MockGateway() - Constructor for class org.powermock.core.MockGateway
 
MockGateway.NoMockito - Class in org.powermock.core
MockGateway.NoMockito.noMockito is wrapped into it's own static class to make sure it is initialized not earlier than MockGateway.calledFromMockito() is called for the first time.
mockGetawayCall - Variable in class org.powermock.core.bytebuddy.MockGetawayCall.ForType
 
MockGetawayCall - Class in org.powermock.core.bytebuddy
 
MockGetawayCall(Class) - Constructor for class org.powermock.core.bytebuddy.MockGetawayCall
 
MockGetawayCall.ConstructorMockGetawayCall - Class in org.powermock.core.bytebuddy
 
MockGetawayCall.ForType - Class in org.powermock.core.bytebuddy
 
MockGetawayCall.WithArguments - Class in org.powermock.core.bytebuddy
 
mockGetawayClass - Variable in class org.powermock.core.transformers.javassist.InstrumentMockTransformer
 
mockGetawayClass - Variable in class org.powermock.core.transformers.javassist.MethodMockTransformer
 
mockGetawayClass - Variable in class org.powermock.core.transformers.javassist.support.PowerMockExpressionEditor
 
mockHandlerAdaptor - Variable in class org.powermock.api.mockito.invocation.MockitoMethodInvocationControl
 
MockHandlerAdaptor<T> - Class in org.powermock.api.mockito.invocation
The class provides a access to method and data of MockHandler from the given mock instance.
MockHandlerAdaptor(T) - Constructor for class org.powermock.api.mockito.invocation.MockHandlerAdaptor
 
mockingDetails - Variable in class org.powermock.api.mockito.invocation.MockHandlerAdaptor
 
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.
mockInstance - Variable in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
 
MockInvocation - Class in org.powermock.core
 
MockInvocation(Object, String, Class<?>...) - Constructor for class org.powermock.core.MockInvocation
 
Mockito - Enum constant in enum org.powermock.configuration.ConfigurationType
 
MOCKITO_CONFIGURATION - Static variable in class org.powermock.configuration.GlobalConfiguration
 
MOCKITO_VERSION - Static variable in class org.powermock.api.mockito.MockitoVersion
 
mockitoConfiguration() - Static method in class org.powermock.configuration.GlobalConfiguration
 
MockitoConfiguration - Class in org.powermock.configuration
 
MockitoConfiguration() - Constructor for class org.powermock.configuration.MockitoConfiguration
 
MockitoConfiguration(String) - Constructor for class org.powermock.configuration.MockitoConfiguration
 
mockitoInvocationFinished() - Static method in class org.powermock.api.mockito.internal.stubbing.MockitoRealMethodInvocation
 
mockitoInvocationStarted() - Static method in class org.powermock.api.mockito.internal.stubbing.MockitoRealMethodInvocation
 
MockitoMethodInvocationControl<T> - Class in org.powermock.api.mockito.invocation
A Mockito implementation of the MethodInvocationControl interface.
MockitoMethodInvocationControl(Object, T, Method...) - Constructor for class org.powermock.api.mockito.invocation.MockitoMethodInvocationControl
Creates a new instance with a delegator.
MockitoNewInvocationControl<T> - Class in org.powermock.api.mockito.internal.invocation
 
MockitoNewInvocationControl(InvocationSubstitute<T>) - Constructor for class org.powermock.api.mockito.internal.invocation.MockitoNewInvocationControl
 
MockitoPowerMockReporter - Class in org.powermock.api.mockito.expectation.reporter
 
MockitoPowerMockReporter() - Constructor for class org.powermock.api.mockito.expectation.reporter.MockitoPowerMockReporter
 
MockitoRealMethodInvocation - Class in org.powermock.api.mockito.internal.stubbing
 
MockitoRealMethodInvocation() - Constructor for class org.powermock.api.mockito.internal.stubbing.MockitoRealMethodInvocation
 
MockitoVersion - Class in org.powermock.api.mockito
 
MockitoVersion() - Constructor for class org.powermock.api.mockito.MockitoVersion
 
mockLoader - Variable in class org.powermock.modules.testng.internal.TestClassInstanceFactory
 
mockMaker - Variable in class org.powermock.api.mockito.mockmaker.PowerMockMaker
 
mockMakerClass - Variable in class org.powermock.configuration.MockitoConfiguration
 
MockMakerLoader - Class in org.powermock.api.mockito.mockmaker
 
MockMakerLoader() - Constructor for class org.powermock.api.mockito.mockmaker.MockMakerLoader
 
mockMe() - Method in class samples.java.ClassInsideJavaPackage
 
MockMetadata - Interface in org.powermock.api.extension.listener
 
MockNice - Annotation Type in org.powermock.api.easymock.annotation
This annotation can be placed on those fields in your test class that should be mocked in a nice manner (i.e.
mockPolicies - Variable in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
 
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 - Static variable in class org.powermock.modules.junit4.rule.PowerMockRule
 
mockPolicyInitializer - Variable in class org.powermock.modules.junit4.rule.PowerMockStatement
 
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<?>) - Constructor for class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
 
MockPolicyInitializerImpl(Class<? extends PowerMockPolicy>[]) - Constructor for class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
 
MockPolicyInitializerImpl(Class<? extends PowerMockPolicy>[], boolean) - Constructor for class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
 
MockPolicyInitializerImpl(Class<? extends PowerMockPolicy>[], Class<?>, boolean) - 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
 
mockPolicyTypes - Variable in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
 
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
 
MockSelfDemo - Class in samples.partialmocking
 
MockSelfDemo() - Constructor for class samples.partialmocking.MockSelfDemo
 
MockSelfDemo(int) - Constructor for class samples.partialmocking.MockSelfDemo
 
MockSelfDemo(Object) - Constructor for class samples.partialmocking.MockSelfDemo
 
MockSelfDemoSubClass - Class in samples.partialmocking
 
MockSelfDemoSubClass() - Constructor for class samples.partialmocking.MockSelfDemoSubClass
 
MockSelfDemoWithSubClass - Class in samples.partialmocking
 
MockSelfDemoWithSubClass() - Constructor for class samples.partialmocking.MockSelfDemoWithSubClass
 
MockSelfPrivateFieldServiceClass - Class in samples.privatefield
A class that uses a private Service field and no setter.
MockSelfPrivateFieldServiceClass() - Constructor for class samples.privatefield.MockSelfPrivateFieldServiceClass
 
MockSelfWithNoDefaultConstructorDemo - Class in samples.partialmocking
 
MockSelfWithNoDefaultConstructorDemo(int) - Constructor for class samples.partialmocking.MockSelfWithNoDefaultConstructorDemo
 
mockSettings - Variable in class org.powermock.api.mockito.mockmaker.PowerMockMaker.StaticMockHandler
 
mockStatic(Class<?>) - Static method in class org.powermock.api.easymock.PowerMock
Enable static mocking for a class.
mockStatic(Class<?>, Class<?>...) - Static method in class org.powermock.api.mockito.PowerMockito
Enable static mocking for all methods of a class.
mockStatic(Class<?>, Method...) - Static method in class org.powermock.api.easymock.PowerMock
Enable static mocking for a class.
mockStatic(Class<?>, MockSettings) - Static method in class org.powermock.api.mockito.PowerMockito
Creates a class mock with some non-standard settings.
mockStatic(Class<?>, Answer) - Static method in class org.powermock.api.mockito.PowerMockito
Creates class mock with a specified strategy for its answers to interactions.
mockStaticNice(Class<?>) - Static method in class org.powermock.api.easymock.PowerMock
Enable nice static mocking for a class.
mockStaticNice(Class<?>, Method...) - Static method in class org.powermock.api.easymock.PowerMock
Enable nice static mocking for a class.
mockStaticPartial(Class<?>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to mock several static methods in an easy way (by just passing in the method names of the method you wish to mock).
mockStaticPartial(Class<?>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Mock a single static method.
mockStaticPartialNice(Class<?>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to mock several static methods (nice) in an easy way (by just passing in the method names of the method you wish to mock).
mockStaticPartialNice(Class<?>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Mock a single static method (nice).
mockStaticPartialStrict(Class<?>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to mock several static methods (strict) in an easy way (by just passing in the method names of the method you wish to mock).
mockStaticPartialStrict(Class<?>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Mock a single static method (strict).
mockStaticStrict(Class<?>) - Static method in class org.powermock.api.easymock.PowerMock
Enable strict static mocking for a class.
mockStaticStrict(Class<?>, Method...) - Static method in class org.powermock.api.easymock.PowerMock
Enable strict static mocking for a class.
MockStrategy - Interface in org.powermock.api.easymock.internal.mockstrategy
 
MockStrict - Annotation Type in org.powermock.api.easymock.annotation
This annotation can be placed on those fields in your test class that should be mocked in a strict manner (i.e.
MockTransformer<T> - Interface in org.powermock.core.transformers
Interface that all mock transformers must implement.
mockTransformerChain - Variable in class org.powermock.core.classloader.MockClassLoader
 
MockTransformerChain - Interface in org.powermock.core.transformers
Interface represent chain of MockTransformer.
MockTransformerChain.FilterPredicate - Interface in org.powermock.core.transformers
 
MockTransformerChainBuilder() - Constructor for class org.powermock.core.transformers.support.DefaultMockTransformerChain.MockTransformerChainBuilder
 
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.
mockType - Variable in class org.powermock.api.easymock.internal.mockstrategy.impl.AbstractMockStrategyBase
 
mockType - Variable in class org.powermock.api.mockito.expectation.DefaultConstructorExpectationSetup
 
MockTypeValidator<T> - Interface in org.powermock.api.mockito.internal.mockcreation
 
MockTypeValidatorFactory - Class in org.powermock.api.mockito.internal.mockcreation
 
MockTypeValidatorFactory() - Constructor for class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory
 
MockTypeValidatorFactory.AbstractMockTypeValidator<T> - Class in org.powermock.api.mockito.internal.mockcreation
 
MockTypeValidatorFactory.DefaultMockTypeValidator<T> - Class in org.powermock.api.mockito.internal.mockcreation
 
MockTypeValidatorFactory.JavaAgentMockTypeValidator<T> - Class in org.powermock.api.mockito.internal.mockcreation
 
MockTypeValidatorFactory.NullMockTypeValidator<T> - Class in org.powermock.api.mockito.internal.mockcreation
 
MockWithStaticStateDemo - Class in samples.partialmocking
 
MockWithStaticStateDemo() - Constructor for class samples.partialmocking.MockWithStaticStateDemo
 
modifiedClasses - Variable in class org.powermock.modules.agent.support.JavaAgentClassRegisterImpl
 
modify - Variable in class org.powermock.core.classloader.MockClassLoaderConfiguration
 
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.
modifyMethod(CtMethod) - Method in class org.powermock.core.transformers.javassist.MethodMockTransformer
 
modifyMethod(CtMethod, CtClass, String) - Method in class org.powermock.core.transformers.javassist.MethodMockTransformer
 
modifyNativeMethod(CtMethod, CtClass, String) - Method in class org.powermock.core.transformers.javassist.MethodMockTransformer
 
motherThread - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
MoveNext() - Method in class org.powermock.modules.junit4.common.internal.impl.VersionTokenizer
 
MultiConstructor - Class in samples.expectnew
Mocking object construction with withAnyArguments() does not treat all the object's constructors equally.
MultiConstructor(String) - Constructor for class samples.expectnew.MultiConstructor
 
MultiConstructor(String, Runnable, boolean) - Constructor for class samples.expectnew.MultiConstructor
 
MultiConstructor(String, String) - Constructor for class samples.expectnew.MultiConstructor
 
multipleNew() - Method in class samples.expectnew.ExpectNewDemo
 
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
 
MY_OBJECT - Static variable in class samples.suppressfield.SuppressField
 
MY_STRING - Static variable in interface samples.interfacefieldchange.InterfaceWithStaticFinalField
 
MY_VALUE - Enum constant in enum samples.enummocking.MyEnum
 
MY_VALUE - Static variable in class samples.suppressfield.SuppressField
 
MyAbstractClass - Class in samples.anonymousmocking
 
MyAbstractClass() - Constructor for class samples.anonymousmocking.MyAbstractClass
 
myBoolean - Variable in class samples.suppressfield.SuppressField
 
myChar - Variable in class samples.suppressfield.SuppressField
 
myClass - Variable in class samples.suppressfield.ItemRepository
 
MyClass - Class in samples.newmocking
 
MyClass() - Constructor for class samples.newmocking.MyClass
 
MyClass() - Constructor for class samples.suppressfield.ItemRepository.MyClass
 
MyEnum - Enum in samples.enummocking
 
MyEnum() - Constructor for enum samples.enummocking.MyEnum
 
MyInnerClass() - Constructor for class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClass
 
MyInnerClassWithConstructorArgument(String) - Constructor for class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClassWithConstructorArgument
 
MyInnerClassWithPackageConstructorWithMultArgs(String, String, String) - Constructor for class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClassWithPackageConstructorWithMultArgs
 
MyInnerClassWithPrivateConstructorWithDiffMultArgs(String, int, String) - Constructor for class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClassWithPrivateConstructorWithDiffMultArgs
 
MyInnerClassWithPrivateConstructorWithMultArgs(String, String, String) - Constructor for class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClassWithPrivateConstructorWithMultArgs
 
MyInnerClassWithProtectedConstructorWithMultArgs(String, String, String) - Constructor for class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClassWithProtectedConstructorWithMultArgs
 
MyInnerClassWithPublicConstructorWithMultArgs(String, String, String) - Constructor for class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClassWithPublicConstructorWithMultArgs
 
myInt - Variable in class samples.expectnew.PrimitiveAndWrapperDemo
 
myMethod() - Method in class samples.simplereturn.SimpleReturnExampleUser
 
myMethod() - Method in class samples.suppressmethod.SuppressMethod
 
myMethod() - Method in class samples.suppressmethod.SuppressMethodParent
 
mySecondValue - Variable in class samples.suppressfield.SuppressField
 
mySet - Static variable in class samples.staticinitializer.StaticInitializerExample
 
mySimpleMethod() - Method in class samples.simplereturn.SimpleReturnExample
 
myString - Variable in class samples.equalswithgetclass.EqualsWithGetClass
 
myWrappedBoolean - Variable in class samples.suppressfield.SuppressField
 

N

name - Variable in class org.powermock.configuration.support.ConfigurationMapper.ConfigurationKey
 
name - Variable in class org.powermock.core.bytebuddy.MaxLocalsExtractor.MaxLocalsMethodVisitor
 
name - Variable in enum org.powermock.utils.JavaVersion
The standard name.
name() - Method in class com.sun.tools.attach.spi.AttachProvider
Return this provider's name.
NativeMockingSample - Class in samples.nativemocking
The purpose of this class is to invoke a native method in a collaborator.
NativeMockingSample(NativeService) - Constructor for class samples.nativemocking.NativeMockingSample
 
NativeResult - Class in samples.mockpolicy.frameworkexample
 
NativeResult(String) - Constructor for class samples.mockpolicy.frameworkexample.NativeResult
 
nativeService - Variable in class samples.nativemocking.NativeMockingSample
 
NativeService - Class in samples.nativemocking
The purpose of this class is to demonstrate that it's possible to mock native methods using plain EasyMock class extensions.
NativeService() - Constructor for class samples.nativemocking.NativeService
 
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
 
NewDemo - Class in samples.newmocking
 
NewDemo() - Constructor for class samples.newmocking.NewDemo
 
newFaults() - Static method in class samples.hashcode.HashCodeInitializedInCtor
 
NewFileExample - Class in samples.expectnew
Used to demonstrate PowerMock's ability to mock new instance calls.
NewFileExample() - Constructor for class samples.expectnew.NewFileExample
 
newInstance(Class<T>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Create a new instance of a class without invoking its constructor.
newInstance(Class<T>) - Static method in class org.powermock.reflect.Whitebox
Create a new instance of a class without invoking its constructor.
newInstance(Constructor, Object...) - Method in class org.powermock.modules.testng.internal.PowerMockClassloaderObjectFactory
 
newInstance(Constructor, Object...) - Method in class org.powermock.modules.testng.PowerMockObjectFactory
 
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.
NewInvocationControlAssertionError - Class in org.powermock.api.easymock.internal.invocationcontrol
 
NewInvocationControlAssertionError() - Constructor for class org.powermock.api.easymock.internal.invocationcontrol.NewInvocationControlAssertionError
 
NEWLINE_POINT - Static variable in class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
 
newRunnerBuilder() - Static method in class org.powermock.modules.junit4.PowerMockRunnerDelegate.SinceJUnit_4_5
 
newSimpleVarArgs(byte[]...) - Method in class samples.expectnew.ExpectNewDemo
 
newStringBuilder() - Method in class samples.system.SystemClassUser
 
newSubstitutions - Static variable in class org.powermock.core.MockRepository
 
newURL(String) - Method in class samples.system.SystemClassUser
 
newVarArgs(byte[]...) - Method in class samples.expectnew.ExpectNewDemo
 
newVarArgs(float, int...) - Method in class samples.expectnew.ExpectNewDemo
 
newVarArgs(String...) - Method in class samples.expectnew.ExpectNewDemo
 
newVarArgs(Service...) - Method in class samples.expectnew.ExpectNewDemo
 
newVarArgsWithMatchers() - Method in class samples.expectnew.ExpectNewDemo
 
newWithArguments(Service, int) - Method in class samples.expectnew.ExpectNewDemo
 
newWithWrongArguments(Service, int) - Method in class samples.expectnew.ExpectNewDemo
 
NICE_REPLAY_AND_VERIFY_KEY - Static variable in class org.powermock.api.easymock.PowerMock
 
NiceDemo - Class in samples.nice
 
NiceDemo() - Constructor for class samples.nice.NiceDemo
 
NiceMockStrategy - Class in org.powermock.api.easymock.internal.mockstrategy.impl
 
NiceMockStrategy() - Constructor for class org.powermock.api.easymock.internal.mockstrategy.impl.NiceMockStrategy
 
niceReplayAndVerify() - Static method in class org.powermock.api.easymock.PowerMock
Sometimes it is useful to allow replay and verify on non-mocks.
NO_FLAGS_OR_OPTIONS - Static variable in class org.powermock.modules.agent.DefinalizingClassTransformer
 
NO_OBJECT_CREATION_ERROR_MESSAGE_TEMPLATE - Static variable in class org.powermock.api.mockito.internal.PowerMockitoCore
 
noMockito - Static variable in class org.powermock.core.MockGateway.NoMockito
 
NoMockito() - Constructor for class org.powermock.core.MockGateway.NoMockito
 
NOT_INITIALIZED - Static variable in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
notFound(Class<?>, boolean) - Method in class org.powermock.reflect.internal.matcherstrategies.AllFieldsMatcherStrategy
 
notFound(Class<?>, boolean) - Method in class org.powermock.reflect.internal.matcherstrategies.AssignableFromFieldTypeMatcherStrategy
 
notFound(Class<?>, boolean) - Method in class org.powermock.reflect.internal.matcherstrategies.FieldAnnotationMatcherStrategy
 
notFound(Class<?>, boolean) - Method in class org.powermock.reflect.internal.matcherstrategies.FieldMatcherStrategy
Throws an FieldNotFoundException if the strategy criteria could not be found.
notFound(Class<?>, boolean) - Method in class org.powermock.reflect.internal.matcherstrategies.FieldNameMatcherStrategy
 
notFound(Class<?>, boolean) - Method in class org.powermock.reflect.internal.matcherstrategies.FieldTypeMatcherStrategy
 
notificationBuilder - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
NotificationBuilder - Class in org.powermock.modules.junit4.internal.impl
Stateful class that, from information from JUnit and test-classes, can build and send notifications to PowerMockTestNotifier.
NotificationBuilder(Method[], PowerMockTestNotifier, List<?>) - Constructor for class org.powermock.modules.junit4.internal.impl.NotificationBuilder
 
NotificationBuilder.DetectedTestRunBehaviour - Enum in org.powermock.modules.junit4.internal.impl
 
NotificationBuilder.OngoingTestRun - Class in org.powermock.modules.junit4.internal.impl
 
notify(Description, Result) - Method in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
 
notifyAfterTestMethod(boolean) - Method in class org.powermock.tests.utils.impl.PowerMockTestNotifierImpl
 
notifyAfterTestMethod(boolean) - Method in interface org.powermock.tests.utils.PowerMockTestNotifier
Notifies all listeners with the "after test method ended" event.
notifyAfterTestMethod(Object, Method, Object[], TestMethodResult) - 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.
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.
notifyListenersOfTestResult() - Method in class org.powermock.modules.junit4.common.internal.impl.PowerMockJUnit4RunListener
 
NullMockTypeValidator() - Constructor for class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory.NullMockTypeValidator
 
number - Static variable in class samples.singleton.StaticService
 
NumberUtils - Class in org.powermock.utils
 
NumberUtils() - Constructor for class org.powermock.utils.NumberUtils
 

O

object - Variable in class org.powermock.api.mockito.internal.expectation.DefaultMethodExpectationSetup
 
object - Variable in class org.powermock.core.MockInvocation
 
OBJECT - Static variable in class samples.suppressmethod.SuppressMethod
 
OBJECT - Static variable in class samples.suppressmethod.SuppressMethodExample
 
objectFinalMethod() - Static method in class samples.singleton.StaticExample
 
objectMethod() - Static method in class samples.singleton.StaticExample
 
objectsToAutomaticallyReplayAndVerify - Static variable in class org.powermock.core.MockRepository
 
objectToVerify - Variable in class org.powermock.api.mockito.internal.verification.DefaultPrivateMethodVerification
 
objectType - Variable in class org.powermock.core.MockInvocation
 
of(TypeDescription.Generic, int) - Static method in class org.powermock.core.bytebuddy.Variable
 
offset - Variable in class org.powermock.core.bytebuddy.Variable
 
OngoingTestRun(Description, Object) - Constructor for class org.powermock.modules.junit4.internal.impl.NotificationBuilder.OngoingTestRun
 
ongoingTestRuns - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
 
open(String) - Static method in class sun.tools.attach.SolarisVirtualMachine
 
openDoor(int) - Method in class sun.tools.attach.SolarisVirtualMachine
 
openProcess(int) - Static method in class sun.tools.attach.WindowsVirtualMachine
 
operand - Variable in class samples.mockpolicy.ResultCalculator
 
org.powermock - package org.powermock
 
org.powermock.api.easymock - package org.powermock.api.easymock
 
org.powermock.api.easymock.annotation - package org.powermock.api.easymock.annotation
 
org.powermock.api.easymock.internal.invocationcontrol - package org.powermock.api.easymock.internal.invocationcontrol
 
org.powermock.api.easymock.internal.mockstrategy - package org.powermock.api.easymock.internal.mockstrategy
 
org.powermock.api.easymock.internal.mockstrategy.impl - package org.powermock.api.easymock.internal.mockstrategy.impl
 
org.powermock.api.easymock.mockpolicies - package org.powermock.api.easymock.mockpolicies
 
org.powermock.api.easymock.powermocklistener - package org.powermock.api.easymock.powermocklistener
 
org.powermock.api.extension - package org.powermock.api.extension
 
org.powermock.api.extension.agent - package org.powermock.api.extension.agent
 
org.powermock.api.extension.listener - package org.powermock.api.extension.listener
 
org.powermock.api.mockito - package org.powermock.api.mockito
 
org.powermock.api.mockito.expectation - package org.powermock.api.mockito.expectation
 
org.powermock.api.mockito.expectation.reporter - package org.powermock.api.mockito.expectation.reporter
 
org.powermock.api.mockito.internal - package org.powermock.api.mockito.internal
 
org.powermock.api.mockito.internal.configuration - package org.powermock.api.mockito.internal.configuration
 
org.powermock.api.mockito.internal.exceptions - package org.powermock.api.mockito.internal.exceptions
 
org.powermock.api.mockito.internal.expectation - package org.powermock.api.mockito.internal.expectation
 
org.powermock.api.mockito.internal.invocation - package org.powermock.api.mockito.internal.invocation
 
org.powermock.api.mockito.internal.mockcreation - package org.powermock.api.mockito.internal.mockcreation
 
org.powermock.api.mockito.internal.stubbing - package org.powermock.api.mockito.internal.stubbing
 
org.powermock.api.mockito.internal.verification - package org.powermock.api.mockito.internal.verification
 
org.powermock.api.mockito.invocation - package org.powermock.api.mockito.invocation
 
org.powermock.api.mockito.mockmaker - package org.powermock.api.mockito.mockmaker
 
org.powermock.api.mockito.mockpolicies - package org.powermock.api.mockito.mockpolicies
 
org.powermock.api.mockito.powermocklistener - package org.powermock.api.mockito.powermocklistener
 
org.powermock.api.mockito.verification - package org.powermock.api.mockito.verification
 
org.powermock.api.support - package org.powermock.api.support
 
org.powermock.api.support.membermodification - package org.powermock.api.support.membermodification
 
org.powermock.api.support.membermodification.strategy - package org.powermock.api.support.membermodification.strategy
 
org.powermock.api.support.membermodification.strategy.impl - package org.powermock.api.support.membermodification.strategy.impl
 
org.powermock.classloading - package org.powermock.classloading
 
org.powermock.classloading.spi - package org.powermock.classloading.spi
 
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.modules.agent - package org.powermock.modules.agent
 
org.powermock.modules.agent.support - package org.powermock.modules.agent.support
 
org.powermock.modules.junit4 - package org.powermock.modules.junit4
 
org.powermock.modules.junit4.common.internal - package org.powermock.modules.junit4.common.internal
 
org.powermock.modules.junit4.common.internal.impl - package org.powermock.modules.junit4.common.internal.impl
 
org.powermock.modules.junit4.internal.impl - package org.powermock.modules.junit4.internal.impl
 
org.powermock.modules.junit4.internal.impl.testcaseworkaround - package org.powermock.modules.junit4.internal.impl.testcaseworkaround
 
org.powermock.modules.junit4.rule - package org.powermock.modules.junit4.rule
 
org.powermock.modules.testng - package org.powermock.modules.testng
 
org.powermock.modules.testng.internal - package org.powermock.modules.testng.internal
 
org.powermock.reflect - package org.powermock.reflect
 
org.powermock.reflect.exceptions - package org.powermock.reflect.exceptions
 
org.powermock.reflect.internal - package org.powermock.reflect.internal
 
org.powermock.reflect.internal.comparator - package org.powermock.reflect.internal.comparator
 
org.powermock.reflect.internal.matcherstrategies - package org.powermock.reflect.internal.matcherstrategies
 
org.powermock.reflect.internal.primitivesupport - package org.powermock.reflect.internal.primitivesupport
 
org.powermock.reflect.internal.proxy - package org.powermock.reflect.internal.proxy
 
org.powermock.reflect.matching - package org.powermock.reflect.matching
 
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
 
otherwise - Variable in class org.powermock.core.bytebuddy.ConditionalStateStackManipulation
 
overloaded(ChildA) - Static method in class samples.overloading.StaticAndInstanceMethodWithSameName
 
overloaded(Parent) - Method in class samples.overloading.StaticAndInstanceMethodWithSameName
 
OverloadedMethodsExample - Class in samples.overloading
 
OverloadedMethodsExample() - Constructor for class samples.overloading.OverloadedMethodsExample
 
overloadedMethodWithOneArgument(ChildA) - Static method in class samples.overloading.OverloadedMethodsExample
 
overloadedMethodWithOneArgument(Parent) - Static method in class samples.overloading.OverloadedMethodsExample
 
overloadedMethodWithTwoArguments(Parent, ChildA) - Static method in class samples.overloading.OverloadedMethodsExample
 
overloadedMethodWithTwoArguments(Parent, Parent) - Static method in class samples.overloading.OverloadedMethodsExample
 
OverloadingDemo - Class in samples.overloading
Demonstrates that PowerMock correctly invoke overloaded methods from the MockGateway.
OverloadingDemo() - Constructor for class samples.overloading.OverloadingDemo
 

P

PackagePrivateClass - Class in samples.packageprivate
This class demonstrates the ability for PowerMock to mock package private classes.
PackagePrivateClass() - Constructor for class samples.packageprivate.PackagePrivateClass
 
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
 
PACKAGES_TO_BE_DEFERRED - Static variable in class org.powermock.core.classloader.MockClassLoaderConfiguration
 
PACKAGES_TO_LOAD_BUT_NOT_MODIFY - Static variable in class org.powermock.core.classloader.MockClassLoaderConfiguration
 
packagesToIgnore - Variable in class org.powermock.core.classloader.MockClassLoaderBuilder
 
packagesToIgnore - Variable in class org.powermock.core.classloader.MockClassLoaderFactory
 
parallelLockMap - Variable in class org.powermock.core.classloader.DeferSupportingClassLoader
 
parametersComparator - Variable in class org.powermock.reflect.internal.comparator.ComparatorFactory.ConstructorComparator
 
parametersComparator - Variable in class org.powermock.reflect.internal.comparator.ComparatorFactory.MethodComparator
 
ParametersComparator() - Constructor for class org.powermock.reflect.internal.comparator.ComparatorFactory.ParametersComparator
 
ParametersMatcher - Class in org.powermock.reflect.internal
 
ParametersMatcher(boolean, Class<?>[], Object[]) - Constructor for class org.powermock.reflect.internal.ParametersMatcher
 
parameterTypes - Variable in class org.powermock.api.mockito.expectation.DefaultConstructorExpectationSetup
 
parameterTypes - Variable in class org.powermock.reflect.internal.Constructor
 
parameterTypes - Variable in class org.powermock.reflect.internal.ParametersMatcher
 
ParameterTypesMatcher - Class in org.powermock.reflect.internal
 
ParameterTypesMatcher(boolean, Class<?>[], Class<?>...) - Constructor for class org.powermock.reflect.internal.ParameterTypesMatcher
 
params - Variable in class org.powermock.modules.testng.internal.TestClassInstanceFactory
 
Parent - Class in samples.classhierarchy
 
Parent() - Constructor for class samples.classhierarchy.Parent
 
PartialMockingExample - Class in samples.partialmocking
Simple partial mocking example that should need no byte-code manipulation.
PartialMockingExample() - Constructor for class samples.partialmocking.PartialMockingExample
 
PartialMockingWithConstructor - Class in samples.partialmocking
 
PartialMockingWithConstructor() - Constructor for class samples.partialmocking.PartialMockingWithConstructor
 
path - Variable in class sun.tools.attach.BsdVirtualMachine
 
path - Variable in class sun.tools.attach.LinuxVirtualMachine
 
PENDING - Enum constant in enum org.powermock.modules.junit4.internal.impl.NotificationBuilder.DetectedTestRunBehaviour
 
pendingInitiatedTestClass - Static variable in class org.powermock.core.testlisteners.GlobalNotificationBuildSupport
 
pendingTestInstances - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
 
pendingTestInstancesOnMotherThread - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
performComplexOperation(String) - Method in class samples.mockpolicy.frameworkexample.SimpleFrameworkUser
 
performEncode() - Method in class samples.system.SystemClassUser
 
performInstaceInvocation(StaticAndInstanceMethodWithSameName) - Method in class samples.overloading.StaticAndInstanceMethodWithSameNameUser
 
performIntercept(Object, Method, Object[]) - Method in class org.powermock.api.mockito.invocation.MockHandlerAdaptor
 
performMethodInvocation(Object, Method, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Perform method invocation.
performMethodOverloadTestWhenBothArgumentSame() - Method in class samples.overloading.OverloadingDemo
 
performMethodOverloadTestWithOneArgumentSameAndOneDiffernt() - Method in class samples.overloading.OverloadingDemo
 
performSingleOverloadedArgumentTest() - Method in class samples.overloading.OverloadingDemo
 
performStaticInvocation() - Method in class samples.overloading.StaticAndInstanceMethodWithSameNameUser
 
performStubbing(OngoingStubbing<T>) - Method in class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing.InvokeStubMethod
 
performSubstitutionLogic(Object...) - Method in interface org.powermock.core.spi.support.InvocationSubstitute
 
pid - Variable in class org.powermock.modules.agent.AgentLoader
 
PipedInputStream(long) - Constructor for class sun.tools.attach.WindowsVirtualMachine.PipedInputStream
 
pleaseStop() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
potentialConstructor - Variable in class org.powermock.reflect.internal.ConstructorFinder
 
potentialTestFailure - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner
 
potentialTestMethod - Variable in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestMethodChecker
 
POWER_MOCK_CALL_REAL_METHOD - Static variable in class org.powermock.api.mockito.internal.PowerMockitoCore
 
POWER_MOCK_CONFIGURATION - Static variable in class org.powermock.configuration.GlobalConfiguration
 
POWER_MOCKITO_CLASS_NAME - Static variable in class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
 
PowerMock - Class in org.powermock.api.easymock
PowerMock extends EasyMock functionality with several new features such as mocking static and private methods, mocking new instances and more.
PowerMock - Enum constant in enum org.powermock.configuration.ConfigurationType
 
PowerMock() - Constructor for class org.powermock.api.easymock.PowerMock
 
POWERMOCK_INSTANCE_DELEGATOR_FIELD_NAME - Static variable in class org.powermock.core.ClassReplicaCreator
 
PowerMock.EasyMockStateCleaner - Class in org.powermock.api.easymock
Clears the state in LastControl that deals with MocksControl.
PowerMockAgent - Class in org.powermock.modules.agent
This is the "agent class" that initializes the PowerMock "Java agent".
PowerMockAgent() - Constructor for class org.powermock.modules.agent.PowerMockAgent
 
PowerMockAgentTestInitializer - Class in org.powermock.modules.agent.support
 
PowerMockAgentTestInitializer() - Constructor for class org.powermock.modules.agent.support.PowerMockAgentTestInitializer
 
PowerMockCallRealMethod - Class in org.powermock.api.mockito.internal.stubbing
 
PowerMockCallRealMethod() - Constructor for class org.powermock.api.mockito.internal.stubbing.PowerMockCallRealMethod
 
PowerMockClassloaderObjectFactory - Class in org.powermock.modules.testng.internal
 
PowerMockClassloaderObjectFactory() - Constructor for class org.powermock.modules.testng.internal.PowerMockClassloaderObjectFactory
 
PowerMockClassRedefiner - Class in org.powermock.modules.agent
 
PowerMockClassRedefiner() - Constructor for class org.powermock.modules.agent.PowerMockClassRedefiner
 
PowerMockClassTransformer - Class in org.powermock.modules.agent
 
PowerMockClassTransformer() - Constructor for class org.powermock.modules.agent.PowerMockClassTransformer
 
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
 
PowerMockExpectedExceptionsExtractorImpl - Class in org.powermock.modules.testng.internal
 
PowerMockExpectedExceptionsExtractorImpl() - Constructor for class org.powermock.modules.testng.internal.PowerMockExpectedExceptionsExtractorImpl
 
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.
PowerMockIgnoreDemo - Class in samples.powermockignore
 
PowerMockIgnoreDemo() - Constructor for class samples.powermockignore.PowerMockIgnoreDemo
 
PowerMockIgnorePackagesExtractorImpl - Class in org.powermock.tests.utils.impl
 
PowerMockIgnorePackagesExtractorImpl() - Constructor for class org.powermock.tests.utils.impl.PowerMockIgnorePackagesExtractorImpl
 
PowerMockInternalException - Exception Class in org.powermock
 
PowerMockInternalException(String) - Constructor for exception class org.powermock.PowerMockInternalException
 
PowerMockInternalException(String, Throwable) - Constructor for exception class org.powermock.PowerMockInternalException
 
PowerMockInternalException(Throwable) - Constructor for exception class org.powermock.PowerMockInternalException
 
PowerMockito - Class in org.powermock.api.mockito
PowerMockito extends Mockito functionality with several new features such as mocking static and private methods and more.
PowerMockito() - Constructor for class org.powermock.api.mockito.PowerMockito
 
POWERMOCKITO_CORE - Static variable in class org.powermock.api.mockito.PowerMockito
 
PowerMockitoCore - Class in org.powermock.api.mockito.internal
 
PowerMockitoCore() - Constructor for class org.powermock.api.mockito.internal.PowerMockitoCore
 
PowerMockitoInjectingAnnotationEngine - Class in org.powermock.api.mockito.internal.configuration
The same as InjectingAnnotationEngine with the exception that it doesn't create/injects mocks annotated with the standard annotations such as Mock.
PowerMockitoInjectingAnnotationEngine() - Constructor for class org.powermock.api.mockito.internal.configuration.PowerMockitoInjectingAnnotationEngine
 
PowerMockitoSpyAnnotationEngine - Class in org.powermock.api.mockito.internal.configuration
More or less a copy of the SpyAnnotationEngine but it uses PowerMockito.spy(Object) instead.
PowerMockitoSpyAnnotationEngine() - Constructor for class org.powermock.api.mockito.internal.configuration.PowerMockitoSpyAnnotationEngine
 
PowerMockitoStubber - Interface in org.powermock.api.mockito.expectation
Setup stubbing for private or void methods in final class, final void methods, or static (final) methods.
PowerMockitoStubberImpl - Class in org.powermock.api.mockito.internal.expectation
Extension of the standard Mocktio stubber implementation that also support PowerMockito created mocks.
PowerMockitoStubberImpl(Stubber) - Constructor for class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
PowerMockJUnit44MethodRunner(Object, TestMethod, RunNotifier, Description, boolean) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
 
PowerMockJUnit44RunnerDelegateImpl - Class in org.powermock.modules.junit4.internal.impl
A JUnit4 test runner that only runs a specified set of test methods in a test class.
PowerMockJUnit44RunnerDelegateImpl(Class<?>) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
PowerMockJUnit44RunnerDelegateImpl(Class<?>, String[]) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
PowerMockJUnit44RunnerDelegateImpl(Class<?>, String[], PowerMockTestListener[]) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner - Class in org.powermock.modules.junit4.internal.impl
 
PowerMockJUnit47MethodRunner(Object, TestMethod, RunNotifier, Description, boolean) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner
 
PowerMockJUnit47RunnerDelegateImpl - Class in org.powermock.modules.junit4.internal.impl
Extends the functionality of PowerMockJUnit44RunnerDelegateImpl to enable the usage of rules.
PowerMockJUnit47RunnerDelegateImpl(Class<?>) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl
 
PowerMockJUnit47RunnerDelegateImpl(Class<?>, String[]) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl
 
PowerMockJUnit47RunnerDelegateImpl(Class<?>, String[], PowerMockTestListener[]) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl
 
PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner - Class in org.powermock.modules.junit4.internal.impl
 
PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner.TestExecutorStatement - Class in org.powermock.modules.junit4.internal.impl
 
PowerMockJUnit49MethodRunner(Object, TestMethod, RunNotifier, Description, boolean) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit49RunnerDelegateImpl.PowerMockJUnit49MethodRunner
 
PowerMockJUnit49RunnerDelegateImpl - Class in org.powermock.modules.junit4.internal.impl
Extends the functionality of PowerMockJUnit47RunnerDelegateImpl to enable the usage of TestRule.
PowerMockJUnit49RunnerDelegateImpl(Class<?>) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit49RunnerDelegateImpl
 
PowerMockJUnit49RunnerDelegateImpl(Class<?>, String[]) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit49RunnerDelegateImpl
 
PowerMockJUnit49RunnerDelegateImpl(Class<?>, String[], PowerMockTestListener[]) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit49RunnerDelegateImpl
 
PowerMockJUnit49RunnerDelegateImpl.PowerMockJUnit49MethodRunner - Class in org.powermock.modules.junit4.internal.impl
 
PowerMockJUnit4MethodValidator - Class in org.powermock.modules.junit4.internal.impl.testcaseworkaround
A custom MethodValidator that makes sure that test methods not annotated by the Test annotation works in JUnit 4.4 with the custom JUnit-runner when the test class is extending TestCase.
PowerMockJUnit4MethodValidator(TestClass) - Constructor for class org.powermock.modules.junit4.internal.impl.testcaseworkaround.PowerMockJUnit4MethodValidator
 
PowerMockJUnit4RunListener - Class in org.powermock.modules.junit4.common.internal.impl
 
PowerMockJUnit4RunListener(ClassLoader, PowerMockTestNotifier) - Constructor for class org.powermock.modules.junit4.common.internal.impl.PowerMockJUnit4RunListener
 
PowerMockJUnitRunnerDelegate - Interface in org.powermock.modules.junit4.common.internal
 
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.
PowerMockMaker - Class in org.powermock.api.mockito.mockmaker
A PowerMock implementation of the MockMaker.
PowerMockMaker() - Constructor for class org.powermock.api.mockito.mockmaker.PowerMockMaker
 
PowerMockMaker.StaticMockHandler - Class in org.powermock.api.mockito.mockmaker
 
PowerMockModified - Interface in org.powermock.core.classloader
Interface marker.
powerMockObjectFactory - Variable in class org.powermock.modules.testng.PowerMockObjectFactory
 
PowerMockObjectFactory - Class in org.powermock.modules.testng
The PowerMock object factory.
PowerMockObjectFactory() - Constructor for class org.powermock.modules.testng.PowerMockObjectFactory
 
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
 
PowerMockRule - Class in org.powermock.modules.junit4.rule
 
PowerMockRule() - Constructor for class org.powermock.modules.junit4.rule.PowerMockRule
 
PowerMockRuleTestSuiteChunker - Class in org.powermock.modules.junit4.rule
 
PowerMockRuleTestSuiteChunker(Class) - Constructor for class org.powermock.modules.junit4.rule.PowerMockRuleTestSuiteChunker
 
PowerMockRunner - Class in org.powermock.modules.junit4
 
PowerMockRunner(Class<?>) - Constructor for class org.powermock.modules.junit4.PowerMockRunner
 
PowerMockRunnerDelegate - Annotation Type in org.powermock.modules.junit4
 
PowerMockRunnerDelegate.DefaultJUnitRunner - Class in org.powermock.modules.junit4
 
PowerMockRunnerDelegate.SinceJUnit_4_5 - Class in org.powermock.modules.junit4
Stuff that needs to be handled in a separate class, because it deals with API that did not exist before JUnit-4.5.
PowerMockRunNotifier - Class in org.powermock.modules.junit4.internal.impl
Wraps JUnit's RunNotifier to make sure that the PowerMock-specific instances of PowerMockTestListener will also be informed.
PowerMockRunNotifier(RunNotifier, PowerMockTestNotifier, Method[]) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
PowerMockStatement - Class in org.powermock.modules.junit4.rule
 
PowerMockStatement(Statement, TestChunk, MockPolicyInitializer) - Constructor for class org.powermock.modules.junit4.rule.PowerMockStatement
 
PowerMockTestCase - Class in org.powermock.modules.testng
A PowerMock base class that may be used as a base class for all TestNG test cases that uses PowerMock.
PowerMockTestCase() - Constructor for class org.powermock.modules.testng.PowerMockTestCase
 
PowerMockTestListener - Interface in org.powermock.core.spi
This interface should be implemented by all PowerMock test listeners.
powerMockTestListeners - Variable in class org.powermock.tests.utils.impl.PowerMockTestNotifierImpl
 
PowerMockTestNGMethodHandler - Class in org.powermock.modules.testng.internal
 
PowerMockTestNGMethodHandler(Class<?>) - Constructor for class org.powermock.modules.testng.internal.PowerMockTestNGMethodHandler
 
powerMockTestNotifier - Variable in class org.powermock.modules.junit4.common.internal.impl.PowerMockJUnit4RunListener
 
powerMockTestNotifier - Variable in class org.powermock.modules.junit4.internal.impl.DelegatingPowerMockRunner
 
powerMockTestNotifier - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
 
powerMockTestNotifier - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
powerMockTestNotifier - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
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
 
prefix - Variable in enum org.powermock.configuration.ConfigurationType
 
preLoadPluginLoader() - Method in class org.powermock.api.mockito.internal.configuration.PowerMockitoInjectingAnnotationEngine
 
premain(String, Instrumentation) - Static method in class org.powermock.modules.agent.PowerMockAgent
This method must only be called by the JVM, to provide the instrumentation object.
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.
prepareForTestExtractor - Variable in class org.powermock.core.classloader.MockClassLoaderFactory
 
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
 
previousCl - Variable in class org.powermock.modules.testng.PowerMockTestCase
 
previousTargetClass - Static variable in class org.powermock.modules.junit4.rule.PowerMockRule
 
PrimitiveAndWrapperDemo - Class in samples.expectnew
Used to demonstrate PowerMocks ability to deal with overloaded constructors of primitive/wrapper types.
PrimitiveAndWrapperDemo(int) - Constructor for class samples.expectnew.PrimitiveAndWrapperDemo
 
PrimitiveAndWrapperDemo(Integer) - Constructor for class samples.expectnew.PrimitiveAndWrapperDemo
 
PrimitiveAndWrapperUser - Class in samples.expectnew
Used to demonstrate PowerMocks ability to deal with overloaded constructors of primitive/wrapper types.
PrimitiveAndWrapperUser() - Constructor for class samples.expectnew.PrimitiveAndWrapperUser
 
PrimitiveBoxing - Enum in org.powermock.core.bytebuddy
 
PrimitiveBoxing(Class<?>, StackSize, String, String) - Constructor for enum org.powermock.core.bytebuddy.PrimitiveBoxing
 
primitiveCounterpart - Variable in class org.powermock.reflect.internal.matcherstrategies.AssignableFromFieldTypeMatcherStrategy
 
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
 
primitiveWrapper - Static variable in class org.powermock.reflect.internal.primitivesupport.PrimitiveWrapper
 
PrimitiveWrapper - Class in org.powermock.reflect.internal.primitivesupport
The purpose of the Primitive Wrapper is to provide methods that deals with translating wrapper types to its related primitive type.
PrimitiveWrapper() - Constructor for class org.powermock.reflect.internal.primitivesupport.PrimitiveWrapper
 
printClassesLoadedByClassloader(ClassLoader, boolean) - Static method in class org.powermock.core.PowerMockUtils
 
printFlag(String) - Method in class sun.tools.attach.HotSpotVirtualMachine
 
printWarning(List<PropertiesFinder.ConfigurationSource>, String) - Method in class org.powermock.configuration.support.PropertiesLoader
 
PrivateConstructorDemo - Class in samples.constructor
Demonstrates the ability to invoke a test on a private constructor as well as lazy initialization of private collaborators.
PrivateConstructorDemo(String) - Constructor for class samples.constructor.PrivateConstructorDemo
 
PrivateConstructorInstantiationDemo - Class in samples.constructor
Class used to demonstrate the private constructor instantiation.
PrivateConstructorInstantiationDemo() - Constructor for class samples.constructor.PrivateConstructorInstantiationDemo
 
PrivateConstructorInstantiationDemo(int) - Constructor for class samples.constructor.PrivateConstructorInstantiationDemo
 
PrivateFinal - Class in samples.privateandfinal
A class used to test the functionality to mock private methods that are also final.
PrivateFinal() - Constructor for class samples.privateandfinal.PrivateFinal
 
PrivateFinalOverload - Class in samples.privateandfinal
A class used to test the functionality of capturing arguments when methods are overloaded and private and final.
PrivateFinalOverload() - Constructor for class samples.privateandfinal.PrivateFinalOverload
 
privateInvoke(int) - Method in class samples.expectvoid.ExpectVoidDemo
 
PrivatelyExpectedArguments - Interface in org.powermock.api.mockito.expectation
 
PrivateMethodDemo - Class in samples.privatemocking
A class used to test the functionality to mock private methods.
PrivateMethodDemo() - Constructor for class samples.privatemocking.PrivateMethodDemo
 
PrivateMethodVerification - Interface in org.powermock.api.mockito.verification
 
privateObjectFinalMethod() - Static method in class samples.singleton.StaticExample
 
privateObjectMethod() - Static method in class samples.singleton.StaticExample
 
PrivatePartialMockingExample - Class in samples.partialmocking
Simple partial mocking example that should need no byte-code manipulation.
PrivatePartialMockingExample() - Constructor for class samples.partialmocking.PrivatePartialMockingExample
 
privateService - Variable in class samples.constructor.PrivateConstructorDemo
 
privateService - Variable in class samples.constructor.PublicConstructorDemo
 
privateVoidFinalMethod() - Static method in class samples.singleton.StaticExample
 
privateVoidMethod() - Static method in class samples.singleton.StaticExample
 
PROCEED - Static variable in class org.powermock.core.MockGateway
 
process(Class<?>, Object) - Method in class org.powermock.api.mockito.internal.configuration.PowerMockitoInjectingAnnotationEngine
 
process(Class<?>, Object) - Method in class org.powermock.api.mockito.internal.configuration.PowerMockitoSpyAnnotationEngine
 
PropertiesFinder - Class in org.powermock.configuration.support
 
PropertiesFinder(ClassLoader) - Constructor for class org.powermock.configuration.support.PropertiesFinder
 
PropertiesFinder.ConfigurationSource - Class in org.powermock.configuration.support
 
PropertiesLoader - Class in org.powermock.configuration.support
 
PropertiesLoader() - Constructor for class org.powermock.configuration.support.PropertiesLoader
 
PropertyWriter() - Constructor for enum org.powermock.configuration.support.ConfigurationMapper.PropertyWriter
 
PROTOCOL_VERSION - Static variable in class sun.tools.attach.BsdVirtualMachine
 
PROTOCOL_VERSION - Static variable in class sun.tools.attach.LinuxVirtualMachine
 
provider - Variable in class com.sun.tools.attach.VirtualMachine
 
provider - Variable in class com.sun.tools.attach.VirtualMachineDescriptor
 
provider() - Method in class com.sun.tools.attach.VirtualMachine
Returns the provider that created this virtual machine.
provider() - Method in class com.sun.tools.attach.VirtualMachineDescriptor
Return the AttachProvider that this descriptor references.
providers - Static variable in class com.sun.tools.attach.spi.AttachProvider
 
providers() - Static method in class com.sun.tools.attach.spi.AttachProvider
Returns a list of the installed attach providers.
proxies - Variable in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
proxy(Class<?>, String, InvocationHandler) - Static method in class org.powermock.api.support.MethodProxy
Add a proxy for a method declared in class declaringClass.
proxy(Method, InvocationHandler) - Static method in class org.powermock.api.support.MethodProxy
Add a proxy for this method.
proxyFrameworks - Static variable in class org.powermock.reflect.internal.WhiteboxImpl
The proxy framework.
ProxyFrameworks - Class in org.powermock.reflect.internal.proxy
 
ProxyFrameworks() - Constructor for class org.powermock.reflect.internal.proxy.ProxyFrameworks
 
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.
PublicConstructorDemo - Class in samples.constructor
Demonstrates the ability to invoke a test on a private constructor as well as lazy initialization of private collaborators.
PublicConstructorDemo(String) - Constructor for class samples.constructor.PublicConstructorDemo
 
PublicConstructorWithDependencyDemo - Class in samples.constructor
This class is used to demonstrate that error messages are correct when a constructor is not found.
PublicConstructorWithDependencyDemo(Service) - Constructor for class samples.constructor.PublicConstructorWithDependencyDemo
 
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
 
putMethodInvocationControlToRepository(Class<T>, boolean, DefaultMockCreator.MockData<T>, T) - Method in class org.powermock.api.mockito.internal.mockcreation.DefaultMockCreator
 
putMethodProxy(Method, InvocationHandler) - Static method in class org.powermock.core.MockRepository
Set a proxy for a method.
putMethodToChunk(TestCaseEntry, Class<?>, Method) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
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
 

Q

qualifiedInjections - Variable in class org.powermock.api.extension.listener.AnnotationGlobalMetadata
 
qualifier - Variable in class org.powermock.api.extension.listener.AnnotationMockMetadata
 
qualifiers - Variable in class org.powermock.api.extension.listener.AnnotationGlobalMetadata
 

R

read() - Method in class sun.tools.attach.BsdVirtualMachine.SocketInputStream
 
read() - Method in class sun.tools.attach.LinuxVirtualMachine.SocketInputStream
 
read() - Method in class sun.tools.attach.SolarisVirtualMachine.SocketInputStream
 
read() - Method in class sun.tools.attach.WindowsVirtualMachine.PipedInputStream
 
read(byte[], int, int) - Method in class sun.tools.attach.BsdVirtualMachine.SocketInputStream
 
read(byte[], int, int) - Method in class sun.tools.attach.LinuxVirtualMachine.SocketInputStream
 
read(byte[], int, int) - Method in class sun.tools.attach.SolarisVirtualMachine.SocketInputStream
 
read(byte[], int, int) - Method in class sun.tools.attach.WindowsVirtualMachine.PipedInputStream
 
read(int, byte[], int, int) - Static method in class sun.tools.attach.BsdVirtualMachine
 
read(int, byte[], int, int) - Static method in class sun.tools.attach.LinuxVirtualMachine
 
read(int, byte[], int, int) - Static method in class sun.tools.attach.SolarisVirtualMachine
 
readClass(URL) - Method in class org.powermock.core.classloader.MockClassLoader
 
readDefault(Class<T>) - Method in class org.powermock.configuration.support.ConfigurationFactoryImpl
 
readEnvironmentConfiguration(Class<T>) - Method in class org.powermock.configuration.support.ConfigurationFactoryImpl
 
readInt(InputStream) - Method in class sun.tools.attach.HotSpotVirtualMachine
 
readPipe(long, byte[], int, int) - Static method in class sun.tools.attach.WindowsVirtualMachine
 
readUserConfiguration(Class<T>) - Method in class org.powermock.configuration.support.ConfigurationFactoryImpl
 
reallyEasyMock - Variable in class org.powermock.api.easymock.EasyMockConfiguration
 
ReallySimpleSwingDemo - Class in samples.swing
 
ReallySimpleSwingDemo() - Constructor for class samples.swing.ReallySimpleSwingDemo
 
redefine(String[], String[], JavaAgentClassRegister) - Static method in class org.powermock.modules.agent.PowerMockClassRedefiner
 
redefine(String[], String[], JavaAgentClassRegister) - Static method in class org.powermock.modules.agent.support.PowerMockAgentTestInitializer
 
redefineClasses(Class<?>, JavaAgentClassRegister) - Static method in class org.powermock.modules.agent.support.PowerMockAgentTestInitializer
 
redefineClassesToPrepare(Class<?>, String[], JavaAgentClassRegister) - Static method in class org.powermock.modules.agent.support.PowerMockAgentTestInitializer
 
redefineClassesToSuppress(Class<?>, String[], JavaAgentClassRegister) - Static method in class org.powermock.modules.agent.support.PowerMockAgentTestInitializer
 
ReflectionInstantiator - Class in samples.reflection
 
ReflectionInstantiator() - Constructor for class samples.reflection.ReflectionInstantiator
 
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.
registerAfterMethodRunner() - Method in class org.powermock.api.mockito.internal.mockcreation.DefaultMockCreator
 
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.
registerClass(ClassLoader, String) - Method in class org.powermock.modules.agent.support.JavaAgentClassRegisterImpl
 
reloadMethod(Class<?>, Method) - Method in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
 
reloadParamType(Class<?>, Class<?>) - Method in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
 
remoteDataDump(Object...) - Method in class sun.tools.attach.HotSpotVirtualMachine
 
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
 
removeAndReplaceText(StringBuilder, String, char) - Static method in class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
 
removeClassMethodInvocationControl(Class<?>) - Static method in class org.powermock.core.MockRepository
 
removeFailureLocations(String) - Static method in class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
 
removeFinal(int) - Method in class org.powermock.modules.agent.DefinalizingClassVisitor
 
removeInstanceMethodInvocationControl(Class<?>) - Static method in class org.powermock.core.MockRepository
 
removeListener(RunListener) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
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
 
RemovesTestMethodAnnotation(Class<?>, Class<? extends Annotation>, ByteCodeFramework) - Constructor for class org.powermock.core.transformers.TestClassTransformerBuilder.RemovesTestMethodAnnotation
 
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.
removeTestAnnotationsForTestMethodsThatRunOnOtherClassLoader(CtClass) - Method in class org.powermock.core.transformers.javassist.testclass.JavaAssistTestClassTransformer
 
removeTestMethodAnnotationFrom(CtMethod) - Method in class org.powermock.core.transformers.javassist.testclass.JavaAssistTestClassTransformer
 
removeText(StringBuilder, String) - Static method in class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
 
replace(Method) - Static method in class org.powermock.api.support.membermodification.MemberModifier
Replace a method invocation.
replaceSlashWithDots(String) - Method in class org.powermock.modules.agent.AbstractClassTransformer
 
replay(Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
 
replay(Object...) - Method in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
 
replay(Object...) - Method in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockNewInvocationControl
 
replay(Object...) - Static method in class org.powermock.api.easymock.PowerMock
Switches the mocks or classes to replay mode.
replay(Object...) - Method in class org.powermock.api.mockito.internal.invocation.MockitoNewInvocationControl
 
replay(Object...) - Method in class org.powermock.api.mockito.invocation.MockitoMethodInvocationControl
 
replay(Object...) - Method in interface org.powermock.core.spi.DefaultBehavior
Replay the given objects or classes.
replayAll(Object...) - Static method in class org.powermock.api.easymock.PowerMock
Replay all classes and mock objects known by PowerMock.
report(Result) - Method in class org.powermock.modules.junit4.internal.impl.NotificationBuilder.OngoingTestRun
 
reporter - Variable in class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory.AbstractMockTypeValidator
 
reset(Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Reset a list of class mocks.
reset(Object...) - Method in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
 
reset(Object...) - Method in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockNewInvocationControl
 
reset(Object...) - Static method in class org.powermock.api.easymock.PowerMock
Reset a list of mock objects or classes.
reset(Object...) - Method in class org.powermock.api.mockito.internal.invocation.MockitoNewInvocationControl
 
reset(Object...) - Method in class org.powermock.api.mockito.invocation.MockitoMethodInvocationControl
 
reset(Object...) - Method in interface org.powermock.core.spi.DefaultBehavior
Reset the given objects or classes.
resetAll(Object...) - Static method in class org.powermock.api.easymock.PowerMock
Reset all classes and mock objects known by PowerMock.
resetMock(Object, MockHandler, MockCreationSettings) - Method in class org.powermock.api.mockito.mockmaker.PowerMockMaker
 
resetPackagesToIgnore() - Method in class org.powermock.modules.agent.AbstractClassTransformer
 
restoreOriginalConstructorsAccesses(CtClass) - Method in class org.powermock.core.transformers.javassist.testclass.JavaAssistTestClassTransformer
 
RESTRICTED_INTERFACES - Static variable in class org.powermock.reflect.internal.proxy.UnproxiedTypeFactory
 
result - Variable in class org.powermock.core.spi.testresult.impl.TestMethodResultImpl
 
result - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder.OngoingTestRun
 
result - Variable in class samples.mockpolicy.frameworkexample.NativeResult
 
Result - Enum in org.powermock.core.spi.testresult
 
Result() - Constructor for enum org.powermock.core.spi.testresult.Result
 
ResultCalculator - Class in samples.mockpolicy
 
ResultCalculator(int) - Constructor for class samples.mockpolicy.ResultCalculator
 
returnAMessage() - Method in class samples.suppressconstructor.SuppressConstructorDemo
 
returnAValue() - Method in class samples.packageprivate.PackagePrivateClass
 
returnValue - Variable in exception class com.sun.tools.attach.AgentInitializationException
 
returnValue() - Method in exception class com.sun.tools.attach.AgentInitializationException
If the exception was created with the return value from the agent Agent_OnAttach function then this returns that value, otherwise returns 0.
run() - Method in class org.powermock.api.easymock.PowerMock.EasyMockStateCleaner
 
run(RunNotifier) - Method in class org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner
 
run(RunNotifier) - Method in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl
 
run(RunNotifier) - Method in interface org.powermock.modules.junit4.common.internal.JUnit4TestSuiteChunker
 
run(RunNotifier) - Method in interface org.powermock.modules.junit4.common.internal.PowerMockJUnitRunnerDelegate
 
run(RunNotifier) - Method in class org.powermock.modules.junit4.internal.impl.DelegatingPowerMockRunner
 
run(RunNotifier) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
run(RunNotifier) - Method in class org.powermock.modules.junit4.PowerMockRunner
Clean up some state to avoid OOM issues
run(RunNotifier) - Method in class org.powermock.modules.junit4.PowerMockRunnerDelegate.DefaultJUnitRunner
 
runBeforesThenTestThenAfters(Runnable) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
 
runMethods(RunNotifier) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
runnerAlternativeConstructorParams() - Static method in class org.powermock.modules.junit4.PowerMockRunnerDelegate.SinceJUnit_4_5
 
runnerDelegateImplementationType - Variable in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl
 
RunnerTestSuiteChunker - Interface in org.powermock.tests.utils
An interface that should be implemented by classes that performs test suite chunking.
runTestMethod() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
 
RuntimeAnnotation - Annotation Type in samples.annotationbased.testannotations
 
RuntimeExceptionProxy - Exception Class in org.powermock.api.mockito.internal.mockcreation
 
RuntimeExceptionProxy(Throwable) - Constructor for exception class org.powermock.api.mockito.internal.mockcreation.RuntimeExceptionProxy
 
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

s - Variable in class sun.tools.attach.BsdVirtualMachine.SocketInputStream
 
s - Variable in class sun.tools.attach.LinuxVirtualMachine.SocketInputStream
 
s - Variable in class sun.tools.attach.SolarisVirtualMachine.SocketInputStream
 
SafeExceptionRethrower - Class in org.powermock.api.support
 
SafeExceptionRethrower() - Constructor for class org.powermock.api.support.SafeExceptionRethrower
 
safeRethrow(Throwable) - Static method in class org.powermock.api.support.SafeExceptionRethrower
 
safeRethrow0(Throwable) - Static method in class org.powermock.api.support.SafeExceptionRethrower
 
sameName(float) - Method in class samples.suppressmethod.SuppressMethod
 
sameName(int) - Method in class samples.suppressmethod.SuppressMethod
 
samples - package samples
 
samples.abstractmocking - package samples.abstractmocking
 
samples.annotationbased - package samples.annotationbased
 
samples.annotationbased.testannotations - package samples.annotationbased.testannotations
 
samples.anonymousmocking - package samples.anonymousmocking
 
samples.argumentmatcher - package samples.argumentmatcher
 
samples.classhierarchy - package samples.classhierarchy
 
samples.classwithinnermembers - package samples.classwithinnermembers
 
samples.constructor - package samples.constructor
 
samples.constructorargs - package samples.constructorargs
 
samples.enummocking - package samples.enummocking
 
samples.equalswithgetclass - package samples.equalswithgetclass
 
samples.expectnew - package samples.expectnew
 
samples.expectvoid - package samples.expectvoid
 
samples.fieldmock - package samples.fieldmock
 
samples.finalmocking - package samples.finalmocking
 
samples.hashcode - package samples.hashcode
 
samples.injectmocks - package samples.injectmocks
 
samples.innerclassmocking - package samples.innerclassmocking
 
samples.interfacefieldchange - package samples.interfacefieldchange
 
samples.interfacemethodfinding - package samples.interfacemethodfinding
 
samples.java - package samples.java
 
samples.largemethod - package samples.largemethod
 
samples.methodhierarchy - package samples.methodhierarchy
 
samples.mockpolicy - package samples.mockpolicy
 
samples.mockpolicy.frameworkexample - package samples.mockpolicy.frameworkexample
 
samples.nativemocking - package samples.nativemocking
 
samples.newmocking - package samples.newmocking
 
samples.nice - package samples.nice
 
samples.overloading - package samples.overloading
 
samples.packageprivate - package samples.packageprivate
 
samples.partialmocking - package samples.partialmocking
 
samples.powermockignore - package samples.powermockignore
 
samples.privateandfinal - package samples.privateandfinal
 
samples.privatefield - package samples.privatefield
 
samples.privatemocking - package samples.privatemocking
 
samples.reflection - package samples.reflection
 
samples.rule - package samples.rule
 
samples.servletmocking - package samples.servletmocking
 
samples.simplemix - package samples.simplemix
 
samples.simplereturn - package samples.simplereturn
 
samples.singleton - package samples.singleton
 
samples.spy - package samples.spy
 
samples.staticandinstance - package samples.staticandinstance
 
samples.staticinitializer - package samples.staticinitializer
 
samples.stress - package samples.stress
 
samples.strict - package samples.strict
 
samples.suppressconstructor - package samples.suppressconstructor
 
samples.suppresseverything - package samples.suppresseverything
 
samples.suppressfield - package samples.suppressfield
 
samples.suppressmethod - package samples.suppressmethod
 
samples.swing - package samples.swing
 
samples.system - package samples.system
 
samples.whitebox - package samples.whitebox
 
SampleServlet - Class in samples.servletmocking
 
SampleServlet() - Constructor for class samples.servletmocking.SampleServlet
 
say(String) - Method in class samples.finalmocking.FinalDemo
 
say(String) - Method in class samples.injectmocks.InjectDemo
 
say(String) - Method in class samples.privateandfinal.PrivateFinal
 
say(String) - Method in class samples.privateandfinal.PrivateFinalOverload
 
say(String) - Method in class samples.privatemocking.PrivateMethodDemo
 
say(String) - Static method in class samples.singleton.SimpleStaticService
 
say(String) - Static method in class samples.singleton.StaticService
 
say(String, String) - Method in class samples.privateandfinal.PrivateFinalOverload
 
sayFinal(String) - Static method in class samples.singleton.StaticService
 
sayFinalNative(String) - Method in class samples.finalmocking.FinalDemo
 
sayFinalNative(String) - Static method in class samples.singleton.StaticService
 
sayHello() - Static method in class samples.singleton.StaticService
 
sayHello(Integer) - Static method in class samples.singleton.StaticService
 
sayHello(String) - Static method in class samples.singleton.StaticService
 
sayHelloAgain() - Static method in class samples.singleton.StaticHelper
 
sayHelloAgain() - Static method in class samples.singleton.StaticService
 
sayHelloHelper() - Static method in class samples.singleton.StaticHelper
 
sayIt() - Method in class samples.privatemocking.PrivateMethodDemo
 
sayIt(String) - Method in class samples.privateandfinal.PrivateFinal
 
sayIt(String) - Method in class samples.privatemocking.PrivateMethodDemo
 
sayIt(String, String, String) - Method in class samples.privatemocking.PrivateMethodDemo
 
sayNative(String) - Static method in class samples.singleton.StaticService
 
sayPrivateFinalStatic(String) - Static method in class samples.singleton.StaticService
 
sayPrivateNativeFinalStatic(String) - Static method in class samples.singleton.StaticService
 
sayPrivateStatic(String) - Static method in class samples.singleton.StaticService
 
sayYear(String, int) - Method in class samples.privatemocking.PrivateMethodDemo
 
scan(Object) - Method in class org.powermock.api.extension.listener.AnnotationMockScanner
 
secret - Variable in class samples.constructorargs.ConstructorArgsDemo
 
secret - Variable in class samples.singleton.StaticService
 
sendQuitTo(int) - Static method in class sun.tools.attach.BsdVirtualMachine
 
sendQuitTo(int) - Static method in class sun.tools.attach.LinuxVirtualMachine
 
sendQuitToChildrenOf(int) - Static method in class sun.tools.attach.LinuxVirtualMachine
 
serialVersionUID - Static variable in exception class com.sun.tools.attach.AgentInitializationException
 
serialVersionUID - Static variable in exception class com.sun.tools.attach.AgentLoadException
 
serialVersionUID - Static variable in exception class com.sun.tools.attach.AttachNotSupportedException
 
serialVersionUID - Static variable in exception class org.powermock.reflect.exceptions.ConstructorNotFoundException
 
serialVersionUID - Static variable in exception class org.powermock.reflect.exceptions.FieldNotFoundException
 
serialVersionUID - Static variable in exception class org.powermock.reflect.exceptions.MethodInvocationException
 
serialVersionUID - Static variable in exception class org.powermock.reflect.exceptions.MethodNotFoundException
 
serialVersionUID - Static variable in exception class org.powermock.reflect.exceptions.TooManyConstructorsFoundException
 
serialVersionUID - Static variable in exception class org.powermock.reflect.exceptions.TooManyFieldsFoundException
 
serialVersionUID - Static variable in exception class org.powermock.reflect.exceptions.TooManyMethodsFoundException
 
serialVersionUID - Static variable in class samples.swing.SimpleSwingDemo
 
service - Variable in class samples.annotationbased.AnnotationDemo
 
service - Variable in class samples.anonymousmocking.StupidAnonymous
 
service - Variable in class samples.constructor.PublicConstructorWithDependencyDemo
 
service - Variable in class samples.expectnew.ExpectNewServiceUser
 
service - Variable in class samples.expectnew.ExpectNewWithMultipleCtorDemo
 
service - Variable in class samples.privatefield.MockSelfPrivateFieldServiceClass
 
service - Variable in class samples.privatefield.SimplePrivateFieldServiceClass
 
Service - Interface in samples
A very simple service interface used as a dependency for various classes to demonstrate different kinds of mocking.
services - Variable in class samples.expectnew.VarArgsConstructorDemo
 
set(JavaAgentClassRegister) - Method in class org.powermock.api.extension.agent.JavaAgentFrameworkRegisterImpl
 
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
 
setClassesToTransform(Collection<String>) - Method in class org.powermock.modules.agent.PowerMockClassTransformer
 
setConfigurationFactory(ConfigurationFactory) - Static method in class org.powermock.configuration.GlobalConfiguration
 
setField(Object, Object, Field) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Sets the field.
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.
setFieldUsingUnsafe(Object, Class, long, Object, Unsafe) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
 
setFieldUsingUnsafe(Field, Object, Object) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
 
setFinalDemo(FinalDemo) - Method in class samples.injectmocks.DependencyHolder
 
setFinalDemo(FinalDemo) - Method in class samples.injectmocks.DependencyHolderQualifier
 
setFinalDemoQualifier(FinalDemo) - Method in class samples.injectmocks.DependencyHolderQualifier
 
setFlag(String, String) - Method in class sun.tools.attach.HotSpotVirtualMachine
 
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
 
setInjectDemo(InjectDemo) - Method in class samples.injectmocks.InjectDependencyHolder
 
setInjectDemo(InjectDemo) - Method in class samples.injectmocks.InjectDependencyHolderQualifier
 
setInjectDemoQualifier(InjectDemo) - Method in class samples.injectmocks.InjectDependencyHolderQualifier
 
setInternalState(Object, Class<?>, Object) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Set the value of a field using reflection.
setInternalState(Object, Class<?>, Object) - Static method in class org.powermock.reflect.Whitebox
Set the value of a field using reflection.
setInternalState(Object, Class<?>, Object, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Set the value of a field using reflection at a specific location ( where) in the class hierarchy.
setInternalState(Object, Class<?>, Object, Class<?>) - Static method in class org.powermock.reflect.Whitebox
Set the value of a field using reflection at a specific location ( where) in the class hierarchy.
setInternalState(Object, Object, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Set the value of a field using reflection at at specific place in the class hierarchy (where).
setInternalState(Object, Object, Class<?>) - Static method in class org.powermock.reflect.Whitebox
Set the value of a field using reflection at at specific place in the class hierarchy (where).
setInternalState(Object, Object, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Set the value of a field using reflection.
setInternalState(Object, Object, Object...) - Static method in class org.powermock.reflect.Whitebox
Set the value of a field using reflection.
setInternalState(Object, String, Object) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Set the value of a field using reflection.
setInternalState(Object, String, Object) - Static method in class org.powermock.reflect.Whitebox
Set the value of a field using reflection.
setInternalState(Object, String, Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Set the value of a field using reflection.
setInternalState(Object, String, Object[]) - Static method in class org.powermock.reflect.Whitebox
Set an array value of a field using reflection.
setInternalState(Object, String, Object, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Set the value of a field using reflection.
setInternalState(Object, String, Object, Class<?>) - Static method in class org.powermock.reflect.Whitebox
Set the value of a field using reflection.
setInternalStateFromContext(Object, Class<?>, Class<?>[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Set the values of multiple static fields defined in a context using reflection.
setInternalStateFromContext(Object, Class<?>, Class<?>...) - Static method in class org.powermock.reflect.Whitebox
Set the values of multiple static fields defined in a context using reflection.
setInternalStateFromContext(Object, Class<?>, FieldMatchingStrategy) - Static method in class org.powermock.reflect.Whitebox
Set the values of multiple static fields defined in a context using reflection and using an explicit FieldMatchingStrategy.
setInternalStateFromContext(Object, Object, Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Set the values of multiple instance fields defined in a context using reflection.
setInternalStateFromContext(Object, Object, Object...) - Static method in class org.powermock.reflect.Whitebox
Set the values of multiple instance fields defined in a context using reflection.
setInternalStateFromContext(Object, Object, FieldMatchingStrategy) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
 
setInternalStateFromContext(Object, Object, FieldMatchingStrategy) - Static method in class org.powermock.reflect.Whitebox
Set the values of multiple instance fields defined in a context using reflection and using an explicit FieldMatchingStrategy.
setInvocationHandler(Object) - Method in class org.powermock.modules.testng.internal.TestClassInstanceFactory
 
setJavaAgentClassRegister(JavaAgentClassRegister) - Method in class org.powermock.modules.agent.PowerMockClassTransformer
 
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.
setMock(Object) - Method in class org.powermock.api.extension.listener.AnnotationMockMetadata
 
setMock(Object) - Method in interface org.powermock.api.extension.listener.MockMetadata
 
setMockMakerClass(String) - Method in class org.powermock.configuration.MockitoConfiguration
 
setMockTransformerChain(MockTransformerChain) - Method in class org.powermock.core.classloader.MockClassLoader
 
setPackagesToIgnore(List<String>) - Method in class org.powermock.modules.agent.AbstractClassTransformer
 
setParameterTypes(Class<?>[]) - Method in class org.powermock.api.mockito.expectation.DefaultConstructorExpectationSetup
 
setPotentialConstructor(Constructor) - Method in class org.powermock.reflect.internal.ConstructorFinder
 
setService(Service) - Method in class samples.anonymousmocking.StupidAnonymous
 
setStaticFieldUsingUnsafe(Field, Object) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
 
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
 
setupExpectation() - Method in class org.powermock.api.mockito.expectation.ConstructorAwareExpectationSetup
 
setValue(int) - Method in class samples.classhierarchy.Parent
 
setValue(V) - Method in class org.powermock.core.ListMap.SimpleEntry
 
SHORT - Enum constant in enum org.powermock.core.bytebuddy.PrimitiveBoxing
 
shouldDefer(String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
 
shouldDefer(String) - Method in class org.powermock.core.classloader.MockClassLoaderConfiguration
 
shouldDefer(String[], String) - Method in class org.powermock.core.classloader.MockClassLoaderConfiguration
 
shouldExecuteTestForMethod(Class<?>, Method) - Method in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl
 
shouldExecuteTestForMethod(Class<?>, Method) - Method in class org.powermock.modules.junit4.rule.PowerMockRuleTestSuiteChunker
 
shouldExecuteTestForMethod(Class<?>, Method) - Method in interface org.powermock.tests.utils.TestSuiteChunker
Should reflect whether or not this method is eligible for testing.
shouldIgnore(String) - Method in class org.powermock.core.classloader.MockClassLoaderConfiguration
 
shouldIgnore(String) - Method in class org.powermock.modules.agent.AbstractClassTransformer
 
shouldIgnore(String[], String) - Method in class org.powermock.core.classloader.MockClassLoaderConfiguration
 
shouldLoadUnmodifiedClass(String) - Method in class org.powermock.core.classloader.MockClassLoaderConfiguration
 
shouldLoadWithMockClassloaderWithoutModifications(String) - Method in class org.powermock.core.classloader.MockClassLoaderConfiguration
 
shouldMockClass(String) - Method in class org.powermock.core.classloader.MockClassLoaderConfiguration
 
shouldMockMethod(String, Class<?>[]) - Static method in class org.powermock.core.MockGateway
 
shouldMockThisCall() - Static method in class org.powermock.core.MockGateway
 
shouldModify(String) - Method in class org.powermock.core.classloader.MockClassLoaderConfiguration
 
shouldModifyAll() - Method in class org.powermock.core.classloader.MockClassLoaderConfiguration
 
shouldModifyClass(String) - Method in class org.powermock.core.classloader.MockClassLoaderConfiguration
 
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
 
showDialog() - Method in class samples.powermockignore.PowerMockIgnoreDemo
 
shuffleCollection(List<?>) - Method in class samples.system.SystemClassUser
 
sig - Variable in class org.powermock.core.MockInvocation
 
signature - Variable in class org.powermock.core.bytebuddy.MaxLocalsExtractor.MaxLocalsMethodVisitor
 
signatureFor(CtMethod) - Method in class org.powermock.core.transformers.MethodSignatures.JavassistMethodSignatureWriterWriter
 
signatureFor(MethodDescription) - Method in class org.powermock.core.transformers.MethodSignatures.ByteBuddyMethodSignatureWriterWriter
 
signatureFor(T) - Method in interface org.powermock.core.transformers.MethodSignatureWriter
 
signatureForReflection(Method) - Method in class org.powermock.core.transformers.MethodSignatures.ByteBuddyMethodSignatureWriterWriter
 
signatureForReflection(Method) - Method in class org.powermock.core.transformers.MethodSignatures.JavassistMethodSignatureWriterWriter
 
signatureForReflection(Method) - Method in interface org.powermock.core.transformers.MethodSignatureWriter
 
signatureOf(Method) - Method in class org.powermock.core.transformers.TestClassTransformer
 
signatureOf(M) - Method in class org.powermock.core.transformers.TestClassTransformer
 
sigquit(int) - Static method in class sun.tools.attach.SolarisVirtualMachine
 
SimpleClassWithADependency - Class in samples.mockpolicy
 
SimpleClassWithADependency() - Constructor for class samples.mockpolicy.SimpleClassWithADependency
 
SimpleEntry(K, V) - Constructor for class org.powermock.core.ListMap.SimpleEntry
 
SimpleFramework - Class in samples.mockpolicy.frameworkexample
 
SimpleFramework() - Constructor for class samples.mockpolicy.frameworkexample.SimpleFramework
 
SimpleFrameworkUser - Class in samples.mockpolicy.frameworkexample
 
SimpleFrameworkUser() - Constructor for class samples.mockpolicy.frameworkexample.SimpleFrameworkUser
 
simpleMix() - Method in class samples.finalmocking.FinalDemo
 
SimpleMix - Class in samples.simplemix
This class is used to demonstrate features such as static, final and partial mocking as well as access internal state.
SimpleMix() - Constructor for class samples.simplemix.SimpleMix
 
SimpleMixCollaborator - Class in samples.simplemix
 
SimpleMixCollaborator() - Constructor for class samples.simplemix.SimpleMixCollaborator
 
SimpleMixConstruction - Class in samples.simplemix
 
SimpleMixConstruction() - Constructor for class samples.simplemix.SimpleMixConstruction
 
SimpleMixUtilities - Class in samples.simplemix
 
SimpleMixUtilities() - Constructor for class samples.simplemix.SimpleMixUtilities
 
simpleMultipleNew() - Method in class samples.expectnew.ExpectNewDemo
 
simpleMultipleNewPrivate() - Method in class samples.expectnew.ExpectNewDemo
 
SimplePrivateFieldServiceClass - Class in samples.privatefield
A class that uses a private Service field and no setter.
SimplePrivateFieldServiceClass() - Constructor for class samples.privatefield.SimplePrivateFieldServiceClass
 
simpleReturnExample - Variable in class samples.simplereturn.SimpleReturnExampleUser
 
simpleReturnExample() - Method in class samples.finalmocking.FinalDemo
 
SimpleReturnExample - Class in samples.simplereturn
 
SimpleReturnExample() - Constructor for class samples.simplereturn.SimpleReturnExample
 
SimpleReturnExampleUser - Class in samples.simplereturn
 
SimpleReturnExampleUser(SimpleReturnExample) - Constructor for class samples.simplereturn.SimpleReturnExampleUser
 
simpleSingleNew() - Method in class samples.expectnew.ExpectNewDemo
 
SimpleStaticInitializerExample - Class in samples.staticinitializer
 
SimpleStaticInitializerExample() - Constructor for class samples.staticinitializer.SimpleStaticInitializerExample
 
SimpleStaticService - Class in samples.singleton
 
SimpleStaticService() - Constructor for class samples.singleton.SimpleStaticService
 
SimpleSwingDemo - Class in samples.swing
A basic swing application example.
SimpleSwingDemo() - Constructor for class samples.swing.SimpleSwingDemo
 
simpleThing - Variable in class samples.rule.ThingToTest
 
SimpleThing - Interface in samples.rule
 
SimpleThingCreator - Class in samples.rule
 
SimpleThingCreator() - Constructor for class samples.rule.SimpleThingCreator
 
SimpleThingImpl - Class in samples.rule
 
SimpleThingImpl() - Constructor for class samples.rule.SimpleThingImpl
 
SimpleVarArgsConstructorDemo - Class in samples.expectnew
 
SimpleVarArgsConstructorDemo(byte[]...) - Constructor for class samples.expectnew.SimpleVarArgsConstructorDemo
 
SinceJUnit_4_5() - Constructor for class org.powermock.modules.junit4.PowerMockRunnerDelegate.SinceJUnit_4_5
 
SingleClassloaderExecutor - Class in org.powermock.classloading
 
SingleClassloaderExecutor(ClassLoader) - Constructor for class org.powermock.classloading.SingleClassloaderExecutor
 
size - Variable in enum org.powermock.core.bytebuddy.PrimitiveBoxing
 
size() - Method in class org.powermock.core.IdentityHashSet
 
size() - Method in class org.powermock.core.ListMap
 
Slf4jMockPolicy - Class in org.powermock.api.easymock.mockpolicies
An slf4j mock policy.
Slf4jMockPolicy - Class in org.powermock.api.mockito.mockpolicies
Sfl4j mock policy that injects a Mockito-created mock to be returned on calls to getLogger factory methods.
Slf4jMockPolicy() - Constructor for class org.powermock.api.easymock.mockpolicies.Slf4jMockPolicy
 
Slf4jMockPolicy() - Constructor for class org.powermock.api.mockito.mockpolicies.Slf4jMockPolicy
 
socket() - Static method in class sun.tools.attach.BsdVirtualMachine
 
socket() - Static method in class sun.tools.attach.LinuxVirtualMachine
 
SocketInputStream(int) - Constructor for class sun.tools.attach.BsdVirtualMachine.SocketInputStream
 
SocketInputStream(int) - Constructor for class sun.tools.attach.LinuxVirtualMachine.SocketInputStream
 
SocketInputStream(int) - Constructor for class sun.tools.attach.SolarisVirtualMachine.SocketInputStream
 
SolarisVirtualMachine - Class in sun.tools.attach
 
SolarisVirtualMachine(AttachProvider, String) - Constructor for class sun.tools.attach.SolarisVirtualMachine
Attaches to the target VM
SolarisVirtualMachine.SocketInputStream - Class in sun.tools.attach
 
SOME_ENUM_VALUE - Enum constant in enum samples.enummocking.EnumWithConstructor
 
SomeClassWithAMethod - Class in samples.mockpolicy
 
SomeClassWithAMethod() - Constructor for class samples.mockpolicy.SomeClassWithAMethod
 
SomeClassWithAMethodParent - Class in samples.mockpolicy
 
SomeClassWithAMethodParent() - Constructor for class samples.mockpolicy.SomeClassWithAMethodParent
 
SomeDependency - Class in samples.newmocking
 
SomeDependency() - Constructor for class samples.newmocking.SomeDependency
 
SomeObjectInterface - Interface in samples.enummocking
 
SomeObjectInterfaceImpl - Class in samples.enummocking
 
SomeObjectInterfaceImpl() - Constructor for class samples.enummocking.SomeObjectInterfaceImpl
 
something() - Method in class samples.suppresseverything.SuppressEverything
 
somethingElse() - Method in class samples.suppresseverything.SuppressEverything
 
sort(Sorter) - Method in class org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner
 
sort(Sorter) - Method in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl
 
sort(Sorter) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
specificClassesToLoadButNotModify - Variable in class org.powermock.core.classloader.MockClassLoaderConfiguration
 
spy(Class<T>) - Static method in class org.powermock.api.mockito.PowerMockito
Spy on classes (not "spyable" from normal Mockito).
spy(T) - Method in class org.powermock.api.mockito.internal.PowerMockitoCore
 
spy(T) - Static method in class org.powermock.api.mockito.PowerMockito
Spy on objects that are final or otherwise not "spyable" from normal Mockito.
SpyObject - Class in samples.spy
 
SpyObject() - Constructor for class samples.spy.SpyObject
 
stack - Variable in class org.powermock.core.bytebuddy.Frame
 
stackSize - Variable in class org.powermock.core.bytebuddy.Frame.LocalVariable
 
StackTraceCleanerProvider - Class in org.powermock.api.mockito.internal.exceptions
 
StackTraceCleanerProvider() - Constructor for class org.powermock.api.mockito.internal.exceptions.StackTraceCleanerProvider
 
START_FIRES_FIRST - Enum constant in enum org.powermock.modules.junit4.internal.impl.NotificationBuilder.DetectedTestRunBehaviour
 
state - Variable in class samples.constructor.PrivateConstructorInstantiationDemo
 
state - Static variable in class samples.partialmocking.MockWithStaticStateDemo
 
staticAndInstanceDemo - Variable in class samples.staticandinstance.StaticAndInstanceWithConstructorCodeDemo
 
StaticAndInstanceDemo - Class in samples.staticandinstance
Demonstrates how to mock both instance and static methods in the same test
StaticAndInstanceDemo() - Constructor for class samples.staticandinstance.StaticAndInstanceDemo
 
StaticAndInstanceMethodWithSameName - Class in samples.overloading
 
StaticAndInstanceMethodWithSameName() - Constructor for class samples.overloading.StaticAndInstanceMethodWithSameName
 
StaticAndInstanceMethodWithSameNameUser - Class in samples.overloading
Demonstrates that PowerMock correctly methods that seam to be overloaded but differ because one is static and one is instance.
StaticAndInstanceMethodWithSameNameUser() - Constructor for class samples.overloading.StaticAndInstanceMethodWithSameNameUser
 
StaticAndInstanceWithConstructorCodeDemo - Class in samples.staticandinstance
The purpose of this class is to be used to verify that the http://code.google.com/p/powermock/issues/detail?id=4 is fixed.
StaticAndInstanceWithConstructorCodeDemo(StaticAndInstanceDemo) - Constructor for class samples.staticandinstance.StaticAndInstanceWithConstructorCodeDemo
 
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
 
StaticExample - Class in samples.singleton
Can be used to assert that partial mocking of static methods works.
StaticExample() - Constructor for class samples.singleton.StaticExample
 
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
 
staticFinalVoidMethod() - Static method in class samples.singleton.StaticExample
 
StaticHelper - Class in samples.singleton
 
StaticHelper() - Constructor for class samples.singleton.StaticHelper
 
StaticHoldingFinalDemo - Class in samples.finalmocking
 
StaticHoldingFinalDemo() - Constructor for class samples.finalmocking.StaticHoldingFinalDemo
 
StaticInitializerExample - Class in samples.staticinitializer
 
StaticInitializerExample() - Constructor for class samples.staticinitializer.StaticInitializerExample
 
staticInitializersToSuppress - Variable in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
 
StaticInnerClassWithConstructorArgument(String) - Constructor for class samples.classwithinnermembers.ClassWithInnerMembers.StaticInnerClassWithConstructorArgument
 
staticMap - Static variable in class samples.fieldmock.FieldInitializerDemo
 
staticMap2 - Static variable in class samples.fieldmock.FieldInitializerDemo
 
staticMethod() - Static method in class samples.annotationbased.AnnotatedClassDemo
 
staticMethod() - Static method in class samples.singleton.StaticWithPrivateCtor
 
staticMethodReturningString() - Static method in class samples.singleton.StaticExample
 
staticMockHandler(Class) - Method in class org.powermock.api.mockito.mockmaker.PowerMockMaker
 
StaticMockHandler(MockCreationSettings<Class>) - Constructor for class org.powermock.api.mockito.mockmaker.PowerMockMaker.StaticMockHandler
 
StaticService - Class in samples.singleton
Test class to demonstrate static, static+final, static+native and static+final+native methods mocking.
StaticService() - Constructor for class samples.singleton.StaticService
 
staticVoidMethod() - Static method in class samples.singleton.StaticExample
 
StaticWithPrivateCtor - Class in samples.singleton
 
StaticWithPrivateCtor() - Constructor for class samples.singleton.StaticWithPrivateCtor
 
store(Variable) - Static method in class org.powermock.core.bytebuddy.Variable.VariableAccess
 
strategy - Variable in class org.powermock.core.transformers.javassist.AbstractJavaAssistMockTransformer
 
strategy - Variable in class org.powermock.core.transformers.javassist.support.PowerMockExpressionEditor
 
StressSample - Class in samples.stress
 
StressSample() - Constructor for class samples.stress.StressSample
 
STRICT - Enum constant in enum org.powermock.reflect.matching.FieldMatchingStrategy
All fields in the context must match exactly the fields in the target instance or class.
StrictDemo - Class in samples.strict
 
StrictDemo() - Constructor for class samples.strict.StrictDemo
 
StrictMockStrategy - Class in org.powermock.api.easymock.internal.mockstrategy.impl
 
StrictMockStrategy() - Constructor for class org.powermock.api.easymock.internal.mockstrategy.impl.StrictMockStrategy
 
string - Static variable in class samples.staticinitializer.SimpleStaticInitializerExample
 
StringJoiner - Class in org.powermock.utils
 
StringJoiner() - Constructor for class org.powermock.utils.StringJoiner
 
strings - Variable in class samples.expectnew.VarArgsConstructorDemo
 
StringWriter - Enum constant in enum org.powermock.configuration.support.ConfigurationMapper.PropertyWriter
 
stub - Static variable in class sun.tools.attach.WindowsVirtualMachine
 
stub(Method) - Static method in class org.powermock.api.support.membermodification.MemberModifier
Add a method that should be intercepted and return another value (i.e.
stubber - Variable in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
Stubber - Class in org.powermock.api.support
 
Stubber() - Constructor for class org.powermock.api.support.Stubber
 
stubbing - Variable in class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing
 
stubMethod(Class<?>, String, Object) - Static method in class org.powermock.api.support.Stubber
Add a method that should be intercepted and return another value ( returnObject) (i.e.
stubMethod(Method, Object) - Static method in class org.powermock.api.support.Stubber
Add a method that should be intercepted and return another value ( returnObject) (i.e.
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.
StupidAnonymous - Class in samples.anonymousmocking
 
StupidAnonymous() - Constructor for class samples.anonymousmocking.StupidAnonymous
 
StupidNew - Class in samples.newmocking
 
StupidNew() - Constructor for class samples.newmocking.StupidNew
 
subsitutionType - Variable in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockNewInvocationControl
 
substitute - Variable in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockNewInvocationControl
 
substitute - Variable in class org.powermock.api.mockito.internal.invocation.MockitoNewInvocationControl
 
substituteKnownProblemTypes(Class<?>) - Static method in class org.powermock.core.DefaultFieldValueGenerator
Substitute class types that are known to cause problems when generating them.
substituteReturnValues - Static variable in class org.powermock.core.MockRepository
Holds info about which methods that should return a substitute/another instance instead of the default instance.
substituteReturnValues - Variable in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
successCount - Variable in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
 
SUCCESSFUL - Enum constant in enum org.powermock.core.spi.testresult.Result
 
suiteChunker - Variable in class org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner
 
suiteClass - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
suiteClassInitiated(Class<?>) - Method in interface org.powermock.core.testlisteners.GlobalNotificationBuildSupport.Callback
 
suiteClassInitiated(Class<?>) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
sun.tools.attach - package sun.tools.attach
 
suppress(AccessibleObject[]) - Static method in class org.powermock.api.support.membermodification.MemberModifier
Suppress an array of accessible objects.
suppress(Constructor<?>) - Static method in class org.powermock.api.support.membermodification.MemberModifier
Suppress a constructor.
suppress(Constructor<?>[]) - Static method in class org.powermock.api.support.membermodification.MemberModifier
Suppress multiple constructors.
suppress(Field) - Static method in class org.powermock.api.support.membermodification.MemberModifier
Suppress a field.
suppress(Field[]) - Static method in class org.powermock.api.support.membermodification.MemberModifier
Suppress multiple fields.
suppress(Method) - Static method in class org.powermock.api.support.membermodification.MemberModifier
Suppress a specific method.
suppress(Method[]) - Static method in class org.powermock.api.support.membermodification.MemberModifier
Suppress multiple methods.
SUPPRESS - Static variable in class org.powermock.core.MockGateway
 
SuppressCode - Class in org.powermock.api.support
 
SuppressCode() - Constructor for class org.powermock.api.support.SuppressCode
 
suppressConstructor - Static variable in class org.powermock.core.MockRepository
Set of constructors that should be suppressed.
suppressConstructor(Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated.
suppressConstructor(Class<?>...) - Static method in class org.powermock.api.support.SuppressCode
Suppress all constructors in the given class and it's super classes.
suppressConstructor(Class<?>, boolean) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated.
suppressConstructor(Class<?>, boolean) - Static method in class org.powermock.api.support.SuppressCode
Suppress all constructors in the given class.
suppressConstructor(Constructor<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated.
suppressConstructor(Constructor<?>...) - Static method in class org.powermock.api.support.SuppressCode
Suppress constructor calls on specific constructors only.
suppressConstructorCall(Class<?>, Object[], Class<?>[]) - Static method in class org.powermock.core.MockGateway
 
SuppressConstructorDemo - Class in samples.suppressconstructor
 
SuppressConstructorDemo(String) - Constructor for class samples.suppressconstructor.SuppressConstructorDemo
 
SuppressConstructorHeirarchyEvilGrandParent - Class in samples.suppressconstructor
 
SuppressConstructorHeirarchyEvilGrandParent() - Constructor for class samples.suppressconstructor.SuppressConstructorHeirarchyEvilGrandParent
 
SuppressConstructorHierarchy - Class in samples.suppressconstructor
 
SuppressConstructorHierarchy(String) - Constructor for class samples.suppressconstructor.SuppressConstructorHierarchy
 
SuppressConstructorHierarchyParent - Class in samples.suppressconstructor
 
SuppressConstructorHierarchyParent() - Constructor for class samples.suppressconstructor.SuppressConstructorHierarchyParent
 
SuppressConstructorHierarchyParent(String) - Constructor for class samples.suppressconstructor.SuppressConstructorHierarchyParent
 
SuppressConstructorSubclassDemo - Class in samples.suppressconstructor
 
SuppressConstructorSubclassDemo(String) - Constructor for class samples.suppressconstructor.SuppressConstructorSubclassDemo
 
SuppressEverything - Class in samples.suppresseverything
 
SuppressEverything() - Constructor for class samples.suppresseverything.SuppressEverything
 
SuppressEverything(String) - Constructor for class samples.suppresseverything.SuppressEverything
 
suppressField - Static variable in class org.powermock.core.MockRepository
Set of methods that should be suppressed.
suppressField(Class<?>[]) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated.
suppressField(Class<?>[]) - Static method in class org.powermock.api.support.SuppressCode
Suppress all fields for these classes.
suppressField(Class<?>, String...) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated.
suppressField(Class<?>, String...) - Static method in class org.powermock.api.support.SuppressCode
Suppress multiple methods for a class.
suppressField(Field...) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated.
suppressField(Field...) - Static method in class org.powermock.api.support.SuppressCode
Suppress specific fields.
SuppressField - Class in samples.suppressfield
 
SuppressField() - Constructor for class samples.suppressfield.SuppressField
 
suppressFieldTypes - Static variable in class org.powermock.core.MockRepository
Set of field types that should always be suppressed regardless of instance.
suppressionExtractor - Variable in class org.powermock.core.classloader.MockClassLoaderFactory
 
suppressMethod - Static variable in class org.powermock.core.MockRepository
Set of methods that should be suppressed.
suppressMethod(Class<?>[]) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated.
suppressMethod(Class<?>[]) - Static method in class org.powermock.api.support.SuppressCode
Suppress all methods for these classes.
suppressMethod(Class<?>, boolean) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated.
suppressMethod(Class<?>, boolean) - Static method in class org.powermock.api.support.SuppressCode
suSuppress all methods for this class.
suppressMethod(Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated.
suppressMethod(Class<?>, Class<?>...) - Static method in class org.powermock.api.support.SuppressCode
Suppress all methods for these classes.
suppressMethod(Class<?>, String[]) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated.
suppressMethod(Class<?>, String[]) - Static method in class org.powermock.api.support.SuppressCode
Suppress multiple methods for a class.
suppressMethod(Class<?>, String, Class<?>[]) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated.
suppressMethod(Class<?>, String, Class<?>[]) - Static method in class org.powermock.api.support.SuppressCode
Suppress a specific method call.
suppressMethod(Class<?>, String, String...) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated.
suppressMethod(Class<?>, String, String...) - Static method in class org.powermock.api.support.SuppressCode
Suppress multiple methods for a class.
suppressMethod(Method...) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated.
suppressMethod(Method...) - Static method in class org.powermock.api.support.SuppressCode
Suppress specific method calls on all types containing this method.
SuppressMethod - Class in samples.suppressmethod
 
SuppressMethod() - Constructor for class samples.suppressmethod.SuppressMethod
 
SuppressMethodExample - Class in samples.suppressmethod
 
SuppressMethodExample() - Constructor for class samples.suppressmethod.SuppressMethodExample
 
SuppressMethodParent - Class in samples.suppressmethod
 
SuppressMethodParent() - Constructor for class samples.suppressmethod.SuppressMethodParent
 
SuppressNonParentConstructorDemo - Class in samples.suppressconstructor
 
SuppressNonParentConstructorDemo(String) - Constructor for class samples.suppressconstructor.SuppressNonParentConstructorDemo
 
suppressSpecificConstructor(Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated.
suppressSpecificConstructor(Class<?>, Class<?>...) - Static method in class org.powermock.api.support.SuppressCode
This method can be used to suppress the code in a specific constructor.
SuppressSpecificConstructorDemo - Class in samples.suppressconstructor
 
SuppressSpecificConstructorDemo() - Constructor for class samples.suppressconstructor.SuppressSpecificConstructorDemo
 
SuppressSpecificConstructorDemo(String) - Constructor for class samples.suppressconstructor.SuppressSpecificConstructorDemo
 
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
 
suppressStaticInitializers - Static variable in class org.powermock.core.MockRepository
Holds info about which class that should have their static initializers suppressed.
SystemClassUser - Class in samples.system
Class used to demonstrate PowerMock's ability to mock system classes.
SystemClassUser() - Constructor for class samples.system.SystemClassUser
 

T

Target - Class in samples.expectnew
 
Target(String, int) - Constructor for class samples.expectnew.Target
 
targetMethodSignature - Variable in class org.powermock.core.transformers.javassist.testclass.FromAllMethodsExceptJavaAssistTestClassTransformer
 
targetName - Variable in class samples.expectnew.Target
 
targetParameters - Variable in class org.powermock.core.bytebuddy.MockGetawayCall.ConstructorMockGetawayCall
 
targetType - Variable in class org.powermock.core.bytebuddy.MockGetawayCall.ConstructorMockGetawayCall
 
targetType - Variable in class org.powermock.core.bytebuddy.MockGetawayCall.ForType
 
test - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner.TestExecutorStatement
 
test(MockTransformer<?>) - Method in interface org.powermock.core.transformers.MockTransformerChain.FilterPredicate
 
TEST_CLASS_FIELD - Static variable in class org.powermock.modules.junit4.internal.impl.testcaseworkaround.PowerMockJUnit4MethodValidator
 
TEST_INSTANCE_CREATED_FIRST - Enum constant in enum org.powermock.modules.junit4.internal.impl.NotificationBuilder.DetectedTestRunBehaviour
 
TEST_INSTANCES_ARE_REUSED - Enum constant in enum org.powermock.modules.junit4.internal.impl.NotificationBuilder.DetectedTestRunBehaviour
 
testAborted(RunNotifier, Description, Throwable) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
testAnnotations(Method) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
testAtDelegateMapper - Variable in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
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
 
testChunks - Variable in class org.powermock.tests.utils.impl.TestCaseEntry
 
testClass - Variable in class org.powermock.core.classloader.MockClassLoaderBuilder
 
testClass - Variable in class org.powermock.core.classloader.MockClassLoaderFactory
 
testClass - Variable in class org.powermock.core.transformers.TestClassTransformer
 
testClass - Variable in class org.powermock.core.transformers.TestClassTransformerBuilder.RemovesTestMethodAnnotation
 
testClass - Variable in class org.powermock.core.transformers.TestClassTransformerBuilder
 
testClass - Variable in class org.powermock.core.transformers.TestClassTransformerBuilder.TestClassTransformerBuilderWithClue
 
testClass - Variable in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestMethodChecker
 
testClass - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
testClass - Variable in class org.powermock.modules.testng.internal.TestClassInstanceFactory
 
testClass - Variable in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
 
testClass - Variable in class org.powermock.tests.utils.impl.TestCaseEntry
 
testClass() - Method in class org.powermock.modules.junit4.internal.impl.NotificationBuilder.OngoingTestRun
 
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.
testClasses - Variable in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
TestClassesExtractor - Interface in org.powermock.tests.utils
 
testClassInitiated(Class<?>) - Static method in class org.powermock.core.testlisteners.GlobalNotificationBuildSupport
 
TestClassInstanceFactory - Class in org.powermock.modules.testng.internal
 
TestClassInstanceFactory(Constructor, TestNGMockClassLoaderFactory, Object...) - Constructor for class org.powermock.modules.testng.internal.TestClassInstanceFactory
 
testClassLoader - Variable in class org.powermock.modules.junit4.internal.impl.DelegatingPowerMockRunner
 
testClassName - Variable in class org.powermock.modules.junit4.internal.impl.DelegatingPowerMockRunner
 
testClassName - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
 
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(Class<?>) - Constructor for class org.powermock.core.transformers.TestClassTransformerBuilder
 
TestClassTransformerBuilder.RemovesTestMethodAnnotation - Class in org.powermock.core.transformers
 
TestClassTransformerBuilder.TestClassTransformerBuilderWithClue - Class in org.powermock.core.transformers
 
TestClassTransformerBuilderWithClue(Class<?>, Method) - Constructor for class org.powermock.core.transformers.TestClassTransformerBuilder.TestClassTransformerBuilderWithClue
 
testCount - Variable in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
 
testCount - Variable in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
 
testCount() - Method in class org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner
 
testDescription - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder.OngoingTestRun
 
TestExecutorStatement(Runnable, Object, Method) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner.TestExecutorStatement
 
testFailure(Failure) - Method in class org.powermock.modules.junit4.common.internal.impl.PowerMockJUnit4RunListener
 
testFinished(Description) - Method in class org.powermock.modules.junit4.common.internal.impl.PowerMockJUnit4RunListener
Performs clean up after each test.
testFinished(Description) - Method in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
 
testIgnored(Description) - Method in class org.powermock.modules.junit4.common.internal.impl.PowerMockJUnit4RunListener
 
testIgnored(Description) - Method in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
 
testInstance - Variable in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
 
testInstance - Variable in class org.powermock.api.extension.listener.TestSubjectInjector
 
testInstance - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder.OngoingTestRun
 
testInstance - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
 
testInstance - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner.TestExecutorStatement
 
testInstanceCreated(Object) - Method in interface org.powermock.core.testlisteners.GlobalNotificationBuildSupport.Callback
 
testInstanceCreated(Object) - Static method in class org.powermock.core.testlisteners.GlobalNotificationBuildSupport
 
testInstanceCreated(Object) - Method in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
 
testInstanceCreated(Object) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
testMethod - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder.OngoingTestRun
 
testMethod - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
 
testMethodAnnotation - Variable in class org.powermock.core.transformers.TestClassTransformerBuilder.RemovesTestMethodAnnotation
 
testMethodAnnotation - Static variable in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl
 
testMethodAnnotation() - Method in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl
 
testMethodAnnotation() - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
testMethodAnnotationType - Variable in class org.powermock.core.transformers.TestClassTransformer
 
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
 
testMethods - Variable in class org.powermock.modules.junit4.internal.impl.DelegatingPowerMockRunner
 
testMethods - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
 
testMethods - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
testMethods - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
testMethodsThatRunOnOtherClassLoaders - Variable in class org.powermock.core.transformers.javassist.testclass.ForMethodsJavaAssistTestClassTransformer
 
testMethodsToBeExecutedByThisClassloader - Variable in class org.powermock.tests.utils.impl.TestChunkImpl
 
testName(Method) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
TestNGMethodFilter - Class in org.powermock.modules.testng.internal
Javassist method filter that ignores the toString, equals, finalize and hashCode method otherwise the test output in Maven looks strange and replayAll/verifyAll doesn't work as expected.
TestNGMethodFilter() - Constructor for class org.powermock.modules.testng.internal.TestNGMethodFilter
 
TestNGMockClassLoaderFactory - Class in org.powermock.modules.testng.internal
 
TestNGMockClassLoaderFactory() - Constructor for class org.powermock.modules.testng.internal.TestNGMockClassLoaderFactory
 
testStartHasBeenFired(Description) - Method in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
 
TestSubjectInjector - Class in org.powermock.api.extension.listener
The class injects mocks created with Mock, Mock to fields of objects which is annotated with TestSubject
TestSubjectInjector(Object, AnnotationGlobalMetadata) - Constructor for class org.powermock.api.extension.listener.TestSubjectInjector
 
TestSubjectInjector.InjectionTarget - Class in org.powermock.api.extension.listener
 
testSubjectSupported - Variable in class org.powermock.api.easymock.EasyMockConfiguration
 
testSuiteCallbacks - Static variable in class org.powermock.core.testlisteners.GlobalNotificationBuildSupport
 
testSuiteChunker - Static variable in class org.powermock.modules.junit4.rule.PowerMockRule
 
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
 
testSuiteStarted(Class<?>) - Method in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
 
then(Answer<?>) - Method in class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing
 
thenAnswer(Answer<?>) - Method in class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing
 
thenCallRealMethod() - Method in class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing
 
thenReturn(T) - Method in class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing
 
thenReturn(T, T...) - Method in class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing
 
thenThrow(Class<? extends Throwable>) - Method in class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing
 
thenThrow(Class<? extends Throwable>, Class<? extends Throwable>[]) - Method in class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing
 
thenThrow(Throwable...) - Method in class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing
 
theSecretIsPrivate() - Method in class samples.constructorargs.ConstructorArgsDemo
 
thing - Variable in class samples.newmocking.SomeDependency
 
ThingToTest - Class in samples.rule
 
ThingToTest() - Constructor for class samples.rule.ThingToTest
 
threadLogger - Static variable in class org.powermock.api.mockito.mockpolicies.Slf4jMockPolicy
 
threadSleep() - Method in class samples.system.SystemClassUser
 
throwAssertionErrorForNewSubstitutionFailure(AssertionError, Class<?>) - Static method in class org.powermock.api.easymock.internal.invocationcontrol.NewInvocationControlAssertionError
 
throwAssertionErrorForNewSubstitutionFailure(AssertionError, Class<?>) - Static method in class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
 
throwException() - Static method in class samples.singleton.StaticService
 
throwException() - Method in class samples.spy.SpyObject
 
throwExceptionAndWrapInRunTimeWhenInvoction() - Method in class samples.expectnew.ExpectNewDemo
The purpose of the method is to demonstrate that a test case can mock the new instance call and throw an exception upon instantiation.
throwExceptionIfConstructorWasNotFound() - Method in class org.powermock.reflect.internal.ConstructorFinder
 
throwExceptionIfConstructorWasNotFound(Class<?>, Constructor<?>, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Throw exception if constructor was not found.
throwExceptionIfFieldWasNotFound(Class<?>, String, Field) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Throw exception if field was not found.
throwExceptionIfMethodWasNotFound(Class<?>, String, Method, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Throw exception if method was not found.
throwExceptionWhenInvoction() - Method in class samples.expectnew.ExpectNewDemo
The purpose of the method is to demonstrate that a test case can mock the new instance call and throw an exception upon instantiation.
throwExceptionWhenMultipleConstructorMatchesFound(Constructor[]) - Method in class org.powermock.reflect.internal.ConstructorFinder
 
throwExceptionWhenMultipleConstructorMatchesFound(Constructor<?>[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Throw exception when multiple constructor matches found.
throwExceptionWhenMultipleMethodMatchesFound(String, Method[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Throw exception when multiple method matches found.
times - Variable in class samples.expectnew.ExpectNewServiceUser
 
times - Variable in class samples.expectnew.ExpectNewWithMultipleCtorDemo
 
timesThree(int) - Method in class samples.partialmocking.MockSelfDemo
 
timesTwo(int) - Method in class samples.partialmocking.MockSelfDemo
 
timesTwo(Integer) - Method in class samples.partialmocking.MockSelfDemo
 
tmpdir - Static variable in class sun.tools.attach.BsdVirtualMachine
 
tmpdir - Static variable in class sun.tools.attach.LinuxVirtualMachine
 
tmpdir - Static variable in class sun.tools.attach.SolarisVirtualMachine
 
toBoxedIfPrimitive(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
 
toFloat(String, float) - Static method in class org.powermock.utils.NumberUtils
 
toFloatVersion(String) - Static method in enum org.powermock.utils.JavaVersion
Parses a float value from a String.
TooManyConstructorsFoundException - Exception Class in org.powermock.reflect.exceptions
A run-time exception that may be thrown to indicate that too many constructors were found.
TooManyConstructorsFoundException(String) - Constructor for exception class org.powermock.reflect.exceptions.TooManyConstructorsFoundException
Constructs a new exception with the specified detail message.
TooManyFieldsFoundException - Exception Class in org.powermock.reflect.exceptions
A run-time exception that may be thrown to indicate that too many fields were found.
TooManyFieldsFoundException(String) - Constructor for exception class org.powermock.reflect.exceptions.TooManyFieldsFoundException
Constructs a new exception with the specified detail message.
TooManyMethodsFoundException - Exception Class in org.powermock.reflect.exceptions
A run-time exception that may be thrown to indicate that too many methods were found.
TooManyMethodsFoundException(String) - Constructor for exception class org.powermock.reflect.exceptions.TooManyMethodsFoundException
Constructs a new exception with the specified detail message.
TOP - Static variable in class org.powermock.core.bytebuddy.Frame.LocalVariable
 
toPrimitiveType(Class<?>[]) - Static method in class org.powermock.reflect.internal.primitivesupport.PrimitiveWrapper
Convert all wrapper types in types to their primitive counter parts.
toReturn(T) - Method in class org.powermock.api.support.membermodification.strategy.impl.MethodStubStrategyImpl
 
toReturn(T) - Method in interface org.powermock.api.support.membermodification.strategy.MethodStubStrategy
Stubs the method to return the specified returnValue.
toSet(Method[]) - Static method in class org.powermock.api.easymock.PowerMock
 
toSet(Method...) - Method in class org.powermock.api.mockito.invocation.MockitoMethodInvocationControl
 
toString() - Method in class com.sun.tools.attach.VirtualMachine
Returns the string representation of the VirtualMachine.
toString() - Method in class com.sun.tools.attach.VirtualMachineDescriptor
Returns the string representation of the VirtualMachineDescriptor.
toString() - Method in class org.powermock.configuration.support.ConfigurationMapper.ConfigurationKey
 
toString() - Method in class org.powermock.configuration.support.PropertiesFinder.ConfigurationSource
 
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.reflect.internal.matcherstrategies.AssignableFromFieldTypeMatcherStrategy
 
toString() - Method in class org.powermock.reflect.internal.matcherstrategies.FieldAnnotationMatcherStrategy
 
toString() - Method in class org.powermock.reflect.internal.matcherstrategies.FieldNameMatcherStrategy
 
toString() - Method in class org.powermock.reflect.internal.matcherstrategies.FieldTypeMatcherStrategy
 
toString() - Method in class org.powermock.tests.utils.impl.TestChunkImpl
 
toString() - Method in enum org.powermock.utils.JavaVersion
The string value is overridden to return the standard name.
totalItems - Variable in class samples.suppressfield.ItemRepository
 
toThrow(Throwable) - Method in class org.powermock.api.support.membermodification.strategy.impl.MethodStubStrategyImpl
 
toThrow(Throwable) - Method in interface org.powermock.api.support.membermodification.strategy.MethodStubStrategy
Stubs the method to throw the specified throwable.
touch() - Method in class samples.partialmocking.PartialMockingWithConstructor
 
transform(ClassLoader, String, Class<?>, ProtectionDomain, byte[]) - Method in class org.powermock.modules.agent.DefinalizingClassTransformer
 
transform(ClassLoader, String, Class<?>, ProtectionDomain, byte[]) - Method in class org.powermock.modules.agent.PowerMockClassTransformer
 
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(CtClass) - Method in class org.powermock.core.transformers.javassist.testclass.JavaAssistTestClassTransformer
 
transform(CtClass) - Method in class org.powermock.modules.agent.PowerMockClassTransformer
 
transform(CtClass[]) - Static method in class org.powermock.core.transformers.javassist.ConstructorsMockTransformer
 
transform(CtClass, String) - Static method in class org.powermock.core.transformers.javassist.PackagePrivateClassesMockTransformer
 
transform(ClassWrapper<CtClass>) - Method in class org.powermock.core.transformers.javassist.AbstractJavaAssistMockTransformer
 
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
 
transformerChainFactory - Variable in class org.powermock.core.classloader.MockClassLoaderBuilder
 
TransformerHelper - Class in org.powermock.core.transformers.javassist.support
 
TransformerHelper() - Constructor for class org.powermock.core.transformers.javassist.support.TransformerHelper
 
transformers - Variable in class org.powermock.core.transformers.support.DefaultMockTransformerChain.MockTransformerChainBuilder
 
transformers - Variable in class org.powermock.core.transformers.support.DefaultMockTransformerChain
 
TransformStrategy - Enum in org.powermock.core.transformers
The enum provide information for MockTransformer have PowerMock is started via Runner(FactoryObject), Rule or JavaAgent
TransformStrategy() - Constructor for enum org.powermock.core.transformers.TransformStrategy
 
tryHandleEqualsMethod(MockInvocation) - Static method in class org.powermock.core.MockGateway
 
type - Variable in class org.powermock.api.extension.listener.AnnotationMockMetadata
 
type - Variable in class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory.AbstractMockTypeValidator
 
type - Variable in class org.powermock.api.mockito.internal.verification.DefaultConstructorArgumentsVerification
 
type - Variable in class org.powermock.core.bytebuddy.Frame.LocalVariable
 
type - Variable in class org.powermock.reflect.internal.ConstructorFinder
 
type - Variable in class org.powermock.reflect.internal.proxy.UnproxiedTypeFactory.UnproxiedTypeImpl
 
type() - Method in class com.sun.tools.attach.spi.AttachProvider
Return this provider's type.
typeDefinitions - Variable in class org.powermock.core.bytebuddy.Variable
 
TypeUtils - Class in org.powermock.reflect.internal
Utilities for types.
TypeUtils() - Constructor for class org.powermock.reflect.internal.TypeUtils
 

U

UNDESIRED_INVOCATION_TEXT - Static variable in class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
 
UNINITIALIZED_THIS - Static variable in class org.powermock.core.bytebuddy.Frame.LocalVariable
 
unmockedType - Variable in class org.powermock.reflect.internal.ConstructorFinder
 
UNPROXIED_TYPE_FACTORY - Static variable in class org.powermock.reflect.internal.proxy.ProxyFrameworks
 
UnproxiedType - Interface in org.powermock.reflect.internal.proxy
 
UnproxiedTypeFactory - Class in org.powermock.reflect.internal.proxy
 
UnproxiedTypeFactory() - Constructor for class org.powermock.reflect.internal.proxy.UnproxiedTypeFactory
 
UnproxiedTypeFactory.UnproxiedTypeImpl - Class in org.powermock.reflect.internal.proxy
 
UnproxiedTypeImpl(Class<?>) - Constructor for class org.powermock.reflect.internal.proxy.UnproxiedTypeFactory.UnproxiedTypeImpl
 
UnproxiedTypeImpl(Class<?>[]) - Constructor for class org.powermock.reflect.internal.proxy.UnproxiedTypeFactory.UnproxiedTypeImpl
 
UnproxiedTypeImpl(Class<?>, Class<?>[]) - Constructor for class org.powermock.reflect.internal.proxy.UnproxiedTypeFactory.UnproxiedTypeImpl
 
unqualifiedInjections - Variable in class org.powermock.api.extension.listener.AnnotationGlobalMetadata
 
unsupportedMethodArgs - Static variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
 
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
 
updateClassLoaderConfiguration(MockClassLoaderConfiguration) - Method in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
 
updatedIndexes() - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
updateErrorMessageForMethodInvocation(AssertionError) - Static method in class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
 
updateErrorMessageForVerifyNoMoreInteractions(AssertionError) - Static method in class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
 
useClassPathAdjuster - Variable in class org.powermock.core.classloader.javassist.ClassPoolFactory
 
useClassPathAdjuster - Variable in class org.powermock.core.classloader.MockClassLoaderBuilder
 
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.
UseMe - Class in samples.reflection
 
UseMe() - Constructor for class samples.reflection.UseMe
 
UseMeInterface - Interface in samples.reflection
 
usePreparedStatement() - Method in class samples.interfacemethodfinding.InterfaceMethodHierarchyUsage
 
USER_CONFIGURATION - Static variable in class org.powermock.configuration.support.ConfigurationFactoryImpl
 
USER_IGNORED - Variable in class org.powermock.modules.agent.AbstractClassTransformer
 
userConfigurationLocation - Variable in class org.powermock.configuration.support.ConfigurationFactoryImpl
 
useService() - Method in class samples.expectnew.ExpectNewServiceUser
 
useService() - Method in class samples.expectnew.ExpectNewWithMultipleCtorDemo
 
useService() - Method in class samples.privatefield.SimplePrivateFieldServiceClass
 
useThem() - Method in class samples.expectnew.PrimitiveAndWrapperUser
 
useURL(URL) - Method in class samples.system.SystemClassUser
 

V

validate() - Method in interface org.powermock.api.mockito.internal.mockcreation.MockTypeValidator
 
validate() - Method in class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory.AbstractMockTypeValidator
 
validate() - Method in class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory.DefaultMockTypeValidator
 
validate() - Method in class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory.JavaAgentMockTypeValidator
 
validate() - Method in class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory.NullMockTypeValidator
 
validate() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
validateInstanceMethods() - Method in class org.powermock.modules.junit4.internal.impl.testcaseworkaround.PowerMockJUnit4MethodValidator
 
validateTestMethods(Class<? extends Annotation>, boolean) - Method in class org.powermock.modules.junit4.internal.impl.testcaseworkaround.PowerMockJUnit4MethodValidator
This is a rip-off of the MethodValidator.validateInstanceMethods() with the exception that this method also searches for test methods if the class extends TestCase and has methods that starts with test which are not annotated.
validateType(Class<T>, boolean, boolean) - Method in class org.powermock.api.mockito.internal.mockcreation.AbstractMockCreator
 
value - Variable in class org.powermock.core.ListMap.SimpleEntry
 
value - Variable in enum org.powermock.utils.JavaVersion
The float value.
value - Variable in class samples.classhierarchy.Parent
 
value - Variable in class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClassWithConstructorArgument
 
value - Variable in class samples.classwithinnermembers.ClassWithInnerMembers.StaticInnerClassWithConstructorArgument
 
value() - Element in annotation type org.powermock.api.easymock.annotation.Mock
 
value() - Element in annotation type org.powermock.api.easymock.annotation.MockNice
 
value() - Element in annotation type org.powermock.api.easymock.annotation.MockStrict
 
value() - Element in annotation type org.powermock.core.classloader.annotations.MockPolicy
 
value() - Element in annotation type org.powermock.core.classloader.annotations.PowerMockIgnore
 
value() - Element in annotation type org.powermock.core.classloader.annotations.PowerMockListener
 
value() - Element in annotation type org.powermock.core.classloader.annotations.PrepareForTest
 
value() - Element in annotation type org.powermock.core.classloader.annotations.PrepareOnlyThisForTest
 
value() - Element in annotation type org.powermock.core.classloader.annotations.SuppressStaticInitializationFor
 
value() - Element in annotation type org.powermock.core.classloader.annotations.UseClassPathAdjuster
Deprecated.
 
value() - Element in annotation type org.powermock.modules.junit4.PowerMockRunnerDelegate
 
ValueAliases - Class in org.powermock.configuration.support
 
ValueAliases(Map<String, String>) - Constructor for class org.powermock.configuration.support.ValueAliases
 
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.configuration.support.ConfigurationMapper.PropertyWriter
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.
valueOf(String) - Static method in enum org.powermock.modules.junit4.internal.impl.NotificationBuilder.DetectedTestRunBehaviour
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.powermock.reflect.matching.FieldMatchingStrategy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.powermock.utils.JavaVersion
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum samples.enummocking.EnumWithConstructor
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum samples.enummocking.MyEnum
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.configuration.support.ConfigurationMapper.PropertyWriter
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.
values() - Static method in enum org.powermock.modules.junit4.internal.impl.NotificationBuilder.DetectedTestRunBehaviour
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.powermock.reflect.matching.FieldMatchingStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.powermock.utils.JavaVersion
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum samples.enummocking.EnumWithConstructor
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum samples.enummocking.MyEnum
Returns an array containing the constants of this enum type, in the order they are declared.
VarArgsConstructorDemo - Class in samples.expectnew
 
VarArgsConstructorDemo(byte[]...) - Constructor for class samples.expectnew.VarArgsConstructorDemo
 
VarArgsConstructorDemo(float, int...) - Constructor for class samples.expectnew.VarArgsConstructorDemo
 
VarArgsConstructorDemo(String...) - Constructor for class samples.expectnew.VarArgsConstructorDemo
 
VarArgsConstructorDemo(Service...) - Constructor for class samples.expectnew.VarArgsConstructorDemo
 
varArgsMethod(int...) - Method in class samples.privatemocking.PrivateMethodDemo
 
Variable - Class in org.powermock.core.bytebuddy
 
Variable(TypeDescription, int) - Constructor for class org.powermock.core.bytebuddy.Variable
 
Variable.VariableAccess - Class in org.powermock.core.bytebuddy
 
VariableAccess() - Constructor for class org.powermock.core.bytebuddy.Variable.VariableAccess
 
VerificationArguments(Method) - Constructor for class org.powermock.api.mockito.internal.verification.DefaultPrivateMethodVerification.VerificationArguments
 
verify(Object...) - Method in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
 
verify(Object...) - Method in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockNewInvocationControl
 
verify(Object...) - Static method in class org.powermock.api.easymock.PowerMock
Switches the mocks or classes to verify mode.
verify(VerificationMode) - Method in class org.powermock.api.mockito.internal.invocation.MockitoNewInvocationControl
 
verifyAll() - Static method in class org.powermock.api.easymock.PowerMock
Verify all classes and mock objects known by PowerMock.
verifyClass(Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Note: doesn't clear PowerMock state.
verifyInitialization() - Static method in class org.powermock.modules.agent.PowerMockAgent
 
verifyNew(Class<T>) - Static method in class org.powermock.api.mockito.PowerMockito
Verifies certain behavior happened once
verifyNew(Class<T>, VerificationMode) - Method in class org.powermock.api.mockito.internal.PowerMockitoCore
 
verifyNew(Class<T>, VerificationMode) - Static method in class org.powermock.api.mockito.PowerMockito
Verifies certain behavior happened at least once / exact number of times / never.
verifyNoMoreInteractions() - Method in class org.powermock.api.mockito.internal.invocation.MockitoNewInvocationControl
 
verifyNoMoreInteractions() - Method in class org.powermock.api.mockito.invocation.MockitoMethodInvocationControl
 
verifyNoMoreInteractions(Class<?>...) - Static method in class org.powermock.api.mockito.internal.verification.VerifyNoMoreInteractions
 
verifyNoMoreInteractions(Object...) - Static method in class org.powermock.api.mockito.internal.verification.VerifyNoMoreInteractions
 
verifyNoMoreInteractions(Object...) - Static method in class org.powermock.api.mockito.PowerMockito
Checks if any of given mocks (can be both instance and class mocks) has any unverified interaction.
VerifyNoMoreInteractions - Class in org.powermock.api.mockito.internal.verification
Verifies no more interactions, delegates to Mockito if PowerMockito doesn't find a supplied mock.
VerifyNoMoreInteractions() - Constructor for class org.powermock.api.mockito.internal.verification.VerifyNoMoreInteractions
 
verifyPrivate(Class<?>) - Static method in class org.powermock.api.mockito.PowerMockito
Verify a private method invocation for a class.
verifyPrivate(Class<?>, VerificationMode) - Static method in class org.powermock.api.mockito.PowerMockito
Verify a private method invocation for a class with a given verification mode.
verifyPrivate(Object) - Static method in class org.powermock.api.mockito.PowerMockito
Verify a private method invocation for an instance.
verifyPrivate(Object, VerificationMode) - Static method in class org.powermock.api.mockito.PowerMockito
Verify a private method invocation with a given verification mode.
verifyStatic(Class<T>) - Static method in class org.powermock.api.mockito.PowerMockito
Verifies certain behavior of the mockedClass happened once
verifyStatic(Class<T>, VerificationMode) - Static method in class org.powermock.api.mockito.PowerMockito
Verifies certain behavior of the mockedClass happened at least once / exact number of times / never.
verifyZeroInteractions(Object...) - Static method in class org.powermock.api.mockito.PowerMockito
Verifies that no interactions happened on given mocks (can be both instance and class mocks).
version - Variable in class org.powermock.api.mockito.MockitoVersion
 
VersionComparator - Class in org.powermock.modules.junit4.common.internal.impl
This code is copied from http://stackoverflow.com/questions/198431/how-do-you-compare-two-version-strings-in-java
VersionComparator() - Constructor for class org.powermock.modules.junit4.common.internal.impl.VersionComparator
 
VersionTokenizer - Class in org.powermock.modules.junit4.common.internal.impl
This code is copied from http://stackoverflow.com/questions/198431/how-do-you-compare-two-version-strings-in-java
VersionTokenizer(String) - Constructor for class org.powermock.modules.junit4.common.internal.impl.VersionTokenizer
 
VirtualMachine - Class in com.sun.tools.attach
A Java virtual machine.
VirtualMachine(AttachProvider, String) - Constructor for class com.sun.tools.attach.VirtualMachine
Initializes a new instance of this class.
VirtualMachineDescriptor - Class in com.sun.tools.attach
Describes a Java virtual machine.
VirtualMachineDescriptor(AttachProvider, String) - Constructor for class com.sun.tools.attach.VirtualMachineDescriptor
Creates a virtual machine descriptor from the given components.
VirtualMachineDescriptor(AttachProvider, String, String) - Constructor for class com.sun.tools.attach.VirtualMachineDescriptor
Creates a virtual machine descriptor from the given components.
visit(int, int, String, String, String, String[]) - Method in class org.powermock.modules.agent.DefinalizingClassVisitor
 
visitEnd() - Method in class org.powermock.core.bytebuddy.MaxLocalsExtractor.MaxLocalsMethodVisitor
 
visitInnerClass(String, String, String, int) - Method in class org.powermock.modules.agent.DefinalizingClassVisitor
 
visitMaxs(int, int) - Method in class org.powermock.core.bytebuddy.MaxLocalsExtractor.MaxLocalsMethodVisitor
 
visitMethod(int, String, String, String, String[]) - Method in class org.powermock.core.bytebuddy.MaxLocalsExtractor
 
visitMethod(int, String, String, String, String[]) - Method in class org.powermock.modules.agent.DefinalizingClassVisitor
 
VOID - Static variable in class org.powermock.core.transformers.javassist.support.TransformerHelper
 
voidFinalMethod() - Static method in class samples.singleton.StaticExample
 
voidMethod() - Method in class samples.newmocking.MyClass
 
voidMethod() - Static method in class samples.singleton.StaticExample
 

W

when(Class<?>) - Method in interface org.powermock.api.mockito.expectation.PowerMockitoStubber
Allows to choose a static method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
when(Class<?>) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
when(Class<?>, Object...) - Static method in class org.powermock.api.mockito.PowerMockito
Expect calls to private static methods without having to specify the method name.
when(Class<?>, Method) - Static method in class org.powermock.api.mockito.PowerMockito
Expect calls to private static methods.
when(Class<?>, String, Object...) - Static method in class org.powermock.api.mockito.PowerMockito
Expect a static private or inner class method call.
when(Class<T>, Object...) - Method in interface org.powermock.api.mockito.expectation.PowerMockitoStubber
Allows to mock a static private method based on the parameters when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style.
when(Class<T>, Object...) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
when(Class<T>, Method) - Method in interface org.powermock.api.mockito.expectation.PowerMockitoStubber
Allows to mock a static private method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style.
when(Class<T>, Method) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
when(Class<T>, String, Object...) - Method in interface org.powermock.api.mockito.expectation.PowerMockitoStubber
Allows to mock a static private method based on method name and parameters when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style.
when(Class<T>, String, Object...) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
when(Object, Object...) - Static method in class org.powermock.api.mockito.PowerMockito
Expect calls to private methods without having to specify the method name.
when(Object, Method) - Static method in class org.powermock.api.mockito.PowerMockito
Expect calls to private methods.
when(Object, String, Object...) - Static method in class org.powermock.api.mockito.PowerMockito
Expect calls to private methods.
when(T) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
when(T) - Static method in class org.powermock.api.mockito.PowerMockito
Just delegates to the original Mockito.when(Object) method.
when(T, Object...) - Method in interface org.powermock.api.mockito.expectation.PowerMockitoStubber
Allows to mock a private instance method based on the parameters when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style.
when(T, Object...) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
when(T, Method) - Method in interface org.powermock.api.mockito.expectation.PowerMockitoStubber
Allows to mock a private instance method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style.
when(T, Method) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
when(T, String, Object...) - Method in interface org.powermock.api.mockito.expectation.PowerMockitoStubber
Allows to mock a private instance method based on method name and parameters when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style.
when(T, String, Object...) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
whenNew(Class<T>) - Static method in class org.powermock.api.mockito.PowerMockito
Allows specifying expectations on new invocations.
whenNew(Constructor<T>) - Static method in class org.powermock.api.mockito.PowerMockito
Allows specifying expectations on new invocations.
whenNew(String) - Static method in class org.powermock.api.mockito.PowerMockito
Allows specifying expectations on new invocations for private member (inner) classes, local or anonymous classes.
Whitebox - Class in org.powermock.reflect
Various utilities for accessing internals of a class.
Whitebox() - Constructor for class org.powermock.reflect.Whitebox
 
WhiteboxImpl - Class in org.powermock.reflect.internal
Various utilities for accessing internals of a class.
WhiteboxImpl() - Constructor for class org.powermock.reflect.internal.WhiteboxImpl
 
WILDCARD - Static variable in class org.powermock.core.WildcardMatcher
 
WildcardMatcher - Class in org.powermock.core
Wildcard matcher.
WildcardMatcher() - Constructor for class org.powermock.core.WildcardMatcher
 
WindowsVirtualMachine - Class in sun.tools.attach
 
WindowsVirtualMachine(AttachProvider, String) - Constructor for class sun.tools.attach.WindowsVirtualMachine
 
WindowsVirtualMachine.PipedInputStream - Class in sun.tools.attach
 
with(Class<?>) - Method in interface org.powermock.api.support.membermodification.strategy.ClassReplaceStrategy
Replaces all method invocations on class specified class with method invocation to cls.
with(InvocationHandler) - Method in class org.powermock.api.support.membermodification.strategy.impl.MethodReplaceStrategyImpl
 
with(InvocationHandler) - Method in interface org.powermock.api.support.membermodification.strategy.MethodReplaceStrategy
Replaces the method invocation with an invocation handler
with(Method) - Method in class org.powermock.api.support.membermodification.strategy.impl.MethodReplaceStrategyImpl
 
with(Method) - Method in interface org.powermock.api.support.membermodification.strategy.MethodReplaceStrategy
Replaces the method invocation with this method.
withAnyArguments() - Method in class org.powermock.api.mockito.expectation.DefaultConstructorExpectationSetup
 
withAnyArguments() - Method in interface org.powermock.api.mockito.expectation.WithAnyArguments
 
WithAnyArguments<T> - Interface in org.powermock.api.mockito.expectation
 
withArguments(Object, Object...) - Method in class org.powermock.api.mockito.expectation.ConstructorAwareExpectationSetup
 
withArguments(Object, Object...) - Method in class org.powermock.api.mockito.expectation.DefaultConstructorExpectationSetup
 
withArguments(Object, Object...) - Method in interface org.powermock.api.mockito.expectation.PrivatelyExpectedArguments
 
withArguments(Object, Object...) - Method in interface org.powermock.api.mockito.expectation.WithExpectedArguments
 
withArguments(Object, Object...) - Method in class org.powermock.api.mockito.internal.expectation.DefaultMethodExpectationSetup
 
withArguments(Object, Object...) - Method in class org.powermock.api.mockito.internal.expectation.DefaultPrivatelyExpectedArguments
 
withArguments(Object, Object...) - Method in class org.powermock.api.mockito.internal.verification.DefaultConstructorArgumentsVerification
 
withArguments(Object, Object...) - Method in class org.powermock.api.mockito.internal.verification.DefaultPrivateMethodVerification.VerificationArguments
 
withArguments(Object, Object...) - Method in interface org.powermock.api.mockito.verification.ConstructorArgumentsVerification
 
withArguments(Object, Object...) - Method in interface org.powermock.api.mockito.verification.WithVerifiedArguments
 
withArguments(List<Variable>) - Method in class org.powermock.core.bytebuddy.MockGetawayCall.ForType
 
WithArguments(MockGetawayCall.ForType, List<Variable>) - Constructor for class org.powermock.core.bytebuddy.MockGetawayCall.WithArguments
 
withContextClassLoader(ClassLoader, Callable<T>) - Static method in class org.powermock.modules.junit4.internal.impl.DelegatingPowerMockRunner
 
WithExpectedArguments<T> - Interface in org.powermock.api.mockito.expectation
 
WithExpectedParameterTypes<T> - Interface in org.powermock.api.mockito.expectation
 
withNoArguments() - Method in class org.powermock.api.mockito.expectation.ConstructorAwareExpectationSetup
 
withNoArguments() - Method in class org.powermock.api.mockito.expectation.DefaultConstructorExpectationSetup
 
withNoArguments() - Method in interface org.powermock.api.mockito.expectation.PrivatelyExpectedArguments
 
withNoArguments() - Method in interface org.powermock.api.mockito.expectation.WithoutExpectedArguments
 
withNoArguments() - Method in class org.powermock.api.mockito.internal.expectation.DefaultMethodExpectationSetup
 
withNoArguments() - Method in class org.powermock.api.mockito.internal.expectation.DefaultPrivatelyExpectedArguments
 
withNoArguments() - Method in class org.powermock.api.mockito.internal.verification.DefaultConstructorArgumentsVerification
 
withNoArguments() - Method in class org.powermock.api.mockito.internal.verification.DefaultPrivateMethodVerification.VerificationArguments
 
withNoArguments() - Method in interface org.powermock.api.mockito.verification.ConstructorArgumentsVerification
 
withNoArguments() - Method in interface org.powermock.api.mockito.verification.WithoutVerifiedArguments
 
WithOrWithoutExpectedArguments<T> - Interface in org.powermock.api.mockito.expectation
 
WithOrWithoutVerifiedArguments - Interface in org.powermock.api.mockito.verification
 
WithoutExpectedArguments<T> - Interface in org.powermock.api.mockito.expectation
 
WithoutVerifiedArguments - Interface in org.powermock.api.mockito.verification
 
withParameterTypes(Class<?>, Class<?>...) - Method in class org.powermock.api.mockito.expectation.DefaultConstructorExpectationSetup
 
withParameterTypes(Class<?>, Class<?>...) - Method in interface org.powermock.api.mockito.expectation.WithExpectedParameterTypes
 
withParameterTypes(ParameterList<ParameterDescription.InDefinedShape>) - Method in class org.powermock.core.bytebuddy.MockGetawayCall.WithArguments
 
withValueAlias(String, String) - Method in class org.powermock.configuration.support.ConfigurationBuilder
 
WithVerifiedArguments - Interface in org.powermock.api.mockito.verification
 
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
 
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
 
wrapMethod(Method) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
wrappedDefaultRunner - Variable in class org.powermock.modules.junit4.PowerMockRunnerDelegate.DefaultJUnitRunner
 
wrapperFactory - Variable in class org.powermock.modules.agent.PowerMockClassTransformer
 
wrapperType - Variable in enum org.powermock.core.bytebuddy.PrimitiveBoxing
 
write(int, byte[], int, int) - Static method in class sun.tools.attach.BsdVirtualMachine
 
write(int, byte[], int, int) - Static method in class sun.tools.attach.LinuxVirtualMachine
 
writeProperty(PropertyDescriptor, Object, String) - Method in enum org.powermock.configuration.support.ConfigurationMapper.PropertyWriter
 
writeString(int, String) - Method in class sun.tools.attach.BsdVirtualMachine
 
writeString(int, String) - Method in class sun.tools.attach.LinuxVirtualMachine
 
WsUtil - Class in samples.interfacemethodfinding
Dummy class that is used to setup expectations for the InterfaceMethodHierarchyUsage.
WsUtil() - Constructor for class samples.interfacemethodfinding.WsUtil
 

X

xStream - Variable in class org.powermock.classloading.DeepCloner
 

_

_length - Variable in class org.powermock.modules.junit4.common.internal.impl.VersionTokenizer
 
_number - Variable in class org.powermock.modules.junit4.common.internal.impl.VersionTokenizer
 
_position - Variable in class org.powermock.modules.junit4.common.internal.impl.VersionTokenizer
 
_suffix - Variable in class org.powermock.modules.junit4.common.internal.impl.VersionTokenizer
 
_versionString - Variable in class org.powermock.modules.junit4.common.internal.impl.VersionTokenizer
 
A B C D E F G H I J K L M N O P Q R S T U V W X _ 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form