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

A

AALOAD - Static variable in interface org.objectweb.asm.Opcodes
 
AASTORE - Static variable in interface org.objectweb.asm.Opcodes
 
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
 
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
 
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
 
ACC_ABSTRACT - Static variable in interface org.objectweb.asm.Opcodes
 
ACC_ANNOTATION - Static variable in interface org.objectweb.asm.Opcodes
 
ACC_BRIDGE - Static variable in interface org.objectweb.asm.Opcodes
 
ACC_DEPRECATED - Static variable in interface org.objectweb.asm.Opcodes
 
ACC_ENUM - Static variable in interface org.objectweb.asm.Opcodes
 
ACC_FINAL - Static variable in interface org.objectweb.asm.Opcodes
 
ACC_INTERFACE - Static variable in interface org.objectweb.asm.Opcodes
 
ACC_NATIVE - Static variable in interface org.objectweb.asm.Opcodes
 
ACC_PRIVATE - Static variable in interface org.objectweb.asm.Opcodes
 
ACC_PROTECTED - Static variable in interface org.objectweb.asm.Opcodes
 
ACC_PUBLIC - Static variable in interface org.objectweb.asm.Opcodes
 
ACC_STATIC - Static variable in interface org.objectweb.asm.Opcodes
 
ACC_STRICT - Static variable in interface org.objectweb.asm.Opcodes
 
ACC_SUPER - Static variable in interface org.objectweb.asm.Opcodes
 
ACC_SYNCHRONIZED - Static variable in interface org.objectweb.asm.Opcodes
 
ACC_SYNTHETIC - Static variable in interface org.objectweb.asm.Opcodes
 
ACC_TRANSIENT - Static variable in interface org.objectweb.asm.Opcodes
 
ACC_VARARGS - Static variable in interface org.objectweb.asm.Opcodes
 
ACC_VOLATILE - Static variable in interface org.objectweb.asm.Opcodes
 
accept(ClassVisitor, int) - Method in class org.objectweb.asm.ClassReader
Makes the given visitor visit the Java class of this ClassReader.
accept(ClassVisitor, Attribute[], int) - Method in class org.objectweb.asm.ClassReader
Makes the given visitor visit the Java class of this ClassReader.
ACONST_NULL - Static variable in interface org.objectweb.asm.Opcodes
 
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
addClassesToModify(String...) - Method in class org.powermock.core.classloader.MockClassLoader
Add classes that will be loaded by the mock classloader, i.e. these classes will be byte-code manipulated to allow for testing.
addConstructorToSuppress(Constructor<?>) - Static method in class org.powermock.core.MockRepository
Add a constructor to suppress.
addError(Test, Throwable) - Method in class org.powermock.modules.junit3.internal.impl.PowerMockJUnit3TestListener
Does nothing.
addFailure(Test, AssertionFailedError) - Method in class org.powermock.modules.junit3.internal.impl.PowerMockJUnit3TestListener
Does nothing.
addFieldToSuppress(Field) - Static method in class org.powermock.core.MockRepository
Add a field to suppress.
addFieldToSuppress(Field, Field...) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
addFieldToSuppress(Field[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
addFieldToSuppress(Field, Field...) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
Add specific fields that should be suppressed upon invocation.
addFieldToSuppress(Field[]) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
Add specific fields that should be suppressed upon invocation.
addFieldTypesToSuppress(String, String...) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
addFieldTypesToSuppress(String[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
addFieldTypesToSuppress(String, String...) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
Add field types that should be suppressed.
addFieldTypesToSuppress(String[]) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
Add field types that should be suppressed.
addFieldTypeToSuppress(String) - Static method in class org.powermock.core.MockRepository
Add a field type to suppress.
addFullyQualifiedNamesOfClassesToLoadByMockClassloader(String, String...) - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
 
addFullyQualifiedNamesOfClassesToLoadByMockClassloader(String[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
 
addFullyQualifiedNamesOfClassesToLoadByMockClassloader(String, String...) - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
Add types that should be loaded (and possibly modified) by the mock classloader.
addFullyQualifiedNamesOfClassesToLoadByMockClassloader(String[]) - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
Add types that should be loaded (and possibly modified) by the mock classloader.
addIgnorePackage(String...) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
 
addListener(RunListener) - Method in class org.junit.runner.JUnitCore
Add a listener to be notified as the tests run.
addMethodsToSuppress(Method, Method...) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
addMethodsToSuppress(Method[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
addMethodsToSuppress(Method, Method...) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
Add methods to suppress upon invocation.
addMethodsToSuppress(Method[]) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
Add methods to suppress upon invocation.
addMethodToSuppress(Method) - Static method in class org.powermock.core.MockRepository
Add a method to suppress.
addObjectsToAutomaticallyReplayAndVerify(Object...) - Static method in class org.powermock.core.MockRepository
Add classes that should be automatically replayed or verified.
addService(Object) - Method in class powermock.examples.bypassencapsulation.ServiceHolder
 
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
Deprecated. Use MockPolicyInterceptionSettings.stubMethod(Method, Object) instead.
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.
addTest(Test) - Method in class org.powermock.modules.junit3.internal.impl.JUnit3TestSuiteChunkerImpl
addTest(Test) - Method in interface org.powermock.modules.junit3.internal.JUnit3TestSuiteChunker
 
addTest(Test) - Method in class org.powermock.modules.junit3.PowerMockSuite
addTestClassToSuite(Class<?>) - Method in class org.powermock.modules.junit3.internal.impl.JUnit3TestSuiteChunkerImpl
Add a class to the test suite.
addTestClassToSuite(Class<?>) - Method in interface org.powermock.modules.junit3.internal.JUnit3TestSuiteChunker
Add a class to the test suite.
addTestSuite(Class<? extends TestCase>) - Method in class org.powermock.modules.junit3.internal.impl.JUnit3TestSuiteChunkerImpl
addTestSuite(Class<? extends TestCase>) - Method in interface org.powermock.modules.junit3.internal.JUnit3TestSuiteChunker
 
addTestSuite(Class) - Method in class org.powermock.modules.junit3.PowerMockSuite
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.
AgentInitializationException - Exception in com.sun.tools.attach
The exception thrown when an agent fails to initialize in the target Java virtual machine.
AgentInitializationException() - Constructor for exception com.sun.tools.attach.AgentInitializationException
Constructs an AgentInitializationException with no detail message.
AgentInitializationException(String) - Constructor for exception com.sun.tools.attach.AgentInitializationException
Constructs an AgentInitializationException with the specified detail message.
AgentInitializationException(String, int) - Constructor for exception com.sun.tools.attach.AgentInitializationException
Constructs an AgentInitializationException with the specified detail message and the return value from the execution of the agent's Agent_OnAttach function.
AgentLoadException - Exception in com.sun.tools.attach
The exception thrown when an agent cannot be loaded into the target Java virtual machine.
AgentLoadException() - Constructor for exception com.sun.tools.attach.AgentLoadException
Constructs an AgentLoadException with no detail message.
AgentLoadException(String) - Constructor for exception com.sun.tools.attach.AgentLoadException
Constructs an AgentLoadException with the specified detail message.
agentmain(String, Instrumentation) - Static method in class org.powermock.modules.agent.PowerMockAgent
 
AllFieldsMatcherStrategy - Class in org.powermock.reflect.internal.matcherstrategies
 
AllFieldsMatcherStrategy() - Constructor for class org.powermock.reflect.internal.matcherstrategies.AllFieldsMatcherStrategy
 
ALOAD - Static variable in interface org.objectweb.asm.Opcodes
 
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.
ANEWARRAY - Static variable in interface org.objectweb.asm.Opcodes
 
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, MockNice or MockStrict will 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.FieldInjector - Class in org.powermock.api.extension.listener
 
AnnotationEnabler.FieldInjector() - Constructor for class org.powermock.api.extension.listener.AnnotationEnabler.FieldInjector
 
AnnotationEnablerListener - Interface in org.powermock.core.spi.listener
 
AnnotationVisitor - Interface in org.objectweb.asm
A visitor to visit a Java annotation.
apply(Statement, FrameworkMethod, Object) - Method in class org.powermock.modules.junit4.rule.PowerMockRule
 
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.
applyClassLoadingPolicy(MockPolicyClassLoadingSettings) - Method in class powermock.examples.mockpolicy.policy.MyCustomMockPolicy
Add the Dependency to the list of classes that should be loaded by the mock class-loader.
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.
applyInterceptionPolicy(MockPolicyInterceptionSettings) - Method in class powermock.examples.mockpolicy.policy.MyCustomMockPolicy
Every time the Dependency.getData() method is invoked we return a custom instance of a DataObject.
areAllMethodsStatic(Method...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Are all methods static.
ARETURN - Static variable in interface org.objectweb.asm.Opcodes
 
ARRAY - Static variable in class org.objectweb.asm.Type
The sort of array reference types.
ARRAYLENGTH - Static variable in interface org.objectweb.asm.Opcodes
 
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
 
ASTORE - Static variable in interface org.objectweb.asm.Opcodes
 
ATHROW - Static variable in interface org.objectweb.asm.Opcodes
 
attach(String) - Static method in class com.sun.tools.attach.VirtualMachine
Attaches to a Java virtual machine.
attach(VirtualMachineDescriptor) - Static method in class com.sun.tools.attach.VirtualMachine
Attaches to a Java virtual machine.
AttachNotSupportedException - Exception in com.sun.tools.attach
Thrown by VirtalMachine.attach when attempting to attach to a Java virtual machine for which a compatible AttachProvider does not exist.
AttachNotSupportedException() - Constructor for exception com.sun.tools.attach.AttachNotSupportedException
Constructs an AttachNotSupportedException with no detail message.
AttachNotSupportedException(String) - Constructor for exception com.sun.tools.attach.AttachNotSupportedException
Constructs an AttachNotSupportedException with the specified detail message.
AttachProvider - Class in com.sun.tools.attach.spi
Attach provider class for attaching to a Java virtual machine.
AttachProvider() - Constructor for class com.sun.tools.attach.spi.AttachProvider
Initializes a new instance of this class.
attachVirtualMachine(String) - Method in class com.sun.tools.attach.spi.AttachProvider
Attaches to a Java virtual machine.
attachVirtualMachine(VirtualMachineDescriptor) - Method in class com.sun.tools.attach.spi.AttachProvider
Attaches to a Java virtual machine.
Attribute - Class in org.objectweb.asm
A non standard class, field, method or code attribute.
Attribute(String) - Constructor for class org.objectweb.asm.Attribute
Constructs a new empty attribute.

B

b - Variable in class org.objectweb.asm.ClassReader
The class to be parsed.
backedMap - Variable in class org.powermock.core.IdentityHashSet
 
BALOAD - Static variable in interface org.objectweb.asm.Opcodes
 
BASTORE - Static variable in interface org.objectweb.asm.Opcodes
 
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.
BIPUSH - Static variable in interface org.objectweb.asm.Opcodes
 
BOOLEAN - Static variable in class org.objectweb.asm.Type
The sort of the boolean type.
BOOLEAN_TYPE - Static variable in class org.objectweb.asm.Type
The boolean type.
BundleContext - Interface in demo.org.powermock.examples.tutorial.staticmocking.osgi
Copied method declaration from the OSGi BundleContext interface.
BusinessMessages - Class in demo.org.powermock.examples.tutorial.domainmocking.domain
A simple domain object that's pretended to hold state of one or more operation outcomes.
BusinessMessages() - Constructor for class demo.org.powermock.examples.tutorial.domainmocking.domain.BusinessMessages
 
BYTE - Static variable in class org.objectweb.asm.Type
The sort of the byte type.
BYTE_TYPE - Static variable in class org.objectweb.asm.Type
The byte type.
ByteVector - Class in org.objectweb.asm
A dynamically extensible vector of bytes.
ByteVector() - Constructor for class org.objectweb.asm.ByteVector
Constructs a new ByteVector with a default initial size.
ByteVector(int) - Constructor for class org.objectweb.asm.ByteVector
Constructs a new ByteVector with the given initial size.

C

Cache - Class in powermock.examples.bypassencapsulation.nontest
A made-up class used to demonstrate some PowerMock functionality.
Cache() - Constructor for class powermock.examples.bypassencapsulation.nontest.Cache
 
CALOAD - Static variable in interface org.objectweb.asm.Opcodes
 
CASTORE - Static variable in interface org.objectweb.asm.Opcodes
 
CHAR - Static variable in class org.objectweb.asm.Type
The sort of the char type.
CHAR_TYPE - Static variable in class org.objectweb.asm.Type
The char type.
CHECKCAST - Static variable in interface org.objectweb.asm.Opcodes
 
checkIfParameterTypesAreSame(boolean, Class<?>[], Class<?>[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Check if parameter types are same.
chunkClass(Class<?>) - Method in class org.powermock.modules.junit3.internal.impl.JUnit3TestSuiteChunkerImpl
 
ClassAdapter - Class in org.objectweb.asm
An empty ClassVisitor that delegates to another ClassVisitor.
ClassAdapter(ClassVisitor) - Constructor for class org.objectweb.asm.ClassAdapter
Constructs a new ClassAdapter object.
classAnnotations() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
ClassloaderExecutor - Class in org.powermock.classloading
A ClassLoaderExecutor can run any code in any classloader.
ClassloaderExecutor(ClassLoader) - Constructor for class org.powermock.classloading.ClassloaderExecutor
 
ClassLoaderUtil - Class in org.powermock.api.support
 
ClassLoaderUtil() - Constructor for class org.powermock.api.support.ClassLoaderUtil
 
ClassReader - Class in org.objectweb.asm
A Java class parser to make a ClassVisitor visit an existing class.
ClassReader(byte[]) - Constructor for class org.objectweb.asm.ClassReader
Constructs a new ClassReader object.
ClassReader(byte[], int, int) - Constructor for class org.objectweb.asm.ClassReader
Constructs a new ClassReader object.
ClassReader(InputStream) - Constructor for class org.objectweb.asm.ClassReader
Constructs a new ClassReader object.
ClassReader(String) - Constructor for class org.objectweb.asm.ClassReader
Constructs a new ClassReader object.
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
 
ClassVisitor - Interface in org.objectweb.asm
A visitor to visit a Java class.
ClassWithStaticMethod - Class in powermock.examples.jmock
Class with static methods
ClassWithStaticMethod() - Constructor for class powermock.examples.jmock.ClassWithStaticMethod
 
ClassWriter - Class in org.objectweb.asm
A ClassVisitor that generates classes in bytecode form.
ClassWriter(int) - Constructor for class org.objectweb.asm.ClassWriter
Constructs a new ClassWriter object.
ClassWriter(ClassReader, int) - Constructor for class org.objectweb.asm.ClassWriter
Constructs a new ClassWriter object and enables optimizations for "mostly add" bytecode transformations.
clear() - Method in class org.powermock.core.IdentityHashSet
 
clear() - Method in class org.powermock.core.ListMap
 
clear() - Static method in class org.powermock.core.MockRepository
Clear all state of the mock repository except for static initializers.
clone(T) - Method in class org.powermock.classloading.DeepCloner
Clones an object.
clone(T) - Method in interface org.powermock.classloading.spi.DeepClonerSPI
 
com.sun.tools.attach - package com.sun.tools.attach
 
com.sun.tools.attach.spi - package com.sun.tools.attach.spi
 
CompanyRepository - Class in powermock.examples.spring
 
CompanyRepository() - Constructor for class powermock.examples.spring.CompanyRepository
 
COMPUTE_FRAMES - Static variable in class org.objectweb.asm.ClassWriter
Flag to automatically compute the stack map frames of methods from scratch.
COMPUTE_MAXS - Static variable in class org.objectweb.asm.ClassWriter
Flag to automatically compute the maximum stack size and the maximum number of local variables of methods.
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
 
ConfigWrapper - Class in demo.org.powermock.examples.tutorial.hellopower.withoutpowermock
Encapsulate the use of the third party code in our own code that we can mock.
ConfigWrapper() - Constructor for class demo.org.powermock.examples.tutorial.hellopower.withoutpowermock.ConfigWrapper
 
Connection - Interface in demo.org.powermock.examples.tutorial.partialmocking.dao.domain
 
ConnectionImpl - Class in demo.org.powermock.examples.tutorial.partialmocking.dao.domain.impl
 
ConnectionImpl() - Constructor for class demo.org.powermock.examples.tutorial.partialmocking.dao.domain.impl.ConnectionImpl
 
connectToService() - Method in class demo.org.powermock.examples.tutorial.partialmocking.dao.domain.impl.ServiceArtifact
 
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.
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
 
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.
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
 
countTestCases() - Method in class org.powermock.modules.junit3.internal.impl.JUnit3TestSuiteChunkerImpl
countTestCases() - Method in interface org.powermock.modules.junit3.internal.JUnit3TestSuiteChunker
 
countTestCases() - Method in interface org.powermock.modules.junit3.internal.PowerMockJUnit3RunnerDelegate
 
countTestCases() - Method in class org.powermock.modules.junit3.PowerMockSuite
create(Person, BusinessMessages) - Method in interface demo.org.powermock.examples.tutorial.domainmocking.PersonService
Create a new person.
create(ITestContext) - Method in class org.powermock.modules.testng.PowerMockTestCase
 
createClassReplica(Class<?>) - Method in class org.powermock.core.ClassReplicaCreator
 
createConcreteSubClass(Class<?>) - Method in class org.powermock.core.ConcreteClassGenerator
 
createDelegatorFromClassloader(ClassLoader, Class<?>, List<Method>) - Method in class org.powermock.modules.junit3.internal.impl.JUnit3TestSuiteChunkerImpl
createDelegatorFromClassloader(ClassLoader, Class<?>, List<Method>) - Method in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl
 
createDirectoryStructure(String) - Method in class powermock.examples.newmocking.PersistenceManager
 
createInstanceReplica(T) - Method in class org.powermock.core.ClassReplicaCreator
Create a class that is a replica of type T.
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.
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.
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 class org.powermock.api.extension.listener.AnnotationEnabler.FieldInjector
 
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.
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.
createPerson(String, String) - Method in class demo.org.powermock.examples.tutorial.domainmocking.impl.SampleServiceImpl
Create a new person based on the following parameters and store it in the underlying persistence store.
createPerson(String, String) - Method in class demo.org.powermock.examples.tutorial.domainmocking.impl.withoutpowermock.SampleServiceWithoutPowerMockImpl
Create a new person based on the following parameters and store it in the underlying persistence store.
createPerson(String, String) - Method in interface demo.org.powermock.examples.tutorial.domainmocking.SampleService
Create a new person based on the following parameters and store it in the underlying persistence store.
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
 
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.
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
 
cv - Variable in class org.objectweb.asm.ClassAdapter
The ClassVisitor to which this adapter delegates calls.

D

D2F - Static variable in interface org.objectweb.asm.Opcodes
 
D2I - Static variable in interface org.objectweb.asm.Opcodes
 
D2L - Static variable in interface org.objectweb.asm.Opcodes
 
DADD - Static variable in interface org.objectweb.asm.Opcodes
 
DALOAD - Static variable in interface org.objectweb.asm.Opcodes
 
DASTORE - Static variable in interface org.objectweb.asm.Opcodes
 
DataObject - Class in powermock.examples.mockpolicy.nontest.domain
A simple value object.
DataObject(String) - Constructor for class powermock.examples.mockpolicy.nontest.domain.DataObject
 
DataProducer - Class in demo.org.powermock.examples.tutorial.partialmocking.domain
 
DataProducer(int, String) - Constructor for class demo.org.powermock.examples.tutorial.partialmocking.domain.DataProducer
 
DataService - Class in powermock.examples.privatemocking
A class used to demonstrate how it's possible for PowerMock to mock private methods invocations.
DataService() - Constructor for class powermock.examples.privatemocking.DataService
 
DCMPG - Static variable in interface org.objectweb.asm.Opcodes
 
DCMPL - Static variable in interface org.objectweb.asm.Opcodes
 
DCONST_0 - Static variable in interface org.objectweb.asm.Opcodes
 
DCONST_1 - Static variable in interface org.objectweb.asm.Opcodes
 
DDIV - Static variable in interface org.objectweb.asm.Opcodes
 
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.
DeepClonerSPI - Interface in org.powermock.classloading.spi
A deep-cloner must implement this interface.
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
 
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
 
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
 
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
 
deleteData(String) - Method in class powermock.examples.privatemocking.DataService
 
deleteReport(String) - Method in class powermock.examples.bypassencapsulation.ReportDao
 
demo.org.powermock.examples - package demo.org.powermock.examples
 
demo.org.powermock.examples.simple - package demo.org.powermock.examples.simple
 
demo.org.powermock.examples.tutorial.common.annotation - package demo.org.powermock.examples.tutorial.common.annotation
 
demo.org.powermock.examples.tutorial.domainmocking - package demo.org.powermock.examples.tutorial.domainmocking
 
demo.org.powermock.examples.tutorial.domainmocking.domain - package demo.org.powermock.examples.tutorial.domainmocking.domain
 
demo.org.powermock.examples.tutorial.domainmocking.impl - package demo.org.powermock.examples.tutorial.domainmocking.impl
 
demo.org.powermock.examples.tutorial.domainmocking.impl.withoutpowermock - package demo.org.powermock.examples.tutorial.domainmocking.impl.withoutpowermock
 
demo.org.powermock.examples.tutorial.hellopower - package demo.org.powermock.examples.tutorial.hellopower
 
demo.org.powermock.examples.tutorial.hellopower.withoutpowermock - package demo.org.powermock.examples.tutorial.hellopower.withoutpowermock
 
demo.org.powermock.examples.tutorial.partialmocking.dao - package demo.org.powermock.examples.tutorial.partialmocking.dao
 
demo.org.powermock.examples.tutorial.partialmocking.dao.domain - package demo.org.powermock.examples.tutorial.partialmocking.dao.domain
 
demo.org.powermock.examples.tutorial.partialmocking.dao.domain.impl - package demo.org.powermock.examples.tutorial.partialmocking.dao.domain.impl
 
demo.org.powermock.examples.tutorial.partialmocking.domain - package demo.org.powermock.examples.tutorial.partialmocking.domain
 
demo.org.powermock.examples.tutorial.partialmocking.service - package demo.org.powermock.examples.tutorial.partialmocking.service
 
demo.org.powermock.examples.tutorial.partialmocking.service.impl - package demo.org.powermock.examples.tutorial.partialmocking.service.impl
 
demo.org.powermock.examples.tutorial.partialmocking.service.impl.withoutpowermock - package demo.org.powermock.examples.tutorial.partialmocking.service.impl.withoutpowermock
 
demo.org.powermock.examples.tutorial.staticmocking - package demo.org.powermock.examples.tutorial.staticmocking
 
demo.org.powermock.examples.tutorial.staticmocking.impl - package demo.org.powermock.examples.tutorial.staticmocking.impl
 
demo.org.powermock.examples.tutorial.staticmocking.impl.withoutpowermock - package demo.org.powermock.examples.tutorial.staticmocking.impl.withoutpowermock
 
demo.org.powermock.examples.tutorial.staticmocking.osgi - package demo.org.powermock.examples.tutorial.staticmocking.osgi
 
demo.org.powermock.modules.test.junit45.failure - package demo.org.powermock.modules.test.junit45.failure
 
Dependency - Class in powermock.examples.mockpolicy.nontest
A simple class that demonstrates some of PowerMock's mock policy abilities.
Dependency(String) - Constructor for class powermock.examples.mockpolicy.nontest.Dependency
 
DependencyManager - Class in powermock.examples.dependencymanagement
This is a simple example of a factory class that provides dependencies that are shared by many classes (dependency lookup pattern).
DependencyUser - Class in powermock.examples.mockpolicy
Very simple example of a class that uses a dependency.
DependencyUser() - Constructor for class powermock.examples.mockpolicy.DependencyUser
 
detach() - Method in class com.sun.tools.attach.VirtualMachine
Detach from the virtual machine.
detach() - Method in class sun.tools.attach.LinuxVirtualMachine
Detach from the target VM.
detach() - Method in class sun.tools.attach.WindowsVirtualMachine
 
disconnect() - Method in interface demo.org.powermock.examples.tutorial.partialmocking.dao.domain.Connection
 
disconnect() - Method in class demo.org.powermock.examples.tutorial.partialmocking.dao.domain.impl.ConnectionImpl
 
displayName() - Method in class com.sun.tools.attach.VirtualMachineDescriptor
Return the display name component of this descriptor.
DLOAD - Static variable in interface org.objectweb.asm.Opcodes
 
DMUL - Static variable in interface org.objectweb.asm.Opcodes
 
DNEG - Static variable in interface org.objectweb.asm.Opcodes
 
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.
doCallRealMethod() - Static method in class org.powermock.api.mockito.PowerMockito
Use doCallRealMethod() when you want to call the real implementation of a method.
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.
doReturn(Object) - Static method in class org.powermock.api.mockito.PowerMockito
Use doReturn() in those rare occasions when you cannot use Mockito.when(Object).
doThrow(Throwable) - Static method in class org.powermock.api.mockito.PowerMockito
Use doThrow() when you want to stub the void method with an exception.
DOUBLE - Static variable in interface org.objectweb.asm.Opcodes
 
DOUBLE - Static variable in class org.objectweb.asm.Type
The sort of the double type.
DOUBLE_TYPE - Static variable in class org.objectweb.asm.Type
The double type.
DREM - Static variable in interface org.objectweb.asm.Opcodes
 
DRETURN - Static variable in interface org.objectweb.asm.Opcodes
 
DSTORE - Static variable in interface org.objectweb.asm.Opcodes
 
DSUB - Static variable in interface org.objectweb.asm.Opcodes
 
dumpHeap(Object...) - Method in class sun.tools.attach.HotSpotVirtualMachine
 
DUP - Static variable in interface org.objectweb.asm.Opcodes
 
DUP2 - Static variable in interface org.objectweb.asm.Opcodes
 
DUP2_X1 - Static variable in interface org.objectweb.asm.Opcodes
 
DUP2_X2 - Static variable in interface org.objectweb.asm.Opcodes
 
DUP_X1 - Static variable in interface org.objectweb.asm.Opcodes
 
DUP_X2 - Static variable in interface org.objectweb.asm.Opcodes
 

E

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.
endTest(Test) - Method in class org.powermock.modules.junit3.internal.impl.PowerMockJUnit3TestListener
 
entrySet() - Method in class org.powermock.core.ListMap
 
equals(Object) - Method in class com.sun.tools.attach.VirtualMachine
Tests this VirtualMachine for equality with another object.
equals(Object) - Method in class com.sun.tools.attach.VirtualMachineDescriptor
Tests this VirtualMachineDescriptor for equality with another object.
equals(Object) - Method in class demo.org.powermock.examples.tutorial.domainmocking.domain.Person
 
equals(Object) - Method in class demo.org.powermock.examples.tutorial.partialmocking.dao.domain.impl.ServiceArtifact
 
equals(Object) - Method in class demo.org.powermock.examples.tutorial.partialmocking.domain.ProviderArtifact
 
equals(Object) - Method in class demo.org.powermock.examples.tutorial.partialmocking.domain.ServiceProducer
 
equals(Object) - Method in class org.objectweb.asm.Type
Tests if the given object is equal to this type.
equals(Object) - Method in class powermock.examples.bypassencapsulation.nontest.Report
 
equals(Object) - Method in class powermock.examples.domain.Person
 
equals(Object) - Method in class powermock.examples.mockpolicy.nontest.domain.DataObject
 
EventService - Interface in demo.org.powermock.examples.tutorial.domainmocking
A simple interface that manages events.
everythingDeclaredIn(Class<?>, Class<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get all constructors and methods in the supplied class(es).
EvilGrandParent - Class in powermock.examples.suppress.constructorhierarchy
Example that demonstrates PowerMock's ability to suppress constructor hierarchies.
EvilGrandParent() - Constructor for class powermock.examples.suppress.constructorhierarchy.EvilGrandParent
 
EvilParent - Class in powermock.examples.suppress.constructor
Example that demonstrates PowerMock's ability to suppress constructors.
EvilParent() - Constructor for class powermock.examples.suppress.constructor.EvilParent
 
EvilParent - Class in powermock.examples.suppress.constructorhierarchy
Example that demonstrates PowerMock's ability to suppress constructor hierarchies.
EvilParent() - Constructor for class powermock.examples.suppress.constructorhierarchy.EvilParent
 
examples.jdom - package examples.jdom
 
ExampleWithEvilConstructor - Class in powermock.examples.suppress.constructor
Example that demonstrates PowerMock's ability to suppress an objects own constructor.
ExampleWithEvilConstructor(String) - Constructor for class powermock.examples.suppress.constructor.ExampleWithEvilConstructor
 
ExampleWithEvilMethod - Class in powermock.examples.suppress.method
This example demonstrates PowerMock abilities to suppress methods.
ExampleWithEvilMethod(String) - Constructor for class powermock.examples.suppress.method.ExampleWithEvilMethod
 
ExampleWithEvilParent - Class in powermock.examples.suppress.constructor
Example that demonstrates PowerMock's ability to suppress parent constructors.
ExampleWithEvilParent(String) - Constructor for class powermock.examples.suppress.constructor.ExampleWithEvilParent
 
ExampleWithEvilParentAndEvilGrandParent - Class in powermock.examples.suppress.constructorhierarchy
Example that demonstrates PowerMock's ability to suppress constructor hierarchies.
ExampleWithEvilParentAndEvilGrandParent(String) - Constructor for class powermock.examples.suppress.constructorhierarchy.ExampleWithEvilParentAndEvilGrandParent
 
ExampleWithEvilStaticInitializer - Class in powermock.examples.suppress.staticinitializer
This class has a static initializers that needs to be removed in order to test the class.
ExampleWithEvilStaticInitializer(String) - Constructor for class powermock.examples.suppress.staticinitializer.ExampleWithEvilStaticInitializer
 
execute(Callable<T>) - Method in class org.powermock.classloading.ClassloaderExecutor
 
execute(Runnable) - Method in class org.powermock.classloading.ClassloaderExecutor
 
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
 
EXPAND_FRAMES - Static variable in class org.objectweb.asm.ClassReader
Flag to expand the stack map frames.
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.
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.invocationcontrol.MockitoNewInvocationControl
 
expectSubstitutionLogic(Object...) - Method in interface org.powermock.core.spi.NewInvocationControl
Expect a call to the new instance substitution logic.

F

F2D - Static variable in interface org.objectweb.asm.Opcodes
 
F2I - Static variable in interface org.objectweb.asm.Opcodes
 
F2L - Static variable in interface org.objectweb.asm.Opcodes
 
F_APPEND - Static variable in interface org.objectweb.asm.Opcodes
Represents a compressed frame where locals are the same as the locals in the previous frame, except that additional 1-3 locals are defined, and with an empty stack.
F_CHOP - Static variable in interface org.objectweb.asm.Opcodes
Represents a compressed frame where locals are the same as the locals in the previous frame, except that the last 1-3 locals are absent and with an empty stack.
F_FULL - Static variable in interface org.objectweb.asm.Opcodes
Represents a compressed frame with complete frame data.
F_NEW - Static variable in interface org.objectweb.asm.Opcodes
Represents an expanded frame.
F_SAME - Static variable in interface org.objectweb.asm.Opcodes
Represents a compressed frame with exactly the same locals as the previous frame and with an empty stack.
F_SAME1 - Static variable in interface org.objectweb.asm.Opcodes
Represents a compressed frame with exactly the same locals as the previous frame and with a single value on the stack.
FADD - Static variable in interface org.objectweb.asm.Opcodes
 
FALOAD - Static variable in interface org.objectweb.asm.Opcodes
 
FASTORE - Static variable in interface org.objectweb.asm.Opcodes
 
FCMPG - Static variable in interface org.objectweb.asm.Opcodes
 
FCMPL - Static variable in interface org.objectweb.asm.Opcodes
 
FCONST_0 - Static variable in interface org.objectweb.asm.Opcodes
 
FCONST_1 - Static variable in interface org.objectweb.asm.Opcodes
 
FCONST_2 - Static variable in interface org.objectweb.asm.Opcodes
 
FDIV - Static variable in interface org.objectweb.asm.Opcodes
 
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
 
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.
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.
FieldTypeMatcherStrategy - Class in org.powermock.reflect.internal.matcherstrategies
 
FieldTypeMatcherStrategy(Class<?>) - Constructor for class org.powermock.reflect.internal.matcherstrategies.FieldTypeMatcherStrategy
 
FieldVisitor - Interface in org.objectweb.asm
A visitor to visit a Java field.
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.PowerMockJUnit44RunnerDelegateImpl
 
FinalClass - Class in powermock.examples.jmock
Example of a final class
FinalClass() - Constructor for class powermock.examples.jmock.FinalClass
 
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.
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.
findResource(String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
Finds the resource with the specified name on the search path.
findUniqueConstructorOrThrowException(Class<?>, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Finds and returns a certain constructor.
FLOAD - Static variable in interface org.objectweb.asm.Opcodes
 
FLOAT - Static variable in interface org.objectweb.asm.Opcodes
 
FLOAT - Static variable in class org.objectweb.asm.Type
The sort of the float type.
FLOAT_TYPE - Static variable in class org.objectweb.asm.Type
The float type.
FMUL - Static variable in interface org.objectweb.asm.Opcodes
 
FNEG - Static variable in interface org.objectweb.asm.Opcodes
 
forClass(Class<?>) - Static method in class org.powermock.modules.junit4.rule.PowerMockClassloaderExecutor
 
FREM - Static variable in interface org.objectweb.asm.Opcodes
 
FRETURN - Static variable in interface org.objectweb.asm.Opcodes
 
FSTORE - Static variable in interface org.objectweb.asm.Opcodes
 
FSUB - Static variable in interface org.objectweb.asm.Opcodes
 

G

generateId() - Method in class demo.org.powermock.examples.tutorial.staticmocking.impl.withoutpowermock.ServiceRegistratorWithoutPowerMock
 
generateMessage() - Method in class powermock.examples.jmock.JMockExample
 
generateMessage() - Method in class powermock.examples.spring.MyBean
 
generateNewId() - Static method in class demo.org.powermock.examples.tutorial.staticmocking.impl.IdGenerator
 
generateNewId() - Static method in class powermock.examples.spring.IdGenerator
 
generateNewId() - Static method in class powermock.examples.staticmocking.IdGenerator
 
generateReport(String) - Method in class powermock.examples.bypassencapsulation.ReportGenerator
 
get(Object) - Method in class org.powermock.core.ListMap
 
getAccess() - Method in class org.objectweb.asm.ClassReader
Returns the class's access flags (see Opcodes).
getAdditionalState(String) - Static method in class org.powermock.core.MockRepository
Retrieve state based on the supplied key.
getAgentProperties() - Method in class com.sun.tools.attach.VirtualMachine
Returns the current agent properties in the target virtual machine.
getAgentProperties() - Method in class sun.tools.attach.HotSpotVirtualMachine
 
getAllConstructors(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Get all declared constructors in the class and set accessible to true.
getAllEmployees() - Method in class powermock.examples.spring.CompanyRepository
 
getAllFields(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Get all fields in a class hierarchy!
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.
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!
getAllMetodsExcept(Class<T>, String, Class<?>[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Gets the all metods except.
getAllPersons() - Method in class powermock.examples.service.impl.MyServiceImpl
getAllPersons() - Method in interface powermock.examples.service.MyService
 
getAllServiceProducers() - Method in interface demo.org.powermock.examples.tutorial.partialmocking.dao.ProviderDao
 
getAllServiceProducers() - Method in class demo.org.powermock.examples.tutorial.partialmocking.service.impl.withoutpowermock.ProviderServiceWithoutPowerMockImpl
 
getAllServiceProviders() - Method in class demo.org.powermock.examples.tutorial.partialmocking.service.impl.ProviderServiceImpl
Get all service provider.
getAllServiceProviders() - Method in class demo.org.powermock.examples.tutorial.partialmocking.service.impl.withoutpowermock.ProviderServiceWithoutPowerMockImpl
Get all service provider.
getAllServiceProviders() - Method in interface demo.org.powermock.examples.tutorial.partialmocking.service.ProviderService
Get all service provider.
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.
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.
getArgumentsAndReturnSizes(String) - Static method in class org.objectweb.asm.Type
Computes the size of the arguments and of the return value of a method.
getArgumentTypes(String) - Static method in class org.objectweb.asm.Type
Returns the Java types corresponding to the argument types of the given method descriptor.
getArgumentTypes(Method) - Static method in class org.objectweb.asm.Type
Returns the Java types corresponding to the argument types of the given method.
getBestMethodCandidate(Class<?>, String, Class<?>[], boolean) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Gets the best method candidate.
getClassIterator(ClassLoader) - Static method in class org.powermock.core.PowerMockUtils
Get an iterator of all classes loaded by the specific classloader.
getClassName() - Method in class org.objectweb.asm.ClassReader
Returns the internal name of the class (see getInternalName).
getClassName() - Method in class org.objectweb.asm.Type
Returns the name of the class corresponding to this type.
getCommonSuperClass(String, String) - Method in class org.objectweb.asm.ClassWriter
Returns the common super type of the two given types.
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.
getConstructorDescriptor(Constructor) - Static method in class org.objectweb.asm.Type
Returns the descriptor corresponding to the given constructor.
getContent() - Method in class powermock.examples.spring.Message
 
getData() - Method in class powermock.examples.annotationbased.SomeService
 
getData() - Method in class powermock.examples.mockpolicy.nontest.Dependency
 
getData() - Method in class powermock.examples.mockpolicy.nontest.domain.DataObject
 
getDataProducers() - Method in class demo.org.powermock.examples.tutorial.partialmocking.dao.domain.impl.ServiceArtifact
 
getDataProducers() - Method in class demo.org.powermock.examples.tutorial.partialmocking.domain.ServiceProducer
 
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.
getDependencyData() - Method in class powermock.examples.mockpolicy.DependencyUser
 
getDescription() - Method in class org.junit.runner.Runner
 
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.PowerMockJUnit44RunnerDelegateImpl
getDescriptor() - Method in class org.objectweb.asm.Type
Returns the descriptor corresponding to this Java type.
getDescriptor(Class) - Static method in class org.objectweb.asm.Type
Returns the descriptor corresponding to the given Java type.
getDimensions() - Method in class org.objectweb.asm.Type
Returns the number of dimensions of this array type.
getElementType() - Method in class org.objectweb.asm.Type
Returns the type of the elements of this array type.
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 - Static variable in interface org.objectweb.asm.Opcodes
 
getField(Class<?>, String) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Convenience method to get a field from a class type.
getField(Class<?>, String) - Static method in class org.powermock.reflect.Whitebox
Convenience method to get a field from a class type.
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
 
getFirstName() - Method in class demo.org.powermock.examples.tutorial.domainmocking.domain.Person
 
getFirstName() - Method in class powermock.examples.domain.Person
 
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.
getFormattedState() - Method in class powermock.examples.finalmocking.StateFormatter
 
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
 
getGreeting() - Static method in class demo.org.powermock.examples.simple.SimpleConfig
 
getGreeting() - Static method in class demo.org.powermock.examples.tutorial.hellopower.SimpleConfig
 
getGreeting() - Method in class demo.org.powermock.examples.tutorial.hellopower.withoutpowermock.ConfigWrapper
 
getId() - Method in class demo.org.powermock.examples.tutorial.partialmocking.dao.domain.impl.ServiceArtifact
 
getId() - Method in class demo.org.powermock.examples.tutorial.partialmocking.domain.ProviderArtifact
 
getId() - Method in class powermock.examples.spring.Message
 
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
 
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
getInstance() - Static method in class powermock.examples.dependencymanagement.DependencyManager
 
getInstanceMethodInvocationControl(Object) - Static method in class org.powermock.core.MockRepository
 
getInterfaces() - Method in class org.objectweb.asm.ClassReader
Returns the internal names of the class's interfaces (see getInternalName).
getInternalName() - Method in class org.objectweb.asm.Type
Returns the internal name of the class corresponding to this object or array type.
getInternalName(Class) - Static method in class org.objectweb.asm.Type
Returns the internal name of the given class.
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
Deprecated. Use Whitebox.getInternalState(Object, String, Class) instead.
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.
getInvocationHandler() - Method in class org.powermock.api.mockito.internal.invocationcontrol.MockitoMethodInvocationControl
 
getItem(int) - Method in class org.objectweb.asm.ClassReader
Returns the start index of the constant pool item in b, plus one.
getLabels() - Method in class org.objectweb.asm.Attribute
Returns the labels corresponding to this attribute.
getLastName() - Method in class demo.org.powermock.examples.tutorial.domainmocking.domain.Person
 
getLastName() - Method in class powermock.examples.domain.Person
 
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.
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
 
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.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.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.
getMessage() - Method in class demo.org.powermock.examples.Log4jUser
 
getMessage() - Method in class demo.org.powermock.examples.Slf4jUser
 
getMessage() - Method in class powermock.examples.suppress.constructor.ExampleWithEvilConstructor
 
getMessage() - Method in class powermock.examples.suppress.constructor.ExampleWithEvilParent
 
getMessage() - Method in class powermock.examples.suppress.constructorhierarchy.ExampleWithEvilParentAndEvilGrandParent
 
getMessage() - Method in class powermock.examples.suppress.method.ExampleWithEvilMethod
 
getMessage() - Method in class powermock.examples.suppress.staticinitializer.ExampleWithEvilStaticInitializer
 
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.
getMethodDescriptor(Type, Type[]) - Static method in class org.objectweb.asm.Type
Returns the descriptor corresponding to the given argument and return types.
getMethodDescriptor(Method) - Static method in class org.objectweb.asm.Type
Returns the descriptor corresponding to the given method.
getMethodProxy(Method) - Static method in class org.powermock.core.MockRepository
 
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
 
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
 
getMockType() - Method in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
 
getMoreData() - Method in class powermock.examples.annotationbased.SomeService
 
getMyService() - Method in class powermock.examples.dependencymanagement.DependencyManager
 
getName() - Method in class demo.org.powermock.examples.tutorial.partialmocking.dao.domain.impl.ServiceArtifact
 
getName() - Method in class demo.org.powermock.examples.tutorial.partialmocking.domain.ProviderArtifact
 
getName() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
getName() - Method in class powermock.examples.bypassencapsulation.nontest.Report
 
getNewBusinessMessagesInstance() - Method in class demo.org.powermock.examples.tutorial.domainmocking.impl.withoutpowermock.SampleServiceWithoutPowerMockImpl
In order to test this class without PowerMock we need to create a new protected method whose only purpose is to create a new instance of a BusinessMessage.
getNewInstanceControl(Class<?>) - Static method in class org.powermock.core.MockRepository
 
getNumberOfPersons() - Method in class powermock.examples.MyServiceUser
 
getObjectsToAutomaticallyReplayAndVerify() - Static method in class org.powermock.core.MockRepository
 
getObjectType(String) - Static method in class org.objectweb.asm.Type
Returns the Java type corresponding to the given internal name.
getOffset() - Method in class org.objectweb.asm.Label
Returns the offset corresponding to this label.
getOpcode(int) - Method in class org.objectweb.asm.Type
Returns a JVM instruction opcode adapted to this Java type.
getPhoneNumber() - Method in class powermock.examples.domain.Person
 
getPrimitiveFromWrapperType(Class<?>) - Static method in class org.powermock.reflect.internal.primitivesupport.PrimitiveWrapper
Get the primitive counter part from a wrapped type.
getProxiedMethods() - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
getProxiedMethods() - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
Get all methods that should be proxied and the invocation handler for each method.
getResult() - Method in class org.powermock.core.spi.testresult.impl.TestMethodResultImpl
 
getResult() - Method in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
 
getResult() - Method in interface org.powermock.core.spi.testresult.TestMethodResult
 
getResult() - Method in interface org.powermock.core.spi.testresult.TestSuiteResult
 
getReturnType(String) - Static method in class org.objectweb.asm.Type
Returns the Java type corresponding to the return type of the given method descriptor.
getReturnType(Method) - Static method in class org.objectweb.asm.Type
Returns the Java type corresponding to the return type of the given method.
getServiceProvider(int) - Method in class demo.org.powermock.examples.tutorial.partialmocking.service.impl.ProviderServiceImpl
Get a service provider.
getServiceProvider(int) - Method in class demo.org.powermock.examples.tutorial.partialmocking.service.impl.withoutpowermock.ProviderServiceWithoutPowerMockImpl
Get a service provider.
getServiceProvider(int) - Method in interface demo.org.powermock.examples.tutorial.partialmocking.service.ProviderService
Get a service provider.
getSize() - Method in class org.objectweb.asm.Type
Returns the size of values of this type.
getSomeData() - Method in class powermock.examples.annotationbased.dao.SomeDao
 
getSomeOtherData() - Method in class powermock.examples.annotationbased.dao.SomeDao
 
getSort() - Method in class org.objectweb.asm.Type
Returns the sort of this Java type.
getState() - Method in class powermock.examples.finalmocking.StateHolder
Dummy method that is used to demonstrate how PowerMock can deal with final methods.
GETSTATIC - Static variable in interface org.objectweb.asm.Opcodes
 
getStaticInitializersToSuppress() - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
 
getStaticInitializersToSuppress() - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
 
getStaticMethodInvocationControl(Class<?>) - Static method in class org.powermock.core.MockRepository
 
getString() - Static method in class org.powermock.hamcrest.HamcrestExample
 
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.invocationcontrol.MockitoNewInvocationControl
 
getSubstituteReturnValues() - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
getSubstituteReturnValues() - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
Deprecated. Use MockPolicyInterceptionSettings.getStubbedMethods() instead.
getSuccessCount() - Method in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
 
getSuccessCount() - Method in interface org.powermock.core.spi.testresult.TestSuiteResult
 
getSuperName() - Method in class org.objectweb.asm.ClassReader
Returns the internal of name of the super class (see getInternalName).
getSystemProperties() - Method in class com.sun.tools.attach.VirtualMachine
Returns the current system properties in the target virtual machine.
getSystemProperties() - Method in class sun.tools.attach.HotSpotVirtualMachine
Send "properties" command to target VM.
getTarget() - Static method in class demo.org.powermock.examples.simple.SimpleConfig
 
getTarget() - Static method in class demo.org.powermock.examples.tutorial.hellopower.SimpleConfig
 
getTarget() - Method in class demo.org.powermock.examples.tutorial.hellopower.withoutpowermock.ConfigWrapper
 
getTemplateId(String) - Method in class powermock.examples.bypassencapsulation.nontest.ReportTemplateService
Get a template id from a report id.
getTestClass() - Method in class org.powermock.modules.junit3.internal.impl.PowerMockJUnit3RunnerDelegateImpl
 
getTestClass() - Method in interface org.powermock.modules.junit3.internal.PowerMockJUnit3RunnerDelegate
 
getTestClass() - Method in interface org.powermock.modules.junit4.common.internal.PowerMockJUnitRunnerDelegate
 
getTestClass() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
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.junit3.internal.impl.JUnit3TestSuiteChunkerImpl
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.PowerMockJUnit44RunnerDelegateImpl
 
getTestMethods(Class<?>, String[]) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
getTestWrappedClass() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
getType(String) - Static method in class org.objectweb.asm.Type
Returns the Java type corresponding to the given type descriptor.
getType(Class) - Static method in class org.objectweb.asm.Type
Returns the Java type corresponding to the given class.
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
 
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.
getVersion() - Method in class org.junit.runner.JUnitCore
 
GOTO - Static variable in interface org.objectweb.asm.Opcodes
 
greet() - Method in class demo.org.powermock.examples.tutorial.hellopower.HelloWorld
 
greet() - Method in class demo.org.powermock.examples.tutorial.hellopower.withoutpowermock.HelloWorld
 
Greeter - Class in demo.org.powermock.examples.simple
Hello world!
Greeter() - Constructor for class demo.org.powermock.examples.simple.Greeter
 

H

HamcrestExample - Class in org.powermock.hamcrest
A very simple class that's used just to assert that PowerMock works together with Hamcrest.
HamcrestExample() - Constructor for class org.powermock.hamcrest.HamcrestExample
 
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.
hasErrors() - Method in class demo.org.powermock.examples.tutorial.domainmocking.domain.BusinessMessages
 
hashCode() - Method in class com.sun.tools.attach.VirtualMachine
Returns a hash-code value for this VirtualMachine.
hashCode() - Method in class com.sun.tools.attach.VirtualMachineDescriptor
Returns a hash-code value for this VirtualMachineDescriptor.
hashCode() - Method in class demo.org.powermock.examples.tutorial.domainmocking.domain.Person
 
hashCode() - Method in class demo.org.powermock.examples.tutorial.partialmocking.dao.domain.impl.ServiceArtifact
 
hashCode() - Method in class demo.org.powermock.examples.tutorial.partialmocking.domain.ProviderArtifact
 
hashCode() - Method in class demo.org.powermock.examples.tutorial.partialmocking.domain.ServiceProducer
 
hashCode() - Method in class org.objectweb.asm.Type
Returns a hash code value for this type.
hashCode() - Method in class powermock.examples.bypassencapsulation.nontest.Report
 
hashCode() - Method in class powermock.examples.domain.Person
 
hashCode() - Method in class powermock.examples.mockpolicy.nontest.domain.DataObject
 
hasMethodProxy(Method) - Static method in class org.powermock.core.MockRepository
 
hasPrimitiveCounterPart(Class<?>) - Static method in class org.powermock.reflect.internal.primitivesupport.PrimitiveWrapper
Returns true if type has a primitive counter-part.
hasRules - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl
 
header - Variable in class org.objectweb.asm.ClassReader
Start index of the class header information (access, name...) in b.
heapHisto(Object...) - Method in class sun.tools.attach.HotSpotVirtualMachine
 
HelloWorld - Class in demo.org.powermock.examples.tutorial.hellopower
 
HelloWorld() - Constructor for class demo.org.powermock.examples.tutorial.hellopower.HelloWorld
 
HelloWorld - Class in demo.org.powermock.examples.tutorial.hellopower.withoutpowermock
Use our own code instead of the third party code.
HelloWorld(ConfigWrapper) - Constructor for class demo.org.powermock.examples.tutorial.hellopower.withoutpowermock.HelloWorld
 
helloWorld() - Method in class powermock.examples.jmock.FinalClass
 
HotSpotVirtualMachine - Class in sun.tools.attach
The HotSpot implementation of com.sun.tools.attach.VirtualMachine.

I

I2B - Static variable in interface org.objectweb.asm.Opcodes
 
I2C - Static variable in interface org.objectweb.asm.Opcodes
 
I2D - Static variable in interface org.objectweb.asm.Opcodes
 
I2F - Static variable in interface org.objectweb.asm.Opcodes
 
I2L - Static variable in interface org.objectweb.asm.Opcodes
 
I2S - Static variable in interface org.objectweb.asm.Opcodes
 
IADD - Static variable in interface org.objectweb.asm.Opcodes
 
IALOAD - Static variable in interface org.objectweb.asm.Opcodes
 
IAND - Static variable in interface org.objectweb.asm.Opcodes
 
IASTORE - Static variable in interface org.objectweb.asm.Opcodes
 
ICONST_0 - Static variable in interface org.objectweb.asm.Opcodes
 
ICONST_1 - Static variable in interface org.objectweb.asm.Opcodes
 
ICONST_2 - Static variable in interface org.objectweb.asm.Opcodes
 
ICONST_3 - Static variable in interface org.objectweb.asm.Opcodes
 
ICONST_4 - Static variable in interface org.objectweb.asm.Opcodes
 
ICONST_5 - Static variable in interface org.objectweb.asm.Opcodes
 
ICONST_M1 - Static variable in interface org.objectweb.asm.Opcodes
 
id() - Method in class com.sun.tools.attach.VirtualMachine
Returns the identifier for this Java virtual machine.
id() - Method in class com.sun.tools.attach.VirtualMachineDescriptor
Return the identifier component of this descriptor.
IdentityHashSet<E> - Class in org.powermock.core
 
IdentityHashSet() - Constructor for class org.powermock.core.IdentityHashSet
 
IdGenerator - Class in demo.org.powermock.examples.tutorial.staticmocking.impl
The purpose of the IdGenerator is to generate ID's based on the system time.
IdGenerator() - Constructor for class demo.org.powermock.examples.tutorial.staticmocking.impl.IdGenerator
 
IdGenerator - Class in powermock.examples.spring
The purpose of the IdGenerator is to generate ID's based on the system time.
IdGenerator() - Constructor for class powermock.examples.spring.IdGenerator
 
IdGenerator - Class in powermock.examples.staticmocking
The purpose of the IdGenerator is to generate ID's based on the system time.
IdGenerator() - Constructor for class powermock.examples.staticmocking.IdGenerator
 
IDIV - Static variable in interface org.objectweb.asm.Opcodes
 
IF_ACMPEQ - Static variable in interface org.objectweb.asm.Opcodes
 
IF_ACMPNE - Static variable in interface org.objectweb.asm.Opcodes
 
IF_ICMPEQ - Static variable in interface org.objectweb.asm.Opcodes
 
IF_ICMPGE - Static variable in interface org.objectweb.asm.Opcodes
 
IF_ICMPGT - Static variable in interface org.objectweb.asm.Opcodes
 
IF_ICMPLE - Static variable in interface org.objectweb.asm.Opcodes
 
IF_ICMPLT - Static variable in interface org.objectweb.asm.Opcodes
 
IF_ICMPNE - Static variable in interface org.objectweb.asm.Opcodes
 
IFEQ - Static variable in interface org.objectweb.asm.Opcodes
 
IFGE - Static variable in interface org.objectweb.asm.Opcodes
 
IFGT - Static variable in interface org.objectweb.asm.Opcodes
 
IFLE - Static variable in interface org.objectweb.asm.Opcodes
 
IFLT - Static variable in interface org.objectweb.asm.Opcodes
 
IFNE - Static variable in interface org.objectweb.asm.Opcodes
 
IFNONNULL - Static variable in interface org.objectweb.asm.Opcodes
 
IFNULL - Static variable in interface org.objectweb.asm.Opcodes
 
IINC - Static variable in interface org.objectweb.asm.Opcodes
 
ILOAD - Static variable in interface org.objectweb.asm.Opcodes
 
IMUL - Static variable in interface org.objectweb.asm.Opcodes
 
IndicateReloadClass - Class in org.powermock.core
 
IndicateReloadClass() - Constructor for class org.powermock.core.IndicateReloadClass
 
INEG - Static variable in interface org.objectweb.asm.Opcodes
 
info - Variable in class org.objectweb.asm.Label
Field used to associate user information to a label.
initialize(Class<?>) - Static method in class org.powermock.modules.agent.support.PowerMockAgentTestInitializer
 
initializeIfNeeded() - Static method in class org.powermock.modules.agent.PowerMockAgent
 
initializeIfPossible() - Static method in class org.powermock.modules.agent.PowerMockAgent
 
Inject - Annotation Type in demo.org.powermock.examples.tutorial.common.annotation
A custom marker annotation to demonstrate how to use PowerMock to set field dependencies.
inject(Object, Class<? extends Annotation>) - Method in class org.powermock.api.extension.listener.AnnotationEnabler.FieldInjector
 
Injectable - Annotation Type in powermock.examples.bypassencapsulation.nontest
A custom marker annotation to demonstrate how to use PowerMock to set field dependencies.
injectDefaultMocks(Object) - Method in class org.powermock.api.extension.listener.AnnotationEnabler
 
injectNiceMocks(Object) - Method in class org.powermock.api.extension.listener.AnnotationEnabler
 
injectStrictMocks(Object) - Method in class org.powermock.api.extension.listener.AnnotationEnabler
 
INSTANCEOF - Static variable in interface org.objectweb.asm.Opcodes
 
instrumentation() - Static method in class org.powermock.modules.agent.PowerMockAgent
 
INT - Static variable in class org.objectweb.asm.Type
The sort of the int type.
INT_TYPE - Static variable in class org.objectweb.asm.Type
The int type.
INTEGER - Static variable in interface org.objectweb.asm.Opcodes
 
invalidateCache(Report) - Method in class powermock.examples.bypassencapsulation.nontest.Cache
 
InvocationControlAssertionError - Class in org.powermock.api.mockito.internal.invocationcontrol
 
InvocationControlAssertionError() - Constructor for class org.powermock.api.mockito.internal.invocationcontrol.InvocationControlAssertionError
 
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(Object, Method, Object[]) - Method in class org.powermock.api.mockito.internal.invocationcontrol.MockitoMethodInvocationControl
 
invoke(Class<?>, Object[], Class<?>[]) - Method in class org.powermock.api.mockito.internal.invocationcontrol.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(Class<?>, Object[], Class<?>[]) - Method in interface org.powermock.core.spi.NewInvocationControl
Invoke the invocation control
invoke(Object, Method, Method, Object[]) - Method in class org.powermock.modules.testng.internal.PowerMockTestNGMethodHandler
 
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.
INVOKEDYNAMIC - Static variable in interface org.objectweb.asm.Opcodes
 
INVOKEDYNAMIC_OWNER - Static variable in interface org.objectweb.asm.Opcodes
Represents a owner of an invokedynamic call.
INVOKEINTERFACE - Static variable in interface org.objectweb.asm.Opcodes
 
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.
INVOKESPECIAL - Static variable in interface org.objectweb.asm.Opcodes
 
INVOKESTATIC - Static variable in interface org.objectweb.asm.Opcodes
 
invokeTestMethod(Method, RunNotifier) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
INVOKEVIRTUAL - Static variable in interface org.objectweb.asm.Opcodes
 
IOR - Static variable in interface org.objectweb.asm.Opcodes
 
IREM - Static variable in interface org.objectweb.asm.Opcodes
 
IRETURN - Static variable in interface org.objectweb.asm.Opcodes
 
isClass(Object) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Checks if is class.
isCodeAttribute() - Method in class org.objectweb.asm.Attribute
Returns true if this type of attribute is a code attribute.
isEmpty() - Method in class org.powermock.core.ListMap
 
IServiceRegistrator - Interface in demo.org.powermock.examples.tutorial.staticmocking
An interface to be implemented by services that performs service registrations.
isHandled(Method) - Method in class org.powermock.modules.testng.internal.TestNGMethodFilter
 
ISHL - Static variable in interface org.objectweb.asm.Opcodes
 
ISHR - Static variable in interface org.objectweb.asm.Opcodes
 
isJava6OrLater() - Static method in class org.powermock.modules.agent.PowerMockAgent
 
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.invocationcontrol.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.
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
 
ISTORE - Static variable in interface org.objectweb.asm.Opcodes
 
ISUB - Static variable in interface org.objectweb.asm.Opcodes
 
isUnknown() - Method in class org.objectweb.asm.Attribute
Returns true if this type of attribute is unknown.
isValid(int) - Static method in class demo.org.powermock.modules.test.junit45.failure.MyUtils
 
iterator() - Method in class org.powermock.core.IdentityHashSet
 
IUSHR - Static variable in interface org.objectweb.asm.Opcodes
 
IXOR - Static variable in interface org.objectweb.asm.Opcodes
 

J

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
 
JMockExample - Class in powermock.examples.jmock
Simple class that uses a static method and a final class.
JMockExample(FinalClass) - Constructor for class powermock.examples.jmock.JMockExample
 
JSR - Static variable in interface org.objectweb.asm.Opcodes
 
JUnit3TestSuiteChunker - Interface in org.powermock.modules.junit3.internal
 
JUnit3TestSuiteChunkerImpl - Class in org.powermock.modules.junit3.internal.impl
 
JUnit3TestSuiteChunkerImpl(Class<? extends TestCase>...) - Constructor for class org.powermock.modules.junit3.internal.impl.JUnit3TestSuiteChunkerImpl
 
JUnit3TestSuiteChunkerImpl(String, Class<? extends TestCase>...) - Constructor for class org.powermock.modules.junit3.internal.impl.JUnit3TestSuiteChunkerImpl
 
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
 
JUnitCore - Class in org.junit.runner
JUnitCore is a facade for running tests.
JUnitCore() - Constructor for class org.junit.runner.JUnitCore
Create a new JUnitCore to run tests.

K

keySet() - Method in class org.powermock.core.ListMap
 

L

L2D - Static variable in interface org.objectweb.asm.Opcodes
 
L2F - Static variable in interface org.objectweb.asm.Opcodes
 
L2I - Static variable in interface org.objectweb.asm.Opcodes
 
Label - Class in org.objectweb.asm
A label represents a position in the bytecode of a method.
Label() - Constructor for class org.objectweb.asm.Label
Constructs a new label.
LADD - Static variable in interface org.objectweb.asm.Opcodes
 
LALOAD - Static variable in interface org.objectweb.asm.Opcodes
 
LAND - Static variable in interface org.objectweb.asm.Opcodes
 
LASTORE - Static variable in interface org.objectweb.asm.Opcodes
 
LCMP - Static variable in interface org.objectweb.asm.Opcodes
 
LCONST_0 - Static variable in interface org.objectweb.asm.Opcodes
 
LCONST_1 - Static variable in interface org.objectweb.asm.Opcodes
 
LDC - Static variable in interface org.objectweb.asm.Opcodes
 
LDIV - Static variable in interface org.objectweb.asm.Opcodes
 
LinuxVirtualMachine - Class in sun.tools.attach
Linux implementation of HotSpotVirtualMachine.
LinuxVirtualMachine(AttachProvider, String) - Constructor for class sun.tools.attach.LinuxVirtualMachine
Attaches to the target VM.
list() - Static method in class com.sun.tools.attach.VirtualMachine
Return a list of Java virtual machines.
ListMap<K,V> - Class in org.powermock.core
 
ListMap() - Constructor for class org.powermock.core.ListMap
 
listVirtualMachines() - Method in class com.sun.tools.attach.spi.AttachProvider
Lists the Java virtual machines known to this provider.
LLOAD - Static variable in interface org.objectweb.asm.Opcodes
 
LMUL - Static variable in interface org.objectweb.asm.Opcodes
 
LNEG - Static variable in interface org.objectweb.asm.Opcodes
 
loadAgent(String, String) - Method in class com.sun.tools.attach.VirtualMachine
Loads an agent.
loadAgent(String) - Method in class com.sun.tools.attach.VirtualMachine
Loads an agent.
loadAgent(String, String) - Method in class sun.tools.attach.HotSpotVirtualMachine
Load JPLIS agent which will load the agent JAR file and invoke the agentmain method.
loadAgentLibrary(String, String) - Method in class com.sun.tools.attach.VirtualMachine
Loads an agent library.
loadAgentLibrary(String) - Method in class com.sun.tools.attach.VirtualMachine
Loads an agent library.
loadAgentLibrary(String, String) - Method in class sun.tools.attach.HotSpotVirtualMachine
Load agent library - library name will be expanded in target VM.
loadAgentPath(String, String) - Method in class com.sun.tools.attach.VirtualMachine
Load a native agent library by full pathname.
loadAgentPath(String) - Method in class com.sun.tools.attach.VirtualMachine
Load a native agent library by full pathname.
loadAgentPath(String, String) - Method in class sun.tools.attach.HotSpotVirtualMachine
Load agent - absolute path of library provided to target VM.
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
 
loadModifiedClass(String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
 
loadModifiedClass(String) - Method in class org.powermock.core.classloader.MockClassLoader
 
localDataDump() - Method in class sun.tools.attach.HotSpotVirtualMachine
 
log - Static variable in class demo.org.powermock.examples.Log4jUserParent
 
log(String) - Method in class demo.org.powermock.examples.simple.Logger
 
Log4jMockPolicy - Class in org.powermock.api.easymock.mockpolicies
A log4j mock policy.
Log4jMockPolicy() - Constructor for class org.powermock.api.easymock.mockpolicies.Log4jMockPolicy
 
Log4jUser - Class in demo.org.powermock.examples
 
Log4jUser() - Constructor for class demo.org.powermock.examples.Log4jUser
 
Log4jUserParent - Class in demo.org.powermock.examples
 
Log4jUserParent() - Constructor for class demo.org.powermock.examples.Log4jUserParent
 
Logger - Class in demo.org.powermock.examples.simple
 
Logger() - Constructor for class demo.org.powermock.examples.simple.Logger
 
LogPolicySupport - Class in org.powermock.mockpolicies.support
A support class for mock policies dealing with logging frameworks.
LogPolicySupport() - Constructor for class org.powermock.mockpolicies.support.LogPolicySupport
 
LONG - Static variable in interface org.objectweb.asm.Opcodes
 
LONG - Static variable in class org.objectweb.asm.Type
The sort of the long type.
LONG_TYPE - Static variable in class org.objectweb.asm.Type
The long type.
LOOKUPSWITCH - Static variable in interface org.objectweb.asm.Opcodes
 
LOR - Static variable in interface org.objectweb.asm.Opcodes
 
LREM - Static variable in interface org.objectweb.asm.Opcodes
 
LRETURN - Static variable in interface org.objectweb.asm.Opcodes
 
LSHL - Static variable in interface org.objectweb.asm.Opcodes
 
LSHR - Static variable in interface org.objectweb.asm.Opcodes
 
LSTORE - Static variable in interface org.objectweb.asm.Opcodes
 
LSUB - Static variable in interface org.objectweb.asm.Opcodes
 
LUSHR - Static variable in interface org.objectweb.asm.Opcodes
 
LXOR - Static variable in interface org.objectweb.asm.Opcodes
 

M

main(String[]) - Static method in class demo.org.powermock.examples.simple.Greeter
 
main(String...) - Static method in class org.junit.runner.JUnitCore
Run the tests contained in the classes named in the args.
MainMockTransformer - Class in org.powermock.core.transformers.impl
 
MainMockTransformer() - Constructor for class org.powermock.core.transformers.impl.MainMockTransformer
 
MainMockTransformer(TransformStrategy) - Constructor for class org.powermock.core.transformers.impl.MainMockTransformer
 
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
 
mergeMessageWith(String) - Method in class demo.org.powermock.examples.Log4jUser
 
Message - Class in powermock.examples.spring
 
Message(long, String) - Constructor for class powermock.examples.spring.Message
 
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.
MethodAdapter - Class in org.objectweb.asm
An empty MethodVisitor that delegates to another MethodVisitor.
MethodAdapter(MethodVisitor) - Constructor for class org.objectweb.asm.MethodAdapter
Constructs a new MethodAdapter object.
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
 
methodDescription(Method) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
MethodInvocationControl - Interface in org.powermock.core.spi
The purpose of a method invocation control is to invoke a proxy to simulate a method call.
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 ?
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.
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
 
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.
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
 
MethodVisitor - Interface in org.objectweb.asm
A visitor to visit a Java method.
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(Class<T>, boolean, boolean, Object, MockSettings, Method...) - Static method in class org.powermock.api.mockito.internal.mockcreation.MockCreator
 
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_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[]) - 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:
MockCreator - Class in org.powermock.api.mockito.internal.mockcreation
 
MockCreator() - Constructor for class org.powermock.api.mockito.internal.mockcreation.MockCreator
 
MockGateway - Class in org.powermock.core
All mock invocations are routed through this gateway.
MockGateway() - Constructor for class org.powermock.core.MockGateway
 
MockitoMethodInvocationControl - Class in org.powermock.api.mockito.internal.invocationcontrol
A Mockito implementation of the MethodInvocationControl interface.
MockitoMethodInvocationControl(MethodInterceptorFilter, Object, Method...) - Constructor for class org.powermock.api.mockito.internal.invocationcontrol.MockitoMethodInvocationControl
Creates a new instance.
MockitoMethodInvocationControl(MethodInterceptorFilter, Object, Object, Method...) - Constructor for class org.powermock.api.mockito.internal.invocationcontrol.MockitoMethodInvocationControl
Creates a new instance with a delegator.
MockitoNewInvocationControl<T> - Class in org.powermock.api.mockito.internal.invocationcontrol
 
MockitoNewInvocationControl(InvocationSubstitute<T>) - Constructor for class org.powermock.api.mockito.internal.invocationcontrol.MockitoNewInvocationControl
 
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. by default allows all method calls and returns appropriate empty values (0, null or false )).
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
 
MockPolicyInterceptionSettings - Interface in org.powermock.mockpolicies
Contains interception related settings.
MockPolicyInterceptionSettingsImpl - Class in org.powermock.mockpolicies.impl
 
MockPolicyInterceptionSettingsImpl() - Constructor for class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
 
MockRepository - Class in org.powermock.core
Hold mock objects that should be used instead of the concrete implementation.
MockRepository() - Constructor for class org.powermock.core.MockRepository
 
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<?>) - 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. the order of method calls are checked).
MockTransformer - Interface in org.powermock.core.transformers
Interface that all mock transformers must implement.
MODIFY_ALL_CLASSES - Static variable in class org.powermock.core.classloader.MockClassLoader
Pass this string to the constructor to indicate that all classes should be modified.
modifyMethod(CtMethod) - Method in class org.powermock.core.transformers.impl.MainMockTransformer
 
MONITORENTER - Static variable in interface org.objectweb.asm.Opcodes
 
MONITOREXIT - Static variable in interface org.objectweb.asm.Opcodes
 
MULTIANEWARRAY - Static variable in interface org.objectweb.asm.Opcodes
 
mv - Variable in class org.objectweb.asm.MethodAdapter
The MethodVisitor to which this adapter delegates calls.
MyBean - Class in powermock.examples.spring
 
MyBean() - Constructor for class powermock.examples.spring.MyBean
 
MyClass - Class in demo.org.powermock.modules.test.junit45.failure
 
MyClass() - Constructor for class demo.org.powermock.modules.test.junit45.failure.MyClass
 
MyCustomMockPolicy - Class in powermock.examples.mockpolicy.policy
A simple mock policy whose purpose is to intercept calls to Dependency.getData() and return a mock.
MyCustomMockPolicy() - Constructor for class powermock.examples.mockpolicy.policy.MyCustomMockPolicy
 
MyException - Exception in demo.org.powermock.modules.test.junit45.failure
 
MyException() - Constructor for exception demo.org.powermock.modules.test.junit45.failure.MyException
 
MyService - Interface in powermock.examples.service
 
MyServiceImpl - Class in powermock.examples.service.impl
 
MyServiceImpl() - Constructor for class powermock.examples.service.impl.MyServiceImpl
 
MyServiceUser - Class in powermock.examples
A simple service class that uses the DependencyManager to get the MyService singleton instance.
MyServiceUser() - Constructor for class powermock.examples.MyServiceUser
 
MyUtils - Class in demo.org.powermock.modules.test.junit45.failure
 
MyUtils() - Constructor for class demo.org.powermock.modules.test.junit45.failure.MyUtils
 

N

name() - Method in class com.sun.tools.attach.spi.AttachProvider
Return this provider's name.
NEW - Static variable in interface org.objectweb.asm.Opcodes
 
NEWARRAY - Static variable in interface org.objectweb.asm.Opcodes
 
newClass(String) - Method in class org.objectweb.asm.ClassWriter
Adds a class reference to the constant pool of the class being build.
newConst(Object) - Method in class org.objectweb.asm.ClassWriter
Adds a number or string constant to the constant pool of the class being build.
newField(String, String, String) - Method in class org.objectweb.asm.ClassWriter
Adds a field reference to the constant pool of the class being build.
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
 
newMethod(String, String, String, boolean) - Method in class org.objectweb.asm.ClassWriter
Adds a method reference to the constant pool of the class being build.
newNameType(String, String) - Method in class org.objectweb.asm.ClassWriter
Adds a name and type to the constant pool of the class being build.
newUTF8(String) - Method in class org.objectweb.asm.ClassWriter
Adds an UTF8 string to the constant pool of the class being build.
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.
NOP - Static variable in interface org.objectweb.asm.Opcodes
 
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
 
NULL - Static variable in interface org.objectweb.asm.Opcodes
 

O

OBJECT - Static variable in class org.objectweb.asm.Type
The sort of object reference type.
Opcodes - Interface in org.objectweb.asm
Defines the JVM opcodes, access flags and array type codes.
OptionUser - Class in powermock.examples.apachecli
Class that verifies that the http://code.google.com/p/powermock/issues/detail?
OptionUser() - Constructor for class powermock.examples.apachecli.OptionUser
 
org.junit.runner - package org.junit.runner
 
org.objectweb.asm - package org.objectweb.asm
 
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.listener - package org.powermock.api.extension.listener
 
org.powermock.api.extension.proxyframework - package org.powermock.api.extension.proxyframework
 
org.powermock.api.mockito - package org.powermock.api.mockito
 
org.powermock.api.mockito.expectation - package org.powermock.api.mockito.expectation
 
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.expectation - package org.powermock.api.mockito.internal.expectation
 
org.powermock.api.mockito.internal.invocationcontrol - package org.powermock.api.mockito.internal.invocationcontrol
 
org.powermock.api.mockito.internal.mockcreation - package org.powermock.api.mockito.internal.mockcreation
 
org.powermock.api.mockito.internal.verification - package org.powermock.api.mockito.internal.verification
 
org.powermock.api.mockito.powermocklistener - package org.powermock.api.mockito.powermocklistener
 
org.powermock.api.mockito.verification - package org.powermock.api.mockito.verification
 
org.powermock.api.support - package org.powermock.api.support
 
org.powermock.api.support.membermodification - package org.powermock.api.support.membermodification
 
org.powermock.api.support.membermodification.strategy - package org.powermock.api.support.membermodification.strategy
 
org.powermock.api.support.membermodification.strategy.impl - package org.powermock.api.support.membermodification.strategy.impl
 
org.powermock.classloading - package org.powermock.classloading
 
org.powermock.classloading.spi - package org.powermock.classloading.spi
 
org.powermock.core - package org.powermock.core
 
org.powermock.core.classloader - package org.powermock.core.classloader
 
org.powermock.core.classloader.annotations - package org.powermock.core.classloader.annotations
 
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.hamcrest - package org.powermock.hamcrest
 
org.powermock.mockpolicies - package org.powermock.mockpolicies
 
org.powermock.mockpolicies.impl - package org.powermock.mockpolicies.impl
 
org.powermock.mockpolicies.support - package org.powermock.mockpolicies.support
 
org.powermock.modules.agent - package org.powermock.modules.agent
 
org.powermock.modules.agent.support - package org.powermock.modules.agent.support
 
org.powermock.modules.junit3 - package org.powermock.modules.junit3
 
org.powermock.modules.junit3.internal - package org.powermock.modules.junit3.internal
 
org.powermock.modules.junit3.internal.impl - package org.powermock.modules.junit3.internal.impl
 
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.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
 

P

performMethodInvocation(Object, Method, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Perform method invocation.
performSubstitutionLogic(Object...) - Method in interface org.powermock.core.spi.support.InvocationSubstitute
 
PersistenceManager - Class in powermock.examples.newmocking
Used to demonstrate PowerMock's ability to mock new instance calls.
PersistenceManager() - Constructor for class powermock.examples.newmocking.PersistenceManager
 
Person - Class in demo.org.powermock.examples.tutorial.domainmocking.domain
A simple domain object used in this example.
Person(String, String) - Constructor for class demo.org.powermock.examples.tutorial.domainmocking.domain.Person
 
Person - Class in powermock.examples.domain
A simple domain object.
Person(String, String, String) - Constructor for class powermock.examples.domain.Person
 
PersonService - Interface in demo.org.powermock.examples.tutorial.domainmocking
A simple interface that manages persons.
POP - Static variable in interface org.objectweb.asm.Opcodes
 
POP2 - Static variable in interface org.objectweb.asm.Opcodes
 
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.examples - package powermock.examples
 
powermock.examples.annotationbased - package powermock.examples.annotationbased
 
powermock.examples.annotationbased.dao - package powermock.examples.annotationbased.dao
 
powermock.examples.apachecli - package powermock.examples.apachecli
 
powermock.examples.bypassencapsulation - package powermock.examples.bypassencapsulation
 
powermock.examples.bypassencapsulation.nontest - package powermock.examples.bypassencapsulation.nontest
 
powermock.examples.dependencymanagement - package powermock.examples.dependencymanagement
 
powermock.examples.domain - package powermock.examples.domain
 
powermock.examples.finalmocking - package powermock.examples.finalmocking
 
powermock.examples.jmock - package powermock.examples.jmock
 
powermock.examples.mockpolicy - package powermock.examples.mockpolicy
 
powermock.examples.mockpolicy.nontest - package powermock.examples.mockpolicy.nontest
 
powermock.examples.mockpolicy.nontest.domain - package powermock.examples.mockpolicy.nontest.domain
 
powermock.examples.mockpolicy.policy - package powermock.examples.mockpolicy.policy
 
powermock.examples.newmocking - package powermock.examples.newmocking
 
powermock.examples.privatemocking - package powermock.examples.privatemocking
 
powermock.examples.service - package powermock.examples.service
 
powermock.examples.service.impl - package powermock.examples.service.impl
 
powermock.examples.spring - package powermock.examples.spring
 
powermock.examples.staticmocking - package powermock.examples.staticmocking
 
powermock.examples.suppress.constructor - package powermock.examples.suppress.constructor
 
powermock.examples.suppress.constructorhierarchy - package powermock.examples.suppress.constructorhierarchy
 
powermock.examples.suppress.method - package powermock.examples.suppress.method
 
powermock.examples.suppress.staticinitializer - package powermock.examples.suppress.staticinitializer
 
PowerMockAgent - Class in org.powermock.modules.agent
This is the "agent class" that initializes the PowerMock "Java agent".
PowerMockAgentTestInitializer - Class in org.powermock.modules.agent.support
 
PowerMockAgentTestInitializer() - Constructor for class org.powermock.modules.agent.support.PowerMockAgentTestInitializer
 
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
 
PowerMockClassRedefiner - Class in org.powermock.modules.agent
 
PowerMockClassRedefiner() - Constructor for class org.powermock.modules.agent.PowerMockClassRedefiner
 
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.
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
 
PowerMockitoCore - Class in org.powermock.api.mockito.internal
 
PowerMockitoCore() - Constructor for class org.powermock.api.mockito.internal.PowerMockitoCore
 
PowerMockitoInjectingAnnotationEngine - Class in org.powermock.api.mockito.internal.configuration
The same as InjectingAnnotationEngine with the exception that it doesn't create/injects mocks annotated with the standard annotations such as Mock.
PowerMockitoInjectingAnnotationEngine() - Constructor for class org.powermock.api.mockito.internal.configuration.PowerMockitoInjectingAnnotationEngine
 
PowerMockitoSpyAnnotationEngine - Class in org.powermock.api.mockito.internal.configuration
More or less a copy of the SpyAnnotationEngine but it uses PowerMockito.spy(Object) instead.
PowerMockitoSpyAnnotationEngine() - Constructor for class org.powermock.api.mockito.internal.configuration.PowerMockitoSpyAnnotationEngine
 
PowerMockitoStubber - Interface in org.powermock.api.mockito.expectation
Setup stubbing for private or void methods in final class, final void methods, or static (final) methods.
PowerMockitoStubberImpl - Class in org.powermock.api.mockito.internal.expectation
Extension of the standard Mocktio stubber implementation that also support PowerMockito created mocks.
PowerMockitoStubberImpl() - Constructor for class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
 
PowerMockJUnit3RunnerDelegate - Interface in org.powermock.modules.junit3.internal
 
PowerMockJUnit3RunnerDelegateImpl - Class in org.powermock.modules.junit3.internal.impl
 
PowerMockJUnit3RunnerDelegateImpl(Class<?>, Method[], String, PowerMockTestListener[]) - Constructor for class org.powermock.modules.junit3.internal.impl.PowerMockJUnit3RunnerDelegateImpl
 
PowerMockJUnit3RunnerDelegateImpl(Class<?>, Method[], PowerMockTestListener[]) - Constructor for class org.powermock.modules.junit3.internal.impl.PowerMockJUnit3RunnerDelegateImpl
Constructs a TestSuite from the given class.
PowerMockJUnit3TestListener - Class in org.powermock.modules.junit3.internal.impl
An implementation of the TestRunListener interface that performs cleanup after each test so that no state is maintained in PowerMock between test runs.
PowerMockJUnit3TestListener(ClassLoader) - Constructor for class org.powermock.modules.junit3.internal.impl.PowerMockJUnit3TestListener
 
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
 
PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner(Object, TestMethod, RunNotifier, Description, boolean) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
 
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(Object, TestMethod, RunNotifier, Description, boolean) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner
 
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.
PowerMockObjectFactory - Class in org.powermock.modules.testng
The PowerMock object factory.
PowerMockObjectFactory() - Constructor for class org.powermock.modules.testng.PowerMockObjectFactory
 
PowerMockPolicy - Interface in org.powermock.core.spi
This interface can be implemented to create policies for certain frameworks to make it easier for users to test their code in isolation from these frameworks.
PowerMockRule - Class in org.powermock.modules.junit4.rule
 
PowerMockRule() - Constructor for class org.powermock.modules.junit4.rule.PowerMockRule
 
PowerMockRunner - Class in org.powermock.modules.junit4
 
PowerMockRunner(Class<?>) - Constructor for class org.powermock.modules.junit4.PowerMockRunner
 
PowerMockSuite - Class in org.powermock.modules.junit3
A custom JUnit 3 Suite that must be used to run PowerMock tests under JUnit3.
PowerMockSuite(String, Class<? extends TestCase>...) - Constructor for class org.powermock.modules.junit3.PowerMockSuite
 
PowerMockSuite(Class<? extends TestCase>...) - Constructor for class org.powermock.modules.junit3.PowerMockSuite
 
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.
PowerMockTestNGMethodHandler - Class in org.powermock.modules.testng.internal
 
PowerMockTestNGMethodHandler(Class<?>) - Constructor for class org.powermock.modules.testng.internal.PowerMockTestNGMethodHandler
 
PowerMockUtils - Class in org.powermock.core
 
PowerMockUtils() - Constructor for class org.powermock.core.PowerMockUtils
 
premain(String, Instrumentation) - Static method in class org.powermock.modules.agent.PowerMockAgent
This method must only be called by the JVM, to provide the instrumentation object.
PrepareEverythingForTest - Annotation Type in org.powermock.core.classloader.annotations
This annotation tells PowerMock to prepare all classes (except certain system and test related classes) for test.
PrepareForTest - Annotation Type in org.powermock.core.classloader.annotations
This annotation tells PowerMock to prepare certain classes for testing.
PrepareOnlyThisForTest - Annotation Type in org.powermock.core.classloader.annotations
This annotation tells PowerMock to prepare certain classes for testing.
PrimitiveWrapper - Class in org.powermock.reflect.internal.primitivesupport
The purpose of the Primitive Wrapper is to provide methods that deals with translating wrapper types to its related primitive type.
PrimitiveWrapper() - Constructor for class org.powermock.reflect.internal.primitivesupport.PrimitiveWrapper
 
printClassesLoadedByClassloader(ClassLoader, boolean) - Static method in class org.powermock.core.PowerMockUtils
 
printFlag(String) - Method in class sun.tools.attach.HotSpotVirtualMachine
 
printOptionDescription() - Method in class powermock.examples.apachecli.OptionUser
PrivatelyExpectedArguments - Interface in org.powermock.api.mockito.expectation
 
PrivateMethodVerification - Interface in org.powermock.api.mockito.verification
 
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
 
provider() - Method in class com.sun.tools.attach.VirtualMachine
Returns the provider that created this virtual machine.
provider() - Method in class com.sun.tools.attach.VirtualMachineDescriptor
Return the AttachProvider that this descriptor references.
ProviderArtifact - Class in demo.org.powermock.examples.tutorial.partialmocking.domain
 
ProviderArtifact(int, String) - Constructor for class demo.org.powermock.examples.tutorial.partialmocking.domain.ProviderArtifact
 
ProviderDao - Interface in demo.org.powermock.examples.tutorial.partialmocking.dao
 
providers() - Static method in class com.sun.tools.attach.spi.AttachProvider
Returns a list of the installed attach providers.
ProviderService - Interface in demo.org.powermock.examples.tutorial.partialmocking.service
A simple interface that manages persons.
ProviderServiceImpl - Class in demo.org.powermock.examples.tutorial.partialmocking.service.impl
A simple implementation of the providers service.
ProviderServiceImpl() - Constructor for class demo.org.powermock.examples.tutorial.partialmocking.service.impl.ProviderServiceImpl
 
ProviderServiceWithoutPowerMockImpl - Class in demo.org.powermock.examples.tutorial.partialmocking.service.impl.withoutpowermock
We've slightly refactored the ProviderService to make the class easier to test without PowerMock.
ProviderServiceWithoutPowerMockImpl(ProviderDao) - Constructor for class demo.org.powermock.examples.tutorial.partialmocking.service.impl.withoutpowermock.ProviderServiceWithoutPowerMockImpl
 
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 - Interface in org.powermock.reflect.spi
The purpose of a the proxy framework implementation is to return the unproxied types of classes.
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.
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
 
putByte(int) - Method in class org.objectweb.asm.ByteVector
Puts a byte into this byte vector.
putByteArray(byte[], int, int) - Method in class org.objectweb.asm.ByteVector
Puts an array of bytes into this byte vector.
PUTFIELD - Static variable in interface org.objectweb.asm.Opcodes
 
putInstanceMethodInvocationControl(Object, MethodInvocationControl) - Static method in class org.powermock.core.MockRepository
 
putInt(int) - Method in class org.objectweb.asm.ByteVector
Puts an int into this byte vector.
putLong(long) - Method in class org.objectweb.asm.ByteVector
Puts a long into this byte vector.
putMethodProxy(Method, InvocationHandler) - Static method in class org.powermock.core.MockRepository
Set a proxy for a method.
putMethodToStub(Method, Object) - Static method in class org.powermock.core.MockRepository
Set a substitute return value for a method.
putNewInstanceControl(Class<?>, NewInvocationControl<?>) - Static method in class org.powermock.core.MockRepository
 
putShort(int) - Method in class org.objectweb.asm.ByteVector
Puts a short into this byte vector.
PUTSTATIC - Static variable in interface org.objectweb.asm.Opcodes
 
putStaticMethodInvocationControl(Class<?>, MethodInvocationControl) - Static method in class org.powermock.core.MockRepository
 
putUTF8(String) - Method in class org.objectweb.asm.ByteVector
Puts an UTF8 string into this byte vector.

R

read(ClassReader, int, int, char[], int, Label[]) - Method in class org.objectweb.asm.Attribute
Reads a type attribute.
readByte(int) - Method in class org.objectweb.asm.ClassReader
Reads a byte value in b.
readClass(int, char[]) - Method in class org.objectweb.asm.ClassReader
Reads a class constant pool item in b.
readConst(int, char[]) - Method in class org.objectweb.asm.ClassReader
Reads a numeric or string constant pool item in b.
readInt(int) - Method in class org.objectweb.asm.ClassReader
Reads a signed int value in b.
readLabel(int, Label[]) - Method in class org.objectweb.asm.ClassReader
Returns the label corresponding to the given offset.
readLong(int) - Method in class org.objectweb.asm.ClassReader
Reads a signed long value in b.
readShort(int) - Method in class org.objectweb.asm.ClassReader
Reads a signed short value in b.
readUnsignedShort(int) - Method in class org.objectweb.asm.ClassReader
Reads an unsigned short value in b.
readUTF8(int, char[]) - Method in class org.objectweb.asm.ClassReader
Reads an UTF8 string constant pool item in b.
redefine(Class<?>) - Static method in class org.powermock.modules.agent.PowerMockClassRedefiner
 
redefine(String) - Static method in class org.powermock.modules.agent.PowerMockClassRedefiner
 
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.
registerService(String, Object) - Method in class demo.org.powermock.examples.tutorial.staticmocking.impl.ServiceRegistrator
Registers a service to the service framework.
registerService(String, Object) - Method in class demo.org.powermock.examples.tutorial.staticmocking.impl.withoutpowermock.ServiceRegistratorWithoutPowerMock
Registers a service to the service framework.
registerService(String, Object) - Method in interface demo.org.powermock.examples.tutorial.staticmocking.IServiceRegistrator
Registers a service to the service framework.
registerService(String, Object, String) - Method in interface demo.org.powermock.examples.tutorial.staticmocking.osgi.BundleContext
 
registerService(Object) - Method in class powermock.examples.staticmocking.ServiceRegistrator
 
remoteDataDump(Object...) - Method in class sun.tools.attach.HotSpotVirtualMachine
 
remove(Object) - Method in class org.powermock.core.IdentityHashSet
 
remove(Object) - Method in class org.powermock.core.ListMap
 
remove(Object) - Static method in class org.powermock.core.MockRepository
Removes an object from the MockRepository if it exists.
removeAdditionalState(String) - Static method in class org.powermock.core.MockRepository
 
removeClassMethodInvocationControl(Class<?>) - Static method in class org.powermock.core.MockRepository
 
removeInstanceMethodInvocationControl(Class<?>) - Static method in class org.powermock.core.MockRepository
 
removeListener(RunListener) - Method in class org.junit.runner.JUnitCore
Remove a listener.
removeMethodProxy(Method) - Static method in class org.powermock.core.MockRepository
 
removeService(Object) - Method in class powermock.examples.bypassencapsulation.ServiceHolder
 
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.
replace(Method) - Static method in class org.powermock.api.support.membermodification.MemberModifier
Replace a method invocation.
replaceData(String, byte[]) - Method in class powermock.examples.privatemocking.DataService
 
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(Object...) - Method in class org.powermock.api.mockito.internal.invocationcontrol.MockitoMethodInvocationControl
 
replay(Object...) - Method in class org.powermock.api.mockito.internal.invocationcontrol.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 - Class in powermock.examples.bypassencapsulation.nontest
A marker domain object used to demonstrate some test features in PowerMock.
Report(String) - Constructor for class powermock.examples.bypassencapsulation.nontest.Report
 
ReportDao - Class in powermock.examples.bypassencapsulation
A class used to demonstrate how it's possible for PowerMock to set internal state for a class that is also partially mocked.
ReportDao() - Constructor for class powermock.examples.bypassencapsulation.ReportDao
 
ReportGenerator - Class in powermock.examples.bypassencapsulation
 
ReportGenerator() - Constructor for class powermock.examples.bypassencapsulation.ReportGenerator
 
ReportTemplateService - Class in powermock.examples.bypassencapsulation.nontest
A stub service used to demonstrate test key-points.
ReportTemplateService() - Constructor for class powermock.examples.bypassencapsulation.nontest.ReportTemplateService
 
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.invocationcontrol.MockitoMethodInvocationControl
 
reset(Object...) - Method in class org.powermock.api.mockito.internal.invocationcontrol.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.
Result - Enum in org.powermock.core.spi.testresult
 
RET - Static variable in interface org.objectweb.asm.Opcodes
 
RETURN - Static variable in interface org.objectweb.asm.Opcodes
 
returnString() - Static method in class powermock.examples.jmock.ClassWithStaticMethod
 
returnValue() - Method in exception com.sun.tools.attach.AgentInitializationException
If the exception was created with the return value from the agent Agent_OnAttach function then this returns that value, otherwise returns 0.
run(Class<?>...) - Method in class org.junit.runner.JUnitCore
Run all the tests in classes.
run(Request) - Method in class org.junit.runner.JUnitCore
Run all the tests contained in request.
run(Test) - Method in class org.junit.runner.JUnitCore
Run all the tests contained in JUnit 3.8.x test.
run(Runner) - Method in class org.junit.runner.JUnitCore
Do not use.
run(RunNotifier) - Method in class org.junit.runner.Runner
Run the tests for this runner.
run(TestResult) - Method in class org.powermock.modules.junit3.internal.impl.JUnit3TestSuiteChunkerImpl
run(TestResult) - Method in class org.powermock.modules.junit3.internal.impl.PowerMockJUnit3RunnerDelegateImpl
 
run(TestResult) - Method in interface org.powermock.modules.junit3.internal.JUnit3TestSuiteChunker
 
run(TestResult) - Method in interface org.powermock.modules.junit3.internal.PowerMockJUnit3RunnerDelegate
 
run(TestResult) - Method in class org.powermock.modules.junit3.PowerMockSuite
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.PowerMockJUnit44RunnerDelegateImpl
Run the tests for this runner.
runBeforesThenTestThenAfters(Runnable) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
 
runClasses(Class<?>...) - Static method in class org.junit.runner.JUnitCore
Run the tests contained in classes.
runMain(String...) - Method in class org.junit.runner.JUnitCore
Do not use.
runMethods(RunNotifier) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
Runner - Class in org.junit.runner
A Runner runs tests and notifies a RunNotifier of significant events as it does so.
Runner() - Constructor for class org.junit.runner.Runner
 
runTest(Test, TestResult) - Method in class org.powermock.modules.junit3.internal.impl.JUnit3TestSuiteChunkerImpl
runTest(Test, TestResult) - Method in interface org.powermock.modules.junit3.internal.JUnit3TestSuiteChunker
 
runTest(Test, TestResult) - Method in interface org.powermock.modules.junit3.internal.PowerMockJUnit3RunnerDelegate
 
runTest(Test, TestResult) - Method in class org.powermock.modules.junit3.PowerMockSuite
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
 
SALOAD - Static variable in interface org.objectweb.asm.Opcodes
 
SampleService - Interface in demo.org.powermock.examples.tutorial.domainmocking
A simple service interface.
SampleServiceException - Exception in demo.org.powermock.examples.tutorial.domainmocking.domain
A simple exception that's thrown when an error occurs when executing a method in the SampleService.
SampleServiceException(String, Throwable) - Constructor for exception demo.org.powermock.examples.tutorial.domainmocking.domain.SampleServiceException
 
SampleServiceException(String) - Constructor for exception demo.org.powermock.examples.tutorial.domainmocking.domain.SampleServiceException
 
SampleServiceImpl - Class in demo.org.powermock.examples.tutorial.domainmocking.impl
This is a simple service that delegates calls to two stub services.
SampleServiceImpl(PersonService, EventService) - Constructor for class demo.org.powermock.examples.tutorial.domainmocking.impl.SampleServiceImpl
Creates a new instance of the SampleServiceImpl with the following collaborators.
SampleServiceWithoutPowerMockImpl - Class in demo.org.powermock.examples.tutorial.domainmocking.impl.withoutpowermock
This is a simple service that delegates calls to two stub services.
SampleServiceWithoutPowerMockImpl(PersonService, EventService) - Constructor for class demo.org.powermock.examples.tutorial.domainmocking.impl.withoutpowermock.SampleServiceWithoutPowerMockImpl
Creates a new instance of the SampleServiceImpl with the following collaborators.
SASTORE - Static variable in interface org.objectweb.asm.Opcodes
 
send(byte[]) - Method in interface demo.org.powermock.examples.tutorial.partialmocking.dao.domain.Connection
 
send(byte[]) - Method in class demo.org.powermock.examples.tutorial.partialmocking.dao.domain.impl.ConnectionImpl
 
sendErrorEvent(Person, BusinessMessages) - Method in interface demo.org.powermock.examples.tutorial.domainmocking.EventService
Sends a new error event to the interested parties in the system.
ServiceArtifact - Class in demo.org.powermock.examples.tutorial.partialmocking.dao.domain.impl
 
ServiceArtifact(int, String, DataProducer...) - Constructor for class demo.org.powermock.examples.tutorial.partialmocking.dao.domain.impl.ServiceArtifact
 
ServiceHolder - Class in powermock.examples.bypassencapsulation
Class whose purpose is the demonstrate how to use PowerMock to get and set internal state.
ServiceHolder() - Constructor for class powermock.examples.bypassencapsulation.ServiceHolder
 
ServiceProducer - Class in demo.org.powermock.examples.tutorial.partialmocking.domain
 
ServiceProducer(int, String, DataProducer...) - Constructor for class demo.org.powermock.examples.tutorial.partialmocking.domain.ServiceProducer
 
ServiceRegistration - Interface in demo.org.powermock.examples.tutorial.staticmocking.osgi
Copied method declaration from the OSGi ServiceRegistration interface.
ServiceRegistrator - Class in demo.org.powermock.examples.tutorial.staticmocking.impl
An "OSGi"-ish implementation of the IServiceRegistrator interface.
ServiceRegistrator() - Constructor for class demo.org.powermock.examples.tutorial.staticmocking.impl.ServiceRegistrator
Default constructor, initializes internal state.
ServiceRegistrator - Class in powermock.examples.staticmocking
 
ServiceRegistrator() - Constructor for class powermock.examples.staticmocking.ServiceRegistrator
 
ServiceRegistratorWithoutPowerMock - Class in demo.org.powermock.examples.tutorial.staticmocking.impl.withoutpowermock
This refactored implementation demonstrate how one could test the ServiceRegistrator class without using PowerMock.
ServiceRegistratorWithoutPowerMock() - Constructor for class demo.org.powermock.examples.tutorial.staticmocking.impl.withoutpowermock.ServiceRegistratorWithoutPowerMock
Default constructor, initializes internal state.
setClassMock(Class<?>) - Method in class org.powermock.api.mockito.internal.verification.StaticMockAwareVerificationMode
 
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.
setFirstName(String) - Method in class powermock.examples.domain.Person
 
setFlag(String, String) - Method in class sun.tools.attach.HotSpotVirtualMachine
 
setFullyQualifiedNamesOfClassesToLoadByMockClassloader(String[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
 
setFullyQualifiedNamesOfClassesToLoadByMockClassloader(String[]) - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
Set which types that should be loaded (and possibly modified) by the mock classloader.
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.
setLastName(String) - Method in class powermock.examples.domain.Person
 
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.
setMockTransformerChain(List<MockTransformer>) - Method in class org.powermock.core.classloader.MockClassLoader
 
setName(String) - Method in interface org.powermock.modules.junit3.internal.PowerMockJUnit3RunnerDelegate
 
setParameterTypes(Class<?>[]) - Method in class org.powermock.api.mockito.internal.expectation.DefaultConstructorExpectationSetup
 
setPhoneNumber(String) - Method in class powermock.examples.domain.Person
 
setState(String) - Method in class powermock.examples.finalmocking.StateHolder
Dummy method that is used to demonstrate how PowerMock can deal with final methods.
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
Deprecated. Use MockPolicyInterceptionSettings.stubMethod(Method, Object) instead.
SHORT - Static variable in class org.objectweb.asm.Type
The sort of the short type.
SHORT_TYPE - Static variable in class org.objectweb.asm.Type
The short type.
shouldDefer(String[], String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
 
shouldExecuteTestForMethod(Class<?>, Method) - Method in class org.powermock.modules.junit3.internal.impl.JUnit3TestSuiteChunkerImpl
shouldExecuteTestForMethod(Class<?>, Method) - Method in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl
 
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
 
shouldModify(Iterable<String>, String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
 
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) - 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.
SimpleConfig - Class in demo.org.powermock.examples.simple
 
SimpleConfig() - Constructor for class demo.org.powermock.examples.simple.SimpleConfig
 
SimpleConfig - Class in demo.org.powermock.examples.tutorial.hellopower
Important third party code that cannot be changed.
SimpleConfig() - Constructor for class demo.org.powermock.examples.tutorial.hellopower.SimpleConfig
 
SIPUSH - Static variable in interface org.objectweb.asm.Opcodes
 
size() - Method in class org.powermock.core.IdentityHashSet
 
size() - Method in class org.powermock.core.ListMap
 
SKIP_CODE - Static variable in class org.objectweb.asm.ClassReader
Flag to skip method code.
SKIP_DEBUG - Static variable in class org.objectweb.asm.ClassReader
Flag to skip the debug information in the class.
SKIP_FRAMES - Static variable in class org.objectweb.asm.ClassReader
Flag to skip the stack map frames in the class.
Slf4jMockPolicy - Class in org.powermock.api.easymock.mockpolicies
An slf4j mock policy.
Slf4jMockPolicy() - Constructor for class org.powermock.api.easymock.mockpolicies.Slf4jMockPolicy
 
Slf4jUser - Class in demo.org.powermock.examples
 
Slf4jUser() - Constructor for class demo.org.powermock.examples.Slf4jUser
 
SomeDao - Class in powermock.examples.annotationbased.dao
 
SomeDao() - Constructor for class powermock.examples.annotationbased.dao.SomeDao
 
SomeService - Class in powermock.examples.annotationbased
 
SomeService(SomeDao) - Constructor for class powermock.examples.annotationbased.SomeService
 
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
 
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).
startTest(Test) - Method in class org.powermock.modules.junit3.internal.impl.PowerMockJUnit3TestListener
Does nothing.
StateFormatter - Class in powermock.examples.finalmocking
Simple class that uses a collaborator (the StateHolder class) which is final and have final methods.
StateFormatter(StateHolder) - Constructor for class powermock.examples.finalmocking.StateFormatter
 
StateHolder - Class in powermock.examples.finalmocking
A dummy class created to demonstrated how PowerMock can deal with final classes and methods.
StateHolder() - Constructor for class powermock.examples.finalmocking.StateHolder
 
StaticClass - Class in examples.jdom
 
StaticClass() - Constructor for class examples.jdom.StaticClass
 
staticConstructorCall(String) - Static method in class org.powermock.core.MockGateway
 
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
 
StrictMockStrategy - Class in org.powermock.api.easymock.internal.mockstrategy.impl
 
StrictMockStrategy() - Constructor for class org.powermock.api.easymock.internal.mockstrategy.impl.StrictMockStrategy
 
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
 
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. the method is stubbed).
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. the method is stubbed).
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. the method is stubbed).
sum(int, int) - Method in class demo.org.powermock.modules.test.junit45.failure.MyClass
 
sun.tools.attach - package sun.tools.attach
 
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. Use MemberModifier.suppress(Constructor[]) instead.
suppressConstructor(Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated. Use MemberModifier.suppress(Constructor[]) instead.
suppressConstructor(Class<?>, boolean) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated. Use MemberModifier.suppress(Constructor[]) instead.
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.
suppressField(Field...) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated. Use MemberModifier.suppress(Field[]) instead.
suppressField(Class<?>[]) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated. Use MemberModifier.suppress(Field[]) instead.
suppressField(Class<?>, String...) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated. Use MemberModifier.suppress(Field) instead.
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.
suppressMethod(Method...) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated. Use MemberModifier.suppress(Method[]) instead.
suppressMethod(Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated. Use MemberModifier.suppress(Method[]) instead.
suppressMethod(Class<?>[]) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated. Use MemberModifier.suppress(Method[]) instead.
suppressMethod(Class<?>, String, String...) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated. Use MemberModifier.suppress(Method[]) instead.
suppressMethod(Class<?>, String[]) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated. Use MemberModifier.suppress(Method[]) instead.
suppressMethod(Class<?>, boolean) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated. Use MemberModifier.suppress(Method[]) instead.
suppressMethod(Class<?>, String, Class<?>[]) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated. Use MemberModifier.suppress(Method) instead.
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.
suppressSpecificConstructor(Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
Deprecated. Use MemberModifier.suppress(Constructor) instead.
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.
SuppressStaticInitializationFor - Annotation Type in org.powermock.core.classloader.annotations
Use this annotation to suppress static initializers (constructors) for one or more classes.
SWAP - Static variable in interface org.objectweb.asm.Opcodes
 

T

T_BOOLEAN - Static variable in interface org.objectweb.asm.Opcodes
 
T_BYTE - Static variable in interface org.objectweb.asm.Opcodes
 
T_CHAR - Static variable in interface org.objectweb.asm.Opcodes
 
T_DOUBLE - Static variable in interface org.objectweb.asm.Opcodes
 
T_FLOAT - Static variable in interface org.objectweb.asm.Opcodes
 
T_INT - Static variable in interface org.objectweb.asm.Opcodes
 
T_LONG - Static variable in interface org.objectweb.asm.Opcodes
 
T_SHORT - Static variable in interface org.objectweb.asm.Opcodes
 
TABLESWITCH - Static variable in interface org.objectweb.asm.Opcodes
 
testAnnotations(Method) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
testAt(int) - Method in class org.powermock.modules.junit3.internal.impl.JUnit3TestSuiteChunkerImpl
testAt(int) - Method in interface org.powermock.modules.junit3.internal.JUnit3TestSuiteChunker
 
testAt(int) - Method in interface org.powermock.modules.junit3.internal.PowerMockJUnit3RunnerDelegate
 
testAt(int) - Method in class org.powermock.modules.junit3.PowerMockSuite
testCount() - Method in class org.junit.runner.Runner
 
testCount() - Method in interface org.powermock.modules.junit3.internal.PowerMockJUnit3RunnerDelegate
 
testCount() - Method in class org.powermock.modules.junit3.PowerMockSuite
testCount() - Method in class org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner
 
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.
testIgnored(Description) - Method in class org.powermock.modules.junit4.common.internal.impl.PowerMockJUnit4RunListener
 
testMethod - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
 
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
 
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
 
tests() - Method in class org.powermock.modules.junit3.internal.impl.JUnit3TestSuiteChunkerImpl
tests() - Method in interface org.powermock.modules.junit3.internal.JUnit3TestSuiteChunker
 
tests() - Method in interface org.powermock.modules.junit3.internal.PowerMockJUnit3RunnerDelegate
 
tests() - Method in class org.powermock.modules.junit3.PowerMockSuite
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
 
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.invocationcontrol.InvocationControlAssertionError
 
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.
toByteArray() - Method in class org.objectweb.asm.ClassWriter
Returns the bytecode of the class that was build with this class writer.
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.
TOP - Static variable in interface org.objectweb.asm.Opcodes
 
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.
toString() - Method in class com.sun.tools.attach.VirtualMachine
Returns the string representation of the VirtualMachine.
toString() - Method in class com.sun.tools.attach.VirtualMachineDescriptor
Returns the string representation of the VirtualMachineDescriptor.
toString() - Method in class org.objectweb.asm.Label
Returns a string representation of this label.
toString() - Method in class org.objectweb.asm.Type
Returns a string representation of this type.
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.modules.junit3.internal.impl.PowerMockJUnit3RunnerDelegateImpl
 
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 powermock.examples.mockpolicy.nontest.domain.DataObject
 
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.
transform(CtClass) - Method in class org.powermock.core.transformers.impl.MainMockTransformer
 
transform(CtClass) - Method in interface org.powermock.core.transformers.MockTransformer
Transforms the Class with name fullyQualifiedName.
TransformStrategy - Enum in org.powermock.core.transformers
 
type() - Method in class com.sun.tools.attach.spi.AttachProvider
Return this provider's type.
type - Variable in class org.objectweb.asm.Attribute
The type of this attribute.
Type - Class in org.objectweb.asm
A Java type.
TypeUtils - Class in org.powermock.reflect.internal
Utilities for types.
TypeUtils() - Constructor for class org.powermock.reflect.internal.TypeUtils
 

U

UNINITIALIZED_THIS - Static variable in interface org.objectweb.asm.Opcodes
 
unregister() - Method in interface demo.org.powermock.examples.tutorial.staticmocking.osgi.ServiceRegistration
 
unregisterService(long) - Method in class demo.org.powermock.examples.tutorial.staticmocking.impl.ServiceRegistrator
Unregisters a service from the service framework.
unregisterService(long) - Method in class demo.org.powermock.examples.tutorial.staticmocking.impl.withoutpowermock.ServiceRegistratorWithoutPowerMock
Unregisters a service from the service framework.
unregisterService(long) - Method in interface demo.org.powermock.examples.tutorial.staticmocking.IServiceRegistrator
Unregisters a service from the service framework.
updateErrorMessageForMethodInvocation(AssertionError) - Static method in class org.powermock.api.mockito.internal.invocationcontrol.InvocationControlAssertionError
 
updateErrorMessageForVerifyNoMoreInteractions(AssertionError) - Static method in class org.powermock.api.mockito.internal.invocationcontrol.InvocationControlAssertionError
 

V

V1_1 - Static variable in interface org.objectweb.asm.Opcodes
 
V1_2 - Static variable in interface org.objectweb.asm.Opcodes
 
V1_3 - Static variable in interface org.objectweb.asm.Opcodes
 
V1_4 - Static variable in interface org.objectweb.asm.Opcodes
 
V1_5 - Static variable in interface org.objectweb.asm.Opcodes
 
V1_6 - Static variable in interface org.objectweb.asm.Opcodes
 
V1_7 - Static variable in interface org.objectweb.asm.Opcodes
 
validate() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
 
validateInstanceMethods() - Method in class org.powermock.modules.junit4.internal.impl.testcaseworkaround.PowerMockJUnit4MethodValidator
 
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.reflect.matching.FieldMatchingStrategy
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.reflect.matching.FieldMatchingStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
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.invocationcontrol.MockitoMethodInvocationControl
 
verify(Object...) - Method in class org.powermock.api.mockito.internal.invocationcontrol.MockitoNewInvocationControl
Verify the given objects or classes.
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.
verifyInitialization() - Static method in class org.powermock.modules.agent.PowerMockAgent
 
verifyNew(Class<T>) - Static method in class org.powermock.api.mockito.PowerMockito
Verifies certain behavior happened once Alias to verifyNew(mockClass, times(1)) E.g: verifyNew(ClassWithStaticMethod.class); Above is equivalent to: verifyNew(ClassWithStaticMethod.class, times(1));
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.invocationcontrol.MockitoMethodInvocationControl
 
verifyNoMoreInteractions() - Method in class org.powermock.api.mockito.internal.invocationcontrol.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(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 Alias to verifyStatic(times(1)) E.g: verifyStatic(); ClassWithStaticMethod.someStaticMethod("some arg"); Above is equivalent to: verifyStatic(times(1)); ClassWithStaticMethod.someStaticMethod("some arg"); Although it is possible to verify a stubbed invocation, usually it's just redundant.
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).
VirtualMachine - Class in com.sun.tools.attach
A Java virtual machine.
VirtualMachine(AttachProvider, String) - Constructor for class com.sun.tools.attach.VirtualMachine
Initializes a new instance of this class.
VirtualMachineDescriptor - Class in com.sun.tools.attach
Describes a Java virtual machine.
VirtualMachineDescriptor(AttachProvider, String, String) - Constructor for class com.sun.tools.attach.VirtualMachineDescriptor
Creates a virtual machine descriptor from the given components.
VirtualMachineDescriptor(AttachProvider, String) - Constructor for class com.sun.tools.attach.VirtualMachineDescriptor
Creates a virtual machine descriptor from the given components.
visit(String, Object) - Method in interface org.objectweb.asm.AnnotationVisitor
Visits a primitive value of the annotation.
visit(int, int, String, String, String, String[]) - Method in class org.objectweb.asm.ClassAdapter
 
visit(int, int, String, String, String, String[]) - Method in interface org.objectweb.asm.ClassVisitor
Visits the header of the class.
visit(int, int, String, String, String, String[]) - Method in class org.objectweb.asm.ClassWriter
 
visitAnnotation(String, String) - Method in interface org.objectweb.asm.AnnotationVisitor
Visits a nested annotation value of the annotation.
visitAnnotation(String, boolean) - Method in class org.objectweb.asm.ClassAdapter
 
visitAnnotation(String, boolean) - Method in interface org.objectweb.asm.ClassVisitor
Visits an annotation of the class.
visitAnnotation(String, boolean) - Method in class org.objectweb.asm.ClassWriter
 
visitAnnotation(String, boolean) - Method in interface org.objectweb.asm.FieldVisitor
Visits an annotation of the field.
visitAnnotation(String, boolean) - Method in class org.objectweb.asm.MethodAdapter
 
visitAnnotation(String, boolean) - Method in interface org.objectweb.asm.MethodVisitor
Visits an annotation of this method.
visitAnnotationDefault() - Method in class org.objectweb.asm.MethodAdapter
 
visitAnnotationDefault() - Method in interface org.objectweb.asm.MethodVisitor
Visits the default value of this annotation interface method.
visitArray(String) - Method in interface org.objectweb.asm.AnnotationVisitor
Visits an array value of the annotation.
visitAttribute(Attribute) - Method in class org.objectweb.asm.ClassAdapter
 
visitAttribute(Attribute) - Method in interface org.objectweb.asm.ClassVisitor
Visits a non standard attribute of the class.
visitAttribute(Attribute) - Method in class org.objectweb.asm.ClassWriter
 
visitAttribute(Attribute) - Method in interface org.objectweb.asm.FieldVisitor
Visits a non standard attribute of the field.
visitAttribute(Attribute) - Method in class org.objectweb.asm.MethodAdapter
 
visitAttribute(Attribute) - Method in interface org.objectweb.asm.MethodVisitor
Visits a non standard attribute of this method.
visitCode() - Method in class org.objectweb.asm.MethodAdapter
 
visitCode() - Method in interface org.objectweb.asm.MethodVisitor
Starts the visit of the method's code, if any (i.e. non abstract method).
visitEnd() - Method in interface org.objectweb.asm.AnnotationVisitor
Visits the end of the annotation.
visitEnd() - Method in class org.objectweb.asm.ClassAdapter
 
visitEnd() - Method in interface org.objectweb.asm.ClassVisitor
Visits the end of the class.
visitEnd() - Method in class org.objectweb.asm.ClassWriter
 
visitEnd() - Method in interface org.objectweb.asm.FieldVisitor
Visits the end of the field.
visitEnd() - Method in class org.objectweb.asm.MethodAdapter
 
visitEnd() - Method in interface org.objectweb.asm.MethodVisitor
Visits the end of the method.
visitEnum(String, String, String) - Method in interface org.objectweb.asm.AnnotationVisitor
Visits an enumeration value of the annotation.
visitField(int, String, String, String, Object) - Method in class org.objectweb.asm.ClassAdapter
 
visitField(int, String, String, String, Object) - Method in interface org.objectweb.asm.ClassVisitor
Visits a field of the class.
visitField(int, String, String, String, Object) - Method in class org.objectweb.asm.ClassWriter
 
visitFieldInsn(int, String, String, String) - Method in class org.objectweb.asm.MethodAdapter
 
visitFieldInsn(int, String, String, String) - Method in interface org.objectweb.asm.MethodVisitor
Visits a field instruction.
visitFrame(int, int, Object[], int, Object[]) - Method in class org.objectweb.asm.MethodAdapter
 
visitFrame(int, int, Object[], int, Object[]) - Method in interface org.objectweb.asm.MethodVisitor
Visits the current state of the local variables and operand stack elements.
visitIincInsn(int, int) - Method in class org.objectweb.asm.MethodAdapter
 
visitIincInsn(int, int) - Method in interface org.objectweb.asm.MethodVisitor
Visits an IINC instruction.
visitInnerClass(String, String, String, int) - Method in class org.objectweb.asm.ClassAdapter
 
visitInnerClass(String, String, String, int) - Method in interface org.objectweb.asm.ClassVisitor
Visits information about an inner class.
visitInnerClass(String, String, String, int) - Method in class org.objectweb.asm.ClassWriter
 
visitInsn(int) - Method in class org.objectweb.asm.MethodAdapter
 
visitInsn(int) - Method in interface org.objectweb.asm.MethodVisitor
Visits a zero operand instruction.
visitIntInsn(int, int) - Method in class org.objectweb.asm.MethodAdapter
 
visitIntInsn(int, int) - Method in interface org.objectweb.asm.MethodVisitor
Visits an instruction with a single int operand.
visitJumpInsn(int, Label) - Method in class org.objectweb.asm.MethodAdapter
 
visitJumpInsn(int, Label) - Method in interface org.objectweb.asm.MethodVisitor
Visits a jump instruction.
visitLabel(Label) - Method in class org.objectweb.asm.MethodAdapter
 
visitLabel(Label) - Method in interface org.objectweb.asm.MethodVisitor
Visits a label.
visitLdcInsn(Object) - Method in class org.objectweb.asm.MethodAdapter
 
visitLdcInsn(Object) - Method in interface org.objectweb.asm.MethodVisitor
Visits a LDC instruction.
visitLineNumber(int, Label) - Method in class org.objectweb.asm.MethodAdapter
 
visitLineNumber(int, Label) - Method in interface org.objectweb.asm.MethodVisitor
Visits a line number declaration.
visitLocalVariable(String, String, String, Label, Label, int) - Method in class org.objectweb.asm.MethodAdapter
 
visitLocalVariable(String, String, String, Label, Label, int) - Method in interface org.objectweb.asm.MethodVisitor
Visits a local variable declaration.
visitLookupSwitchInsn(Label, int[], Label[]) - Method in class org.objectweb.asm.MethodAdapter
 
visitLookupSwitchInsn(Label, int[], Label[]) - Method in interface org.objectweb.asm.MethodVisitor
Visits a LOOKUPSWITCH instruction.
visitMaxs(int, int) - Method in class org.objectweb.asm.MethodAdapter
 
visitMaxs(int, int) - Method in interface org.objectweb.asm.MethodVisitor
Visits the maximum stack size and the maximum number of local variables of the method.
visitMethod(int, String, String, String, String[]) - Method in class org.objectweb.asm.ClassAdapter
 
visitMethod(int, String, String, String, String[]) - Method in interface org.objectweb.asm.ClassVisitor
Visits a method of the class.
visitMethod(int, String, String, String, String[]) - Method in class org.objectweb.asm.ClassWriter
 
visitMethodInsn(int, String, String, String) - Method in class org.objectweb.asm.MethodAdapter
 
visitMethodInsn(int, String, String, String) - Method in interface org.objectweb.asm.MethodVisitor
Visits a method instruction.
visitMultiANewArrayInsn(String, int) - Method in class org.objectweb.asm.MethodAdapter
 
visitMultiANewArrayInsn(String, int) - Method in interface org.objectweb.asm.MethodVisitor
Visits a MULTIANEWARRAY instruction.
visitOuterClass(String, String, String) - Method in class org.objectweb.asm.ClassAdapter
 
visitOuterClass(String, String, String) - Method in interface org.objectweb.asm.ClassVisitor
Visits the enclosing class of the class.
visitOuterClass(String, String, String) - Method in class org.objectweb.asm.ClassWriter
 
visitParameterAnnotation(int, String, boolean) - Method in class org.objectweb.asm.MethodAdapter
 
visitParameterAnnotation(int, String, boolean) - Method in interface org.objectweb.asm.MethodVisitor
Visits an annotation of a parameter this method.
visitSource(String, String) - Method in class org.objectweb.asm.ClassAdapter
 
visitSource(String, String) - Method in interface org.objectweb.asm.ClassVisitor
Visits the source of the class.
visitSource(String, String) - Method in class org.objectweb.asm.ClassWriter
 
visitTableSwitchInsn(int, int, Label, Label[]) - Method in class org.objectweb.asm.MethodAdapter
 
visitTableSwitchInsn(int, int, Label, Label[]) - Method in interface org.objectweb.asm.MethodVisitor
Visits a TABLESWITCH instruction.
visitTryCatchBlock(Label, Label, Label, String) - Method in class org.objectweb.asm.MethodAdapter
 
visitTryCatchBlock(Label, Label, Label, String) - Method in interface org.objectweb.asm.MethodVisitor
Visits a try catch block.
visitTypeInsn(int, String) - Method in class org.objectweb.asm.MethodAdapter
 
visitTypeInsn(int, String) - Method in interface org.objectweb.asm.MethodVisitor
Visits a type instruction.
visitVarInsn(int, int) - Method in class org.objectweb.asm.MethodAdapter
 
visitVarInsn(int, int) - Method in interface org.objectweb.asm.MethodVisitor
Visits a local variable instruction.
VOID - Static variable in class org.objectweb.asm.Type
The sort of the void type.
VOID_TYPE - Static variable in class org.objectweb.asm.Type
The void type.

W

warning(String) - Static method in class org.powermock.modules.junit3.internal.impl.PowerMockJUnit3RunnerDelegateImpl
Returns a test which will fail and log a warning message.
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 Example: doThrow(new RuntimeException()).when(); StaticList.clear(); //following throws RuntimeException: StaticList.clear(); Read more about those methods: Mockito.doThrow(Throwable) Mockito.doAnswer(Answer) Mockito.doNothing() Mockito.doReturn(Object) See examples in javadoc for Mockito
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 Example: doThrow(new RuntimeException()).when(); StaticList.clear(); //following throws RuntimeException: StaticList.clear(); Read more about those methods: Mockito.doThrow(Throwable) Mockito.doAnswer(Answer) Mockito.doNothing() Mockito.doReturn(Object) See examples in javadoc for Mockito
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
 
WildcardMatcher - Class in org.powermock.core
Wildcard matcher.
WildcardMatcher() - Constructor for class org.powermock.core.WildcardMatcher
 
WindowsVirtualMachine - Class in sun.tools.attach
 
WindowsVirtualMachine(AttachProvider, String) - Constructor for class sun.tools.attach.WindowsVirtualMachine
 
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
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, 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 interface org.powermock.api.mockito.verification.ConstructorArgumentsVerification
 
withArguments(Object, Object...) - Method in interface org.powermock.api.mockito.verification.WithVerifiedArguments
 
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 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
 
write(ClassWriter, byte[], int, int, int) - Method in class org.objectweb.asm.Attribute
Returns the byte array form of this attribute.

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

Copyright © 2007-2012. All Rights Reserved.