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

A

A(String) - Method in class samples.nice.NiceDemo
 
A - Static variable in interface samples.staticinitializer.InterfaceA
 
a() - Static method in class samples.stress.ClassWithStatic
 
A() - Method in class samples.strict.StrictDemo
 
a1() - Method in class samples.stress.StressSample
 
AbstractClassloaderExecutor - Class in org.powermock.classloading
 
AbstractClassloaderExecutor() - Constructor for class org.powermock.classloading.AbstractClassloaderExecutor
 
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
 
AbstractMainMockTransformer - Class in org.powermock.core.transformers.impl
 
AbstractMainMockTransformer(TransformStrategy) - Constructor for class org.powermock.core.transformers.impl.AbstractMainMockTransformer
 
AbstractMainMockTransformer.PowerMockExpressionEditor - Class in org.powermock.core.transformers.impl
 
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
 
AbstractMockingFrameworkReporterFactory - Class in org.powermock.api.extension.reporter
Abstract implementation of the MockingFrameworkReporterFactory, contains common code for EasyMock and Mockito.
AbstractMockingFrameworkReporterFactory() - Constructor for class org.powermock.api.extension.reporter.AbstractMockingFrameworkReporterFactory
 
AbstractMockStrategyBase - Class in org.powermock.api.easymock.internal.mockstrategy.impl
Base class that should be used by all mock strategies.
AbstractMockStrategyBase(MocksControl.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(AnnotationMockMetadata) - Method in class org.powermock.api.extension.listener.TestSubjectInjector.InjectionTarget
 
AcrossJVMMockSerializationProxy(Object) - Constructor for class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.AcrossJVMMockSerializationProxy
Creates the wrapper that be used in the serialization stream.
AcrossJVMSerializationFeature - Class in org.powermock.api.mockito.repackaged
This is responsible for serializing a mock, it is enabled if the mock is implementing Serializable.
AcrossJVMSerializationFeature() - Constructor for class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature
 
acrossJVMSerializationFeature - Variable in class org.powermock.api.mockito.repackaged.MethodInterceptorFilter
 
AcrossJVMSerializationFeature.AcrossJVMMockitoMockSerializable - Interface in org.powermock.api.mockito.repackaged
Simple interface that hold a correct writeReplace signature that can be seen by an ObjectOutputStream.
AcrossJVMSerializationFeature.AcrossJVMMockSerializationProxy - Class in org.powermock.api.mockito.repackaged
This is the serialization proxy that will encapsulate the real mock data as a byte array.
AcrossJVMSerializationFeature.MockitoMockObjectInputStream - Class in org.powermock.api.mockito.repackaged
Special Mockito aware ObjectInputStream that will resolve the Mockito proxy class.
AcrossJVMSerializationFeature.MockitoMockObjectOutputStream - Class in org.powermock.api.mockito.repackaged
Special Mockito aware ObjectOutputStream.
actualParameterTypes - Variable in class org.powermock.reflect.internal.ParameterTypesMatcher
 
add(List<AnnotationMockMetadata>) - Method in class org.powermock.api.extension.listener.AnnotationGlobalMetadata
 
add(AnnotationMockMetadata) - Method in class org.powermock.api.extension.listener.AnnotationGlobalMetadata
 
add(E) - Method in class org.powermock.core.IdentityHashSet
 
addAfterMethodRunner(Runnable) - Static method in class org.powermock.core.MockRepository
Add a Runnable that will be executed after each test
addAll(T[], T[]) - Static method in class org.powermock.utils.ArrayUtil
 
addAnswersForStubbing(MockitoMethodInvocationControl) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
addClassesToModify(String...) - Method in class org.powermock.core.classloader.MockClassLoader
Add classes that will be loaded by the mock classloader, i.e.
addClassesToModify(String[]) - Method in class org.powermock.core.classloader.MockClassLoaderBuilder
 
addClassHierarchy(Set<String>, Class<?>) - Method in class org.powermock.tests.utils.impl.PrepareForTestExtractorImpl
 
addClassInitializerNotification(CtClass) - Method in class org.powermock.core.transformers.impl.TestClassTransformer
 
addConstructorNotification(CtClass) - Method in class org.powermock.core.transformers.impl.TestClassTransformer
 
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.
addFieldToSuppress(Field) - Static method in class org.powermock.core.MockRepository
Add a field to suppress.
addFieldToSuppress(Field, Field...) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
addFieldToSuppress(Field[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
addFieldToSuppress(Field, Field...) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
Add specific fields that should be suppressed upon invocation.
addFieldToSuppress(Field[]) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
Add specific fields that should be suppressed upon invocation.
addFieldTypesToSuppress(String, String...) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
addFieldTypesToSuppress(String[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
addFieldTypesToSuppress(String, String...) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
Add field types that should be suppressed.
addFieldTypesToSuppress(String[]) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
Add field types that should be suppressed.
addFieldTypeToSuppress(String) - Static method in class org.powermock.core.MockRepository
Add a field type to suppress.
addFirstListener(RunListener) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
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
 
addFullyQualifiedNames(Set<String>, String[]) - Method in class org.powermock.tests.utils.impl.PrepareForTestExtractorImpl
 
addFullyQualifiedNamesOfClassesToLoadByMockClassloader(String, String...) - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
 
addFullyQualifiedNamesOfClassesToLoadByMockClassloader(String[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
 
addFullyQualifiedNamesOfClassesToLoadByMockClassloader(String, String...) - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
Add types that should be loaded (and possibly modified) by the mock classloader.
addFullyQualifiedNamesOfClassesToLoadByMockClassloader(String[]) - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
Add types that should be loaded (and possibly modified) by the mock classloader.
addIgnorePackage(String...) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
 
addIgnorePackage(String[]) - Method in class org.powermock.core.classloader.MockClassLoaderBuilder
 
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.impl.TestClassTransformer
 
addListener(RunListener) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
addMethodsToSuppress(Method, Method...) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
addMethodsToSuppress(Method[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
addMethodsToSuppress(Method, Method...) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
Add methods to suppress upon invocation.
addMethodsToSuppress(Method[]) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
Add methods to suppress upon invocation.
addMethodToSuppress(Method) - Static method in class org.powermock.core.MockRepository
Add a method to suppress.
addMockTransformerChain(List<MockTransformer>) - Method in class org.powermock.core.classloader.MockClassLoaderBuilder
 
addNewDeferConstructor(CtClass) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer.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.
addOtherElementToBeReturned(List<Object>, Object[]) - Method in class org.powermock.api.mockito.internal.stubbing.answers.ChainReturns
 
addStaticInitializersToSuppress(String, String...) - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
 
addStaticInitializersToSuppress(String[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
 
addStaticInitializersToSuppress(String, String...) - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
Add static initializers to suppress.
addStaticInitializersToSuppress(String[]) - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
Add static initializers to suppress.
addSubtituteReturnValue(Method, Object) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
addSubtituteReturnValue(Method, Object) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
addSuppressStaticInitializer(String) - Static method in class org.powermock.core.MockRepository
Add a fully qualified class name for a class that should have its static initializers suppressed.
addTestCase(Set<String>, AnnotatedElement) - Method in class org.powermock.tests.utils.impl.PrepareForTestExtractorImpl
 
adjustClassPath(ClassPool) - Method in interface org.powermock.core.classloader.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
 
AllFieldsMatcherStrategy - Class in org.powermock.reflect.internal.matcherstrategies
 
AllFieldsMatcherStrategy() - Constructor for class org.powermock.reflect.internal.matcherstrategies.AllFieldsMatcherStrategy
 
allowMockingOfPackagePrivateClasses(CtClass) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
 
allowMockingOfStaticAndFinalAndNativeMethods(CtClass) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
 
alternativePath() - Method in class samples.expectnew.ExpectNewDemo
 
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.
annotateClass(Class<?>) - Method in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.MockitoMockObjectOutputStream
Annotates (marks) the class if this class is a Mockito mock.
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(Service) - Constructor for class samples.annotationbased.AnnotationDemo
 
AnnotationDemo() - Constructor for class samples.annotationbased.AnnotationDemo
 
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() - Constructor for class org.powermock.api.easymock.powermocklistener.AnnotationEnabler
Deprecated.
 
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.extension.listener
Before each test method all fields annotated with Mock, Mock or Mock have mock objects created for them and injected to the fields.
AnnotationEnabler() - Constructor for class org.powermock.api.extension.listener.AnnotationEnabler
 
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.mockito.powermocklistener.AnnotationEnabler
Deprecated.
 
annotationEnabler - Variable in class org.powermock.modules.testng.internal.PowerMockTestNGMethodHandler
 
annotationEnabler - Variable in class org.powermock.modules.testng.PowerMockTestCase
 
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
 
AnnotationInjectFieldSearcher() - Constructor for class org.powermock.api.extension.listener.EasyMockAnnotationSupport.AnnotationInjectFieldSearcher
 
annotationInstance - Variable in class org.powermock.api.extension.listener.AnnotationMockMetadata
 
AnnotationMockCreator - Interface in org.powermock.api.extension.listener
 
AnnotationMockCreatorFactory - Class in org.powermock.api.extension.listener
 
AnnotationMockCreatorFactory() - Constructor for class org.powermock.api.extension.listener.AnnotationMockCreatorFactory
 
annotationMockCreatorFactory - Variable in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
 
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.answers.ChainReturns
 
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
 
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
 
applyClassLoadingPolicy(MockPolicyClassLoadingSettings) - Method in class org.powermock.api.easymock.mockpolicies.AbstractEasyMockLogPolicyBase
Apply all class-loading related policies that must be present before the interception policies can take place.
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
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.
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
 
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.internal.expectation.DefaultConstructorExpectationSetup
 
ArrayMerger - Interface in org.powermock.tests.utils
An array merger concatenates several arrays to one.
arrayMerger - Variable in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
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
 
asOriginalClass(CtClass) - Method in class org.powermock.core.transformers.impl.TestClassTransformer
 
asOriginalClassParams(CtClass[]) - Method in class org.powermock.core.transformers.impl.TestClassTransformer
 
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
 
assertObjectInGetInternalStateIsNotNull(Object) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Assert object in get internal state is not null.
assertObjectNotNull(Object) - Static method in class org.powermock.classloading.DeepCloner
 
assertParametersTypesNotNull() - Method in class org.powermock.reflect.internal.ParameterTypesMatcher
 
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
 
aVoidMethod() - Static method in class samples.staticandinstance.StaticAndInstanceDemo
 

B

B(String) - Method in class samples.nice.NiceDemo
 
B - Static variable in interface samples.staticinitializer.InterfaceB
 
b() - Static method in class samples.stress.ClassWithStatic
 
B() - Method in class samples.strict.StrictDemo
 
b1() - Method in class samples.stress.StressSample
 
backedMap - Variable in class org.powermock.core.IdentityHashSet
 
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
 
bindMatchers(ArgumentMatcherStorage, Invocation) - Method in class org.powermock.api.mockito.internal.invocation.PowerMockMatchersBinder
 
blockDuplicateQualifiers(String) - Method in class org.powermock.api.extension.listener.AnnotationGlobalMetadata
 
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
 
boxedWrapper - Static variable in class org.powermock.reflect.internal.primitivesupport.BoxedWrapper
 
build() - Method in class org.powermock.core.classloader.MockClassLoaderBuilder
 
byteArrays - Variable in class samples.expectnew.VarArgsConstructorDemo
 

C

C - Static variable in interface samples.staticinitializer.InterfaceC
 
c() - Static method in class samples.stress.ClassWithStatic
 
c1 - Variable in class org.powermock.api.mockito.repackaged.SerializableMockitoMethodProxy
 
c1() - Method in class samples.stress.StressSample
 
c2 - Variable in class org.powermock.api.mockito.repackaged.SerializableMockitoMethodProxy
 
cache(Class<?>) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
Register a class to the cache of this classloader
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
 
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
 
cast(MockHandler) - Method in class org.powermock.api.mockito.repackaged.CglibMockMaker
 
CGLIB_ENHANCER - Static variable in class org.powermock.core.classloader.MockClassLoader
 
CGLIB_METHOD_WRAPPER - Static variable in class org.powermock.core.classloader.MockClassLoader
 
CGLIBHacker - Class in org.powermock.api.mockito.repackaged
 
CGLIBHacker() - Constructor for class org.powermock.api.mockito.repackaged.CGLIBHacker
 
cglibMockMaker - Variable in class org.powermock.api.mockito.internal.mockmaker.PowerMockMaker
 
CglibMockMaker - Class in org.powermock.api.mockito.repackaged
A MockMaker that uses cglib to generate mocks on a JVM.
CglibMockMaker() - Constructor for class org.powermock.api.mockito.repackaged.CglibMockMaker
 
ChainReturns - Class in org.powermock.api.mockito.internal.stubbing.answers
Created by gauee on 12/11/15.
ChainReturns(Object, Object...) - Constructor for class org.powermock.api.mockito.internal.stubbing.answers.ChainReturns
 
changeMessageContent(String) - Static method in class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
 
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.
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
 
classesToLoadByMockClassloader - Variable in class org.powermock.tests.utils.impl.MockClassLoaderFactory
 
classesToModify - Variable in class org.powermock.core.classloader.MockClassLoaderBuilder
 
classFoundInClassloader(Class<?>, ClassLoader) - Method in class org.powermock.api.easymock.PowerMock.EasyMockStateCleaner
 
ClassImposterizer - Class in org.powermock.api.mockito.repackaged
Inspired on jMock (thanks jMock guys!!!)
ClassImposterizer(Instantiator) - Constructor for class org.powermock.api.mockito.repackaged.ClassImposterizer
 
ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug - Class in org.powermock.api.mockito.repackaged
 
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.reflect.proxyframework.ProxyFrameworkHelper
 
classLoader - Variable in class org.powermock.tests.utils.impl.TestChunkImpl
 
ClassloaderExecutor - Interface in org.powermock.classloading
 
classloaderExecutor - Variable in class org.powermock.modules.junit4.rule.PowerMockStatement
 
ClassLoaderFactory - Class in org.powermock.modules.testng.internal
 
ClassLoaderFactory() - Constructor for class org.powermock.modules.testng.internal.ClassLoaderFactory
 
classLoaderFactory - Variable in class org.powermock.modules.testng.internal.PowerMockClassloaderObjectFactory
 
ClassLoaderRegisterProxyFramework - Class in org.powermock.reflect.proxyframework
Class which use specific class loader to register ProxyFramework.
ClassLoaderRegisterProxyFramework() - Constructor for class org.powermock.reflect.proxyframework.ClassLoaderRegisterProxyFramework
 
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
 
ClassLocator - Class in org.powermock.core
 
ClassLocator() - Constructor for class org.powermock.core.ClassLocator
 
classMocks - Static variable in class org.powermock.core.MockRepository
Holds info about general method invocation mocks for classes.
ClassMockTransformer - Class in org.powermock.core.transformers.impl
 
ClassMockTransformer() - Constructor for class org.powermock.core.transformers.impl.ClassMockTransformer
 
ClassMockTransformer(TransformStrategy) - Constructor for class org.powermock.core.transformers.impl.ClassMockTransformer
 
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 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 org.powermock.api.mockito.ClassNotPreparedException
 
ClassPathAdjuster - Interface in org.powermock.core.classloader
This interface can be used to adjust the classpath used by powermock to locate class files.
classPool - Variable in class org.powermock.core.classloader.JavaAssistClassMarkerFactory.InterfaceJavaAssistClassMarker
 
classPool - Variable in class org.powermock.core.classloader.MockClassLoader
 
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
 
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.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
 
ClassWithSuperclassToWorkAroundCglibBug() - Constructor for class org.powermock.api.mockito.repackaged.ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug
 
clazz - Variable in class org.powermock.core.transformers.impl.AbstractMainMockTransformer.PowerMockExpressionEditor
 
clear() - Method in class org.powermock.api.extension.agent.JavaAgentFrameworkRegisterImpl
 
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.
clearConfiguration() - Method in class org.powermock.api.mockito.internal.mockcreation.MockitoStateCleaner
 
clearMockFields() - Method in class org.powermock.modules.testng.internal.PowerMockTestNGMethodHandler
 
clearMockFields() - Method in class org.powermock.modules.testng.PowerMockTestCase
 
clearMockProgress() - Method in class org.powermock.api.mockito.internal.mockcreation.MockitoStateCleaner
 
clearStateFromOtherClassLoaders() - Method in class org.powermock.api.easymock.PowerMock.EasyMockStateCleaner
 
clearThreadLocalIn(Class<?>) - Method in class org.powermock.api.mockito.internal.mockcreation.MockitoStateCleaner
 
clone(T) - Method in class org.powermock.classloading.DeepCloner
Clones an object.
clone(T, boolean) - Method in class org.powermock.classloading.DeepCloner
 
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
 
cloneEnum(ClassLoader, Object) - Method in class org.powermock.classloading.DeepCloner
 
cloneFields(ClassLoader, Class<T>, Object, Object, Map<Object, Object>, boolean) - Method in class org.powermock.classloading.DeepCloner
 
cloneJavaReflectMethod(Object) - Method in class org.powermock.classloading.DeepCloner
 
cloneResult(Object) - Method in class org.powermock.classloading.AbstractClassloaderExecutor
 
close(Closeable) - Method in class org.powermock.classloading.DeepCloner
 
closePendingTestSuites(GlobalNotificationBuildSupport.Callback) - Static method in class org.powermock.core.testlisteners.GlobalNotificationBuildSupport
 
closeTestSuite(Class<?>) - Static method in class org.powermock.core.testlisteners.GlobalNotificationBuildSupport
 
clsMock - Variable in class org.powermock.api.mockito.internal.verification.StaticMockAwareVerificationMode
 
collaborator - Variable in class samples.simplemix.SimpleMix
 
COLON_NEWLINE - Static variable in class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
 
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(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
 
compare(Class[], Class[]) - Method in class org.powermock.reflect.internal.comparator.ComparatorFactory.ParametersComparator
 
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
 
constructor(Class<T>, Class<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Returns a constructor specified in declaringClass.
constructor(Class<T>) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Returns any one constructor specified in declaringClass.
constructor - Variable in class org.powermock.modules.testng.internal.TestClassInstanceFactory
 
ConstructorArgsDemo - Class in samples.constructorargs
 
ConstructorArgsDemo(String) - Constructor for class samples.constructorargs.ConstructorArgsDemo
 
ConstructorArgsDemo() - Constructor for class samples.constructorargs.ConstructorArgsDemo
 
ConstructorArgumentsVerification - Interface in org.powermock.api.mockito.verification
 
ConstructorAwareExpectationSetup<T> - Class in org.powermock.api.mockito.internal.expectation
 
ConstructorAwareExpectationSetup(Constructor<T>) - Constructor for class org.powermock.api.mockito.internal.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
 
ConstructorNotFoundException - Exception 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 org.powermock.reflect.exceptions.ConstructorNotFoundException
Constructs a new exception with the specified detail message.
ConstructorNotFoundException(String, Throwable) - Constructor for exception 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).
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.
copyArgumentsForInnerOrLocalOrAnonymousClass(Object[], 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
 
copyProperty(String, String) - Method in class samples.system.SystemClassUser
 
copyState(Object, Object, FieldMatchingStrategy) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Copy state.
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() - Method in class org.powermock.api.extension.reporter.AbstractMockingFrameworkReporterFactory
 
create() - Static method in class org.powermock.core.agent.JavaAgentFrameworkRegisterFactory
 
create() - Method in interface org.powermock.core.reporter.MockingFrameworkReporterFactory
 
create() - Method in class org.powermock.modules.testng.internal.TestClassInstanceFactory
 
create(ITestContext) - Method in class org.powermock.modules.testng.PowerMockTestCase
 
create() - Method in class org.powermock.tests.utils.impl.MockClassLoaderFactory
 
create() - Method in enum samples.enummocking.EnumWithConstructor
 
createAndPopulateVarArgsArray(Class<?>, int, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Creates the and populate var args array.
createClassLoader(Class<?>) - Method in class org.powermock.modules.testng.internal.ClassLoaderFactory
 
createClassMarker(ClassPool) - Static method in class org.powermock.core.classloader.JavaAssistClassMarkerFactory
 
createClassReplica(Class<?>) - Method in class org.powermock.core.ClassReplicaCreator
 
createConcreteSubClass(Class<?>) - Method in class org.powermock.core.ConcreteClassGenerator
 
createConstructorComparator() - Static method in class org.powermock.reflect.internal.comparator.ComparatorFactory
 
createDeepCloner(ClassLoader) - Method in class org.powermock.classloading.AbstractClassloaderExecutor
 
createDefaultExtraMockTransformers(Class<?>, List<Method>) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
createDefaultMockCreator() - Method in class org.powermock.api.extension.listener.AnnotationMockCreatorFactory
 
createDefaultMockLoader(Class<?>, MockTransformer[], String[]) - 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
 
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.
createMethodComparator() - Static method in class org.powermock.reflect.internal.comparator.ComparatorFactory
 
createMethodInvocationControl(String, Class<T>, Method[], boolean, Object, MockSettings) - Method in class org.powermock.api.mockito.internal.mockcreation.MockCreator
 
createMock(Class<T>, Method...) - Static method in class org.powermock.api.easymock.PowerMock
Creates a mock object that supports mocking of final and native methods.
createMock(Class<T>) - Static method in class org.powermock.api.easymock.PowerMock
Creates a mock object that supports mocking of final and native methods.
createMock(Class<T>, ConstructorArgs, Method...) - Static method in class org.powermock.api.easymock.PowerMock
Creates a mock object that supports mocking of final and native methods and invokes a specific constructor.
createMock(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Creates a mock object that supports mocking of final and native methods and invokes a specific constructor based on the supplied argument values.
createMock(AnnotationMockCreator, AnnotationMockMetadata) - Method in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
 
createMock(Class<T>, boolean, boolean, Object, MockSettings, Method...) - Method in class org.powermock.api.mockito.internal.mockcreation.AbstractMockCreator
 
createMock(Class<T>, boolean, boolean, Object, MockSettings, Method...) - Method in class org.powermock.api.mockito.internal.mockcreation.MockCreator
 
createMock(MockCreationSettings<T>, MockHandler) - Method in class org.powermock.api.mockito.internal.mockmaker.PowerMockMaker
 
createMock(MockCreationSettings<T>, MockHandler) - Method in class org.powermock.api.mockito.repackaged.CglibMockMaker
 
createMockAndExpectNew(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Convenience method for createMock followed by expectNew.
createMockAndExpectNew(Class<T>, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
Convenience method for createMock followed by expectNew when PowerMock cannot determine which constructor to use automatically.
createMockClassLoader(String[]) - Method in class org.powermock.tests.utils.impl.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
 
createMockitoMethod(Method) - Method in class org.powermock.api.mockito.repackaged.MethodInterceptorFilter
 
createMockitoMethodProxy(MethodProxy) - Method in class org.powermock.api.mockito.repackaged.MethodInterceptorFilter
 
createNewArrayWithSameType(T[], int) - Static method in class org.powermock.utils.ArrayUtil
 
createNewClassloader(Class<?>, String[], String[], MockTransformer...) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
createNewSubstituteMock(Class<T>, Class<?>[], Object...) - Static method in class org.powermock.api.mockito.internal.expectation.DefaultConstructorExpectationSetup
 
createNiceMock(Class<T>, Method...) - Static method in class org.powermock.api.easymock.PowerMock
Creates a nice mock object that supports mocking of final and native methods.
createNiceMock(Class<T>) - Static method in class org.powermock.api.easymock.PowerMock
Creates a nice mock object that supports mocking of final and native methods.
createNiceMock(Class<T>, ConstructorArgs, Method...) - Static method in class org.powermock.api.easymock.PowerMock
Creates a nice mock object that supports mocking of final and native methods and invokes a specific constructor.
createNiceMock(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Creates a nice mock object that supports mocking of final and native methods and invokes a specific constructor based on the supplied argument values.
createNiceMockAndExpectNew(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Convenience method for createNiceMock followed by expectNew.
createNiceMockAndExpectNew(Class<T>, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
Convenience method for createNiceMock followed by expectNew when PowerMock cannot determine which constructor to use automatically.
createNiceMockCreator() - Method in class org.powermock.api.extension.listener.AnnotationMockCreatorFactory
 
createNicePartialMock(Class<T>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Nicely mock a single specific method.
createNicePartialMock(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to nicely mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createNicePartialMock(Class<T>, Class<? super T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to nicely mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createNicePartialMock(Class<T>, String[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
* A utility method that may be used to nicely mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createNicePartialMock(Class<T>, String, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to nicely mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createNicePartialMock(Class<T>, String, Class<?>[], Object[], Class<?>[]) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to nicely mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createNicePartialMockAndInvokeDefaultConstructor(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to nicely mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createNicePartialMockForAllMethodsExcept(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to specify several methods that should not be nicely mocked in an easy manner (by just passing in the method names of the method you wish not to mock).
createNicePartialMockForAllMethodsExcept(Class<T>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Mock all methods of a class except for a specific one nicely.
createPartialMock(Class<T>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Mock a single specific method.
createPartialMock(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createPartialMock(Class<T>, Class<? super T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createPartialMock(Class<T>, String[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createPartialMock(Class<T>, String, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createPartialMock(Class<T>, String, Class<?>[], Object[], Class<?>[]) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createPartialMockAndInvokeDefaultConstructor(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createPartialMockForAllMethodsExcept(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to specify several methods that should not be mocked in an easy manner (by just passing in the method names of the method you wish not to mock).
createPartialMockForAllMethodsExcept(Class<T>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Mock all methods of a class except for a specific one.
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
 
createProxy(Class<Factory>, MethodInterceptor) - Method in class org.powermock.api.mockito.repackaged.ClassImposterizer
 
createProxyClass(Class<?>, Class<?>...) - Method in class org.powermock.api.mockito.repackaged.ClassImposterizer
 
createProxyTestClass(Class<?>) - Method in class org.powermock.modules.testng.internal.TestClassInstanceFactory
 
createReader(File, FileDataSource) - Method in class samples.privatemocking.PrivateMethodDemo
 
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[]) - Static method in class org.powermock.core.transformers.impl.TestClassTransformer
 
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
 
createStrictMock(Class<T>, Method...) - Static method in class org.powermock.api.easymock.PowerMock
Creates a strict mock object that supports mocking of final and native methods.
createStrictMock(Class<T>) - Static method in class org.powermock.api.easymock.PowerMock
Creates a strict mock object that supports mocking of final and native methods.
createStrictMock(Class<T>, ConstructorArgs, Method...) - Static method in class org.powermock.api.easymock.PowerMock
Creates a strict mock object that supports mocking of final and native methods and invokes a specific constructor.
createStrictMock(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Creates a strict mock object that supports mocking of final and native methods and invokes a specific constructor based on the supplied argument values.
createStrictMockAndExpectNew(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Convenience method for createStrictMock followed by expectNew.
createStrictMockAndExpectNew(Class<T>, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
Convenience method for createStrictMock followed by expectNew when PowerMock cannot determine which constructor to use automatically.
createStrictMockCreator() - Method in class org.powermock.api.extension.listener.AnnotationMockCreatorFactory
 
createStrictPartialMock(Class<T>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Strictly mock a single specific method.
createStrictPartialMock(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to strictly mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createStrictPartialMock(Class<T>, Class<? super T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to strictly mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createStrictPartialMock(Class<T>, String[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
* A utility method that may be used to strictly mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createStrictPartialMock(Class<T>, String, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to strictly mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createStrictPartialMock(Class<T>, String, Class<?>[], Object[], Class<?>[]) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to strictly mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createStrictPartialMockAndInvokeDefaultConstructor(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to strictly mock several methods in an easy way (by just passing in the method names of the method you wish to mock).
createStrictPartialMockForAllMethodsExcept(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to specify several methods that should not be strictly mocked in an easy manner (by just passing in the method names of the method you wish not to mock).
createStrictPartialMockForAllMethodsExcept(Class<T>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Mock all methods of a class except for a specific one strictly.
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.
createTestDelegators(Class<?>, List<TestChunk>) - Method in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
Create the test delegators needed for a whole class.
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
 
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
 
ct2primitiveClass - Static variable in class org.powermock.core.transformers.impl.Primitives
 
ctor - Variable in class org.powermock.api.mockito.internal.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(ClassLoader) - Constructor for class org.powermock.classloading.DeepCloner
Clone using the supplied ClassLoader.
DeepCloner() - Constructor for class org.powermock.classloading.DeepCloner
Clone using the current ContextClassLoader.
DeepCloner.UnsafeFieldWriter - Class in org.powermock.classloading
Most of this code has been copied from the Sun14ReflectionProvider in the XStream project.
DeepClonerSPI - Interface in org.powermock.classloading.spi
A deep-cloner must implement this interface.
DEFAULT - Static variable in class samples.constructorargs.ConstructorArgsDemo
 
DEFAULT_TEST_LISTENERS_SIZE - Static variable in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
DefaultBehavior - Interface in org.powermock.core.spi
Interface that provides the replay, verify and reset behavior for mock objects and classes.
DefaultConstructorArgumentsVerfication<T> - Class in org.powermock.api.mockito.internal.verification
 
DefaultConstructorArgumentsVerfication(NewInvocationControl<T>, Class<?>) - Constructor for class org.powermock.api.mockito.internal.verification.DefaultConstructorArgumentsVerfication
 
DefaultConstructorExpectationSetup<T> - Class in org.powermock.api.mockito.internal.expectation
 
DefaultConstructorExpectationSetup(Class<T>) - Constructor for class org.powermock.api.mockito.internal.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
 
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
 
DefaultMockStrategy - Class in org.powermock.api.easymock.internal.mockstrategy.impl
 
DefaultMockStrategy() - Constructor for class org.powermock.api.easymock.internal.mockstrategy.impl.DefaultMockStrategy
 
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.DeferSupportingClassLoader
 
deferPackages - Variable in class org.powermock.core.classloader.DeferSupportingClassLoader
 
DeferSupportingClassLoader - Class in org.powermock.core.classloader
Defers classloading of system classes to a delegate.
DeferSupportingClassLoader(ClassLoader, String[]) - Constructor for class org.powermock.core.classloader.DeferSupportingClassLoader
 
deferTo - Variable in class org.powermock.core.classloader.DeferSupportingClassLoader
 
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
 
DelegatingMockitoMethodProxy - Class in org.powermock.api.mockito.repackaged
 
DelegatingMockitoMethodProxy(MethodProxy) - Constructor for class org.powermock.api.mockito.repackaged.DelegatingMockitoMethodProxy
 
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.internal.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
 
desc - Variable in class org.powermock.api.mockito.repackaged.SerializableMockitoMethodProxy
 
describeClass(Class) - Static method in class org.powermock.api.mockito.repackaged.ClassImposterizer
 
describeClass(Object) - Static method in class org.powermock.api.mockito.repackaged.ClassImposterizer
 
description - Variable in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl
 
description - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit49RunnerDelegateImpl.PowerMockJUnit49MethodRunner
 
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 class org.powermock.api.extension.reporter.MockingFrameworkReporterFactoryImpl.MockitoMockingFrameworkReporter
 
disable() - Method in interface org.powermock.core.reporter.MockingFrameworkReporter
Stop replacing mocking frameworks exception message
disableReporter() - Method in class org.powermock.modules.testng.PowerMockTestCase
 
displayMessage(String) - Method in class samples.swing.ReallySimpleSwingDemo
 
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() - Static method in class org.powermock.api.mockito.PowerMockito
Use doCallRealMethod() when you want to call the real implementation of a method.
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.
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
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class samples.servletmocking.SampleServlet
 
doInvokeMethod(Object, Class<?>, String, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Do invoke method.
DomainObject - Class in samples.suppressfield
 
DomainObject() - Constructor for class samples.suppressfield.DomainObject
 
domainObject - Variable in class samples.suppressfield.SuppressField
 
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 - Variable in class org.powermock.classloading.DeepCloner
 
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() - 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) - Static method in class org.powermock.api.mockito.PowerMockito
Use doReturn() in those rare occasions when you cannot use Mockito.when(Object).
doReturn(Object, Object...) - Static method in class org.powermock.api.mockito.PowerMockito
 
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(Throwable) - Static method in class org.powermock.api.mockito.PowerMockito
Use doThrow() when you want to stub the void method with an exception.
dummyField - Variable in class samples.expectnew.ExpectNewDemo
 

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
 
EasyMockAnnotationSupport.AnnotationInjectFieldSearcher - Class in org.powermock.api.extension.listener
 
EasyMockAnnotationSupport.InjectFieldSearcher - Interface in org.powermock.api.extension.listener
 
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
 
easyMockConfiguration - Variable in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
 
EasyMockMethodInvocationControl<T> - Class in org.powermock.api.easymock.internal.invocationcontrol
The default implementation of the MethodInvocationControl interface.
EasyMockMethodInvocationControl(MockInvocationHandler, Set<Method>, T) - Constructor for class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
Initializes internal state.
EasyMockMethodInvocationControl(MockInvocationHandler, Set<Method>) - Constructor for class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
Initializes internal state.
EasyMockStateCleaner() - Constructor for class org.powermock.api.easymock.PowerMock.EasyMockStateCleaner
 
edit(FieldAccess) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer.PowerMockExpressionEditor
 
edit(MethodCall) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer.PowerMockExpressionEditor
 
edit(ConstructorCall) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer.PowerMockExpressionEditor
 
edit(NewExpr) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer.PowerMockExpressionEditor
 
EMPTY_STRING - Static variable in class org.powermock.utils.StringJoiner
 
enable() - Method in class org.powermock.api.extension.reporter.MockingFrameworkReporterFactoryImpl.MockitoMockingFrameworkReporter
 
enable() - Method in interface org.powermock.core.reporter.MockingFrameworkReporter
Start replacing mocking frameworks exception message
enableReporter() - Method in class org.powermock.modules.testng.PowerMockTestCase
 
enableSerializationAcrossJVM(MockCreationSettings<T>) - Method in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature
Enable serialization serialization that will work across classloaders / and JVM.
enhancedSay(String, String) - Method in class samples.privatemocking.PrivateMethodDemo
 
ensureJvmMethodSizeLimit(CtClass) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
According to JVM specification method size must be lower than 65536 bytes.
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
 
equals(Object) - Method in class org.powermock.api.extension.listener.AnnotationMockMetadata
 
equals(Object, Object) - Method in class org.powermock.modules.junit4.common.internal.impl.VersionComparator
 
equals(Object) - Method in class samples.equalswithgetclass.EqualsWithGetClass
 
equals(Object) - Method in class samples.expectnew.ExpectNewDemo
 
equals(Object) - Method in class samples.partialmocking.MockSelfDemo
 
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
 
exception - Static variable in class org.powermock.classloading.DeepCloner.UnsafeFieldWriter
 
execute(Callable<T>) - Method in class org.powermock.classloading.AbstractClassloaderExecutor
 
execute(Runnable) - Method in class org.powermock.classloading.AbstractClassloaderExecutor
 
execute(Object, Method, Object...) - Method in class org.powermock.classloading.AbstractClassloaderExecutor
 
execute(Callable<T>) - Method in interface org.powermock.classloading.ClassloaderExecutor
 
execute(Runnable) - Method in interface org.powermock.classloading.ClassloaderExecutor
 
execute(Object, Method, Object...) - Method in class org.powermock.classloading.SingleClassloaderExecutor
 
executeCommand() - Method in class samples.system.SystemClassUser
 
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
 
expectedExceptionsExtractor - Variable in class org.powermock.modules.testng.internal.ClassLoaderFactory
 
ExpectedExceptionsExtractor - Interface in org.powermock.modules.testng.internal
 
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>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Allows specifying expectations on new invocations.
expectNiceNew(Class<T>, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
Allows specifying expectations on new invocations.
expectPrivate(Class<?>, Method, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Used to specify expectations on private static methods.
expectPrivate(Object, Method, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Used to specify expectations on private methods.
expectPrivate(Object, String, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
Used to specify expectations on private methods.
expectPrivate(Object, String, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Used to specify expectations on methods using the method name.
expectPrivate(Object, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Used to specify expectations on methods without specifying a method name.
expectPrivate(Object, String, Class<?>, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
Used to specify expectations on methods using the method name at a specific place in the class hierarchy (specified by the where parameter).
expectPrivate(Object, String, Class<?>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Used to specify expectations on methods using the method name at a specific place in the class hierarchy (specified by the where parameter).
expectStrictNew(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
Allows specifying expectations on new invocations.
expectStrictNew(Class<T>, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
Allows specifying expectations on new invocations.
expectSubstitutionLogic(Object...) - Method in class org.powermock.api.easymock.internal.invocationcontrol.NewInvocationControlImpl
 
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
 
extraInterfaces - Variable in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.AcrossJVMMockSerializationProxy
 
extraInterfaces - Variable in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.MockitoMockObjectInputStream
 
extraMockTransformers - Variable in class org.powermock.tests.utils.impl.MockClassLoaderFactory
 

F

f() - Static method in class samples.stress.ClassWithStatic
 
f1() - Method in class samples.stress.StressSample
 
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
 
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.reflect.internal.matcherstrategies.FieldNameMatcherStrategy
 
FieldNameMatcherStrategy - Class in org.powermock.reflect.internal.matcherstrategies
 
FieldNameMatcherStrategy(String) - Constructor for class org.powermock.reflect.internal.matcherstrategies.FieldNameMatcherStrategy
 
FieldNotFoundException - Exception 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 org.powermock.reflect.exceptions.FieldNotFoundException
Constructs a new exception with the specified detail message.
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(Class<?>) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get all fields in a class hierarchy.
fields(Field, Field...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get an array of Field's.
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.
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
 
filterPowerMockConstructor(Constructor<?>[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Filter power mock constructor.
FinalDemo - Class in samples.finalmocking
 
FinalDemo() - Constructor for class samples.finalmocking.FinalDemo
 
finalDemo - Variable in class samples.injectmocks.DependencyHolder
 
finalDemo - Variable in class samples.injectmocks.DependencyHolderQualifier
 
finalDemoQualifier - Variable in class samples.injectmocks.DependencyHolderQualifier
 
finalVoidCallee() - Method in class samples.finalmocking.FinalDemo
 
finalVoidCaller() - Method in class samples.finalmocking.FinalDemo
 
findAllFieldsUsingStrategy(FieldMatcherStrategy, Object, 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
 
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, AnnotationMockMetadata) - Method in class org.powermock.api.extension.listener.EasyMockAnnotationSupport.AnnotationInjectFieldSearcher
 
findField(Object, AnnotationMockMetadata) - Method in interface org.powermock.api.extension.listener.EasyMockAnnotationSupport.InjectFieldSearcher
 
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.
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(Object, Class<?>, String, Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Finds and returns a certain method.
findMethodOrThrowException(Class<?>, String, Class<?>...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Find method or throw exception.
findMethods(TestCaseEntry, Class<?>) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
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.
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.
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
 
fNext - Variable in class org.powermock.modules.junit4.rule.PowerMockStatement
 
forClass(Class<?>, MockPolicyInitializer) - Static method in class org.powermock.modules.junit4.rule.PowerMockClassloaderExecutor
 
format(String, String) - Method in class samples.system.SystemClassUser
 
forTestClass(Class<?>) - Static method in class org.powermock.core.transformers.impl.TestClassTransformer
 
FRAMEWORK_NAME - Static variable in class org.powermock.api.mockito.mockpolicies.Slf4jMockPolicy
 
frameworkReporter - Variable in class org.powermock.modules.testng.PowerMockTestCase
 
fromAllMethodsExcept(Method) - Method in interface org.powermock.core.transformers.impl.TestClassTransformer.ForTestClass.RemovesTestMethodAnnotation
 
fromMethods(Collection<Method>) - Method in interface org.powermock.core.transformers.impl.TestClassTransformer.ForTestClass.RemovesTestMethodAnnotation
 
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
 
generate(Object, Method, Object[]) - Method in class org.powermock.api.mockito.internal.invocation.ToStringGenerator
 
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
 
get(Object) - Method in class org.powermock.core.ListMap
 
get() - Method in class samples.mockpolicy.frameworkexample.NativeResult
 
getAdditionalState(String) - Static method in class org.powermock.core.MockRepository
Retrieve state based on the supplied key.
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).
getAllMetodsExcept(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
 
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.
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.VarArgsConstructorDemo
 
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
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.StaticConstructorSuppressExtractorImpl
Get the fully qualified names for classes that must should be modified for this element.
getClassFor(CtPrimitiveType) - Static method in class org.powermock.core.transformers.impl.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
 
getClassLoadingSettings() - Method in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
 
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
 
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) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
 
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.
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
 
getDoNotClone(ClassLoader) - Method in class org.powermock.classloading.DeepCloner
 
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
 
getEnumValue(Object, Class<Object>) - Static method in class org.powermock.classloading.DeepCloner
 
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(String, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Gets the field.
getField(Class<?>, String) - Static method in class org.powermock.reflect.Whitebox
Convenience method to get a field from a class type.
getFieldByName(Class<?>, String) - Method in class org.powermock.api.extension.listener.TestSubjectInjector
 
getFields(Object) - Method in class org.powermock.api.extension.listener.AnnotationMockScanner
 
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.
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>[]) - 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.
getFieldsAnnotatedWith(Object, 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
 
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
 
getFrameworkReporterFactory() - Method in class org.powermock.modules.testng.PowerMockTestCase
 
getFrameworkReporterFactory() - Method in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
 
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
 
getHandler(Object) - Method in class org.powermock.api.mockito.internal.mockmaker.PowerMockMaker
 
getHandler(Object) - Method in class org.powermock.api.mockito.repackaged.CglibMockMaker
 
getHandler() - Method in class org.powermock.api.mockito.repackaged.MethodInterceptorFilter
 
getHello() - Method in class samples.suppressconstructor.SuppressNonParentConstructorDemo
 
getHello() - Method in class samples.suppressconstructor.SuppressSpecificConstructorDemo
 
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() - Method in class org.powermock.api.extension.reporter.AbstractMockingFrameworkReporterFactory
 
getImplementerClassName() - Method in class org.powermock.api.extension.reporter.MockingFrameworkReporterFactoryImpl
 
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) - Method in class org.powermock.api.extension.reporter.AbstractMockingFrameworkReporterFactory
 
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
 
getInternalMessage() - Method in class samples.partialmocking.MockSelfDemoWithSubClass
 
getInternalState(Object, String) - 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.internal.WhiteboxImpl
Get the value of a field using reflection.
getInternalState(Object, Class<T>, 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.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.Whitebox
Get the value of a field using reflection.
getInternalState(Object, String, Class<?>, Class<T>) - Static method in class org.powermock.reflect.Whitebox
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.Whitebox
Get the value of a field using reflection based on the field type.
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.internal.mockmaker.PowerMockMaker.PowerMockInternalMockHandler
 
getInvocationHandler() - Method in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
 
getIt() - Method in class samples.abstractmocking.AbstractMethodMocking
 
getJavaAgentFrameworkRegisterClass(ClassLoader) - Static method in class org.powermock.core.agent.JavaAgentFrameworkRegisterFactory
 
getJUnitVersion() - Static method in class org.powermock.modules.junit4.common.internal.impl.JUnitVersion
 
getKey() - Method in class org.powermock.core.ListMap.SimpleEntry
 
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
 
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(String) - 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
 
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(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<?>, 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.
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.
getMethodInvocationControl() - Method in class org.powermock.api.mockito.internal.mockcreation.MockCreator.MockData
 
getMethodProxy() - Method in class org.powermock.api.mockito.repackaged.SerializableMockitoMethodProxy
 
getMethodProxy(Method) - Static method in class org.powermock.core.MockRepository
 
getMethods() - Method in class org.powermock.api.extension.listener.AnnotationMockMetadata
 
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, 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.
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.
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 class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing
 
getMock() - Method in class org.powermock.api.mockito.internal.mockcreation.MockCreator.MockData
 
getMock() - Method in class org.powermock.api.mockito.internal.verification.StaticMockAwareVerificationMode
 
getMockAnnotations() - Method in class org.powermock.api.extension.listener.AnnotationEnabler
 
getMockAnnotations() - Method in interface org.powermock.core.spi.listener.AnnotationEnablerListener
 
getMockClassLoaderFactory(Class<?>, String[], String[], MockTransformer[]) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
getMockingFrameworkReporter() - Method in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl
 
getMockingFrameworkReporterClass(ClassLoader) - Method in class org.powermock.api.extension.reporter.AbstractMockingFrameworkReporterFactory
 
getMockingProgress() - Method in class org.powermock.api.mockito.internal.PowerMockitoCore
 
getMockitoCoreForCurrentClassLoader() - Method in class org.powermock.api.extension.reporter.MockingFrameworkReporterFactoryImpl.MockitoMockingFrameworkReporter
 
getMockitoReporter(Object) - Method in class org.powermock.api.extension.reporter.MockingFrameworkReporterFactoryImpl.MockitoMockingFrameworkReporter
 
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.internal.mockmaker.PowerMockMaker.PowerMockInternalMockHandler
 
getMockTransformers() - Method in class org.powermock.modules.testng.internal.ClassLoaderFactory
 
getMockTransformers(MockTransformer[]) - Method in class org.powermock.tests.utils.impl.MockClassLoaderFactory
 
getMockType() - Method in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
 
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 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
 
getObjectWithArgument(String) - Method in class samples.suppressmethod.SuppressMethod
 
getOwnMessage() - Method in class samples.privatefield.MockSelfPrivateFieldServiceClass
 
getPackagesToDefer(String[]) - Static method in class org.powermock.core.classloader.MockClassLoader
 
getPackagesToIgnore(AnnotatedElement) - Method in interface org.powermock.modules.testng.internal.ExpectedExceptionsExtractor
 
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
 
getParametersAsString(String[]) - Static method in class org.powermock.core.ClassReplicaCreator
 
getParameterTypes(CtMethod) - Method in class org.powermock.core.ClassReplicaCreator
 
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.
getPowerMockCoreForCurrentClassLoader() - Method in class org.powermock.api.extension.agent.JavaAgentFrameworkRegisterImpl
 
getPowerMockTestListenersLoadedByASpecificClassLoader(Class<?>, ClassLoader) - Method in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
 
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
 
getRandomInteger() - Method in class samples.simplemix.SimpleMixCollaborator
 
getRandomInteger() - Static method in class samples.simplemix.SimpleMixUtilities
 
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, Object, Object[]) - Method in class org.powermock.classloading.AbstractClassloaderExecutor
 
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
 
getReturnCode(CtClass) - Method in class org.powermock.core.ConcreteClassGenerator
 
getReturnTypeAsString(CtMethod) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
 
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
 
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(Class<?>, Method) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
getString() - Static method in enum samples.enummocking.MyEnum
 
getString() - Method in class samples.methodhierarchy.MethodInvocationDemo
 
getString() - Method in class samples.methodhierarchy.MethodInvocationDemoGrandParent
 
getString(int) - Method in class samples.methodhierarchy.MethodInvocationDemoGrandParent
 
getString() - Method in class samples.methodhierarchy.MethodInvocationDemoParent
 
getString() - Method in class samples.partialmocking.MockSelfDemo
 
getString(String) - Method in class samples.partialmocking.MockSelfDemo
 
getString() - Method in class samples.staticinitializer.AbstractStaticInitializerExample
 
getString() - Method in class samples.staticinitializer.SimpleStaticInitializerExample
 
getString2(String) - Method in class samples.partialmocking.MockSelfDemo
 
getString2() - 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
 
getSystemProperty() - Method in class samples.system.SystemClassUser
 
getTag() - Method in class org.powermock.api.mockito.repackaged.MockitoNamingPolicy
 
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
Get all chunk entries for a specific class.
getTestChunksEntries(Class<?>) - Method in interface org.powermock.tests.utils.TestSuiteChunker
Get all chunk entries for a specific class.
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(AnnotatedElement) - Method in class org.powermock.tests.utils.impl.AbstractTestClassExtractor
If element is a class this method traverses the hierarchy and extracts classes that should be prepared for test in all super classes.
getTestClasses() - Method in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
 
getTestClasses(AnnotatedElement) - Method in interface org.powermock.tests.utils.TestClassesExtractor
 
getTestCount() - Method in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
 
getTestCount() - Method in interface org.powermock.core.spi.testresult.TestSuiteResult
 
getTestCount() - Method in 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).
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(T) - Static method in class org.powermock.classloading.DeepCloner
 
getType(String, String) - Method in class org.powermock.mockpolicies.support.LogPolicySupport
Get the class type representing the fully-qualified name.
getType(Object) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Gets the type.
getType(Object) - Static method in class org.powermock.reflect.Whitebox
 
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.
getUnmockedType(Class<T>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Gets the unmocked type.
getUnproxiedType(Class<?>) - Method in class org.powermock.api.extension.proxyframework.ProxyFrameworkImpl
Check if the class is a proxy and if it is return the unproxied type.
getUnproxiedType(Class<?>) - Method in interface org.powermock.reflect.spi.ProxyFramework
Check if the class is a proxy and if it is return the unproxied type.
getUnqualifiedInjections() - Method in class org.powermock.api.extension.listener.AnnotationGlobalMetadata
 
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
 
getVerificationMode() - Method in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
 
getVerificationModeFromMockProgress(MockingProgress) - Method in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
 
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
 
hackClassNameToMatchNewlyCreatedClass(ObjectStreamClass, Class<?>) - Method in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.MockitoMockObjectInputStream
Hack the name field of the given ObjectStreamClass with the newProxyClass.
handle(Invocation) - Method in class org.powermock.api.mockito.internal.mockmaker.PowerMockMaker.PowerMockInternalMockHandler
 
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
 
handler - Variable in class org.powermock.api.mockito.repackaged.MethodInterceptorFilter
 
handleStaticVerification(Class<?>) - Method in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
 
hasArgumentLength(Method, int) - Method in class org.powermock.modules.testng.internal.TestNGMethodFilter
 
hasBeenCaughtByMockitoProxy() - Method in class org.powermock.api.mockito.internal.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.internal.invocation.MockitoMethodInvocationControl
 
hasFieldProperModifier(Object, Field) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Checks for field proper modifier.
hash - Variable in class samples.hashcode.HashCodeInitializedInCtor
 
hashCode() - Method in class org.powermock.api.extension.listener.AnnotationMockMetadata
 
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
 
hashCodeForMock(Object) - Method in class org.powermock.api.mockito.repackaged.MethodInterceptorFilter
 
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.tests.utils.impl.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.NewInvocationControlImpl
 
hasRules - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl
 
hasSuperClass(CtClass) - Static method in class org.powermock.core.transformers.impl.TestClassTransformer
 
hasVerified - Variable in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
 
hasVerified - Variable in class org.powermock.api.easymock.internal.invocationcontrol.NewInvocationControlImpl
 
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
 

I

IdentityHashSet<E> - Class in org.powermock.core
 
IdentityHashSet() - Constructor for class org.powermock.core.IdentityHashSet
 
IGNORE_BRIDGE_METHODS - Static variable in class org.powermock.api.mockito.repackaged.ClassImposterizer
 
ignoreCount - Variable in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
 
ignoreCount - Variable in class org.powermock.modules.junit4.common.internal.impl.PowerMockJUnit4RunListener
 
ignorePackagesExtractor - Variable in class org.powermock.modules.testng.internal.ClassLoaderFactory
 
IgnorePackagesExtractor - Interface in org.powermock.tests.utils
 
ignorePackagesExtractor - Variable in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
imposterise(MethodInterceptor, Class<T>, Collection<Class>) - Method in class org.powermock.api.mockito.repackaged.ClassImposterizer
 
imposterise(MethodInterceptor, Class<T>, Class<?>...) - Method in class org.powermock.api.mockito.repackaged.ClassImposterizer
 
includeMethods - Variable in class org.powermock.tests.utils.impl.AbstractTestClassExtractor
 
IndicateReloadClass - Class in org.powermock.core
 
IndicateReloadClass() - Constructor for class org.powermock.core.IndicateReloadClass
 
init(Object) - Method in class org.powermock.modules.junit4.rule.PowerMockRule
 
init() - Static method in class samples.largemethod.MethodExceedingJvmLimit
Method size after instrumentation is equal to 91265.
initEntries(List<TestCaseEntry>) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
initialize(ClassLoader) - Method in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
Initializes the mock policies for a given class loader.
initialize(MockClassLoader) - 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() - Method in class samples.partialmocking.PartialMockingWithConstructor
 
initialize() - Method in class samples.swing.SimpleSwingDemo
 
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, AnnotationMockMetadata) - 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 - Class in samples.injectmocks
 
InjectDemo() - Constructor for class samples.injectmocks.InjectDemo
 
injectDemo - Variable in class samples.injectmocks.InjectDependencyHolder
 
injectDemo - Variable in class samples.injectmocks.InjectDependencyHolderQualifier
 
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
 
InjectionTarget(Field) - Constructor for class org.powermock.api.extension.listener.TestSubjectInjector.InjectionTarget
 
injectMock(Object, AnnotationMockMetadata, AnnotationMockCreator, EasyMockAnnotationSupport.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
 
INSTANCE - Static variable in class org.powermock.api.easymock.EasyMockConfiguration
 
INSTANCE - Static variable in class org.powermock.api.mockito.repackaged.MockitoNamingPolicy
 
instanceLocalCurrentlySerializingFlag - Variable in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature
 
instanceMocks - Static variable in class org.powermock.core.MockRepository
Holds info about general method invocation mocks for instances.
instantiateArray(ClassLoader, Class<?>, Object, boolean) - Method in class org.powermock.classloading.DeepCloner
 
instantiateFieldType(Field) - Static method in class org.powermock.core.DefaultFieldValueGenerator
 
instantiateUseMe() - Method in class samples.reflection.ReflectionInstantiator
 
instantiator - Variable in class org.powermock.api.mockito.repackaged.ClassImposterizer
 
intercept(Object, Method, Object[], MethodProxy) - Method in class org.powermock.api.mockito.internal.mockcreation.PowerMockMethodInterceptorFilter
 
intercept(Object, Method, Object[], MethodProxy) - Method in class org.powermock.api.mockito.repackaged.MethodInterceptorFilter
 
InterfaceA - Interface in samples.staticinitializer
 
InterfaceB - Interface in samples.staticinitializer
 
InterfaceC - Interface in samples.staticinitializer
 
InterfaceComputation - Class in samples.staticinitializer
 
InterfaceComputation() - Constructor for class samples.staticinitializer.InterfaceComputation
 
InterfaceJavaAssistClassMarker(ClassPool) - Constructor for class org.powermock.core.classloader.JavaAssistClassMarkerFactory.InterfaceJavaAssistClassMarker
 
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
 
InterfaceMockTransformer - Class in org.powermock.core.transformers.impl
 
InterfaceMockTransformer() - Constructor for class org.powermock.core.transformers.impl.InterfaceMockTransformer
 
InterfaceMockTransformer(TransformStrategy) - Constructor for class org.powermock.core.transformers.impl.InterfaceMockTransformer
 
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
 
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.DefaultConstructorArgumentsVerfication
 
InvocationControlAssertionError - Class in org.powermock.api.mockito.internal.invocation
 
InvocationControlAssertionError() - Constructor for class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
 
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(Object, Method, Object[]) - Method in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
 
invoke(Class<?>, Object[], Class<?>[]) - Method in class org.powermock.api.easymock.internal.invocationcontrol.NewInvocationControlImpl
 
invoke() - Method in class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing.InvokeStubMethod
 
invoke(Object, Method, Object[]) - Method in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
 
invoke(Class<?>, Object[], Class<?>[]) - Method in class org.powermock.api.mockito.internal.invocation.MockitoNewInvocationControl
 
invoke(Object...) - Method in class org.powermock.api.mockito.internal.verification.DefaultPrivateMethodVerification
 
invoke(String, Object...) - Method in class org.powermock.api.mockito.internal.verification.DefaultPrivateMethodVerification
 
invoke(Method) - Method in class org.powermock.api.mockito.internal.verification.DefaultPrivateMethodVerification
 
invoke(Object...) - Method in interface org.powermock.api.mockito.verification.PrivateMethodVerification
Verify calls to private methods without having to specify the method name.
invoke(Method) - Method in interface org.powermock.api.mockito.verification.PrivateMethodVerification
Verify calls to the specific method.
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(Object, Method, Object[]) - Method in class org.powermock.api.support.membermodification.strategy.impl.MethodReplaceStrategyImpl.MethodInvocationHandler
 
invoke(Class<?>, Object[], Class<?>[]) - Method in interface org.powermock.core.spi.NewInvocationControl
Invoke the invocation control
invoke(String, Object...) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
invoke(Object, Method, Method, Object[]) - Method in class org.powermock.modules.testng.internal.PowerMockTestNGMethodHandler
 
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>, 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.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(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(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(Object, String, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Invoke a private or inner class method.
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<?>, 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, 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, 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(Class<?>, String, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Invoke a private or inner class method.
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(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(Object, String, Object...) - Static method in class org.powermock.reflect.Whitebox
Invoke a private or inner class 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.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, 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, 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(Class<?>, String, Object...) - Static method in class org.powermock.reflect.Whitebox
Invoke a static 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.DefaultConstructorArgumentsVerfication
 
invokeSuper(Object, Object[]) - Method in class org.powermock.api.mockito.repackaged.DelegatingMockitoMethodProxy
 
invokeSuper(Object, Object[]) - Method in class org.powermock.api.mockito.repackaged.SerializableMockitoMethodProxy
 
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
 
isAssignableFrom(Class<?>, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
 
isClass(Object) - Static method in class org.powermock.classloading.DeepCloner
 
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
 
isContextClassLoaderShouldBeUsed(String[]) - Method in class org.powermock.tests.utils.impl.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
 
isFinalize(Method) - Method in class org.powermock.modules.testng.internal.TestNGMethodFilter
 
isFinalJavaSystemClass(Class<T>) - Method in class org.powermock.api.mockito.internal.mockcreation.MockCreator
 
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
 
isHashCode(Method) - Method in class org.powermock.modules.testng.internal.TestNGMethodFilter
 
isImpliticlySerializable(Class<?>) - Static method in class org.powermock.classloading.DeepCloner
 
isInjectMocksSupported() - Method in class org.powermock.api.easymock.EasyMockConfiguration
 
isInVerificationMode() - Method in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
 
isIterable(Object) - Static method in class org.powermock.classloading.DeepCloner
 
isIterable(Class<?>) - Static method in class org.powermock.classloading.DeepCloner
 
isJavaReflectClass(Class<?>) - Method in class org.powermock.classloading.DeepCloner
 
isJavaReflectMethod(Class<?>) - Method in class org.powermock.classloading.DeepCloner
 
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
 
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.impl.AbstractMainMockTransformer
 
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
Determine whether a certain method is mocked by this Invocation Control.
isMocked(Method) - Method in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
Determine whether a certain method is mocked by this Invocation Control.
isMocked(Method) - Method in interface org.powermock.core.spi.MethodInvocationControl
Determine whether a certain method is mocked by this Invocation Control.
isMockito1() - Static method in class samples.powermockito.MockitoVersion
 
isMockito1() - Method in class samples.powermockito.MockitoVersion.SystemPropertiesMockitoVersion
 
isMockito2() - Static method in class samples.powermockito.MockitoVersion
 
isMockito2() - Method in class samples.powermockito.MockitoVersion.SystemPropertiesMockitoVersion
 
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
isModifiedByPowerMock() - Method in class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory.DefaultMockTypeValidator
 
isMyBoolean() - Method in class samples.suppressfield.SuppressField
 
isNestedWithinTestClass(CtClass) - Method in class org.powermock.core.transformers.impl.TestClassTransformer
 
isNiceReplayAndVerifyMode() - Static method in class org.powermock.api.easymock.PowerMock
 
isNotRuleInitialized(Object) - Method in class org.powermock.modules.junit4.rule.PowerMockRule
 
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
 
isPotentialVarArgsConstructor(Constructor<?>, Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Checks if is potential var args constructor.
isPotentialVarArgsMethod(Method, Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Checks if is potential var args method.
isPrepared(AnnotatedElement, String) - Method in class org.powermock.tests.utils.impl.AbstractTestClassExtractor
 
isPrepared(String) - Method in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
 
isPrepared(String) - Method in interface org.powermock.tests.utils.MockPolicyInitializer
 
isPrepared(AnnotatedElement, String) - Method in interface org.powermock.tests.utils.TestClassesExtractor
 
isProxy(Class<?>) - Method in class org.powermock.api.extension.proxyframework.ProxyFrameworkImpl
isProxy(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Checks if is proxy.
isProxy(Class<?>) - Method in interface org.powermock.reflect.spi.ProxyFramework
 
isReallyEasyMock() - Method in class org.powermock.api.easymock.EasyMockConfiguration
 
isRemainParamsVarArgs(int, Class<?>) - Method in class org.powermock.reflect.internal.ParameterTypesMatcher
 
isSerializable(Class<?>) - Static method in class org.powermock.classloading.DeepCloner
 
isSerializableCandidate(Class<T>, Object) - Method in class org.powermock.classloading.DeepCloner
 
isStandardJavaType(Class<T>) - Static method in class org.powermock.classloading.DeepCloner
 
isStaticFinalModifier(Field) - Static method in class org.powermock.classloading.DeepCloner
 
isSunClass(Class<?>) - Method in class org.powermock.classloading.DeepCloner
 
isTestClass(CtClass) - Method in class org.powermock.core.transformers.impl.TestClassTransformer
 
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
 
isVarArgs - Variable in class org.powermock.reflect.internal.ParameterTypesMatcher
 
isWriteReplace(Method) - Method in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature
 
isZeroArgumentMethod(Method) - Method in class org.powermock.modules.testng.internal.TestNGMethodFilter
 
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

JavaAgentClassRegister - Interface in org.powermock.core.agent
This register contains information about which class has been modified by PowerMock Java Agent.
JavaAgentFrameworkRegister - Interface in org.powermock.core.agent
Instance of class should set/clear an instance of the JavaAgentClassRegister in Mockito Frameworks classes
JavaAgentFrameworkRegisterFactory - Class in org.powermock.core.agent
Factory to create an instance of JavaAgentFrameworkRegister, depends on which mocking framework is loaded in runtime.
JavaAgentFrameworkRegisterFactory() - Constructor for class org.powermock.core.agent.JavaAgentFrameworkRegisterFactory
 
JavaAgentFrameworkRegisterImpl - Class in org.powermock.api.extension.agent
Implementation of JavaAgentFrameworkRegister for Mockito framework.
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
 
JavaAssistClassMarker - Interface in org.powermock.core.classloader
Instance of this interface can be used to mark CtClass that it was created and loaded by PowerMock
javaAssistClassMarker - Variable in class org.powermock.core.classloader.MockClassLoader
 
JavaAssistClassMarkerFactory - Class in org.powermock.core.classloader
 
JavaAssistClassMarkerFactory() - Constructor for class org.powermock.core.classloader.JavaAssistClassMarkerFactory
 
JavaAssistClassMarkerFactory.InterfaceJavaAssistClassMarker - Class in org.powermock.core.classloader
The implementation of the JavaAssistClassMarker which use an interface to mark type.
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
 
join(Object, Object[]) - Static method in class org.powermock.api.mockito.internal.expectation.DefaultMethodExpectationSetup
 
join(Object...) - Static method in class org.powermock.utils.StringJoiner
 
join(StringBuilder, Object[]) - 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(StringBuilder) - Method in class samples.system.SystemClassUser
 
lengthOf(CharSequence) - Method in class samples.system.SystemClassUser
 
LINE_SEPARATOR - Static variable in class org.powermock.utils.StringJoiner
 
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
 
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, ClassLoader) - Static method in class org.powermock.api.support.ClassLoaderUtil
Load a class from a specific classloader
loadClass(String, boolean) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
 
loadMockClass(String) - Method in class org.powermock.core.classloader.MockClassLoader
Load a mocked version of the class.
loadModifiedClass(String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
 
loadModifiedClass(String) - Method in class org.powermock.core.classloader.MockClassLoader
 
loadUnmockedClass(String, ProtectionDomain) - Method in class org.powermock.core.classloader.MockClassLoader
 
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
 
lookOverMethods(Class<?>) - Method in class org.powermock.tests.utils.impl.AbstractTestClassExtractor
 
lookupMappings() - Static method in class org.powermock.core.transformers.impl.Primitives
 

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.impl.TestClassTransformer
 
makeSureArrayContainsTestClassName(String[], String) - Method in class org.powermock.tests.utils.impl.MockClassLoaderFactory
 
map - Variable in class samples.fieldmock.FieldInitializerDemo
 
mark(CtClass) - Method in interface org.powermock.core.classloader.JavaAssistClassMarker
Mark type as loaded by PowerMock
mark(CtClass) - Method in class org.powermock.core.classloader.JavaAssistClassMarkerFactory.InterfaceJavaAssistClassMarker
 
match() - Method in class org.powermock.reflect.internal.ParameterTypesMatcher
 
matches(String, String) - Static method in class org.powermock.core.WildcardMatcher
Performs a wildcard matching for the text and pattern provided.
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
 
matchesAny(Collection<String>, String) - Static method in class org.powermock.core.WildcardMatcher
 
matchesAny(Iterable<String>, String) - Static method in class org.powermock.core.WildcardMatcher
 
matchesAny(String[], String) - Static method in class org.powermock.core.WildcardMatcher
 
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(String, String...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
 
merge(Method, Method...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
 
merge(Field, Field...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
 
merge(Constructor<?>, Constructor<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
 
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
 
message - Variable in class samples.suppressconstructor.SuppressConstructorHierarchyParent
 
message - Variable in class samples.suppressconstructor.SuppressConstructorSubclassDemo
 
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(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.
method(Class<?>, Class<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get a method without having to specify the method name.
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.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner.TestExecutorStatement
 
METHOD_CODE_LENGTH_LIMIT - Static variable in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
 
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
 
methodInterceptorFilter - Variable in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
 
MethodInterceptorFilter - Class in org.powermock.api.mockito.repackaged
Should be one instance per mock instance, see CglibMockMaker.
MethodInterceptorFilter(InternalMockHandler, MockCreationSettings) - Constructor for class org.powermock.api.mockito.repackaged.MethodInterceptorFilter
 
methodInvocationControl - Variable in class org.powermock.api.mockito.internal.mockcreation.MockCreator.MockData
 
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 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 org.powermock.reflect.exceptions.MethodInvocationException
Constructs a new exception with the specified detail message.
MethodInvocationException(String, Throwable) - Constructor for exception org.powermock.reflect.exceptions.MethodInvocationException
Constructs a new runtime exception with the specified detail message and cause.
MethodInvocationException(Throwable) - Constructor for exception 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
 
MethodNotFoundException - Exception 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 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 - Variable in class org.powermock.api.mockito.repackaged.DelegatingMockitoMethodProxy
 
methodProxy - Variable in class org.powermock.api.mockito.repackaged.SerializableMockitoMethodProxy
 
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, 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.
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.
methodsDeclaredIn(Class<?>, Class<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get all methods in a class hierarchy of the supplied classes.
methodsPerInstance - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
 
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
 
missingMethodInvocation() - Method in class org.powermock.api.extension.reporter.MockingFrameworkReporterFactoryImpl.PowerMockitoReporter
 
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 - Variable in class org.powermock.api.extension.listener.AnnotationMockMetadata
 
mock - Variable in class org.powermock.api.mockito.internal.expectation.DefaultPrivatelyExpectedArguments
 
mock(Class<T>, boolean, boolean, Object, MockSettings, Method...) - Static method in class org.powermock.api.mockito.internal.mockcreation.MockCreator
 
mock - Variable in class org.powermock.api.mockito.internal.mockcreation.MockCreator.MockData
 
mock - Variable in class org.powermock.api.mockito.internal.mockmaker.PowerMockMaker.PowerMockInternalMockHandler
 
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>, Answer) - Static method in class org.powermock.api.mockito.PowerMockito
Creates mock with a specified strategy for its answers to interactions.
mock(Class<T>, MockSettings) - Static method in class org.powermock.api.mockito.PowerMockito
Creates a mock with some non-standard settings.
Mock - Annotation Type in org.powermock.core.classloader.annotations
Deprecated.
Use Mock annotation in respective extension API instead. This annotation will be removed in an upcoming release.
MOCK_CREATOR - Static variable in class org.powermock.api.mockito.internal.mockcreation.MockCreator
 
MOCK_GET_CLASS_METHOD - Static variable in class org.powermock.core.MockGateway
Tells PowerMock whether or not to mock Object.getClass().
MOCK_STANDARD_METHODS - Static variable in class org.powermock.core.MockGateway
Tells PowerMock to mock standard methods.
MockClassLoader - Class in org.powermock.core.classloader
Mock all classes except system classes.
MockClassLoader(String[], String[], UseClassPathAdjuster) - Constructor for class org.powermock.core.classloader.MockClassLoader
Creates a new instance of the MockClassLoader based on the following parameters:
MockClassLoader() - Constructor for class org.powermock.core.classloader.MockClassLoader
 
MockClassLoader(String[], String[]) - Constructor for class org.powermock.core.classloader.MockClassLoader
Creates a new instance of the MockClassLoader based on the following parameters:
MockClassLoader(String[], UseClassPathAdjuster) - Constructor for class org.powermock.core.classloader.MockClassLoader
Creates a new instance of the MockClassLoader based on the following parameters:
MockClassLoader(String[]) - Constructor for class org.powermock.core.classloader.MockClassLoader
Creates a new instance of the MockClassLoader based on the following parameters:
mockClassLoader - Variable in class org.powermock.modules.junit4.common.internal.impl.PowerMockJUnit4RunListener
 
MockClassLoaderBuilder - Class in org.powermock.core.classloader
MockClassLoader builder.
MockClassLoaderBuilder() - Constructor for class org.powermock.core.classloader.MockClassLoaderBuilder
 
mockClassLoaderBuilder() - Static method in class org.powermock.core.classloader.MockClassLoaderBuilders
 
MockClassLoaderBuilders - Class in org.powermock.core.classloader
Factory class for MockClassLoaderBuilder
MockClassLoaderBuilders() - Constructor for class org.powermock.core.classloader.MockClassLoaderBuilders
 
MockClassLoaderFactory - Class in org.powermock.tests.utils.impl
 
MockClassLoaderFactory(Class<?>, String[], String[], MockTransformer...) - Constructor for class org.powermock.tests.utils.impl.MockClassLoaderFactory
 
mockCreator - Variable in class org.powermock.api.extension.agent.JavaAgentFrameworkRegisterImpl
 
MockCreator - Class in org.powermock.api.mockito.internal.mockcreation
 
MockCreator() - Constructor for class org.powermock.api.mockito.internal.mockcreation.MockCreator
 
MockCreator.MockData<T> - Class in org.powermock.api.mockito.internal.mockcreation
Class that encapsulate a mock and its corresponding invocation control.
MockCreator.MockitoStateCleanerRunnable - Class in org.powermock.api.mockito.internal.mockcreation
Clear state in Mockito that retains memory between tests
MockData(MockitoMethodInvocationControl, T) - Constructor for class org.powermock.api.mockito.internal.mockcreation.MockCreator.MockData
 
mockedMethods - Variable in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
 
mockedMethods - Variable in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
 
MockGateway - Class in org.powermock.core
All mock invocations are routed through this gateway.
MockGateway() - Constructor for class org.powermock.core.MockGateway
 
MockingFrameworkReporter - Interface in org.powermock.core.reporter
The instance of the interface is used to replace default mocking frameworks exception message via message specific for PowerMock use-cases.
MockingFrameworkReporterFactory - Interface in org.powermock.core.reporter
 
MockingFrameworkReporterFactoryImpl - Class in org.powermock.api.extension.reporter
The MockingFrameworkReporterFactory which create a new instance of MockingFrameworkReporter which is loaded by current context class loader.
MockingFrameworkReporterFactoryImpl - Class in org.powermock.api.extension.reporter
 
MockingFrameworkReporterFactoryImpl() - Constructor for class org.powermock.api.extension.reporter.MockingFrameworkReporterFactoryImpl
 
MockingFrameworkReporterFactoryImpl.MockitoMockingFrameworkReporter - Class in org.powermock.api.extension.reporter
 
MockingFrameworkReporterFactoryImpl.PowerMockitoReporter - Class in org.powermock.api.extension.reporter
PowerMock reported for Mockito, which replace standard mockito message to specific message for cases when PowerMock is used.
mockInstance - Variable in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
 
mockInstance - Variable in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
 
mockIsCurrentlyBeingReplaced() - Method in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature
 
MOCKITO_PROXY_MARKER - Static variable in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature
 
MOCKITO_VERSION - Static variable in class samples.powermockito.MockitoVersion
 
mockitoCore - Variable in class org.powermock.api.extension.reporter.MockingFrameworkReporterFactoryImpl.MockitoMockingFrameworkReporter
 
MockitoMethodInvocationControl - Class in org.powermock.api.mockito.internal.invocation
A Mockito implementation of the MethodInvocationControl interface.
MockitoMethodInvocationControl(MethodInterceptorFilter, Object, Method...) - Constructor for class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
Creates a new instance.
MockitoMethodInvocationControl(MethodInterceptorFilter, Object, Object, Method...) - Constructor for class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
Creates a new instance with a delegator.
MockitoMockingFrameworkReporter() - Constructor for class org.powermock.api.extension.reporter.MockingFrameworkReporterFactoryImpl.MockitoMockingFrameworkReporter
 
MockitoMockObjectInputStream(InputStream, Class, Set<Class>) - Constructor for class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.MockitoMockObjectInputStream
 
MockitoMockObjectOutputStream(ByteArrayOutputStream) - Constructor for class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.MockitoMockObjectOutputStream
 
MockitoNamingPolicy - Class in org.powermock.api.mockito.repackaged
 
MockitoNamingPolicy() - Constructor for class org.powermock.api.mockito.repackaged.MockitoNamingPolicy
 
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
 
mockitoProxyClassMarker(Class<?>) - Method in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.MockitoMockObjectOutputStream
Returns the Mockito marker if this class is a Mockito mock.
mockitoReporter - Variable in class org.powermock.api.extension.reporter.MockingFrameworkReporterFactoryImpl.MockitoMockingFrameworkReporter
 
MockitoStateCleaner - Class in org.powermock.api.mockito.internal.mockcreation
 
MockitoStateCleaner() - Constructor for class org.powermock.api.mockito.internal.mockcreation.MockitoStateCleaner
 
MockitoStateCleanerRunnable() - Constructor for class org.powermock.api.mockito.internal.mockcreation.MockCreator.MockitoStateCleanerRunnable
 
MockitoVersion - Class in samples.powermockito
 
MockitoVersion() - Constructor for class samples.powermockito.MockitoVersion
 
MockitoVersion.SystemPropertiesMockitoVersion - Class in samples.powermockito
 
mockLoader - Variable in class org.powermock.modules.testng.internal.TestClassInstanceFactory
 
mockMe() - Method in class samples.java.ClassInsideJavaPackage
 
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<? extends PowerMockPolicy>[]) - Constructor for class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
 
MockPolicyInitializerImpl(Class<?>) - 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
 
mockReplacementCompleted() - Method in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature
 
mockReplacementStarted() - Method in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature
 
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.repackaged.MethodInterceptorFilter
 
mockStatic(Class<?>, Method...) - Static method in class org.powermock.api.easymock.PowerMock
Enable static mocking for a class.
mockStatic(Class<?>) - Static method in class org.powermock.api.easymock.PowerMock
Enable static mocking for a class.
mockStatic(Class<?>, Class<?>...) - Static method in class org.powermock.api.mockito.PowerMockito
Enable static mocking for all methods of a class.
mockStatic(Class<?>, Answer) - Static method in class org.powermock.api.mockito.PowerMockito
Creates class mock with a specified strategy for its answers to interactions.
mockStatic(Class<?>, MockSettings) - Static method in class org.powermock.api.mockito.PowerMockito
Creates a class mock with some non-standard settings.
mockStaticNice(Class<?>, Method...) - Static method in class org.powermock.api.easymock.PowerMock
Enable nice static mocking for a class.
mockStaticNice(Class<?>) - Static method in class org.powermock.api.easymock.PowerMock
Enable nice static mocking for a class.
mockStaticPartial(Class<?>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Mock a single static method.
mockStaticPartial(Class<?>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to mock several static methods in an easy way (by just passing in the method names of the method you wish to mock).
mockStaticPartialNice(Class<?>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Mock a single static method (nice).
mockStaticPartialNice(Class<?>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to mock several static methods (nice) in an easy way (by just passing in the method names of the method you wish to mock).
mockStaticPartialStrict(Class<?>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Mock a single static method (strict).
mockStaticPartialStrict(Class<?>, String...) - Static method in class org.powermock.api.easymock.PowerMock
A utility method that may be used to mock several static methods (strict) in an easy way (by just passing in the method names of the method you wish to mock).
mockStaticStrict(Class<?>, Method...) - Static method in class org.powermock.api.easymock.PowerMock
Enable strict static mocking for a class.
mockStaticStrict(Class<?>) - Static method in class org.powermock.api.easymock.PowerMock
Enable strict static mocking for a class.
MockStrategy - Interface in org.powermock.api.easymock.internal.mockstrategy
 
MockStrict - Annotation Type in org.powermock.api.easymock.annotation
This annotation can be placed on those fields in your test class that should be mocked in a strict manner (i.e.
MockTransformer - Interface in org.powermock.core.transformers
Interface that all mock transformers must implement.
mockTransformerChain - Variable in class org.powermock.core.classloader.MockClassLoader
 
mockTransformerChain - Variable in class org.powermock.core.classloader.MockClassLoaderBuilder
 
mockTransformerChain - Variable in class org.powermock.modules.testng.internal.ClassLoaderFactory
 
mockType - Variable in class org.powermock.api.easymock.internal.mockstrategy.impl.AbstractMockStrategyBase
 
mockType - Variable in class org.powermock.api.mockito.internal.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
 
modify - Variable in class org.powermock.core.classloader.MockClassLoader
 
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.impl.AbstractMainMockTransformer
 
motherThread - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
MoveNext() - Method in class org.powermock.modules.junit4.common.internal.impl.VersionTokenizer
 
multipleNew() - Method in class samples.expectnew.ExpectNewDemo
 
mustHaveTestAnnotationRemoved(CtMethod) - Method in class org.powermock.core.transformers.impl.TestClassTransformer
 
mutex - Variable in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature
 
MY_OBJECT - Static variable in class samples.suppressfield.SuppressField
 
MY_STRING - Static variable in interface samples.interfacefieldchange.InterfaceWithStaticFinalField
 
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 - Class in samples.newmocking
 
MyClass() - Constructor for class samples.newmocking.MyClass
 
myClass - Variable in class samples.suppressfield.ItemRepository
 
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
 
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.api.mockito.repackaged.SerializableMockitoMethodProxy
 
NAMING_POLICY_THAT_ALLOWS_IMPOSTERISATION_OF_CLASSES_IN_SIGNED_PACKAGES - Static variable in class org.powermock.api.mockito.repackaged.ClassImposterizer
 
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
 
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(Constructor, Object...) - Method in class org.powermock.modules.testng.internal.PowerMockClassloaderObjectFactory
 
newInstance(Constructor, Object...) - Method in class org.powermock.modules.testng.PowerMockObjectFactory
 
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.
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
 
NewInvocationControlImpl<T> - Class in org.powermock.api.easymock.internal.invocationcontrol
 
NewInvocationControlImpl(InvocationSubstitute<T>, Class<T>) - Constructor for class org.powermock.api.easymock.internal.invocationcontrol.NewInvocationControlImpl
 
newRunnerBuilder() - Static method in class org.powermock.modules.junit4.PowerMockRunnerDelegate.SinceJUnit_4_5
 
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(String...) - Method in class samples.expectnew.ExpectNewDemo
 
newVarArgs(Service...) - Method in class samples.expectnew.ExpectNewDemo
 
newVarArgs(float, int...) - Method in class samples.expectnew.ExpectNewDemo
 
newVarArgs(byte[]...) - 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_OBJECT_CREATION_ERROR_MESSAGE_TEMPLATE - Static variable in class org.powermock.api.mockito.PowerMockito
 
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
 
NOTHING - Static variable in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.MockitoMockObjectOutputStream
 
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 - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
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(Object, Method, Object[], TestMethodResult) - Method in class org.powermock.tests.utils.impl.PowerMockTestNotifierImpl
Notifies all listeners with the "after test method ended" event.
notifyAfterTestMethod(boolean) - Method in class org.powermock.tests.utils.impl.PowerMockTestNotifierImpl
Notifies all listeners with the "after test method ended" event.
notifyAfterTestMethod(Object, Method, Object[], TestMethodResult) - Method in interface org.powermock.tests.utils.PowerMockTestNotifier
Notifies all listeners with the "after test method ended" event.
notifyAfterTestMethod(boolean) - Method in interface org.powermock.tests.utils.PowerMockTestNotifier
Notifies all listeners with the "after test method ended" event.
notifyAfterTestSuiteEnded(Class<?>, Method[], TestSuiteResult) - Method in class org.powermock.tests.utils.impl.PowerMockTestNotifierImpl
Notifies all listeners with the "after test suite ended" event.
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
Notifies all listeners with the "before test method started" event.
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
Notifies all listeners with the "before test suite started" event.
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
 
notMarkedAsAMockitoMock(Object) - Method in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.MockitoMockObjectInputStream
Read the stream class annotation and identify it as a Mockito mock or not.
NullMockTypeValidator() - Constructor for class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory.NullMockTypeValidator
 
number - Static variable in class samples.singleton.StaticService
 

O

object - Variable in class org.powermock.api.mockito.internal.expectation.DefaultMethodExpectationSetup
 
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
 
objectMethodsGuru - Variable in class org.powermock.api.mockito.repackaged.MethodInterceptorFilter
 
objectsToAutomaticallyReplayAndVerify - Static variable in class org.powermock.core.MockRepository
 
objectToVerify - Variable in class org.powermock.api.mockito.internal.verification.DefaultPrivateMethodVerification
 
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
 
operand - Variable in class samples.mockpolicy.ResultCalculator
 
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.agent - package org.powermock.api.extension.agent
 
org.powermock.api.extension.listener - package org.powermock.api.extension.listener
 
org.powermock.api.extension.proxyframework - package org.powermock.api.extension.proxyframework
 
org.powermock.api.extension.reporter - package org.powermock.api.extension.reporter
 
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.mockmaker - package org.powermock.api.mockito.internal.mockmaker
 
org.powermock.api.mockito.internal.stubbing.answers - package org.powermock.api.mockito.internal.stubbing.answers
 
org.powermock.api.mockito.internal.verification - package org.powermock.api.mockito.internal.verification
 
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.repackaged - package org.powermock.api.mockito.repackaged
Mockito related CGLIB stuff.
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.core - package org.powermock.core
 
org.powermock.core.agent - package org.powermock.core.agent
 
org.powermock.core.classloader - package org.powermock.core.classloader
 
org.powermock.core.classloader.annotations - package org.powermock.core.classloader.annotations
 
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.impl - package org.powermock.core.transformers.impl
 
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.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.matching - package org.powermock.reflect.matching
 
org.powermock.reflect.proxyframework - package org.powermock.reflect.proxyframework
 
org.powermock.reflect.spi - package org.powermock.reflect.spi
 
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
 
overloaded(Parent) - Method in class samples.overloading.StaticAndInstanceMethodWithSameName
 
overloaded(ChildA) - Static method in class samples.overloading.StaticAndInstanceMethodWithSameName
 
OverloadedMethodsExample - Class in samples.overloading
 
OverloadedMethodsExample() - Constructor for class samples.overloading.OverloadedMethodsExample
 
overloadedMethodWithOneArgument(Parent) - Static method in class samples.overloading.OverloadedMethodsExample
 
overloadedMethodWithOneArgument(ChildA) - 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
 
packagesToBeDeferred - Static variable in class org.powermock.core.classloader.MockClassLoader
 
packagesToIgnore - Variable in class org.powermock.core.classloader.MockClassLoaderBuilder
 
packagesToIgnore - Variable in class org.powermock.tests.utils.impl.MockClassLoaderFactory
 
packagesToLoadButNotModify - Variable in class org.powermock.core.classloader.MockClassLoader
 
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
 
parameterTypes - Variable in class org.powermock.api.mockito.internal.expectation.DefaultConstructorExpectationSetup
 
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
 
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
 
performClone(Class<T>, Object, boolean) - Method in class org.powermock.classloading.DeepCloner
 
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(MethodInterceptorFilter, Object, Method, Object[]) - Method in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
 
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
 
pleaseStop() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
 
potentialTestFailure - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner
 
potentialTestMethod - Variable in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestMethodChecker
 
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() - Constructor for class org.powermock.api.easymock.PowerMock
 
PowerMock.EasyMockStateCleaner - Class in org.powermock.api.easymock
Clears the state in LastControl that deals with MocksControl.
POWERMOCK_INSTANCE_DELEGATOR_FIELD_NAME - Static variable in class org.powermock.core.ClassReplicaCreator
 
PowerMockClassloaderExecutor - Class in org.powermock.modules.junit4.rule
 
PowerMockClassloaderExecutor() - Constructor for class org.powermock.modules.junit4.rule.PowerMockClassloaderExecutor
 
PowerMockClassloaderObjectFactory - Class in org.powermock.modules.testng.internal
 
PowerMockClassloaderObjectFactory() - Constructor for class org.powermock.modules.testng.internal.PowerMockClassloaderObjectFactory
 
PowerMockExpectedExceptionsExtractorImpl - Class in org.powermock.modules.testng.internal
 
PowerMockExpectedExceptionsExtractorImpl() - Constructor for class org.powermock.modules.testng.internal.PowerMockExpectedExceptionsExtractorImpl
 
PowerMockExpressionEditor(CtClass) - Constructor for class org.powermock.core.transformers.impl.AbstractMainMockTransformer.PowerMockExpressionEditor
 
PowerMockIgnore - Annotation Type in org.powermock.core.classloader.annotations
This annotation tells PowerMock to defer the loading of classes with the names supplied to PowerMockIgnore.value() to the system classloader.
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
 
PowerMockInternalMockHandler(Class<?>) - Constructor for class org.powermock.api.mockito.internal.mockmaker.PowerMockMaker.PowerMockInternalMockHandler
 
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
 
PowerMockitoReporter() - Constructor for class org.powermock.api.extension.reporter.MockingFrameworkReporterFactoryImpl.PowerMockitoReporter
 
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() - 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<?>, String[], PowerMockTestListener[]) - 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<?>) - 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<?>, String[], PowerMockTestListener[]) - 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<?>) - 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<?>, String[], PowerMockTestListener[]) - 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<?>) - 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.internal.mockmaker
A PowerMock implementation of the MockMaker.
PowerMockMaker() - Constructor for class org.powermock.api.mockito.internal.mockmaker.PowerMockMaker
 
PowerMockMaker.PowerMockInternalMockHandler - Class in org.powermock.api.mockito.internal.mockmaker
It needs to extend InternalMockHandler because Mockito requires the type to be of InternalMockHandler and not MockHandler
PowerMockMatchersBinder - Class in org.powermock.api.mockito.internal.invocation
This class is essentially a copy of MatchersBinder with the exception that the InvocationMatcher is replaced and its toString method is overwritten to avoid exceptions.
PowerMockMatchersBinder() - Constructor for class org.powermock.api.mockito.internal.invocation.PowerMockMatchersBinder
 
PowerMockMethodInterceptorFilter - Class in org.powermock.api.mockito.internal.mockcreation
 
PowerMockMethodInterceptorFilter(InternalMockHandler, MockCreationSettings) - Constructor for class org.powermock.api.mockito.internal.mockcreation.PowerMockMethodInterceptorFilter
 
PowerMockModified - Interface in org.powermock.core.classloader
Interface marker.
PowerMockObjectFactory - Class in org.powermock.modules.testng
The PowerMock object factory.
PowerMockObjectFactory() - Constructor for class org.powermock.modules.testng.PowerMockObjectFactory
 
powerMockObjectFactory - Variable in 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
 
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.
prepareForStubbing(T) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
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.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
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
 
prepend(Class<?>, Class<?>...) - Method in class org.powermock.api.mockito.repackaged.ClassImposterizer
 
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
 
primitiveCounterpart - Variable in class org.powermock.reflect.internal.matcherstrategies.AssignableFromFieldTypeMatcherStrategy
 
Primitives - Class in org.powermock.core.transformers.impl
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.impl.Primitives
 
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
 
primitiveWrapper - Static variable in class org.powermock.reflect.internal.primitivesupport.PrimitiveWrapper
 
printClassesLoadedByClassloader(ClassLoader, boolean) - Static method in class org.powermock.core.PowerMockUtils
 
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
 
proxies - Variable in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
proxy(Method, InvocationHandler) - Static method in class org.powermock.api.support.MethodProxy
Add a proxy for this method.
proxy(Class<?>, String, InvocationHandler) - Static method in class org.powermock.api.support.MethodProxy
Add a proxy for a method declared in class declaringClass.
proxyFramework - Static variable in class org.powermock.reflect.internal.WhiteboxImpl
The proxy framework.
ProxyFramework - Interface in org.powermock.reflect.spi
The purpose of a the proxy framework implementation is to return the unproxied types of classes.
ProxyFrameworkHelper - Class in org.powermock.reflect.proxyframework
 
ProxyFrameworkHelper(ClassLoader) - Constructor for class org.powermock.reflect.proxyframework.ProxyFrameworkHelper
 
ProxyFrameworkImpl - Class in org.powermock.api.extension.proxyframework
CGLib proxy framework setup.
ProxyFrameworkImpl - Class in org.powermock.api.extension.proxyframework
CGLib proxy framework setup.
ProxyFrameworkImpl() - Constructor for class org.powermock.api.extension.proxyframework.ProxyFrameworkImpl
 
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
 
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

readResolve() - Method in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.AcrossJVMMockSerializationProxy
Resolves the proxy to a new deserialized instance of the Mockito mock.
reallyEasyMock - Variable in class org.powermock.api.easymock.EasyMockConfiguration
 
ReallySimpleSwingDemo - Class in samples.swing
 
ReallySimpleSwingDemo() - Constructor for class samples.swing.ReallySimpleSwingDemo
 
referenceMap - Variable in class org.powermock.classloading.DeepCloner
 
ReflectionInstantiator - Class in samples.reflection
 
ReflectionInstantiator() - Constructor for class samples.reflection.ReflectionInstantiator
 
reflectOnCreateInfo(MethodProxy) - Method in class org.powermock.api.mockito.repackaged.CGLIBHacker
 
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.
register() - Method in class org.powermock.reflect.proxyframework.ProxyFrameworkHelper
 
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.
registerProxyframework(ClassLoader) - Static method in class org.powermock.reflect.proxyframework.ClassLoaderRegisterProxyFramework
 
RegisterProxyFramework - Class in org.powermock.reflect.proxyframework
All API's must register a proxy framework using this class.
RegisterProxyFramework() - Constructor for class org.powermock.reflect.proxyframework.RegisterProxyFramework
 
registerProxyFramework(ProxyFramework) - Static method in class org.powermock.reflect.proxyframework.RegisterProxyFramework
Register a proxy framework.
registerProxyframework(ClassLoader) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
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
 
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
 
removeFinalModifierFromAllStaticFinalFields(CtClass) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
 
removeFinalModifierFromClass(CtClass) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
 
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 interface org.powermock.core.transformers.impl.TestClassTransformer.ForTestClass
 
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.impl.TestClassTransformer
 
removeTestMethodAnnotationFrom(CtMethod) - Method in class org.powermock.core.transformers.impl.TestClassTransformer
 
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.
replaceMatchersBinderIfNeeded(MockHandler) - Method in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
 
replay(Object...) - Method in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
Replay the given objects or classes.
replay(Object...) - Method in class org.powermock.api.easymock.internal.invocationcontrol.NewInvocationControlImpl
Replay the given objects or classes.
replay(Object...) - Static method in class org.powermock.api.easymock.PowerMock
Switches the mocks or classes to replay mode.
replay(Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
 
replay(Object...) - Method in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
 
replay(Object...) - Method in class org.powermock.api.mockito.internal.invocation.MockitoNewInvocationControl
Replay the given objects or classes.
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(Object...) - Method in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
Reset the given objects or classes.
reset(Object...) - Method in class org.powermock.api.easymock.internal.invocationcontrol.NewInvocationControlImpl
Reset the given objects or classes.
reset(Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Reset a list of class mocks.
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.MockitoMethodInvocationControl
 
reset(Object...) - Method in class org.powermock.api.mockito.internal.invocation.MockitoNewInvocationControl
Reset the given objects or classes.
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.internal.mockmaker.PowerMockMaker
 
resetMock(Object, MockHandler, MockCreationSettings) - Method in class org.powermock.api.mockito.repackaged.CglibMockMaker
 
resolveClass(ObjectStreamClass) - Method in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.MockitoMockObjectInputStream
Resolve the Mockito proxy class if it is marked as such.
restoreOriginalConstructorsAccesses(CtClass) - Method in class org.powermock.core.transformers.impl.TestClassTransformer
 
result - Variable in class org.powermock.core.spi.testresult.impl.TestMethodResultImpl
 
Result - Enum in org.powermock.core.spi.testresult
 
Result() - Constructor for enum org.powermock.core.spi.testresult.Result
 
result - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder.OngoingTestRun
 
result - Variable in class samples.mockpolicy.frameworkexample.NativeResult
 
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
 
returnsElementsOf - Variable in class org.powermock.api.mockito.internal.stubbing.answers.ChainReturns
 
run() - Method in class org.powermock.api.easymock.PowerMock.EasyMockStateCleaner
 
run() - Method in class org.powermock.api.mockito.internal.mockcreation.MockCreator.MockitoStateCleanerRunnable
 
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
 

S

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(int) - Method in class samples.suppressmethod.SuppressMethod
 
sameName(float) - Method in class samples.suppressmethod.SuppressMethod
 
samples - package samples
 
samples.abstractmocking - package samples.abstractmocking
 
samples.annotationbased - package samples.annotationbased
 
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.powermockito - package samples.powermockito
 
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, 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
 
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(String) - Static method in class samples.singleton.StaticService
 
sayHello(Integer) - Static method in class samples.singleton.StaticService
 
sayHello() - 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(String) - Method in class samples.privateandfinal.PrivateFinal
 
sayIt(String, String, String) - Method in class samples.privatemocking.PrivateMethodDemo
 
sayIt(String) - Method in class samples.privatemocking.PrivateMethodDemo
 
sayIt() - 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
 
SERIALIZABLE_INSTANCE - Static variable in class org.powermock.api.mockito.repackaged.SerializableNoOp
 
SerializableMockitoMethodProxy - Class in org.powermock.api.mockito.repackaged
 
SerializableMockitoMethodProxy(MethodProxy) - Constructor for class org.powermock.api.mockito.repackaged.SerializableMockitoMethodProxy
 
SerializableNoOp - Class in org.powermock.api.mockito.repackaged
Offer a Serializable implementation of the NoOp CGLIB callback.
SerializableNoOp() - Constructor for class org.powermock.api.mockito.repackaged.SerializableNoOp
 
serializationClone(Object) - Method in class org.powermock.classloading.DeepCloner
 
serializedMock - Variable in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.AcrossJVMMockSerializationProxy
 
serialVersionUID - Static variable in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.AcrossJVMMockSerializationProxy
 
serialVersionUID - Static variable in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature
 
serialVersionUID - Static variable in class org.powermock.api.mockito.repackaged.MethodInterceptorFilter
 
serialVersionUID - Static variable in class org.powermock.api.mockito.repackaged.SerializableMockitoMethodProxy
 
serialVersionUID - Static variable in class org.powermock.api.mockito.repackaged.SerializableNoOp
 
serialVersionUID - Static variable in exception org.powermock.reflect.exceptions.ConstructorNotFoundException
 
serialVersionUID - Static variable in exception org.powermock.reflect.exceptions.FieldNotFoundException
 
serialVersionUID - Static variable in exception org.powermock.reflect.exceptions.MethodInvocationException
 
serialVersionUID - Static variable in exception org.powermock.reflect.exceptions.MethodNotFoundException
 
serialVersionUID - Static variable in exception org.powermock.reflect.exceptions.TooManyConstructorsFoundException
 
serialVersionUID - Static variable in exception org.powermock.reflect.exceptions.TooManyFieldsFoundException
 
serialVersionUID - Static variable in exception 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.
setAllConstructorsToPublic(CtClass) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
 
setAnswersForStubbing(List<Answer>) - Method in class org.powermock.api.mockito.internal.mockmaker.PowerMockMaker.PowerMockInternalMockHandler
 
setClassMock(Class<?>) - Method in class org.powermock.api.mockito.internal.verification.StaticMockAwareVerificationMode
 
setConstructorsAccessible(Class<?>, boolean) - Method in class org.powermock.api.mockito.repackaged.ClassImposterizer
 
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.
setFinalDemo(FinalDemo) - Method in class samples.injectmocks.DependencyHolder
 
setFinalDemo(FinalDemo) - Method in class samples.injectmocks.DependencyHolderQualifier
 
setFinalDemoQualifier(FinalDemo) - Method in class samples.injectmocks.DependencyHolderQualifier
 
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.
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, 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.internal.WhiteboxImpl
Set the value of a field using reflection.
setInternalState(Object, Class<?>, 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.internal.WhiteboxImpl
Set the value of a field using reflection.
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, 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, String, Object, Class<?>) - 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.Whitebox
Set an array 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, 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, String, Object, Class<?>) - Static method in class org.powermock.reflect.Whitebox
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.Whitebox
Set the value of a field using reflection at a specific location ( where) in the class hierarchy.
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, FieldMatchingStrategy) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
 
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, 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, 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, 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.
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.
setInvocationHandler(Object) - Method in class org.powermock.modules.testng.internal.TestClassInstanceFactory
 
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
 
setMockitoNamingPolicy(MethodProxy) - Method in class org.powermock.api.mockito.repackaged.CGLIBHacker
 
setMockitoReporter(Reporter, MockitoCore) - Method in class org.powermock.api.extension.reporter.MockingFrameworkReporterFactoryImpl.MockitoMockingFrameworkReporter
 
setMockTransformerChain(List<MockTransformer>) - Method in class org.powermock.core.classloader.MockClassLoader
 
setParameterTypes(Class<?>[]) - Method in class org.powermock.api.mockito.internal.expectation.DefaultConstructorExpectationSetup
 
setService(Service) - Method in class samples.anonymousmocking.StupidAnonymous
 
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
setToPowerMockito(JavaAgentClassRegister) - Method in class org.powermock.api.extension.agent.JavaAgentFrameworkRegisterImpl
 
setupExpectation() - Method in class org.powermock.api.mockito.internal.expectation.ConstructorAwareExpectationSetup
 
setValue(V) - Method in class org.powermock.core.ListMap.SimpleEntry
 
setValue(int) - Method in class samples.classhierarchy.Parent
 
shouldDefer(String[], String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
 
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(Iterable<String>, String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
 
shouldIgnore(String[], String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
 
shouldLoadUnmodifiedClass(String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
 
shouldLoadUnmodifiedClass(String) - Method in class org.powermock.core.classloader.MockClassLoader
 
shouldLoadWithMockClassloaderWithoutModifications(String) - Method in class org.powermock.core.classloader.MockClassLoader
 
shouldMockMethod(String, Class<?>[]) - Static method in class org.powermock.core.MockGateway
 
shouldMockThisCall() - Static method in class org.powermock.core.MockGateway
 
shouldModify(Iterable<String>, String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
 
shouldModify(String) - Method in class org.powermock.core.classloader.MockClassLoader
 
shouldModifyAll() - Method in class org.powermock.core.classloader.MockClassLoader
 
shouldModifyClass(String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
 
shouldModifyClass(String) - Method in class org.powermock.core.classloader.MockClassLoader
 
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) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer.PowerMockExpressionEditor
 
showDialog() - Method in class samples.powermockignore.PowerMockIgnoreDemo
 
shuffleCollection(List<?>) - Method in class samples.system.SystemClassUser
 
signatureOf(Method) - Static method in class org.powermock.core.transformers.impl.TestClassTransformer
 
signatureOf(CtMethod) - Static method in class org.powermock.core.transformers.impl.TestClassTransformer
 
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() - Method in class samples.finalmocking.FinalDemo
 
SimpleReturnExample - Class in samples.simplereturn
 
SimpleReturnExample() - Constructor for class samples.simplereturn.SimpleReturnExample
 
simpleReturnExample - Variable in class samples.simplereturn.SimpleReturnExampleUser
 
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 - Interface in samples.rule
 
simpleThing - Variable in class samples.rule.ThingToTest
 
SimpleThingCreator - Class in samples.rule
 
SimpleThingCreator() - Constructor for class samples.rule.SimpleThingCreator
 
SimpleThingImpl - Class in samples.rule
 
SimpleThingImpl() - Constructor for class samples.rule.SimpleThingImpl
 
SinceJUnit_4_5() - Constructor for class org.powermock.modules.junit4.PowerMockRunnerDelegate.SinceJUnit_4_5
 
SingleClassloaderExecutor - Class in org.powermock.classloading
A ClassLoaderExecutor can run any code in any classloader.
SingleClassloaderExecutor(ClassLoader) - Constructor for class org.powermock.classloading.SingleClassloaderExecutor
 
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() - Constructor for class org.powermock.api.easymock.mockpolicies.Slf4jMockPolicy
 
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.mockito.mockpolicies.Slf4jMockPolicy
 
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.MockClassLoader
 
spy(T) - Static method in class org.powermock.api.mockito.PowerMockito
Spy on objects that are final or otherwise not "spyable" from normal Mockito.
spy(Class<T>) - Static method in class org.powermock.api.mockito.PowerMockito
Spy on classes (not "spyable" from normal Mockito).
SpyObject - Class in samples.spy
 
SpyObject() - Constructor for class samples.spy.SpyObject
 
StackTraceCleanerProvider - Class in org.powermock.api.mockito.internal.exceptions
 
StackTraceCleanerProvider() - Constructor for class org.powermock.api.mockito.internal.exceptions.StackTraceCleanerProvider
 
state - Variable in class samples.constructor.PrivateConstructorInstantiationDemo
 
state - Static variable in class samples.partialmocking.MockWithStaticStateDemo
 
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
 
staticAndInstanceDemo - Variable in class samples.staticandinstance.StaticAndInstanceWithConstructorCodeDemo
 
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
 
staticConstructorSuppressExtractor - Variable in class org.powermock.modules.testng.internal.ClassLoaderFactory
 
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
 
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.singleton.StaticWithPrivateCtor
 
staticMethodReturningString() - Static method in class samples.singleton.StaticExample
 
StaticMockAwareVerificationMode - Class in org.powermock.api.mockito.internal.verification
A custom extension of MockAwareVerificationMode for static method verification.
StaticMockAwareVerificationMode(VerificationMode) - Constructor for class org.powermock.api.mockito.internal.verification.StaticMockAwareVerificationMode
 
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
 
strategy - Variable in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
 
StressSample - Class in samples.stress
 
StressSample() - Constructor for class samples.stress.StressSample
 
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
 
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 - 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(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(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) - 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.NewInvocationControlImpl
 
substitute - Variable in class org.powermock.api.easymock.internal.invocationcontrol.NewInvocationControlImpl
 
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
 
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
 
superName - Variable in class org.powermock.api.mockito.repackaged.SerializableMockitoMethodProxy
 
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(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(AccessibleObject[]) - Static method in class org.powermock.api.support.membermodification.MemberModifier
Suppress an array of accessible objects.
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(Constructor<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated.
suppressConstructor(Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated.
suppressConstructor(Class<?>, boolean) - 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.
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.support.SuppressCode
Suppress all constructors in the given class.
suppressConstructor - Static variable in class org.powermock.core.MockRepository
Set of constructors that should be suppressed.
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(Field...) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated.
suppressField(Class<?>[]) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated.
suppressField(Class<?>, String...) - 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<?>[]) - 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.support.SuppressCode
Suppress multiple methods for a class.
suppressField - Static variable in class org.powermock.core.MockRepository
Set of methods that should be suppressed.
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.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
suppressMethod(Method...) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated.
suppressMethod(Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated.
suppressMethod(Class<?>[]) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated.
suppressMethod(Class<?>, String, String...) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated.
suppressMethod(Class<?>, String[]) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated.
suppressMethod(Class<?>, boolean) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated.
suppressMethod(Class<?>, String, Class<?>[]) - 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<?>, Class<?>...) - Static method in class org.powermock.api.support.SuppressCode
Suppress all methods for these classes.
suppressMethod(Class<?>[]) - Static method in class org.powermock.api.support.SuppressCode
Suppress all methods for these classes.
suppressMethod(Class<?>, String, String...) - Static method in class org.powermock.api.support.SuppressCode
Suppress multiple methods for a class.
suppressMethod(Class<?>, String[]) - Static method in class org.powermock.api.support.SuppressCode
Suppress multiple methods for a class.
suppressMethod(Class<?>, boolean) - Static method in class org.powermock.api.support.SuppressCode
suSuppress all methods for this class.
suppressMethod(Class<?>, String, Class<?>[]) - Static method in class org.powermock.api.support.SuppressCode
Suppress a specific method call.
suppressMethod - Static variable in class org.powermock.core.MockRepository
Set of methods that should be suppressed.
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.
suppressStaticInitializerIfRequested(CtClass, String) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
 
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
 
SystemPropertiesMockitoVersion() - Constructor for class samples.powermockito.MockitoVersion.SystemPropertiesMockitoVersion
 

T

targetCL - Variable in class org.powermock.classloading.DeepCloner
 
test - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner.TestExecutorStatement
 
TEST_CLASS_FIELD - Static variable in class org.powermock.modules.junit4.internal.impl.testcaseworkaround.PowerMockJUnit4MethodValidator
 
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.transformers.impl.TestClassTransformer
 
testClass - Variable in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestMethodChecker
 
testClass() - Method in class org.powermock.modules.junit4.internal.impl.NotificationBuilder.OngoingTestRun
 
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.MockClassLoaderFactory
 
testClass - Variable in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
 
testClass - Variable in class org.powermock.tests.utils.impl.TestCaseEntry
 
testClasses - Variable in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
 
testClassesExtractor - Variable in class org.powermock.modules.testng.internal.ClassLoaderFactory
 
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, ClassLoaderFactory, 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 - Class in org.powermock.core.transformers.impl
MockTransformer implementation that will make PowerMock test-class enhancements for four purposes...
TestClassTransformer(Class<?>, Class<? extends Annotation>) - Constructor for class org.powermock.core.transformers.impl.TestClassTransformer
 
TestClassTransformer.ForTestClass - Interface in org.powermock.core.transformers.impl
 
TestClassTransformer.ForTestClass.RemovesTestMethodAnnotation - Interface in org.powermock.core.transformers.impl
 
testCount - Variable in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
 
testCount() - Method in class org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner
 
testCount - Variable in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
 
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 - 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.impl.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
 
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
 
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 and 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(Throwable...) - Method in class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing
 
thenThrow(Class<? extends 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() - 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(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<?>[]) - 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(Integer) - Method in class samples.partialmocking.MockSelfDemo
 
timesTwo(int) - Method in class samples.partialmocking.MockSelfDemo
 
toBoxedIfPrimitive(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
 
toInstanceName(Class<?>, MockSettings) - Method in class org.powermock.api.mockito.internal.mockcreation.MockCreator
 
TooManyConstructorsFoundException - Exception 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 org.powermock.reflect.exceptions.TooManyConstructorsFoundException
Constructs a new exception with the specified detail message.
TooManyFieldsFoundException - Exception 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 org.powermock.reflect.exceptions.TooManyFieldsFoundException
Constructs a new exception with the specified detail message.
TooManyMethodsFoundException - Exception 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 org.powermock.reflect.exceptions.TooManyMethodsFoundException
Constructs a new exception with the specified detail message.
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.internal.invocation.MockitoMethodInvocationControl
 
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.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
 
ToStringGenerator - Class in org.powermock.api.mockito.internal.invocation
We need to override the toString() in some classes because normally the toString "method" is assembled by calling the "qualifiedName" method but this is not possible in our case.
ToStringGenerator() - Constructor for class org.powermock.api.mockito.internal.invocation.ToStringGenerator
 
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(CtClass) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
 
transform(CtClass) - Method in class org.powermock.core.transformers.impl.TestClassTransformer
 
transform(CtClass) - Method in interface org.powermock.core.transformers.MockTransformer
Transforms the clazz.
transformMockClass(CtClass) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
 
transformMockClass(CtClass) - Method in class org.powermock.core.transformers.impl.ClassMockTransformer
 
transformMockClass(CtClass) - Method in class org.powermock.core.transformers.impl.InterfaceMockTransformer
 
TransformStrategy - Enum in org.powermock.core.transformers
 
TransformStrategy() - Constructor for enum org.powermock.core.transformers.TransformStrategy
 
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.DefaultConstructorArgumentsVerfication
 
typeToMock - Variable in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.AcrossJVMMockSerializationProxy
 
typeToMock - Variable in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.MockitoMockObjectInputStream
 
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
 
unqualifiedInjections - Variable in class org.powermock.api.extension.listener.AnnotationGlobalMetadata
 
unsafe - Static variable in class org.powermock.classloading.DeepCloner.UnsafeFieldWriter
 
UnsafeFieldWriter() - Constructor for class org.powermock.classloading.DeepCloner.UnsafeFieldWriter
 
unsupportedMethodArgs - Static variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
 
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 - Annotation Type in org.powermock.core.classloader.annotations
Use this annotation to enable adjusting of the class path used by powermock to locate class files.
UseMe - Class in samples.reflection
 
UseMe() - Constructor for class samples.reflection.UseMe
 
UseMeInterface - Interface in samples.reflection
 
usePreparedStatement() - Method in class samples.interfacemethodfinding.InterfaceMethodHierarchyUsage
 
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
 
validateMatchers(Invocation, List<LocalizedMatcher>) - Method in class org.powermock.api.mockito.internal.invocation.PowerMockMatchersBinder
 
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 class samples.classhierarchy.Parent
 
value - Variable in class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClassWithConstructorArgument
 
value - Variable in class samples.classwithinnermembers.ClassWithInnerMembers.StaticInnerClassWithConstructorArgument
 
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.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 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() - 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.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 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(String...) - Constructor for class samples.expectnew.VarArgsConstructorDemo
 
VarArgsConstructorDemo(byte[]...) - Constructor for class samples.expectnew.VarArgsConstructorDemo
 
VarArgsConstructorDemo(Service...) - Constructor for class samples.expectnew.VarArgsConstructorDemo
 
VarArgsConstructorDemo(float, int...) - Constructor for class samples.expectnew.VarArgsConstructorDemo
 
varArgsMethod(int...) - Method in class samples.privatemocking.PrivateMethodDemo
 
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 the given objects or classes.
verify(Object...) - Method in class org.powermock.api.easymock.internal.invocationcontrol.NewInvocationControlImpl
Verify the given objects or classes.
verify(Object...) - Static method in class org.powermock.api.easymock.PowerMock
Switches the mocks or classes to verify mode.
verify(Object...) - Method in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
 
verify(Object...) - Method in class org.powermock.api.mockito.internal.invocation.MockitoNewInvocationControl
Verify the given objects or classes.
verify(VerificationData) - Method in class org.powermock.api.mockito.internal.verification.StaticMockAwareVerificationMode
 
verify(Object...) - Method in interface org.powermock.core.spi.DefaultBehavior
Verify the given objects or classes.
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.
verifyNew(Class<T>) - Static method in class org.powermock.api.mockito.PowerMockito
Verifies certain behavior happened once
verifyNew(Class<?>, 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.MockitoMethodInvocationControl
 
verifyNoMoreInteractions() - Method in class org.powermock.api.mockito.internal.invocation.MockitoNewInvocationControl
 
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
 
verifyNoMoreInteractions(Object...) - Static method in class org.powermock.api.mockito.internal.verification.VerifyNoMoreInteractions
 
verifyNoMoreInteractions(Class<?>...) - 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.
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.
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.
verifyStatic() - Static method in class org.powermock.api.mockito.PowerMockito
Verifies certain behavior happened once
verifyStatic(VerificationMode) - Static method in class org.powermock.api.mockito.PowerMockito
Verifies certain behavior 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 samples.powermockito.MockitoVersion.SystemPropertiesMockitoVersion
 
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
 
VOID - Static variable in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
 
voidFinalMethod() - Static method in class samples.singleton.StaticExample
 
voidMethod() - Method in class samples.newmocking.MyClass
 
voidMethod() - Static method in class samples.singleton.StaticExample
 
voidMethodStubbable(Object) - Method in class org.powermock.api.mockito.internal.mockmaker.PowerMockMaker.PowerMockInternalMockHandler
 

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(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, 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, 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(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>, 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>, 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<?>) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
Allows to choose a static method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
when(T) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
Supports PowerMockito mocks.
when(T, Method) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
when(T, Object...) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
when(T, String, Object...) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
when(Class<T>, Object...) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
when(Class<T>, String, Object...) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
when(Class<T>, Method) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
when(Object, String, Object...) - Static method in class org.powermock.api.mockito.PowerMockito
Expect calls to private methods.
when(Object, Method) - Static method in class org.powermock.api.mockito.PowerMockito
Expect calls to private methods.
when(Class<?>, Method) - Static method in class org.powermock.api.mockito.PowerMockito
Expect calls to private static methods.
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(Class<?>, String, Object...) - Static method in class org.powermock.api.mockito.PowerMockito
Expect a static private or inner class method call.
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(T) - Static method in class org.powermock.api.mockito.PowerMockito
Just delegates to the original Mockito.when(Object) method.
whenNew(Constructor<T>) - Static method in class org.powermock.api.mockito.PowerMockito
Allows specifying expectations on new invocations.
whenNew(Class<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
 
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(Method) - Method in class org.powermock.api.support.membermodification.strategy.impl.MethodReplaceStrategyImpl
 
with(InvocationHandler) - 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.
with(InvocationHandler) - Method in interface org.powermock.api.support.membermodification.strategy.MethodReplaceStrategy
Replaces the method invocation with an invocation handler
WithAnyArguments<T> - Interface in org.powermock.api.mockito.expectation
 
withAnyArguments() - Method in interface org.powermock.api.mockito.expectation.WithAnyArguments
 
withAnyArguments() - Method in class org.powermock.api.mockito.internal.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.ConstructorAwareExpectationSetup
 
withArguments(Object[]) - Method in class org.powermock.api.mockito.internal.expectation.DefaultConstructorExpectationSetup
 
withArguments(Object, Object...) - Method in class org.powermock.api.mockito.internal.expectation.DefaultConstructorExpectationSetup
 
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.DefaultConstructorArgumentsVerfication
 
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
 
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 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.ConstructorAwareExpectationSetup
 
withNoArguments() - Method in class org.powermock.api.mockito.internal.expectation.DefaultConstructorExpectationSetup
 
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.DefaultConstructorArgumentsVerfication
 
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 interface org.powermock.api.mockito.expectation.WithExpectedParameterTypes
 
withParameterTypes(Class<?>, Class<?>...) - Method in class org.powermock.api.mockito.internal.expectation.DefaultConstructorExpectationSetup
 
WithVerifiedArguments - Interface in org.powermock.api.mockito.verification
 
wrapInMockitoSpecificVerificationMode(Object, VerificationMode) - Method in class org.powermock.api.mockito.internal.PowerMockitoCore
 
wrapInStaticVerificationMode(VerificationMode) - Method in class org.powermock.api.mockito.internal.PowerMockitoCore
 
wrapMethod(Method) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
wrappedDefaultRunner - Variable in class org.powermock.modules.junit4.PowerMockRunnerDelegate.DefaultJUnitRunner
 
write(Field, Object, Object) - Static method in class org.powermock.classloading.DeepCloner.UnsafeFieldWriter
 
writeReplace() - Method in interface org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.AcrossJVMMockitoMockSerializable
 
writeReplace(Object) - Method in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature
Custom implementation of the writeReplace method for serialization.
WsUtil - Class in samples.interfacemethodfinding
Dummy class that is used to setup expectations for the InterfaceMethodHierarchyUsage.
WsUtil() - Constructor for class samples.interfacemethodfinding.WsUtil
 

_

_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 _ 
Skip navigation links