- A(String) - Method in class samples.nice.NiceDemo
-
- A - Static variable in interface samples.staticinitializer.InterfaceA
-
- a() - Static method in class samples.stress.ClassWithStatic
-
- A() - Method in class samples.strict.StrictDemo
-
- a1() - Method in class samples.stress.StressSample
-
- AbstractClassloaderExecutor - Class in org.powermock.classloading
-
- AbstractClassloaderExecutor() - Constructor for class org.powermock.classloading.AbstractClassloaderExecutor
-
- AbstractCommonPowerMockRunner - Class in org.powermock.modules.junit4.common.internal.impl
-
- AbstractCommonPowerMockRunner(Class<?>, Class<? extends PowerMockJUnitRunnerDelegate>) - Constructor for class org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner
-
- AbstractCommonTestSuiteChunkerImpl - Class in org.powermock.tests.utils.impl
-
- AbstractCommonTestSuiteChunkerImpl(Class<?>) - Constructor for class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- AbstractCommonTestSuiteChunkerImpl(Class<?>...) - Constructor for class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- AbstractEasyMockLogPolicyBase - Class in org.powermock.api.easymock.mockpolicies
-
A base class for EasyMock log policies.
- AbstractEasyMockLogPolicyBase() - Constructor for class org.powermock.api.easymock.mockpolicies.AbstractEasyMockLogPolicyBase
-
- AbstractMainMockTransformer - Class in org.powermock.core.transformers.impl
-
- AbstractMainMockTransformer(TransformStrategy) - Constructor for class org.powermock.core.transformers.impl.AbstractMainMockTransformer
-
- AbstractMainMockTransformer.PowerMockExpressionEditor - Class in org.powermock.core.transformers.impl
-
- AbstractMethodMocking - Class in samples.abstractmocking
-
Demonstrates that PowerMock can mock abstract methods.
- AbstractMethodMocking() - Constructor for class samples.abstractmocking.AbstractMethodMocking
-
- AbstractMockCreator - Class in org.powermock.api.mockito.internal.mockcreation
-
- AbstractMockCreator() - Constructor for class org.powermock.api.mockito.internal.mockcreation.AbstractMockCreator
-
- AbstractMockingFrameworkReporterFactory - Class in org.powermock.api.extension.reporter
-
- AbstractMockingFrameworkReporterFactory() - Constructor for class org.powermock.api.extension.reporter.AbstractMockingFrameworkReporterFactory
-
- AbstractMockStrategyBase - Class in org.powermock.api.easymock.internal.mockstrategy.impl
-
Base class that should be used by all mock strategies.
- AbstractMockStrategyBase(MocksControl.MockType) - Constructor for class org.powermock.api.easymock.internal.mockstrategy.impl.AbstractMockStrategyBase
-
- AbstractMockTypeValidator(Class<T>) - Constructor for class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory.AbstractMockTypeValidator
-
- AbstractPowerMockTestListenerBase - Class in org.powermock.core.spi.support
-
- AbstractPowerMockTestListenerBase() - Constructor for class org.powermock.core.spi.support.AbstractPowerMockTestListenerBase
-
- AbstractStaticInitializerExample - Class in samples.staticinitializer
-
- AbstractStaticInitializerExample() - Constructor for class samples.staticinitializer.AbstractStaticInitializerExample
-
- AbstractTestClassExtractor - Class in org.powermock.tests.utils.impl
-
Base class for all test class extractors.
- AbstractTestClassExtractor() - Constructor for class org.powermock.tests.utils.impl.AbstractTestClassExtractor
-
- AbstractTestClassExtractor(boolean) - Constructor for class org.powermock.tests.utils.impl.AbstractTestClassExtractor
-
- AbstractTestSuiteChunkerImpl<T> - Class in org.powermock.tests.utils.impl
-
Abstract base class for test suite chunking, i.e.
- AbstractTestSuiteChunkerImpl(Class<?>) - Constructor for class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
-
- AbstractTestSuiteChunkerImpl(Class<?>...) - Constructor for class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
-
- accepts(AnnotationMockMetadata) - Method in class org.powermock.api.extension.listener.TestSubjectInjector.InjectionTarget
-
- AcrossJVMMockSerializationProxy(Object) - Constructor for class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.AcrossJVMMockSerializationProxy
-
Creates the wrapper that be used in the serialization stream.
- AcrossJVMSerializationFeature - Class in org.powermock.api.mockito.repackaged
-
This is responsible for serializing a mock, it is enabled if the mock is implementing
Serializable
.
- AcrossJVMSerializationFeature() - Constructor for class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature
-
- acrossJVMSerializationFeature - Variable in class org.powermock.api.mockito.repackaged.MethodInterceptorFilter
-
- AcrossJVMSerializationFeature.AcrossJVMMockitoMockSerializable - Interface in org.powermock.api.mockito.repackaged
-
Simple interface that hold a correct writeReplace
signature that can be seen by an
ObjectOutputStream
.
- AcrossJVMSerializationFeature.AcrossJVMMockSerializationProxy - Class in org.powermock.api.mockito.repackaged
-
This is the serialization proxy that will encapsulate the real mock data as a byte array.
- AcrossJVMSerializationFeature.MockitoMockObjectInputStream - Class in org.powermock.api.mockito.repackaged
-
Special Mockito aware ObjectInputStream
that will resolve the Mockito proxy class.
- AcrossJVMSerializationFeature.MockitoMockObjectOutputStream - Class in org.powermock.api.mockito.repackaged
-
Special Mockito aware ObjectOutputStream
.
- actualParameterTypes - Variable in class org.powermock.reflect.internal.ParameterTypesMatcher
-
- add(List<AnnotationMockMetadata>) - Method in class org.powermock.api.extension.listener.AnnotationGlobalMetadata
-
- add(AnnotationMockMetadata) - Method in class org.powermock.api.extension.listener.AnnotationGlobalMetadata
-
- add(E) - Method in class org.powermock.core.IdentityHashSet
-
- addAfterMethodRunner(Runnable) - Static method in class org.powermock.core.MockRepository
-
Add a Runnable
that will be executed after each test
- addAll(T[], T[]) - Static method in class org.powermock.utils.ArrayUtil
-
- addAnswersForStubbing(MockitoMethodInvocationControl) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
-
- addClassesToModify(String...) - Method in class org.powermock.core.classloader.MockClassLoader
-
Add classes that will be loaded by the mock classloader, i.e.
- addClassesToModify(String[]) - Method in class org.powermock.core.classloader.MockClassLoaderBuilder
-
- addClassHierarchy(Set<String>, Class<?>) - Method in class org.powermock.tests.utils.impl.PrepareForTestExtractorImpl
-
- addClassInitializerNotification(CtClass) - Method in class org.powermock.core.transformers.impl.TestClassTransformer
-
- addConstructorNotification(CtClass) - Method in class org.powermock.core.transformers.impl.TestClassTransformer
-
- addConstructorToSuppress(Constructor<?>) - Static method in class org.powermock.core.MockRepository
-
Add a constructor to suppress.
- addDelegatorField(T, CtClass) - Method in class org.powermock.core.ClassReplicaCreator
-
Add a field to the replica class that holds the instance delegator.
- addFieldToSuppress(Field) - Static method in class org.powermock.core.MockRepository
-
Add a field to suppress.
- addFieldToSuppress(Field, Field...) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- addFieldToSuppress(Field[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- addFieldToSuppress(Field, Field...) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Add specific fields that should be suppressed upon invocation.
- addFieldToSuppress(Field[]) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Add specific fields that should be suppressed upon invocation.
- addFieldTypesToSuppress(String, String...) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- addFieldTypesToSuppress(String[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- addFieldTypesToSuppress(String, String...) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Add field types that should be suppressed.
- addFieldTypesToSuppress(String[]) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Add field types that should be suppressed.
- addFieldTypeToSuppress(String) - Static method in class org.powermock.core.MockRepository
-
Add a field type to suppress.
- addFirstListener(RunListener) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
-
- addFullyQualifiedNames(Set<String>, PrepareForTest) - Method in class org.powermock.tests.utils.impl.PrepareForTestExtractorImpl
-
- addFullyQualifiedNames(Set<String>, PrepareOnlyThisForTest) - Method in class org.powermock.tests.utils.impl.PrepareForTestExtractorImpl
-
- addFullyQualifiedNames(Set<String>, String[]) - Method in class org.powermock.tests.utils.impl.PrepareForTestExtractorImpl
-
- addFullyQualifiedNamesOfClassesToLoadByMockClassloader(String, String...) - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
-
- addFullyQualifiedNamesOfClassesToLoadByMockClassloader(String[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
-
- addFullyQualifiedNamesOfClassesToLoadByMockClassloader(String, String...) - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
-
Add types that should be loaded (and possibly modified) by the mock
classloader.
- addFullyQualifiedNamesOfClassesToLoadByMockClassloader(String[]) - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
-
Add types that should be loaded (and possibly modified) by the mock
classloader.
- addIgnorePackage(String...) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
-
- addIgnorePackage(String[]) - Method in class org.powermock.core.classloader.MockClassLoaderBuilder
-
- addInnerClassesAndInterfaces(Set<String>, Class<?>) - Method in class org.powermock.tests.utils.impl.PrepareForTestExtractorImpl
-
- addItem(String, String) - Method in class samples.suppressfield.ItemRepository
-
- additionalState - Static variable in class org.powermock.core.MockRepository
-
Sometimes mock frameworks needs to store additional state.
- addLifeCycleNotifications(CtClass) - Method in class org.powermock.core.transformers.impl.TestClassTransformer
-
- addListener(RunListener) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
-
- addMethodsToSuppress(Method, Method...) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- addMethodsToSuppress(Method[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- addMethodsToSuppress(Method, Method...) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Add methods to suppress upon invocation.
- addMethodsToSuppress(Method[]) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Add methods to suppress upon invocation.
- addMethodToSuppress(Method) - Static method in class org.powermock.core.MockRepository
-
Add a method to suppress.
- addMockTransformerChain(List<MockTransformer>) - Method in class org.powermock.core.classloader.MockClassLoaderBuilder
-
- addNewDeferConstructor(CtClass) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer.PowerMockExpressionEditor
-
Create a defer constructor in the class which will be called when the
constructor is suppressed.
- addObjectsToAutomaticallyReplayAndVerify(Object...) - Static method in class org.powermock.core.MockRepository
-
Add classes that should be automatically replayed or verified.
- addOtherElementToBeReturned(List<Object>, Object[]) - Method in class org.powermock.api.mockito.internal.stubbing.answers.ChainReturns
-
- addStaticInitializersToSuppress(String, String...) - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
-
- addStaticInitializersToSuppress(String[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
-
- addStaticInitializersToSuppress(String, String...) - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
-
Add static initializers to suppress.
- addStaticInitializersToSuppress(String[]) - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
-
Add static initializers to suppress.
- addSubtituteReturnValue(Method, Object) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- addSubtituteReturnValue(Method, Object) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
- addSuppressStaticInitializer(String) - Static method in class org.powermock.core.MockRepository
-
Add a fully qualified class name for a class that should have its static
initializers suppressed.
- addTestCase(Set<String>, AnnotatedElement) - Method in class org.powermock.tests.utils.impl.PrepareForTestExtractorImpl
-
- adjustClassPath(ClassPool) - Method in interface org.powermock.core.classloader.ClassPathAdjuster
-
- afterMethodRunners - Static variable in class org.powermock.core.MockRepository
-
Set of runnables that will be executed after the test (method) is completed.
- afterPowerMockTestClass() - Method in class org.powermock.modules.testng.PowerMockTestCase
-
- afterPowerMockTestMethod() - Method in class org.powermock.modules.testng.PowerMockTestCase
-
Must be executed after each test method.
- afterTestMethod(Object, Method, Object[], TestMethodResult) - Method in interface org.powermock.core.spi.PowerMockTestListener
-
Invoked after each test method.
- afterTestMethod(Object, Method, Object[], TestMethodResult) - Method in class org.powermock.core.spi.support.AbstractPowerMockTestListenerBase
-
Provides an empty implementation.
- afterTestMethod(Object, Method, Object[], TestMethodResult) - Method in class org.powermock.core.testlisteners.FieldDefaulter
-
- afterTestSuiteEnded(Class<?>, Method[], TestSuiteResult) - Method in interface org.powermock.core.spi.PowerMockTestListener
-
Invoked after a test suite has ended.
- afterTestSuiteEnded(Class<?>, Method[], TestSuiteResult) - Method in class org.powermock.core.spi.support.AbstractPowerMockTestListenerBase
-
Provides an empty implementation.
- agentClassRegister - Variable in class org.powermock.api.mockito.internal.mockcreation.AbstractMockCreator
-
- agentClassRegister - Variable in class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory.JavaAgentMockTypeValidator
-
- AllFieldsMatcherStrategy - Class in org.powermock.reflect.internal.matcherstrategies
-
- AllFieldsMatcherStrategy() - Constructor for class org.powermock.reflect.internal.matcherstrategies.AllFieldsMatcherStrategy
-
- allowMockingOfPackagePrivateClasses(CtClass) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
-
- allowMockingOfStaticAndFinalAndNativeMethods(CtClass) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
-
- alternativePath() - Method in class samples.expectnew.ExpectNewDemo
-
- aMethod() - Method in class samples.constructor.PublicConstructorWithDependencyDemo
-
- aMethod() - Method in class samples.partialmocking.MockSelfDemo
-
- aMethod() - Method in class samples.partialmocking.MockSelfWithNoDefaultConstructorDemo
-
- aMethod2() - Method in class samples.partialmocking.MockSelfDemo
-
- aMethod2() - Method in class samples.partialmocking.MockSelfWithNoDefaultConstructorDemo
-
- aMethod2(String) - Static method in class samples.staticandinstance.StaticAndInstanceDemo
-
- andReturn(T) - Method in class org.powermock.api.support.membermodification.strategy.impl.MethodStubStrategyImpl
-
Deprecated.
- andReturn(T) - Method in interface org.powermock.api.support.membermodification.strategy.MethodStubStrategy
-
- annotateClass(Class<?>) - Method in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.MockitoMockObjectOutputStream
-
Annotates (marks) the class if this class is a Mockito mock.
- annotation - Variable in class org.powermock.api.extension.listener.AnnotationMockMetadata
-
- annotation - Variable in class org.powermock.api.extension.listener.AnnotationMockScanner
-
- AnnotationDemo - Class in samples.annotationbased
-
- AnnotationDemo(Service) - Constructor for class samples.annotationbased.AnnotationDemo
-
- AnnotationDemo() - Constructor for class samples.annotationbased.AnnotationDemo
-
- AnnotationEnabler - Class in org.powermock.api.easymock.powermocklistener
-
- AnnotationEnabler() - Constructor for class org.powermock.api.easymock.powermocklistener.AnnotationEnabler
-
Deprecated.
- AnnotationEnabler - Class in org.powermock.api.extension.listener
-
Before each test method all fields annotated with
Mock
,
Mock
,
Mock
MockNice
or
MockStrict
will have mock objects created for
them and injected to the fields.
- AnnotationEnabler - Class in org.powermock.api.extension.listener
-
Before each test method all fields annotated with Mock
,
Mock
or Mock
have mock objects created for them
and injected to the fields.
- AnnotationEnabler() - Constructor for class org.powermock.api.extension.listener.AnnotationEnabler
-
- AnnotationEnabler - Class in org.powermock.api.mockito.powermocklistener
-
- AnnotationEnabler() - Constructor for class org.powermock.api.mockito.powermocklistener.AnnotationEnabler
-
Deprecated.
- annotationEnabler - Variable in class org.powermock.modules.testng.internal.PowerMockTestNGMethodHandler
-
- annotationEnabler - Variable in class org.powermock.modules.testng.PowerMockTestCase
-
- AnnotationEnablerListener - Interface in org.powermock.core.spi.listener
-
- AnnotationGlobalMetadata - Class in org.powermock.api.extension.listener
-
- AnnotationGlobalMetadata() - Constructor for class org.powermock.api.extension.listener.AnnotationGlobalMetadata
-
- AnnotationInjectFieldSearcher() - Constructor for class org.powermock.api.extension.listener.EasyMockAnnotationSupport.AnnotationInjectFieldSearcher
-
- annotationInstance - Variable in class org.powermock.api.extension.listener.AnnotationMockMetadata
-
- AnnotationMockCreator - Interface in org.powermock.api.extension.listener
-
- AnnotationMockCreatorFactory - Class in org.powermock.api.extension.listener
-
- AnnotationMockCreatorFactory() - Constructor for class org.powermock.api.extension.listener.AnnotationMockCreatorFactory
-
- annotationMockCreatorFactory - Variable in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
-
- AnnotationMockMetadata - Class in org.powermock.api.extension.listener
-
- AnnotationMockMetadata(Class<? extends Annotation>, Field) - Constructor for class org.powermock.api.extension.listener.AnnotationMockMetadata
-
- AnnotationMockScanner - Class in org.powermock.api.extension.listener
-
- AnnotationMockScanner(Class<? extends Annotation>) - Constructor for class org.powermock.api.extension.listener.AnnotationMockScanner
-
- annotations - Variable in class org.powermock.reflect.internal.matcherstrategies.FieldAnnotationMatcherStrategy
-
- AnotherSomeObjectInterfaceImpl - Class in samples.enummocking
-
- AnotherSomeObjectInterfaceImpl() - Constructor for class samples.enummocking.AnotherSomeObjectInterfaceImpl
-
- answer(InvocationOnMock) - Method in class org.powermock.api.mockito.internal.stubbing.answers.ChainReturns
-
- anyMethodInClassHasPowerMockAnnotation(Class<?>) - Method in class org.powermock.modules.testng.PowerMockObjectFactory
-
- AppaleList - Class in samples.suppressconstructor
-
- AppaleList() - Constructor for class samples.suppressconstructor.AppaleList
-
- AppaleList(String) - Constructor for class samples.suppressconstructor.AppaleList
-
- appendArgument(StringBuilder, int, String, Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Append argument.
- apply(Statement, FrameworkMethod, Object) - Method in class org.powermock.modules.junit4.rule.PowerMockRule
-
- applyClassLoadingPolicy(MockPolicyClassLoadingSettings) - Method in class org.powermock.api.easymock.mockpolicies.AbstractEasyMockLogPolicyBase
-
Apply all class-loading related policies that must be present before the
interception policies can take place.
- applyClassLoadingPolicy(MockPolicyClassLoadingSettings) - Method in class org.powermock.api.mockito.mockpolicies.Slf4jMockPolicy
-
- applyClassLoadingPolicy(MockPolicyClassLoadingSettings) - Method in interface org.powermock.core.spi.PowerMockPolicy
-
Apply all class-loading related policies that must be present before the
interception policies can take place.
- applyInterceptionPolicy(MockPolicyInterceptionSettings) - Method in class org.powermock.api.easymock.mockpolicies.AbstractEasyMockLogPolicyBase
-
Apply the interception policies, for example which methods that should be
suppressed or which methods that should be intercepted and return some
else than their original value.
- applyInterceptionPolicy(MockPolicyInterceptionSettings) - Method in class org.powermock.api.mockito.mockpolicies.Slf4jMockPolicy
-
- applyInterceptionPolicy(MockPolicyInterceptionSettings) - Method in interface org.powermock.core.spi.PowerMockPolicy
-
Apply the interception policies, for example which methods that should be
suppressed or which methods that should be intercepted and return some
else than their original value.
- applyRuleToLastStatement(Method, Object, Field, Statement) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner
-
- applyRuleToLastStatement(Method, Object, Field, Statement) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit49RunnerDelegateImpl.PowerMockJUnit49MethodRunner
-
- areAllArgumentsOfSameType(Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Check if all arguments are of the same type.
- areAllMethodsStatic(Method...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Are all methods static.
- ArgumentMatcherDemo - Class in samples.argumentmatcher
-
- ArgumentMatcherDemo() - Constructor for class samples.argumentmatcher.ArgumentMatcherDemo
-
- argumentsApplied(Constructor<?>) - Method in class org.powermock.reflect.internal.CandidateConstructorSearcher
-
- argumentTypes - Variable in class org.powermock.reflect.internal.CandidateConstructorSearcher
-
- argumentTypesEqualsPrimitiveTypes(Class<?>[], Class<?>[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
- arrayMerger - Variable in class org.powermock.api.mockito.internal.expectation.DefaultConstructorExpectationSetup
-
- ArrayMerger - Interface in org.powermock.tests.utils
-
An array merger concatenates several arrays to one.
- arrayMerger - Variable in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- ArrayMergerImpl - Class in org.powermock.tests.utils.impl
-
The default implementation of the
ArrayMerger
interface.
- ArrayMergerImpl() - Constructor for class org.powermock.tests.utils.impl.ArrayMergerImpl
-
- ArrayUtil - Class in org.powermock.utils
-
- ArrayUtil() - Constructor for class org.powermock.utils.ArrayUtil
-
- asOriginalClass(CtClass) - Method in class org.powermock.core.transformers.impl.TestClassTransformer
-
- asOriginalClassParams(CtClass[]) - Method in class org.powermock.core.transformers.impl.TestClassTransformer
-
- assertArgumentNotNull(Object, String) - Method in class org.powermock.classloading.AbstractClassloaderExecutor
-
- assertInvocationHandlerNotNull(InvocationHandler) - Static method in class org.powermock.api.support.MethodProxy
-
- assertNotNull(Object, String) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
-
- assertObjectInGetInternalStateIsNotNull(Object) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Assert object in get internal state is not null.
- assertObjectNotNull(Object) - Static method in class org.powermock.classloading.DeepCloner
-
- assertParametersTypesNotNull() - Method in class org.powermock.reflect.internal.ParameterTypesMatcher
-
- assertThatVerifyWorksForMultipleMocks() - Static method in class samples.singleton.StaticService
-
- AssignableFromFieldTypeMatcherStrategy - Class in org.powermock.reflect.internal.matcherstrategies
-
- AssignableFromFieldTypeMatcherStrategy(Class<?>) - Constructor for class org.powermock.reflect.internal.matcherstrategies.AssignableFromFieldTypeMatcherStrategy
-
- AssignableToFieldTypeMatcherStrategy - Class in org.powermock.reflect.internal.matcherstrategies
-
- AssignableToFieldTypeMatcherStrategy(Class<?>) - Constructor for class org.powermock.reflect.internal.matcherstrategies.AssignableToFieldTypeMatcherStrategy
-
- Assumes - Class in org.powermock.modules.testng.internal
-
- Assumes() - Constructor for class org.powermock.modules.testng.internal.Assumes
-
- assumeTrue(String, boolean) - Static method in class org.powermock.modules.testng.internal.Assumes
-
- assumptionFailed(Description) - Method in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
-
- AT - Static variable in class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
-
- aTestMethod(int) - Method in class samples.privatemocking.PrivateMethodDemo
-
- aTestMethod(Integer) - Method in class samples.privatemocking.PrivateMethodDemo
-
- aVoidMethod() - Static method in class samples.staticandinstance.StaticAndInstanceDemo
-
- C - Static variable in interface samples.staticinitializer.InterfaceC
-
- c() - Static method in class samples.stress.ClassWithStatic
-
- c1 - Variable in class org.powermock.api.mockito.repackaged.SerializableMockitoMethodProxy
-
- c1() - Method in class samples.stress.StressSample
-
- c2 - Variable in class org.powermock.api.mockito.repackaged.SerializableMockitoMethodProxy
-
- cache(Class<?>) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
-
Register a class to the cache of this classloader
- calculate() - Method in class samples.mockpolicy.ResultCalculator
-
- calculate() - Method in class samples.simplemix.SimpleMix
-
- calculate(int, int) - Static method in class samples.singleton.StaticService
-
- calculateWithinHierarchy() - Static method in class samples.staticinitializer.InterfaceComputation
-
- calculateWithReference() - Static method in class samples.staticinitializer.InterfaceComputation
-
- calculator - Variable in class samples.mockpolicy.SimpleClassWithADependency
-
- callAThenB() - Method in class samples.nice.NiceDemo
-
- callAThenB() - Method in class samples.strict.StrictDemo
-
- CandidateConstructorSearcher<T> - Class in org.powermock.reflect.internal
-
This class search the best candidate in the given class to invoke constructor with given parameters.
- CandidateConstructorSearcher(Class<T>, Class<?>[]) - Constructor for class org.powermock.reflect.internal.CandidateConstructorSearcher
-
- cast(MockHandler) - Method in class org.powermock.api.mockito.repackaged.CglibMockMaker
-
- CGLIB_ENHANCER - Static variable in class org.powermock.core.classloader.MockClassLoader
-
- CGLIB_METHOD_WRAPPER - Static variable in class org.powermock.core.classloader.MockClassLoader
-
- CGLIBHacker - Class in org.powermock.api.mockito.repackaged
-
- CGLIBHacker() - Constructor for class org.powermock.api.mockito.repackaged.CGLIBHacker
-
- cglibMockMaker - Variable in class org.powermock.api.mockito.internal.mockmaker.PowerMockMaker
-
- CglibMockMaker - Class in org.powermock.api.mockito.repackaged
-
A MockMaker that uses cglib to generate mocks on a JVM.
- CglibMockMaker() - Constructor for class org.powermock.api.mockito.repackaged.CglibMockMaker
-
- ChainReturns - Class in org.powermock.api.mockito.internal.stubbing.answers
-
Created by gauee on 12/11/15.
- ChainReturns(Object, Object...) - Constructor for class org.powermock.api.mockito.internal.stubbing.answers.ChainReturns
-
- changeMessageContent(String) - Static method in class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
-
- checkArgumentTypesMatchParameterTypes(boolean, Class<?>[], Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Check argument types match parameter types.
- checkIfParameterTypesAreSame(boolean, Class<?>[], Class<?>[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Check if parameter types are same.
- ChildA - Class in samples.classhierarchy
-
- ChildA() - Constructor for class samples.classhierarchy.ChildA
-
- ChildB - Class in samples.classhierarchy
-
- ChildB() - Constructor for class samples.classhierarchy.ChildB
-
- chunkClass(Class<?>) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- CLASS_UNDER_TEST_FIELD - Static variable in class org.powermock.modules.junit4.internal.impl.testcaseworkaround.PowerMockJUnit4MethodValidator
-
- classAnnotations() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
-
- classes - Variable in class org.powermock.core.classloader.DeferSupportingClassLoader
-
- classesToLoadByMockClassloader - Variable in class org.powermock.tests.utils.impl.MockClassLoaderFactory
-
- classesToModify - Variable in class org.powermock.core.classloader.MockClassLoaderBuilder
-
- classFoundInClassloader(Class<?>, ClassLoader) - Method in class org.powermock.api.easymock.PowerMock.EasyMockStateCleaner
-
- ClassImposterizer - Class in org.powermock.api.mockito.repackaged
-
Inspired on jMock (thanks jMock guys!!!)
- ClassImposterizer(Instantiator) - Constructor for class org.powermock.api.mockito.repackaged.ClassImposterizer
-
- ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug - Class in org.powermock.api.mockito.repackaged
-
- ClassInsideJavaPackage - Class in samples.java
-
- ClassInsideJavaPackage() - Constructor for class samples.java.ClassInsideJavaPackage
-
- classloader - Variable in class org.powermock.classloading.SingleClassloaderExecutor
-
- classLoader - Variable in class org.powermock.reflect.proxyframework.ProxyFrameworkHelper
-
- classLoader - Variable in class org.powermock.tests.utils.impl.TestChunkImpl
-
- ClassloaderExecutor - Interface in org.powermock.classloading
-
- classloaderExecutor - Variable in class org.powermock.modules.junit4.rule.PowerMockStatement
-
- ClassLoaderFactory - Class in org.powermock.modules.testng.internal
-
- ClassLoaderFactory() - Constructor for class org.powermock.modules.testng.internal.ClassLoaderFactory
-
- classLoaderFactory - Variable in class org.powermock.modules.testng.internal.PowerMockClassloaderObjectFactory
-
- ClassLoaderRegisterProxyFramework - Class in org.powermock.reflect.proxyframework
-
- ClassLoaderRegisterProxyFramework() - Constructor for class org.powermock.reflect.proxyframework.ClassLoaderRegisterProxyFramework
-
- classloadersToClear() - Method in class org.powermock.api.easymock.PowerMock.EasyMockStateCleaner
-
- ClassLoaderUtil - Class in org.powermock.api.support
-
- ClassLoaderUtil() - Constructor for class org.powermock.api.support.ClassLoaderUtil
-
- ClassLocator - Class in org.powermock.core
-
- ClassLocator() - Constructor for class org.powermock.core.ClassLocator
-
- classMocks - Static variable in class org.powermock.core.MockRepository
-
Holds info about general method invocation mocks for classes.
- ClassMockTransformer - Class in org.powermock.core.transformers.impl
-
- ClassMockTransformer() - Constructor for class org.powermock.core.transformers.impl.ClassMockTransformer
-
- ClassMockTransformer(TransformStrategy) - Constructor for class org.powermock.core.transformers.impl.ClassMockTransformer
-
- classNotPrepared(Class<T>) - Method in class org.powermock.api.mockito.expectation.reporter.MockitoPowerMockReporter
-
- classNotPrepared(Class<T>) - Method in interface org.powermock.core.reporter.PowerMockReporter
-
- ClassNotPreparedException - Exception in org.powermock.api.mockito
-
The exception is thrown when a user tries to mock class which is't prepared, but should be.
- ClassNotPreparedException(String) - Constructor for exception org.powermock.api.mockito.ClassNotPreparedException
-
- ClassPathAdjuster - Interface in org.powermock.core.classloader
-
This interface can be used to adjust the classpath used by powermock to locate
class files.
- classPool - Variable in class org.powermock.core.classloader.JavaAssistClassMarkerFactory.InterfaceJavaAssistClassMarker
-
- classPool - Variable in class org.powermock.core.classloader.MockClassLoader
-
- ClassReplaceStrategy - Interface in org.powermock.api.support.membermodification.strategy
-
Specifies the replace strategy for a class.
- ClassReplicaCreator - Class in org.powermock.core
-
This class takes care of creating a replica of a class.
- ClassReplicaCreator() - Constructor for class org.powermock.core.ClassReplicaCreator
-
- classThatContainsTheConstructorToTest - Variable in class org.powermock.reflect.internal.CandidateConstructorSearcher
-
- ClassWithInnerMembers - Class in samples.classwithinnermembers
-
Class that is used to test that local and member class works with PowerMock.
- ClassWithInnerMembers() - Constructor for class samples.classwithinnermembers.ClassWithInnerMembers
-
- ClassWithInnerMembers.InnerInterface - Interface in samples.classwithinnermembers
-
- ClassWithInnerMembers.MyInnerClass - Class in samples.classwithinnermembers
-
- ClassWithInnerMembers.MyInnerClassWithConstructorArgument - Class in samples.classwithinnermembers
-
- ClassWithInnerMembers.StaticInnerClassWithConstructorArgument - Class in samples.classwithinnermembers
-
- ClassWithNonPrivateInnerClass - Class in samples.innerclassmocking
-
Demonstrates the ability to mock an inner class (if the inner class is not
private).
- ClassWithNonPrivateInnerClass() - Constructor for class samples.innerclassmocking.ClassWithNonPrivateInnerClass
-
- ClassWithNonPrivateInnerClass.InnerClass - Class in samples.innerclassmocking
-
- ClassWithPowerMockGeneratedConstructor - Class in samples.whitebox
-
Class that simulates a PowerMock generated constructor.
- ClassWithPowerMockGeneratedConstructor(String) - Constructor for class samples.whitebox.ClassWithPowerMockGeneratedConstructor
-
- ClassWithPowerMockGeneratedConstructor(IndicateReloadClass) - Constructor for class samples.whitebox.ClassWithPowerMockGeneratedConstructor
-
Simulates a PowerMock generated constructor.
- ClassWithPrivateInnerClass - Class in samples.innerclassmocking
-
Used for demonstration of the ability to mock methods from a private inner
class.
- ClassWithPrivateInnerClass() - Constructor for class samples.innerclassmocking.ClassWithPrivateInnerClass
-
- ClassWithPrivateInnerClass.InnerClass - Class in samples.innerclassmocking
-
- ClassWithStatic - Class in samples.stress
-
- ClassWithStatic() - Constructor for class samples.stress.ClassWithStatic
-
- ClassWithSuperclassToWorkAroundCglibBug() - Constructor for class org.powermock.api.mockito.repackaged.ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug
-
- clazz - Variable in class org.powermock.core.transformers.impl.AbstractMainMockTransformer.PowerMockExpressionEditor
-
- clear() - Method in class org.powermock.api.extension.agent.JavaAgentFrameworkRegisterImpl
-
- clear() - Method in interface org.powermock.core.agent.JavaAgentClassRegister
-
Remove all registered classes for all class loaders.
- clear() - Method in interface org.powermock.core.agent.JavaAgentFrameworkRegister
-
Remove all links to JavaAgentClassRegister
- clear() - Method in class org.powermock.core.IdentityHashSet
-
- clear() - Method in class org.powermock.core.ListMap
-
- clear() - Static method in class org.powermock.core.MockRepository
-
Clear all state of the mock repository except for static initializers.
- clearConfiguration() - Method in class org.powermock.api.mockito.internal.mockcreation.MockitoStateCleaner
-
- clearMockFields() - Method in class org.powermock.modules.testng.internal.PowerMockTestNGMethodHandler
-
- clearMockFields() - Method in class org.powermock.modules.testng.PowerMockTestCase
-
- clearMockProgress() - Method in class org.powermock.api.mockito.internal.mockcreation.MockitoStateCleaner
-
- clearStateFromOtherClassLoaders() - Method in class org.powermock.api.easymock.PowerMock.EasyMockStateCleaner
-
- clearThreadLocalIn(Class<?>) - Method in class org.powermock.api.mockito.internal.mockcreation.MockitoStateCleaner
-
- clone(T) - Method in class org.powermock.classloading.DeepCloner
-
Clones an object.
- clone(T, boolean) - Method in class org.powermock.classloading.DeepCloner
-
- clone(T) - Method in interface org.powermock.classloading.spi.DeepClonerSPI
-
- clone(T[]) - Static method in class org.powermock.utils.ArrayUtil
-
- cloneArguments(Object[], DeepClonerSPI) - Method in class org.powermock.classloading.AbstractClassloaderExecutor
-
- cloneEnum(ClassLoader, Object) - Method in class org.powermock.classloading.DeepCloner
-
- cloneFields(ClassLoader, Class<T>, Object, Object, Map<Object, Object>, boolean) - Method in class org.powermock.classloading.DeepCloner
-
- cloneJavaReflectMethod(Object) - Method in class org.powermock.classloading.DeepCloner
-
- cloneResult(Object) - Method in class org.powermock.classloading.AbstractClassloaderExecutor
-
- close(Closeable) - Method in class org.powermock.classloading.DeepCloner
-
- closePendingTestSuites(GlobalNotificationBuildSupport.Callback) - Static method in class org.powermock.core.testlisteners.GlobalNotificationBuildSupport
-
- closeTestSuite(Class<?>) - Static method in class org.powermock.core.testlisteners.GlobalNotificationBuildSupport
-
- clsMock - Variable in class org.powermock.api.mockito.internal.verification.StaticMockAwareVerificationMode
-
- collaborator - Variable in class samples.simplemix.SimpleMix
-
- COLON_NEWLINE - Static variable in class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
-
- ComparatorFactory - Class in org.powermock.reflect.internal.comparator
-
This comparator factory is used to create Comparators for
Whitebox
which are used to find best candidates
for constructor and method invocation.
- ComparatorFactory() - Constructor for class org.powermock.reflect.internal.comparator.ComparatorFactory
-
- ComparatorFactory.ConstructorComparator - Class in org.powermock.reflect.internal.comparator
-
- ComparatorFactory.MethodComparator - Class in org.powermock.reflect.internal.comparator
-
- ComparatorFactory.ParametersComparator - Class in org.powermock.reflect.internal.comparator
-
- compare(Object, Object) - Method in class org.powermock.modules.junit4.common.internal.impl.VersionComparator
-
- compare(Constructor, Constructor) - Method in class org.powermock.reflect.internal.comparator.ComparatorFactory.ConstructorComparator
-
- compare(Method, Method) - Method in class org.powermock.reflect.internal.comparator.ComparatorFactory.MethodComparator
-
- compare(Class[], Class[]) - Method in class org.powermock.reflect.internal.comparator.ComparatorFactory.ParametersComparator
-
- complete() - Method in class samples.newmocking.SomeDependency
-
- concatenateStrings(String...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Concatenate strings.
- ConcreteClassGenerator - Class in org.powermock.core
-
This class takes care of creating a concrete sub-class implementing all
abstract methods in the parent.
- ConcreteClassGenerator() - Constructor for class org.powermock.core.ConcreteClassGenerator
-
- constructor(Class<T>, Class<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
-
Returns a constructor specified in declaringClass.
- constructor(Class<T>) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
-
Returns any one constructor specified in declaringClass.
- constructor - Variable in class org.powermock.modules.testng.internal.TestClassInstanceFactory
-
- ConstructorArgsDemo - Class in samples.constructorargs
-
- ConstructorArgsDemo(String) - Constructor for class samples.constructorargs.ConstructorArgsDemo
-
- ConstructorArgsDemo() - Constructor for class samples.constructorargs.ConstructorArgsDemo
-
- ConstructorArgumentsVerification - Interface in org.powermock.api.mockito.verification
-
- ConstructorAwareExpectationSetup<T> - Class in org.powermock.api.mockito.internal.expectation
-
- ConstructorAwareExpectationSetup(Constructor<T>) - Constructor for class org.powermock.api.mockito.internal.expectation.ConstructorAwareExpectationSetup
-
- constructorCall(Class<?>, Object[], Class<?>[]) - Static method in class org.powermock.core.MockGateway
-
- ConstructorComparator(ComparatorFactory.ParametersComparator) - Constructor for class org.powermock.reflect.internal.comparator.ComparatorFactory.ConstructorComparator
-
- ConstructorExpectationSetup<T> - Interface in org.powermock.api.mockito.expectation
-
- ConstructorNotFoundException - Exception in org.powermock.reflect.exceptions
-
A run-time exception that may be thrown to indicate that a constructor was
not found.
- ConstructorNotFoundException(String) - Constructor for exception org.powermock.reflect.exceptions.ConstructorNotFoundException
-
Constructs a new exception with the specified detail message.
- ConstructorNotFoundException(String, Throwable) - Constructor for exception org.powermock.reflect.exceptions.ConstructorNotFoundException
-
Constructs a new runtime exception with the specified detail message and
cause.
- constructorResult - Variable in class samples.constructor.PrivateConstructorDemo
-
- constructorResult - Variable in class samples.constructor.PublicConstructorDemo
-
- constructors(Constructor<?>, Constructor<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
-
Convenience method to get a constructor from a class.
- constructorsDeclaredIn(Class<?>, Class<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
-
Get all constructors in the supplied class(es).
- contains(Object) - Method in class org.powermock.core.IdentityHashSet
-
- containsKey(Object) - Method in class org.powermock.core.ListMap
-
- containsValue(Object) - Method in class org.powermock.core.ListMap
-
- convertArgumentTypesToPrimitive(Class<?>[], Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Convert argument types to primitive.
- convertParameterTypesToPrimitive(Class<?>[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Convert parameter types to primitive.
- copyArgumentsForInnerOrLocalOrAnonymousClass(Object[], boolean) - Static method in class org.powermock.core.MockGateway
-
The first parameter of an inner, local or anonymous inner class is
null
or the enclosing instance.
- copyFields(CtClass, CtClass) - Method in class org.powermock.core.ClassReplicaCreator
-
- copyProperty(String, String) - Method in class samples.system.SystemClassUser
-
- copyState(Object, Object, FieldMatchingStrategy) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Copy state.
- counter - Static variable in class org.powermock.core.ClassReplicaCreator
-
- counter - Static variable in class org.powermock.core.ConcreteClassGenerator
-
- countInitializersInTrace(String) - Static method in class org.powermock.core.testlisteners.GlobalNotificationBuildSupport
-
- create() - Method in class org.powermock.api.extension.reporter.AbstractMockingFrameworkReporterFactory
-
- create() - Static method in class org.powermock.core.agent.JavaAgentFrameworkRegisterFactory
-
- create() - Method in interface org.powermock.core.reporter.MockingFrameworkReporterFactory
-
- create() - Method in class org.powermock.modules.testng.internal.TestClassInstanceFactory
-
- create(ITestContext) - Method in class org.powermock.modules.testng.PowerMockTestCase
-
- create() - Method in class org.powermock.tests.utils.impl.MockClassLoaderFactory
-
- create() - Method in enum samples.enummocking.EnumWithConstructor
-
- createAndPopulateVarArgsArray(Class<?>, int, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Creates the and populate var args array.
- createClassLoader(Class<?>) - Method in class org.powermock.modules.testng.internal.ClassLoaderFactory
-
- createClassMarker(ClassPool) - Static method in class org.powermock.core.classloader.JavaAssistClassMarkerFactory
-
- createClassReplica(Class<?>) - Method in class org.powermock.core.ClassReplicaCreator
-
- createConcreteSubClass(Class<?>) - Method in class org.powermock.core.ConcreteClassGenerator
-
- createConstructorComparator() - Static method in class org.powermock.reflect.internal.comparator.ComparatorFactory
-
- createDeepCloner(ClassLoader) - Method in class org.powermock.classloading.AbstractClassloaderExecutor
-
- createDefaultExtraMockTransformers(Class<?>, List<Method>) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- createDefaultMockCreator() - Method in class org.powermock.api.extension.listener.AnnotationMockCreatorFactory
-
- createDefaultMockLoader(Class<?>, MockTransformer[], String[]) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- createDefaultRunner(Class<?>) - Static method in class org.powermock.modules.junit4.PowerMockRunnerDelegate.DefaultJUnitRunner
-
- createDelegate(Class<?>) - Static method in class org.powermock.modules.junit4.internal.impl.DelegatingPowerMockRunner
-
- createDelegatorFromClassloader(ClassLoader, Class<?>, List<Method>) - Method in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl
-
- createDelegatorFromClassloader(ClassLoader, Class<?>, List<Method>) - Method in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
-
- createDirectoryStructure(String) - Method in class samples.expectnew.NewFileExample
-
- createInstance(Constructor<T>, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Creates the instance.
- createInstanceReplica(T) - Method in class org.powermock.core.ClassReplicaCreator
-
Create a class that is a replica of type T
.
- createMethodComparator() - Static method in class org.powermock.reflect.internal.comparator.ComparatorFactory
-
- createMethodInvocationControl(String, Class<T>, Method[], boolean, Object, MockSettings) - Method in class org.powermock.api.mockito.internal.mockcreation.MockCreator
-
- createMock(Class<T>, Method...) - Static method in class org.powermock.api.easymock.PowerMock
-
Creates a mock object that supports mocking of final and native methods.
- createMock(Class<T>) - Static method in class org.powermock.api.easymock.PowerMock
-
Creates a mock object that supports mocking of final and native methods.
- createMock(Class<T>, ConstructorArgs, Method...) - Static method in class org.powermock.api.easymock.PowerMock
-
Creates a mock object that supports mocking of final and native methods
and invokes a specific constructor.
- createMock(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Creates a mock object that supports mocking of final and native methods
and invokes a specific constructor based on the supplied argument values.
- createMock(AnnotationMockCreator, AnnotationMockMetadata) - Method in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
-
- createMock(Class<T>, boolean, boolean, Object, MockSettings, Method...) - Method in class org.powermock.api.mockito.internal.mockcreation.AbstractMockCreator
-
- createMock(Class<T>, boolean, boolean, Object, MockSettings, Method...) - Method in class org.powermock.api.mockito.internal.mockcreation.MockCreator
-
- createMock(MockCreationSettings<T>, MockHandler) - Method in class org.powermock.api.mockito.internal.mockmaker.PowerMockMaker
-
- createMock(MockCreationSettings<T>, MockHandler) - Method in class org.powermock.api.mockito.repackaged.CglibMockMaker
-
- createMockAndExpectNew(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Convenience method for createMock followed by expectNew.
- createMockAndExpectNew(Class<T>, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Convenience method for createMock followed by expectNew when PowerMock
cannot determine which constructor to use automatically.
- createMockClassLoader(String[]) - Method in class org.powermock.tests.utils.impl.MockClassLoaderFactory
-
- createMockControl(Class<?>) - Method in class org.powermock.api.easymock.internal.mockstrategy.impl.AbstractMockStrategyBase
-
- createMockControl(Class<?>) - Method in interface org.powermock.api.easymock.internal.mockstrategy.MockStrategy
-
- createMockInstance(Class<?>, Method[]) - Method in interface org.powermock.api.extension.listener.AnnotationMockCreator
-
- createMockitoMethod(Method) - Method in class org.powermock.api.mockito.repackaged.MethodInterceptorFilter
-
- createMockitoMethodProxy(MethodProxy) - Method in class org.powermock.api.mockito.repackaged.MethodInterceptorFilter
-
- createNewArrayWithSameType(T[], int) - Static method in class org.powermock.utils.ArrayUtil
-
- createNewClassloader(Class<?>, String[], String[], MockTransformer...) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- createNewSubstituteMock(Class<T>, Class<?>[], Object...) - Static method in class org.powermock.api.mockito.internal.expectation.DefaultConstructorExpectationSetup
-
- createNiceMock(Class<T>, Method...) - Static method in class org.powermock.api.easymock.PowerMock
-
Creates a nice mock object that supports mocking of final and native
methods.
- createNiceMock(Class<T>) - Static method in class org.powermock.api.easymock.PowerMock
-
Creates a nice mock object that supports mocking of final and native
methods.
- createNiceMock(Class<T>, ConstructorArgs, Method...) - Static method in class org.powermock.api.easymock.PowerMock
-
Creates a nice mock object that supports mocking of final and native
methods and invokes a specific constructor.
- createNiceMock(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Creates a nice mock object that supports mocking of final and native
methods and invokes a specific constructor based on the supplied argument
values.
- createNiceMockAndExpectNew(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Convenience method for createNiceMock followed by expectNew.
- createNiceMockAndExpectNew(Class<T>, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Convenience method for createNiceMock followed by expectNew when
PowerMock cannot determine which constructor to use automatically.
- createNiceMockCreator() - Method in class org.powermock.api.extension.listener.AnnotationMockCreatorFactory
-
- createNicePartialMock(Class<T>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
-
Nicely mock a single specific method.
- createNicePartialMock(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to nicely mock several methods in an
easy way (by just passing in the method names of the method you wish to
mock).
- createNicePartialMock(Class<T>, Class<? super T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to nicely mock several methods in an
easy way (by just passing in the method names of the method you wish to
mock).
- createNicePartialMock(Class<T>, String[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
* A utility method that may be used to nicely mock several methods in an
easy way (by just passing in the method names of the method you wish to
mock).
- createNicePartialMock(Class<T>, String, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to nicely mock several methods in an
easy way (by just passing in the method names of the method you wish to
mock).
- createNicePartialMock(Class<T>, String, Class<?>[], Object[], Class<?>[]) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to nicely mock several methods in an
easy way (by just passing in the method names of the method you wish to
mock).
- createNicePartialMockAndInvokeDefaultConstructor(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to nicely mock several methods in an
easy way (by just passing in the method names of the method you wish to
mock).
- createNicePartialMockForAllMethodsExcept(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to specify several methods that should
not be nicely mocked in an easy manner (by just passing in the
method names of the method you wish not to mock).
- createNicePartialMockForAllMethodsExcept(Class<T>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
-
Mock all methods of a class except for a specific one nicely.
- createPartialMock(Class<T>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
-
Mock a single specific method.
- createPartialMock(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to mock several methods in an easy way
(by just passing in the method names of the method you wish to mock).
- createPartialMock(Class<T>, Class<? super T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to mock several methods in an easy way
(by just passing in the method names of the method you wish to mock).
- createPartialMock(Class<T>, String[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to mock several methods in an easy way
(by just passing in the method names of the method you wish to mock).
- createPartialMock(Class<T>, String, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to mock several methods in an easy way
(by just passing in the method names of the method you wish to mock).
- createPartialMock(Class<T>, String, Class<?>[], Object[], Class<?>[]) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to mock several methods in an easy way
(by just passing in the method names of the method you wish to mock).
- createPartialMockAndInvokeDefaultConstructor(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to mock several methods in an easy way
(by just passing in the method names of the method you wish to mock).
- createPartialMockForAllMethodsExcept(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to specify several methods that should
not be mocked in an easy manner (by just passing in the method
names of the method you wish not to mock).
- createPartialMockForAllMethodsExcept(Class<T>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
-
Mock all methods of a class except for a specific one.
- createPowerMockReporter() - Method in interface org.powermock.core.reporter.PowerMockReporterFactory
-
- createPowerMockRunner(Object, TestMethod, RunNotifier, Description, boolean) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
-
- createPowerMockRunner(Object, TestMethod, RunNotifier, Description, boolean) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl
-
- createPowerMockRunner(Object, TestMethod, RunNotifier, Description, boolean) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit49RunnerDelegateImpl
-
- createProxy(Class<Factory>, MethodInterceptor) - Method in class org.powermock.api.mockito.repackaged.ClassImposterizer
-
- createProxyClass(Class<?>, Class<?>...) - Method in class org.powermock.api.mockito.repackaged.ClassImposterizer
-
- createProxyTestClass(Class<?>) - Method in class org.powermock.modules.testng.internal.TestClassInstanceFactory
-
- createReader(File, FileDataSource) - Method in class samples.privatemocking.PrivateMethodDemo
-
- createReplicaType(Class<T>, boolean, ConstructorArgs) - Static method in class org.powermock.api.easymock.PowerMock
-
- createRunnerDelegate(Class<?>) - Static method in class org.powermock.modules.junit4.PowerMockRunnerDelegate.SinceJUnit_4_5
-
- createSignature(String, String, String, String[]) - Static method in class org.powermock.core.transformers.impl.TestClassTransformer
-
- createSimpleThing() - Static method in class samples.rule.SimpleThingCreator
-
- createStatement(Method, Object, Runnable, Set<Field>) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner
-
- createStrictMock(Class<T>, Method...) - Static method in class org.powermock.api.easymock.PowerMock
-
Creates a strict mock object that supports mocking of final and native
methods.
- createStrictMock(Class<T>) - Static method in class org.powermock.api.easymock.PowerMock
-
Creates a strict mock object that supports mocking of final and native
methods.
- createStrictMock(Class<T>, ConstructorArgs, Method...) - Static method in class org.powermock.api.easymock.PowerMock
-
Creates a strict mock object that supports mocking of final and native
methods and invokes a specific constructor.
- createStrictMock(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Creates a strict mock object that supports mocking of final and native
methods and invokes a specific constructor based on the supplied argument
values.
- createStrictMockAndExpectNew(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Convenience method for createStrictMock followed by expectNew.
- createStrictMockAndExpectNew(Class<T>, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Convenience method for createStrictMock followed by expectNew when
PowerMock cannot determine which constructor to use automatically.
- createStrictMockCreator() - Method in class org.powermock.api.extension.listener.AnnotationMockCreatorFactory
-
- createStrictPartialMock(Class<T>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
-
Strictly mock a single specific method.
- createStrictPartialMock(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to strictly mock several methods in an
easy way (by just passing in the method names of the method you wish to
mock).
- createStrictPartialMock(Class<T>, Class<? super T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to strictly mock several methods in an
easy way (by just passing in the method names of the method you wish to
mock).
- createStrictPartialMock(Class<T>, String[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
* A utility method that may be used to strictly mock several methods in
an easy way (by just passing in the method names of the method you wish
to mock).
- createStrictPartialMock(Class<T>, String, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to strictly mock several methods in an
easy way (by just passing in the method names of the method you wish to
mock).
- createStrictPartialMock(Class<T>, String, Class<?>[], Object[], Class<?>[]) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to strictly mock several methods in an
easy way (by just passing in the method names of the method you wish to
mock).
- createStrictPartialMockAndInvokeDefaultConstructor(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to strictly mock several methods in an
easy way (by just passing in the method names of the method you wish to
mock).
- createStrictPartialMockForAllMethodsExcept(Class<T>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to specify several methods that should
not be strictly mocked in an easy manner (by just passing in the
method names of the method you wish not to mock).
- createStrictPartialMockForAllMethodsExcept(Class<T>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
-
Mock all methods of a class except for a specific one strictly.
- createTest() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
-
- createTestClass(Class<?>) - Method in class org.powermock.modules.testng.internal.TestClassInstanceFactory
-
We proxy the test class in order to be able to clear state after each
test method invocation.
- createTestDelegators(Class<?>, List<TestChunk>) - Method in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
-
Create the test delegators needed for a whole class.
- createTestDelegators(Class<?>, List<TestChunk>) - Method in interface org.powermock.tests.utils.RunnerTestSuiteChunker
-
Create the test delegators needed for a whole class.
- createTestInstance() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
-
- createTypeValidator(Class<T>, boolean, boolean) - Method in class org.powermock.api.mockito.internal.mockcreation.AbstractMockCreator
-
- createValidator(Class<T>, boolean, boolean, JavaAgentClassRegister) - Static method in class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory
-
- ct2primitiveClass - Static variable in class org.powermock.core.transformers.impl.Primitives
-
- ctor - Variable in class org.powermock.api.mockito.internal.expectation.ConstructorAwareExpectationSetup
-
- ctors - Variable in class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing
-
- CURRENT_TEST_INSTANCE - Static variable in class org.powermock.tests.utils.Keys
-
Key that can be used to set or get the current test instance in the mock
repository.
- CURRENT_TEST_METHOD - Static variable in class org.powermock.tests.utils.Keys
-
Key that can be used to set or get the current test method in the mock
repository.
- CURRENT_TEST_METHOD_ARGUMENTS - Static variable in class org.powermock.tests.utils.Keys
-
Key that can be used to set or get the current test method arguments in
the mock repository.
- currentDescription - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
-
- currentTestIndex - Variable in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- currentTestInstance - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
-
- currentTestSuccessful - Variable in class org.powermock.modules.junit4.common.internal.impl.PowerMockJUnit4RunListener
-
- e() - Static method in class samples.stress.ClassWithStatic
-
- e1() - Method in class samples.stress.StressSample
-
- EasyMockAnnotationSupport - Class in org.powermock.api.extension.listener
-
This class works like as EasyMockSupport
and is used to create and inject mocks to
annotated fields of an instance of test class.
- EasyMockAnnotationSupport(Object) - Constructor for class org.powermock.api.extension.listener.EasyMockAnnotationSupport
-
- EasyMockAnnotationSupport.AnnotationInjectFieldSearcher - Class in org.powermock.api.extension.listener
-
- EasyMockAnnotationSupport.InjectFieldSearcher - Interface in org.powermock.api.extension.listener
-
- EasyMockConfiguration - Class in org.powermock.api.easymock
-
Configuration information about EasyMock framework and which feature is supported by version of EasyMock in runtime.
- EasyMockConfiguration() - Constructor for class org.powermock.api.easymock.EasyMockConfiguration
-
- easyMockConfiguration - Variable in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
-
- EasyMockMethodInvocationControl<T> - Class in org.powermock.api.easymock.internal.invocationcontrol
-
- EasyMockMethodInvocationControl(MockInvocationHandler, Set<Method>, T) - Constructor for class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
-
Initializes internal state.
- EasyMockMethodInvocationControl(MockInvocationHandler, Set<Method>) - Constructor for class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
-
Initializes internal state.
- EasyMockStateCleaner() - Constructor for class org.powermock.api.easymock.PowerMock.EasyMockStateCleaner
-
- edit(FieldAccess) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer.PowerMockExpressionEditor
-
- edit(MethodCall) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer.PowerMockExpressionEditor
-
- edit(ConstructorCall) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer.PowerMockExpressionEditor
-
- edit(NewExpr) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer.PowerMockExpressionEditor
-
- EMPTY_STRING - Static variable in class org.powermock.utils.StringJoiner
-
- enable() - Method in class org.powermock.api.extension.reporter.MockingFrameworkReporterFactoryImpl.MockitoMockingFrameworkReporter
-
- enable() - Method in interface org.powermock.core.reporter.MockingFrameworkReporter
-
Start replacing mocking frameworks exception message
- enableReporter() - Method in class org.powermock.modules.testng.PowerMockTestCase
-
- enableSerializationAcrossJVM(MockCreationSettings<T>) - Method in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature
-
Enable serialization serialization that will work across classloaders / and JVM.
- enhancedSay(String, String) - Method in class samples.privatemocking.PrivateMethodDemo
-
- ensureJvmMethodSizeLimit(CtClass) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
-
According to JVM specification method size must be lower than 65536 bytes.
- entries - Variable in class org.powermock.core.ListMap
-
- entrySet() - Method in class org.powermock.core.ListMap
-
- EnumWithConstructor - Enum in samples.enummocking
-
- EnumWithConstructor() - Constructor for enum samples.enummocking.EnumWithConstructor
-
- equals(Object) - Method in class org.powermock.api.extension.listener.AnnotationMockMetadata
-
- equals(Object, Object) - Method in class org.powermock.modules.junit4.common.internal.impl.VersionComparator
-
- equals(Object) - Method in class samples.equalswithgetclass.EqualsWithGetClass
-
- equals(Object) - Method in class samples.expectnew.ExpectNewDemo
-
- equals(Object) - Method in class samples.partialmocking.MockSelfDemo
-
- EqualsWithGetClass - Class in samples.equalswithgetclass
-
Class that implements an equals method that contains a call to getClass();
- EqualsWithGetClass(String) - Constructor for class samples.equalswithgetclass.EqualsWithGetClass
-
- ERROR_LOCATION_MARKER - Static variable in class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
-
- ERROR_MESSAGE_TEMPLATE - Static variable in class org.powermock.tests.utils.impl.PowerMockTestNotifierImpl
-
- ERRORS_FIELD - Static variable in class org.powermock.modules.junit4.internal.impl.testcaseworkaround.PowerMockJUnit4MethodValidator
-
- establishConnection(Connection) - Method in class samples.partialmocking.MockSelfDemo
-
- evaluate() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner.TestExecutorStatement
-
- evaluate() - Method in class org.powermock.modules.junit4.rule.PowerMockStatement
-
- evaluateStatement(Statement) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner
-
- everythingDeclaredIn(Class<?>, Class<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
-
Get all constructors and methods in the supplied class(es).
- EvilStaticInitializerExample - Class in samples.staticinitializer
-
Simple example of a class with a static initializer.
- EvilStaticInitializerExample() - Constructor for class samples.staticinitializer.EvilStaticInitializerExample
-
- exception - Static variable in class org.powermock.classloading.DeepCloner.UnsafeFieldWriter
-
- execute(Callable<T>) - Method in class org.powermock.classloading.AbstractClassloaderExecutor
-
- execute(Runnable) - Method in class org.powermock.classloading.AbstractClassloaderExecutor
-
- execute(Object, Method, Object...) - Method in class org.powermock.classloading.AbstractClassloaderExecutor
-
- execute(Callable<T>) - Method in interface org.powermock.classloading.ClassloaderExecutor
-
- execute(Runnable) - Method in interface org.powermock.classloading.ClassloaderExecutor
-
- execute(Object, Method, Object...) - Method in class org.powermock.classloading.SingleClassloaderExecutor
-
- executeCommand() - Method in class samples.system.SystemClassUser
-
- executeTest(Method, Object, Runnable) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
-
- executeTest(Method, Object, Runnable) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner
-
- executeTestInSuper(Method, Object, Runnable) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner
-
- executeWithClassLoader(Object, Method, ClassLoader, Object[]) - Method in class org.powermock.classloading.AbstractClassloaderExecutor
-
- expectedExceptionsExtractor - Variable in class org.powermock.modules.testng.internal.ClassLoaderFactory
-
- ExpectedExceptionsExtractor - Interface in org.powermock.modules.testng.internal
-
- expectedFieldType - Variable in class org.powermock.reflect.internal.matcherstrategies.FieldTypeMatcherStrategy
-
- expectedParameterTypes - Variable in class org.powermock.reflect.internal.ParameterTypesMatcher
-
- expectLastCall() - Static method in class org.powermock.api.easymock.PowerMock
-
This method just delegates to EasyMock class extensions
EasyMock.expectLastCall()
method.
- expectNew(Class<T>, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Allows specifying expectations on new invocations.
- expectNew(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Allows specifying expectations on new invocations.
- expectNew(String, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Allows specifying expectations on new invocations for private member
(inner) classes, local or anonymous classes.
- ExpectNewDemo - Class in samples.expectnew
-
- ExpectNewDemo() - Constructor for class samples.expectnew.ExpectNewDemo
-
- ExpectNewOfFinalSystemClassDemo - Class in samples.expectnew
-
- ExpectNewOfFinalSystemClassDemo() - Constructor for class samples.expectnew.ExpectNewOfFinalSystemClassDemo
-
- ExpectNewServiceUser - Class in samples.expectnew
-
- ExpectNewServiceUser(Service, int) - Constructor for class samples.expectnew.ExpectNewServiceUser
-
- ExpectNewWithMultipleCtorDemo - Class in samples.expectnew
-
- ExpectNewWithMultipleCtorDemo(Service) - Constructor for class samples.expectnew.ExpectNewWithMultipleCtorDemo
-
- ExpectNewWithMultipleCtorDemo(Service, int) - Constructor for class samples.expectnew.ExpectNewWithMultipleCtorDemo
-
- expectNiceNew(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Allows specifying expectations on new invocations.
- expectNiceNew(Class<T>, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Allows specifying expectations on new invocations.
- expectPrivate(Class<?>, Method, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Used to specify expectations on private static methods.
- expectPrivate(Object, Method, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Used to specify expectations on private methods.
- expectPrivate(Object, String, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Used to specify expectations on private methods.
- expectPrivate(Object, String, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Used to specify expectations on methods using the method name.
- expectPrivate(Object, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Used to specify expectations on methods without specifying a method name.
- expectPrivate(Object, String, Class<?>, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Used to specify expectations on methods using the method name at a
specific place in the class hierarchy (specified by the
where
parameter).
- expectPrivate(Object, String, Class<?>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Used to specify expectations on methods using the method name at a
specific place in the class hierarchy (specified by the
where
parameter).
- expectStrictNew(Class<T>, Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Allows specifying expectations on new invocations.
- expectStrictNew(Class<T>, Class<?>[], Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Allows specifying expectations on new invocations.
- expectSubstitutionLogic(Object...) - Method in class org.powermock.api.easymock.internal.invocationcontrol.NewInvocationControlImpl
-
- expectSubstitutionLogic(Object...) - Method in class org.powermock.api.mockito.internal.invocation.MockitoNewInvocationControl
-
- expectSubstitutionLogic(Object...) - Method in interface org.powermock.core.spi.NewInvocationControl
-
Expect a call to the new instance substitution logic.
- ExpectVoidDemo - Class in samples.expectvoid
-
- ExpectVoidDemo() - Constructor for class samples.expectvoid.ExpectVoidDemo
-
- extendsFromTestCase - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
-
- extendsPowerMockTestCase(Class<?>) - Method in class org.powermock.modules.testng.internal.TestClassInstanceFactory
-
- extractClassesAndAddThemToList(AnnotatedElement, Set<String>) - Method in class org.powermock.tests.utils.impl.AbstractTestClassExtractor
-
- extractClassesFromTestClass(Class<?>, Set<String>) - Method in class org.powermock.tests.utils.impl.AbstractTestClassExtractor
-
- extraInterfaces - Variable in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.AcrossJVMMockSerializationProxy
-
- extraInterfaces - Variable in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.MockitoMockObjectInputStream
-
- extraMockTransformers - Variable in class org.powermock.tests.utils.impl.MockClassLoaderFactory
-
- g() - Static method in class samples.stress.ClassWithStatic
-
- g1() - Method in class samples.stress.StressSample
-
- generate(Object, Method, Object[]) - Method in class org.powermock.api.mockito.internal.invocation.ToStringGenerator
-
- generateClassName(Class<T>) - Method in class org.powermock.core.ConcreteClassGenerator
-
- generatePerishableToken() - Method in class samples.system.SystemClassUser
-
- generateReplicaClassName(Class<T>) - Method in class org.powermock.core.ClassReplicaCreator
-
- get(Object) - Method in class org.powermock.core.ListMap
-
- get() - Method in class samples.mockpolicy.frameworkexample.NativeResult
-
- getAdditionalState(String) - Static method in class org.powermock.core.MockRepository
-
Retrieve state based on the supplied key.
- getAll() - Method in class samples.suppressconstructor.AppaleList
-
- getAllConstructors(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get all declared constructors in the class and set accessible to
true
.
- getAllFields(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get all fields in a class hierarchy! Both declared an non-declared (no
duplicates).
- getAllInstanceFields(Object) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get all instance fields for a particular object.
- getAllInstanceFields(Object) - Static method in class org.powermock.reflect.Whitebox
-
Get all instance fields for a particular object.
- getAllMessages() - Method in class samples.expectnew.VarArgsConstructorDemo
-
- getAllMethodExcept(Class<T>, String...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Gets the all method except.
- getAllMethods(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get all methods in a class hierarchy! Both declared an non-declared (no
duplicates).
- getAllMetodsExcept(Class<T>, String, Class<?>[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Gets the all metods except.
- getAllPublicMethods(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get all public methods for a class (no duplicates)! Note that the
class-hierarchy will not be traversed.
- getAllServices() - Method in class samples.expectnew.VarArgsConstructorDemo
-
- getAllStaticFields(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get all static fields for a particular type.
- getAllStaticFields(Class<?>) - Static method in class org.powermock.reflect.Whitebox
-
Get all static fields for a particular type.
- getAMessage() - Method in class samples.partialmocking.MockSelfDemoSubClass
-
- getAnnotation() - Method in class org.powermock.api.extension.listener.AnnotationMockMetadata
-
- getAnnotationNames() - Method in class org.powermock.reflect.internal.matcherstrategies.FieldAnnotationMatcherStrategy
-
- getAnonymousInnerClassType(Class<?>, int) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get the type of an anonymous inner class.
- getAnonymousInnerClassType(Class<?>, int) - Static method in class org.powermock.reflect.Whitebox
-
Get the type of an anonymous inner class.
- getAProtectedMessage() - Method in class samples.partialmocking.MockSelfDemoSubClass
-
- getArgumentTypesAsString(Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Gets the argument types as string.
- getBestCandidateConstructor(Class<T>, Class<?>[], Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
- getBestMethodCandidate(Class<?>, String, Class<?>[], boolean) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Gets the best method candidate.
- getBoolean() - Method in class samples.suppressmethod.SuppressMethod
-
- getBoxedFromPrimitiveType(Class<?>) - Static method in class org.powermock.reflect.internal.primitivesupport.BoxedWrapper
-
Get the wrapped counter part from a primitive type.
- getByte() - Method in class samples.suppressmethod.SuppressMethod
-
- getByteArrays() - Method in class samples.expectnew.VarArgsConstructorDemo
-
- getCallerClass() - Static method in class org.powermock.core.ClassLocator
-
- getChunkSize() - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- getChunkSize() - Method in interface org.powermock.tests.utils.TestSuiteChunker
-
Get the number of chunks defined in this suite.
- getClassesToModify(AnnotatedElement) - Method in class org.powermock.tests.utils.impl.AbstractTestClassExtractor
-
Get the fully qualified names for classes that must should be modified
for this element
.
- getClassesToModify(AnnotatedElement) - Method in class org.powermock.tests.utils.impl.PrepareForTestExtractorImpl
-
Get the fully qualified names for classes that must should be modified
for this element
.
- getClassesToModify(AnnotatedElement) - Method in class org.powermock.tests.utils.impl.StaticConstructorSuppressExtractorImpl
-
Get the fully qualified names for classes that must should be modified
for this element
.
- getClassFor(CtPrimitiveType) - Static method in class org.powermock.core.transformers.impl.Primitives
-
- getClassIterator(ClassLoader) - Static method in class org.powermock.core.PowerMockUtils
-
Get an iterator of all classes loaded by the specific classloader.
- getClassLoader() - Method in class org.powermock.tests.utils.impl.TestChunkImpl
- getClassLoader() - Method in interface org.powermock.tests.utils.TestChunk
-
- getClassLoadingSettings() - Method in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
-
- getComponentType(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
- getCompositeMessage() - Method in class samples.privatefield.MockSelfPrivateFieldServiceClass
-
- getConcatenatedString(String) - Method in class samples.staticinitializer.SimpleStaticInitializerExample
-
- getConfiguration() - Static method in class org.powermock.api.easymock.EasyMockConfiguration
-
- getConnection() - Static method in class samples.interfacemethodfinding.WsUtil
-
- getConstructor(Class<?>, Class<?>...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Convenience method to get a (declared) constructor from a class type
without having to catch the checked exceptions otherwise required.
- getConstructor(Class<?>, Class<?>...) - Static method in class org.powermock.reflect.Whitebox
-
Convenience method to get a (declared) constructor from a class type
without having to catch the checked exceptions otherwise required.
- getConstructorResult() - Method in class samples.constructor.PrivateConstructorDemo
-
- getConstructorResult() - Method in class samples.constructor.PublicConstructorDemo
-
- getConstructors() - Method in class org.powermock.reflect.internal.CandidateConstructorSearcher
-
- getConstructorValue() - Method in class samples.partialmocking.MockSelfDemo
-
- getCorrectReturnValueType(CtClass) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
-
- getDefaultValue(Class<?>) - Static method in class org.powermock.reflect.internal.TypeUtils
-
Get the default value for a type.
- getDefaultValue(String) - Static method in class org.powermock.reflect.internal.TypeUtils
-
Get the default value of a type with based on its fully-qualified name.
- getDefaultValueAsString(String) - Static method in class org.powermock.reflect.internal.TypeUtils
-
Get the default value of a type with based on its fully-qualified name.
- getDelegatorIndex(int) - Method in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
-
Get the junit runner delegate that handles the test at index
testIndex
.
- getDescription() - Method in class org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner
-
- getDescription() - Method in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl
-
- getDescription() - Method in interface org.powermock.modules.junit4.common.internal.JUnit4TestSuiteChunker
-
- getDescription() - Method in interface org.powermock.modules.junit4.common.internal.PowerMockJUnitRunnerDelegate
-
- getDescription() - Method in class org.powermock.modules.junit4.internal.impl.DelegatingPowerMockRunner
-
- getDescription() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
- getDescription() - Method in class org.powermock.modules.junit4.PowerMockRunnerDelegate.DefaultJUnitRunner
-
- getDomainObject() - Method in class samples.suppressfield.SuppressField
-
- getDoNotClone(ClassLoader) - Method in class org.powermock.classloading.DeepCloner
-
- getDouble() - Method in class samples.suppressmethod.SuppressMethod
-
- getDouble(double) - Method in class samples.suppressmethod.SuppressMethod
-
- getEasyMockAnnotationSupport(Object) - Method in class org.powermock.api.extension.listener.AnnotationEnabler
-
- getEnumValue(Object, Class<Object>) - Static method in class org.powermock.classloading.DeepCloner
-
- getExpectedExceptionName(TestMethod) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
-
- getFailureCount() - Method in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
-
- getFailureCount() - Method in interface org.powermock.core.spi.testresult.TestSuiteResult
-
- getFailureCount() - Method in class org.powermock.modules.junit4.common.internal.impl.PowerMockJUnit4RunListener
-
- getField() - Method in class org.powermock.api.extension.listener.TestSubjectInjector.InjectionTarget
-
- getField(Class<?>, String) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Convenience method to get a field from a class type.
- getField(String, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Gets the field.
- getField(Class<?>, String) - Static method in class org.powermock.reflect.Whitebox
-
Convenience method to get a field from a class type.
- getFieldByName(Class<?>, String) - Method in class org.powermock.api.extension.listener.TestSubjectInjector
-
- getFields(Object) - Method in class org.powermock.api.extension.listener.AnnotationMockScanner
-
- getFields(Class<?>, String...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get an array of Field
's that matches the supplied list of field
names.
- getFields(Class<?>, String...) - Static method in class org.powermock.reflect.Whitebox
-
Get an array of Field
's that matches the supplied list of field
names.
- getFieldsAnnotatedWith(Object, Class<? extends Annotation>, Class<? extends Annotation>...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get all fields annotated with a particular annotation.
- getFieldsAnnotatedWith(Object, Class<? extends Annotation>[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get all fields annotated with a particular annotation.
- getFieldsAnnotatedWith(Object, Class<? extends Annotation>, Class<? extends Annotation>...) - Static method in class org.powermock.reflect.Whitebox
-
Get all fields annotated with a particular annotation.
- getFieldsAnnotatedWith(Object, Class<? extends Annotation>[]) - Static method in class org.powermock.reflect.Whitebox
-
Get all fields annotated with a particular annotation.
- getFieldsOfType(Object, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get all fields assignable from a particular type.
- getFieldsOfType(Object, Class<?>) - Static method in class org.powermock.reflect.Whitebox
-
Get all fields assignable from a particular type.
- getFieldsToSuppress() - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- getFieldsToSuppress() - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
- getFieldTypesToSuppress() - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- getFieldTypesToSuppress() - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
- getFinalDemo() - Method in class samples.finalmocking.HoldingFinalDemo
-
- getFinalDemo() - Static method in class samples.finalmocking.StaticHoldingFinalDemo
-
- getFinalDemo() - Method in class samples.injectmocks.DependencyHolder
-
- getFinalDemo() - Method in class samples.injectmocks.DependencyHolderQualifier
-
- getFinalDemoQualifier() - Method in class samples.injectmocks.DependencyHolderQualifier
-
- getFirstChar() - Method in class samples.expectnew.ExpectNewOfFinalSystemClassDemo
-
- getFirstParentConstructor(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get the first parent constructor defined in a super class of
klass
.
- getFirstParentConstructor(Class<?>) - Static method in class org.powermock.reflect.Whitebox
-
Get the first parent constructor defined in a super class of
klass
.
- getFloat() - Method in class samples.suppressmethod.SuppressMethod
-
- getFrameworkReporterFactory() - Method in class org.powermock.modules.testng.PowerMockTestCase
-
- getFrameworkReporterFactory() - Method in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
-
- getFromMap(int) - Method in class samples.fieldmock.FieldInitializerDemo
-
- getFullyQualifiedNamesOfClassesToLoadByMockClassloader() - Method in class org.powermock.api.easymock.mockpolicies.AbstractEasyMockLogPolicyBase
-
- getFullyQualifiedNamesOfClassesToLoadByMockClassloader() - Method in class org.powermock.api.easymock.mockpolicies.JclMockPolicy
-
Loads all log4j classes with the mock classloader.
- getFullyQualifiedNamesOfClassesToLoadByMockClassloader() - Method in class org.powermock.api.easymock.mockpolicies.Log4jMockPolicy
-
Loads all log4j classes with the mock classloader.
- getFullyQualifiedNamesOfClassesToLoadByMockClassloader() - Method in class org.powermock.api.easymock.mockpolicies.Slf4jMockPolicy
-
- getFullyQualifiedNamesOfClassesToLoadByMockClassloader() - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
-
- getFullyQualifiedNamesOfClassesToLoadByMockClassloader() - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
-
- getHandler(Object) - Method in class org.powermock.api.mockito.internal.mockmaker.PowerMockMaker
-
- getHandler(Object) - Method in class org.powermock.api.mockito.repackaged.CglibMockMaker
-
- getHandler() - Method in class org.powermock.api.mockito.repackaged.MethodInterceptorFilter
-
- getHello() - Method in class samples.suppressconstructor.SuppressNonParentConstructorDemo
-
- getHello() - Method in class samples.suppressconstructor.SuppressSpecificConstructorDemo
-
- getIgnoreCount() - Method in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
-
- getIgnoreCount() - Method in interface org.powermock.core.spi.testresult.TestSuiteResult
-
- getIgnoreCount() - Method in class org.powermock.modules.junit4.common.internal.impl.PowerMockJUnit4RunListener
-
- getImplementerClassName() - Method in class org.powermock.api.extension.reporter.AbstractMockingFrameworkReporterFactory
-
- getImplementerClassName() - Method in class org.powermock.api.extension.reporter.MockingFrameworkReporterFactoryImpl
-
- getImplementerClassName() - Static method in class org.powermock.core.agent.JavaAgentFrameworkRegisterFactory
-
- getInjectDemo() - Method in class samples.injectmocks.InjectDependencyHolder
-
- getInjectDemo() - Method in class samples.injectmocks.InjectDependencyHolderQualifier
-
- getInjectDemoQualifier() - Method in class samples.injectmocks.InjectDependencyHolderQualifier
-
- getInnerClassType(Class<?>, String) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get an inner class type.
- getInnerClassType(Class<?>, String) - Static method in class org.powermock.reflect.Whitebox
-
Get an inner class type
- getInnerMessage() - Method in class samples.innerclassmocking.ClassWithNonPrivateInnerClass.InnerClass
-
- getInnerMessage() - Method in class samples.innerclassmocking.ClassWithPrivateInnerClass.InnerClass
-
- getInstanceForClassLoader(ClassLoader) - Method in class org.powermock.api.extension.reporter.AbstractMockingFrameworkReporterFactory
-
- getInstanceForClassLoader(ClassLoader) - Static method in class org.powermock.core.agent.JavaAgentFrameworkRegisterFactory
-
- getInstanceMethodInvocationControl(Object) - Static method in class org.powermock.core.MockRepository
-
- getInt() - Method in class samples.suppressmethod.SuppressMethod
-
- getInterceptionSettings() - Method in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
-
- getInternalMessage() - Method in class samples.partialmocking.MockSelfDemoWithSubClass
-
- getInternalState(Object, String) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get the value of a field using reflection.
- getInternalState(Object, Class<T>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get the value of a field using reflection.
- getInternalState(Object, Class<T>, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get the value of a field using reflection.
- getInternalState(Object, String, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get the value of a field using reflection.
- getInternalState(Object, String) - Static method in class org.powermock.reflect.Whitebox
-
Get the value of a field using reflection.
- getInternalState(Object, String, Class<?>) - Static method in class org.powermock.reflect.Whitebox
-
Get the value of a field using reflection.
- getInternalState(Object, String, Class<?>, Class<T>) - Static method in class org.powermock.reflect.Whitebox
-
- getInternalState(Object, Class<T>) - Static method in class org.powermock.reflect.Whitebox
-
Get the value of a field using reflection based on the fields type.
- getInternalState(Object, Class<T>, Class<?>) - Static method in class org.powermock.reflect.Whitebox
-
Get the value of a field using reflection based on the field type.
- getInternalTestIndex(int) - Method in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
-
Get the internal test index for a junit runner delegate based on the
"real" original test index.
- getInts() - Method in class samples.expectnew.VarArgsConstructorDemo
-
- getInvocationContainer() - Method in class org.powermock.api.mockito.internal.mockmaker.PowerMockMaker.PowerMockInternalMockHandler
-
- getInvocationHandler() - Method in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
-
- getIt() - Method in class samples.abstractmocking.AbstractMethodMocking
-
- getJavaAgentFrameworkRegisterClass(ClassLoader) - Static method in class org.powermock.core.agent.JavaAgentFrameworkRegisterFactory
-
- getJUnitVersion() - Static method in class org.powermock.modules.junit4.common.internal.impl.JUnitVersion
-
- getKey() - Method in class org.powermock.core.ListMap.SimpleEntry
-
- getLocalClassType(Class<?>, int, String) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get the type of a local inner class.
- getLocalClassType(Class<?>, int, String) - Static method in class org.powermock.reflect.Whitebox
-
Get the type of a local inner class.
- getLocalClassValue() - Method in class samples.classwithinnermembers.ClassWithInnerMembers
-
- getLocalClassValueWithArgument() - Method in class samples.classwithinnermembers.ClassWithInnerMembers
-
- getLocalHost() - Method in class samples.system.SystemClassUser
-
- getLogFrameworkName() - Method in class org.powermock.api.easymock.mockpolicies.AbstractEasyMockLogPolicyBase
-
- getLogFrameworkName() - Method in class org.powermock.api.easymock.mockpolicies.JclMockPolicy
-
- getLogFrameworkName() - Method in class org.powermock.api.easymock.mockpolicies.Log4jMockPolicy
-
- getLogFrameworkName() - Method in class org.powermock.api.easymock.mockpolicies.Slf4jMockPolicy
-
- getLoggerClass(LogPolicySupport) - Method in class org.powermock.api.mockito.mockpolicies.Slf4jMockPolicy
-
- getLoggerClassToMock() - Method in class org.powermock.api.easymock.mockpolicies.AbstractEasyMockLogPolicyBase
-
- getLoggerClassToMock() - Method in class org.powermock.api.easymock.mockpolicies.JclMockPolicy
-
- getLoggerClassToMock() - Method in class org.powermock.api.easymock.mockpolicies.Log4jMockPolicy
-
- getLoggerClassToMock() - Method in class org.powermock.api.easymock.mockpolicies.Slf4jMockPolicy
-
- getLoggerFactoryClassName() - Method in class org.powermock.api.easymock.mockpolicies.AbstractEasyMockLogPolicyBase
-
- getLoggerFactoryClassName() - Method in class org.powermock.api.easymock.mockpolicies.JclMockPolicy
-
- getLoggerFactoryClassName() - Method in class org.powermock.api.easymock.mockpolicies.Log4jMockPolicy
-
- getLoggerFactoryClassName() - Method in class org.powermock.api.easymock.mockpolicies.Slf4jMockPolicy
-
- getLoggerMethodName() - Method in class org.powermock.api.easymock.mockpolicies.AbstractEasyMockLogPolicyBase
-
- getLoggerMethodName() - Method in class org.powermock.api.easymock.mockpolicies.JclMockPolicy
-
- getLoggerMethodName() - Method in class org.powermock.api.easymock.mockpolicies.Log4jMockPolicy
-
- getLoggerMethodName() - Method in class org.powermock.api.easymock.mockpolicies.Slf4jMockPolicy
-
- getLoggerMethods(String, String, String) - Method in class org.powermock.mockpolicies.support.LogPolicySupport
-
Get the methods that should be mocked.
- getLong() - Method in class samples.suppressmethod.SuppressMethod
-
- getMessage() - Method in class samples.anonymousmocking.MyAbstractClass
-
- getMessage() - Method in class samples.expectnew.ExpectNewDemo
-
- getMessage() - Method in class samples.injectmocks.InjectDemo
-
- getMessage() - Method in class samples.innerclassmocking.ClassWithNonPrivateInnerClass
-
- getMessage() - Method in class samples.innerclassmocking.ClassWithPrivateInnerClass
-
- getMessage() - Method in class samples.newmocking.MyClass
-
- getMessage(String) - Method in class samples.newmocking.MyClass
-
- getMessage() - Method in class samples.newmocking.StupidNew
-
- getMessage() - Method in class samples.partialmocking.MockSelfDemoWithSubClass
-
- getMessage() - Method in class samples.staticandinstance.StaticAndInstanceDemo
-
- getMessage() - Method in class samples.staticandinstance.StaticAndInstanceWithConstructorCodeDemo
-
- getMessage() - Method in class samples.suppressconstructor.SuppressConstructorHierarchyParent
-
- getMessage() - Method in class samples.suppressconstructor.SuppressConstructorSubclassDemo
-
- getMessageFromMyClass() - Method in class samples.anonymousmocking.StupidAnonymous
-
- getMessageFromOtherMethodInInnerClass() - Method in class samples.anonymousmocking.StupidAnonymous
-
- getMessagesFromSeveralInnerClasses() - Method in class samples.anonymousmocking.StupidAnonymous
-
- getMessageWithArgument() - Method in class samples.expectnew.ExpectNewDemo
-
- getMessageWithArgument() - Method in class samples.newmocking.StupidNew
-
- getMethod() - Method in class org.powermock.api.extension.listener.AnnotationMockMetadata
-
- getMethod(Class<?>, Class<?>...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Convenience method to get a method from a class type without having to
catch the checked exceptions otherwise required.
- getMethod(Class<?>, String, Class<?>...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Convenience method to get a method from a class type without having to
catch the checked exceptions otherwise required.
- getMethod(Class<?>, String, Class<?>...) - Static method in class org.powermock.reflect.Whitebox
-
Convenience method to get a method from a class type without having to
catch the checked exceptions otherwise required.
- getMethod(Class<?>, Class<?>...) - Static method in class org.powermock.reflect.Whitebox
-
Convenience method to get a method from a class type without having to
catch the checked exceptions otherwise required.
- getMethodInvocationControl() - Method in class org.powermock.api.mockito.internal.mockcreation.MockCreator.MockData
-
- getMethodProxy() - Method in class org.powermock.api.mockito.repackaged.SerializableMockitoMethodProxy
-
- getMethodProxy(Method) - Static method in class org.powermock.core.MockRepository
-
- getMethods() - Method in class org.powermock.api.extension.listener.AnnotationMockMetadata
-
- getMethods(Class<?>, String...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get an array of Method
's that matches the supplied list of method
names.
- getMethods(Class<?>, String, Class<?>[], boolean) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get an array of Method
's that matches the method name and whose
argument types are assignable from expectedTypes
.
- getMethods(Class<?>, String...) - Static method in class org.powermock.reflect.Whitebox
-
Get an array of Method
's that matches the supplied list of method
names.
- getMethodsToSuppress() - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- getMethodsToSuppress() - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
- getMethodToStub(Method) - Static method in class org.powermock.core.MockRepository
-
- getMethodWithMostSpecificParameterTypes(Method, Method) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Find the method whose parameter types most closely matches the types
.
- getMock() - Method in class org.powermock.api.extension.listener.AnnotationMockMetadata
-
- getMock() - Method in class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing
-
- getMock() - Method in class org.powermock.api.mockito.internal.mockcreation.MockCreator.MockData
-
- getMock() - Method in class org.powermock.api.mockito.internal.verification.StaticMockAwareVerificationMode
-
- getMockAnnotations() - Method in class org.powermock.api.extension.listener.AnnotationEnabler
-
- getMockAnnotations() - Method in interface org.powermock.core.spi.listener.AnnotationEnablerListener
-
- getMockClassLoaderFactory(Class<?>, String[], String[], MockTransformer[]) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- getMockingFrameworkReporter() - Method in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl
-
- getMockingFrameworkReporterClass(ClassLoader) - Method in class org.powermock.api.extension.reporter.AbstractMockingFrameworkReporterFactory
-
- getMockingProgress() - Method in class org.powermock.api.mockito.internal.PowerMockitoCore
-
- getMockitoCoreForCurrentClassLoader() - Method in class org.powermock.api.extension.reporter.MockingFrameworkReporterFactoryImpl.MockitoMockingFrameworkReporter
-
- getMockitoReporter(Object) - Method in class org.powermock.api.extension.reporter.MockingFrameworkReporterFactoryImpl.MockitoMockingFrameworkReporter
-
- getMockPolicies(Class<?>) - Static method in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
-
Get the mock policies from a test-class.
- getMockSettings() - Method in class org.powermock.api.mockito.internal.mockmaker.PowerMockMaker.PowerMockInternalMockHandler
-
- getMockTransformers() - Method in class org.powermock.modules.testng.internal.ClassLoaderFactory
-
- getMockTransformers(MockTransformer[]) - Method in class org.powermock.tests.utils.impl.MockClassLoaderFactory
-
- getMockType() - Method in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
-
- getMyChar() - Method in class samples.suppressfield.SuppressField
-
- getMyInt() - Method in class samples.expectnew.PrimitiveAndWrapperDemo
-
- getMyObject() - Static method in class samples.suppressfield.SuppressField
-
- getMyOwnMessage() - Method in class samples.suppressconstructor.SuppressConstructorDemo
-
- getMySecondValue() - Method in class samples.suppressfield.SuppressField
-
- getMySet() - Static method in class samples.staticinitializer.StaticInitializerExample
-
- getMyString() - Method in class samples.spy.SpyObject
-
- getMyValue() - Method in class samples.simplemix.SimpleMixConstruction
-
- getMyValue() - Static method in class samples.suppressfield.SuppressField
-
- getMyWrappedBoolean() - Method in class samples.suppressfield.SuppressField
-
- getName() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
-
- getName() - Method in class samples.rule.ThingToTest
-
- getNewInstanceControl(Class<?>) - Static method in class org.powermock.core.MockRepository
-
- getNumber() - Method in class org.powermock.modules.junit4.common.internal.impl.VersionTokenizer
-
- getNumber() - Method in class samples.suppressconstructor.SuppressConstructorHierarchy
-
This method is just here to check if it works to execute several tests
with the same test suite class loader.
- getNumberFromInner() - Static method in class samples.singleton.StaticService
-
- getNumberFromInnerInstance() - Static method in class samples.singleton.StaticService
-
- getObject() - Method in class samples.suppressmethod.SuppressMethod
-
- getObject() - Method in class samples.suppressmethod.SuppressMethodExample
-
- getObjectStatic() - Static method in class samples.suppressmethod.SuppressMethod
-
- getObjectsToAutomaticallyReplayAndVerify() - Static method in class org.powermock.core.MockRepository
-
- getObjectWithArgument(String) - Method in class samples.suppressmethod.SuppressMethod
-
- getOwnMessage() - Method in class samples.privatefield.MockSelfPrivateFieldServiceClass
-
- getPackagesToDefer(String[]) - Static method in class org.powermock.core.classloader.MockClassLoader
-
- getPackagesToIgnore(AnnotatedElement) - Method in interface org.powermock.modules.testng.internal.ExpectedExceptionsExtractor
-
- getPackagesToIgnore(AnnotatedElement) - Method in class org.powermock.modules.testng.internal.PowerMockExpectedExceptionsExtractorImpl
-
- getPackagesToIgnore(AnnotatedElement) - Method in interface org.powermock.tests.utils.IgnorePackagesExtractor
-
- getPackagesToIgnore(AnnotatedElement) - Method in class org.powermock.tests.utils.impl.PowerMockIgnorePackagesExtractorImpl
-
- getParametersAsString(String[]) - Static method in class org.powermock.core.ClassReplicaCreator
-
- getParameterTypes(CtMethod) - Method in class org.powermock.core.ClassReplicaCreator
-
- getPotentialConstructorPrimitive(Class<T>, Class<?>[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
- getPotentialConstructorWrapped(Class<T>, Class<?>[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
- getPotentialVarArgsConstructor(Class<T>, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Gets the potential var args constructor.
- getPowerMockCoreForCurrentClassLoader() - Method in class org.powermock.api.extension.agent.JavaAgentFrameworkRegisterImpl
-
- getPowerMockTestListenersLoadedByASpecificClassLoader(Class<?>, ClassLoader) - Method in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
-
- getPrimitiveFromWrapperType(Class<?>) - Static method in class org.powermock.reflect.internal.primitivesupport.PrimitiveWrapper
-
Get the primitive counter part from a wrapped type.
- getPrivateMessage() - Method in class samples.staticandinstance.StaticAndInstanceDemo
-
- getProxiedMethods() - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- getProxiedMethods() - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Get all methods that should be proxied and the invocation handler for
each method.
- getQualifiedInjections() - Method in class org.powermock.api.extension.listener.AnnotationGlobalMetadata
-
- getQualifier() - Method in class org.powermock.api.extension.listener.AnnotationMockMetadata
-
- getRandomInteger() - Method in class samples.simplemix.SimpleMixCollaborator
-
- getRandomInteger() - Static method in class samples.simplemix.SimpleMixUtilities
-
- getReplicaMethodDelegationCode(Class<?>, CtMethod, String) - Method in class org.powermock.core.ClassReplicaCreator
-
- getResource(String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
-
- getResourceAsStream(String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
-
- getResources(String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
-
- getResult(Method, Object, Object[]) - Method in class org.powermock.classloading.AbstractClassloaderExecutor
-
- getResult() - Method in class org.powermock.core.spi.testresult.impl.TestMethodResultImpl
-
- getResult() - Method in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
-
- getResult() - Method in interface org.powermock.core.spi.testresult.TestMethodResult
-
- getResult() - Method in interface org.powermock.core.spi.testresult.TestSuiteResult
-
- getResult() - Method in class org.powermock.modules.junit4.internal.impl.NotificationBuilder.OngoingTestRun
-
- getResult() - Method in class samples.mockpolicy.SimpleClassWithADependency
-
- getResult() - Method in class samples.mockpolicy.SomeClassWithAMethod
-
- getResult() - Method in class samples.mockpolicy.SomeClassWithAMethodParent
-
- getReturnCode(CtClass) - Method in class org.powermock.core.ConcreteClassGenerator
-
- getReturnTypeAsString(CtMethod) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
-
- getRunnerDelegateImplClass(Class<?>) - Static method in class org.powermock.modules.junit4.PowerMockRunner
-
- getSecondMessage() - Method in class samples.partialmocking.MockSelfDemoWithSubClass
-
- getService() - Method in class samples.constructor.PublicConstructorWithDependencyDemo
-
- getServiceMessage() - Method in class samples.annotationbased.AnnotationDemo
-
- getServiceMessage() - Method in interface samples.Service
-
- getServiceMessageFromInnerClass() - Method in class samples.anonymousmocking.StupidAnonymous
-
- getShort() - Method in class samples.suppressmethod.SuppressMethod
-
- getSomething() - Static method in class samples.partialmocking.MockSelfDemo
-
- getStackTraceCleaner(StackTraceCleaner) - Method in class org.powermock.api.mockito.internal.exceptions.StackTraceCleanerProvider
-
- getState() - Method in class samples.constructor.PrivateConstructorInstantiationDemo
-
- getState() - Static method in class samples.partialmocking.MockWithStaticStateDemo
-
- getStaticInitializersToSuppress() - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
-
- getStaticInitializersToSuppress() - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
-
- getStaticMessage() - Static method in class samples.staticandinstance.StaticAndInstanceDemo
-
- getStaticMethodInvocationControl(Class<?>) - Static method in class org.powermock.core.MockRepository
-
- getStaticString() - Static method in class samples.staticinitializer.AbstractStaticInitializerExample
-
- getStaticSuppressionClasses(Class<?>, Method) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- getString() - Static method in enum samples.enummocking.MyEnum
-
- getString() - Method in class samples.methodhierarchy.MethodInvocationDemo
-
- getString() - Method in class samples.methodhierarchy.MethodInvocationDemoGrandParent
-
- getString(int) - Method in class samples.methodhierarchy.MethodInvocationDemoGrandParent
-
- getString() - Method in class samples.methodhierarchy.MethodInvocationDemoParent
-
- getString() - Method in class samples.partialmocking.MockSelfDemo
-
- getString(String) - Method in class samples.partialmocking.MockSelfDemo
-
- getString() - Method in class samples.staticinitializer.AbstractStaticInitializerExample
-
- getString() - Method in class samples.staticinitializer.SimpleStaticInitializerExample
-
- getString2(String) - Method in class samples.partialmocking.MockSelfDemo
-
- getString2() - Method in class samples.partialmocking.MockSelfDemo
-
- getStringObject() - Method in class samples.suppressmethod.SuppressMethodExample
-
- getStringObjectStatic() - Static method in class samples.suppressmethod.SuppressMethodExample
-
- getStringTwo() - Method in class samples.spy.SpyObject
-
- getStubbedMethods() - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- getStubbedMethods() - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Get all substitute return values and also returns an unmodifiable map of
all method-object pairs the were initialized.
- getSubstitute() - Method in class org.powermock.api.mockito.internal.invocation.MockitoNewInvocationControl
-
- getSubstituteReturnValues() - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- getSubstituteReturnValues() - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
- getSuccessCount() - Method in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
-
- getSuccessCount() - Method in interface org.powermock.core.spi.testresult.TestSuiteResult
-
- getSuffix() - Method in class org.powermock.modules.junit4.common.internal.impl.VersionTokenizer
-
- getSuiteClass() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
-
- getSystemProperty() - Method in class samples.system.SystemClassUser
-
- getTag() - Method in class org.powermock.api.mockito.repackaged.MockitoNamingPolicy
-
- getTestChunk(Method) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- getTestChunk(Method) - Method in interface org.powermock.tests.utils.TestSuiteChunker
-
Get TestChunk for the given method.
- getTestChunks() - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- getTestChunks() - Method in class org.powermock.tests.utils.impl.TestCaseEntry
-
- getTestChunks() - Method in interface org.powermock.tests.utils.TestSuiteChunker
-
Get all chunk entries.
- getTestChunksEntries(Class<?>) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
Get all chunk entries for a specific class.
- getTestChunksEntries(Class<?>) - Method in interface org.powermock.tests.utils.TestSuiteChunker
-
Get all chunk entries for a specific class.
- getTestClass() - Method in interface org.powermock.modules.junit4.common.internal.PowerMockJUnitRunnerDelegate
-
- getTestClass() - Method in class org.powermock.modules.junit4.internal.impl.DelegatingPowerMockRunner
-
- getTestClass() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
-
- getTestClass() - Method in class org.powermock.tests.utils.impl.TestCaseEntry
-
- getTestClasses(AnnotatedElement) - Method in class org.powermock.tests.utils.impl.AbstractTestClassExtractor
-
If element
is a class this method traverses the hierarchy
and extracts classes that should be prepared for test in all super
classes.
- getTestClasses() - Method in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
-
- getTestClasses(AnnotatedElement) - Method in interface org.powermock.tests.utils.TestClassesExtractor
-
- getTestCount() - Method in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
-
- getTestCount() - Method in interface org.powermock.core.spi.testresult.TestSuiteResult
-
- getTestCount() - Method in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl
-
- getTestCount() - Method in interface org.powermock.modules.junit4.common.internal.PowerMockJUnitRunnerDelegate
-
- getTestCount() - Method in class org.powermock.modules.junit4.internal.impl.DelegatingPowerMockRunner
-
- getTestCount() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
-
- getTestCount() - Method in interface org.powermock.tests.utils.RunnerTestSuiteChunker
-
Get the number of total tests defined in the suite (the sum of all tests
defined in all chunks for this suite).
- getTestMethods(Class<?>, String[]) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
-
- getTestMethods(TestClass, Class<?>) - Method in class org.powermock.modules.junit4.internal.impl.testcaseworkaround.PowerMockJUnit4MethodValidator
-
- getTestMethodsToBeExecutedByThisClassloader() - Method in class org.powermock.tests.utils.impl.TestChunkImpl
- getTestMethodsToBeExecutedByThisClassloader() - Method in interface org.powermock.tests.utils.TestChunk
-
- getTestMethodsWithNoAnnotation(Class<?>) - Method in class org.powermock.modules.junit4.internal.impl.testcaseworkaround.PowerMockJUnit4MethodValidator
-
- getTestWrappedClass() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
-
- getTheSecret() - Method in class samples.constructorargs.ConstructorArgsDemo
-
- getTheString() - Method in class samples.methodhierarchy.MethodInvocationDemoGrandParent
-
- getTheString() - Method in class samples.methodhierarchy.MethodInvocationDemoParent
-
- getThingName() - Method in interface samples.rule.SimpleThing
-
- getThingName() - Method in class samples.rule.SimpleThingImpl
-
- getTwoStrings() - Method in class samples.partialmocking.MockSelfDemo
-
- getType() - Method in class org.powermock.api.extension.listener.AnnotationMockMetadata
-
- getType(T) - Static method in class org.powermock.classloading.DeepCloner
-
- getType(String, String) - Method in class org.powermock.mockpolicies.support.LogPolicySupport
-
Get the class type representing the fully-qualified name.
- getType(Object) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Gets the type.
- getType(Object) - Static method in class org.powermock.reflect.Whitebox
-
- getTypeAsPrimitiveIfWrapped(Object) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get the type of an object and convert it to primitive if the type has a
primitive counter-part.
- getTypes(Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Gets the types.
- getUnmockedType(Class<T>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Gets the unmocked type.
- getUnproxiedType(Class<?>) - Method in class org.powermock.api.extension.proxyframework.ProxyFrameworkImpl
-
Check if the class is a proxy and if it is return the unproxied type.
- getUnproxiedType(Class<?>) - Method in interface org.powermock.reflect.spi.ProxyFramework
-
Check if the class is a proxy and if it is return the unproxied type.
- getUnqualifiedInjections() - Method in class org.powermock.api.extension.listener.AnnotationGlobalMetadata
-
- getValue() - Method in class org.powermock.core.ListMap.SimpleEntry
-
- getValue() - Method in class samples.abstractmocking.AbstractMethodMocking
-
- getValue() - Method in class samples.classhierarchy.Parent
-
- getValue() - Method in class samples.classwithinnermembers.ClassWithInnerMembers
-
- getValue() - Method in class samples.packageprivate.PackagePrivateClass
-
- getValue() - Method in class samples.simplemix.SimpleMix
-
- getValueForAnonymousInnerClass() - Method in class samples.classwithinnermembers.ClassWithInnerMembers
-
- getValueForInnerClassWithConstructorArgument() - Method in class samples.classwithinnermembers.ClassWithInnerMembers
-
- getValueForStaticInnerClassWithConstructorArgument() - Method in class samples.classwithinnermembers.ClassWithInnerMembers
-
- getVerificationMode() - Method in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
-
- getVerificationModeFromMockProgress(MockingProgress) - Method in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
-
- globalMetadata - Variable in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
-
- globalMetadata - Variable in class org.powermock.api.extension.listener.TestSubjectInjector
-
- GlobalNotificationBuildSupport - Class in org.powermock.core.testlisteners
-
Core static utility to help modules, such as PowerMockRunner, that needs to
communicate with some 3rd-party framework in order to properly fire
events to PowerMockTestListener instances.
- GlobalNotificationBuildSupport() - Constructor for class org.powermock.core.testlisteners.GlobalNotificationBuildSupport
-
- GlobalNotificationBuildSupport.Callback - Interface in org.powermock.core.testlisteners
-
- IdentityHashSet<E> - Class in org.powermock.core
-
- IdentityHashSet() - Constructor for class org.powermock.core.IdentityHashSet
-
- IGNORE_BRIDGE_METHODS - Static variable in class org.powermock.api.mockito.repackaged.ClassImposterizer
-
- ignoreCount - Variable in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
-
- ignoreCount - Variable in class org.powermock.modules.junit4.common.internal.impl.PowerMockJUnit4RunListener
-
- ignorePackagesExtractor - Variable in class org.powermock.modules.testng.internal.ClassLoaderFactory
-
- IgnorePackagesExtractor - Interface in org.powermock.tests.utils
-
- ignorePackagesExtractor - Variable in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- imposterise(MethodInterceptor, Class<T>, Collection<Class>) - Method in class org.powermock.api.mockito.repackaged.ClassImposterizer
-
- imposterise(MethodInterceptor, Class<T>, Class<?>...) - Method in class org.powermock.api.mockito.repackaged.ClassImposterizer
-
- includeMethods - Variable in class org.powermock.tests.utils.impl.AbstractTestClassExtractor
-
- IndicateReloadClass - Class in org.powermock.core
-
- IndicateReloadClass() - Constructor for class org.powermock.core.IndicateReloadClass
-
- init(Object) - Method in class org.powermock.modules.junit4.rule.PowerMockRule
-
- init() - Static method in class samples.largemethod.MethodExceedingJvmLimit
-
Method size after instrumentation is equal to 91265.
- initEntries(List<TestCaseEntry>) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- initialize(ClassLoader) - Method in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
-
Initializes the mock policies for a given class loader.
- initialize(MockClassLoader) - Method in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
- initialize(ClassLoader) - Method in interface org.powermock.tests.utils.MockPolicyInitializer
-
Initializes the mock policies for a given class loader.
- initialize() - Method in class samples.partialmocking.PartialMockingWithConstructor
-
- initialize() - Method in class samples.swing.SimpleSwingDemo
-
- initializeInterceptionSettings() - Method in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
-
- initializeMockForThread(LogPolicySupport) - Method in class org.powermock.api.mockito.mockpolicies.Slf4jMockPolicy
-
- initializeMockPolicy() - Method in class org.powermock.modules.testng.internal.TestClassInstanceFactory
-
- initiatedTestSuiteClasses - Static variable in class org.powermock.core.testlisteners.GlobalNotificationBuildSupport
-
- initInjectMocksSupported() - Method in class org.powermock.api.easymock.EasyMockConfiguration
-
- initReallyEasyMock() - Method in class org.powermock.api.easymock.EasyMockConfiguration
-
- initTestSubjectSupported() - Method in class org.powermock.api.easymock.EasyMockConfiguration
-
- inject(Object, Class<? extends Annotation>, AnnotationMockCreator) - Method in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
-
- inject(Object, AnnotationMockMetadata) - Method in class org.powermock.api.extension.listener.TestSubjectInjector.InjectionTarget
-
- injectByName(Set<Field>, Object) - Method in class org.powermock.api.extension.listener.TestSubjectInjector
-
- injectByType(Set<Field>, Object) - Method in class org.powermock.api.extension.listener.TestSubjectInjector
-
- injectDefaultMocks() - Method in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
-
- InjectDemo - Class in samples.injectmocks
-
- InjectDemo() - Constructor for class samples.injectmocks.InjectDemo
-
- injectDemo - Variable in class samples.injectmocks.InjectDependencyHolder
-
- injectDemo - Variable in class samples.injectmocks.InjectDependencyHolderQualifier
-
- injectDemoQualifier - Variable in class samples.injectmocks.InjectDependencyHolderQualifier
-
- InjectDependencyHolder - Class in samples.injectmocks
-
Simple class used to demonstrate setter injection..
- InjectDependencyHolder() - Constructor for class samples.injectmocks.InjectDependencyHolder
-
- InjectDependencyHolderQualifier - Class in samples.injectmocks
-
Simple class used to demonstrate setter injection..
- InjectDependencyHolderQualifier() - Constructor for class samples.injectmocks.InjectDependencyHolderQualifier
-
- InjectionTarget(Field) - Constructor for class org.powermock.api.extension.listener.TestSubjectInjector.InjectionTarget
-
- injectMock(Object, AnnotationMockMetadata, AnnotationMockCreator, EasyMockAnnotationSupport.InjectFieldSearcher) - Method in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
-
- injectMocks() - Method in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
-
- injectMocks() - Method in class org.powermock.modules.testng.PowerMockTestCase
-
- injectMocksSupported - Variable in class org.powermock.api.easymock.EasyMockConfiguration
-
- injectMocksUsingAnnotationEnabler(Object) - Method in class org.powermock.modules.testng.internal.PowerMockTestNGMethodHandler
-
- injectNiceMocks() - Method in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
-
- injectStrictMocks() - Method in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
-
- injectTestSubjectFields(Object) - Method in class org.powermock.api.extension.listener.TestSubjectInjector
-
- injectTestSubjectMocks() - Method in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
-
- injectTestSubjectMocks() - Method in class org.powermock.api.extension.listener.TestSubjectInjector
-
- InnerClass() - Constructor for class samples.innerclassmocking.ClassWithNonPrivateInnerClass.InnerClass
-
- InnerClass() - Constructor for class samples.innerclassmocking.ClassWithPrivateInnerClass.InnerClass
-
- INSTANCE - Static variable in class org.powermock.api.easymock.EasyMockConfiguration
-
- INSTANCE - Static variable in class org.powermock.api.mockito.repackaged.MockitoNamingPolicy
-
- instanceLocalCurrentlySerializingFlag - Variable in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature
-
- instanceMocks - Static variable in class org.powermock.core.MockRepository
-
Holds info about general method invocation mocks for instances.
- instantiateArray(ClassLoader, Class<?>, Object, boolean) - Method in class org.powermock.classloading.DeepCloner
-
- instantiateFieldType(Field) - Static method in class org.powermock.core.DefaultFieldValueGenerator
-
- instantiateUseMe() - Method in class samples.reflection.ReflectionInstantiator
-
- instantiator - Variable in class org.powermock.api.mockito.repackaged.ClassImposterizer
-
- intercept(Object, Method, Object[], MethodProxy) - Method in class org.powermock.api.mockito.internal.mockcreation.PowerMockMethodInterceptorFilter
-
- intercept(Object, Method, Object[], MethodProxy) - Method in class org.powermock.api.mockito.repackaged.MethodInterceptorFilter
-
- InterfaceA - Interface in samples.staticinitializer
-
- InterfaceB - Interface in samples.staticinitializer
-
- InterfaceC - Interface in samples.staticinitializer
-
- InterfaceComputation - Class in samples.staticinitializer
-
- InterfaceComputation() - Constructor for class samples.staticinitializer.InterfaceComputation
-
- InterfaceJavaAssistClassMarker(ClassPool) - Constructor for class org.powermock.core.classloader.JavaAssistClassMarkerFactory.InterfaceJavaAssistClassMarker
-
- InterfaceMethodHierarchyUsage - Class in samples.interfacemethodfinding
-
- InterfaceMethodHierarchyUsage() - Constructor for class samples.interfacemethodfinding.InterfaceMethodHierarchyUsage
-
- InterfaceMockTransformer - Class in org.powermock.core.transformers.impl
-
- InterfaceMockTransformer() - Constructor for class org.powermock.core.transformers.impl.InterfaceMockTransformer
-
- InterfaceMockTransformer(TransformStrategy) - Constructor for class org.powermock.core.transformers.impl.InterfaceMockTransformer
-
- InterfaceWithStaticFinalField - Interface in samples.interfacefieldchange
-
The purpose of the simple class is to demonstrate PowerMocks (possibly
future) ability to change static final fields in an interface.
- INTERNAL_INDEX_NOT_FOUND - Static variable in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- internalGetNumberFromInnerInstance() - Method in class samples.singleton.StaticService
-
- internalSuites - Variable in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- ints - Variable in class samples.expectnew.VarArgsConstructorDemo
-
- intValue - Static variable in class samples.singleton.StaticService
-
- invocationControl - Variable in class org.powermock.api.mockito.internal.verification.DefaultConstructorArgumentsVerfication
-
- InvocationControlAssertionError - Class in org.powermock.api.mockito.internal.invocation
-
- InvocationControlAssertionError() - Constructor for class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
-
- invocationHandler - Variable in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
-
- InvocationSubstitute<T> - Interface in org.powermock.core.spi.support
-
A class that can be used as a substitution instead of mocking a particular
class.
- invoke(Object, Method, Object[]) - Method in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
-
- invoke(Class<?>, Object[], Class<?>[]) - Method in class org.powermock.api.easymock.internal.invocationcontrol.NewInvocationControlImpl
-
- invoke() - Method in class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing.InvokeStubMethod
-
- invoke(Object, Method, Object[]) - Method in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
-
- invoke(Class<?>, Object[], Class<?>[]) - Method in class org.powermock.api.mockito.internal.invocation.MockitoNewInvocationControl
-
- invoke(Object...) - Method in class org.powermock.api.mockito.internal.verification.DefaultPrivateMethodVerification
-
- invoke(String, Object...) - Method in class org.powermock.api.mockito.internal.verification.DefaultPrivateMethodVerification
-
- invoke(Method) - Method in class org.powermock.api.mockito.internal.verification.DefaultPrivateMethodVerification
-
- invoke(Object...) - Method in interface org.powermock.api.mockito.verification.PrivateMethodVerification
-
Verify calls to private methods without having to specify the method
name.
- invoke(Method) - Method in interface org.powermock.api.mockito.verification.PrivateMethodVerification
-
Verify calls to the specific method.
- invoke(String, Object...) - Method in interface org.powermock.api.mockito.verification.PrivateMethodVerification
-
Verify a private method call by specifying the method name of the method
to verify.
- invoke(Object, Method, Object[]) - Method in class org.powermock.api.support.membermodification.strategy.impl.MethodReplaceStrategyImpl.MethodInvocationHandler
-
- invoke(Class<?>, Object[], Class<?>[]) - Method in interface org.powermock.core.spi.NewInvocationControl
-
Invoke the invocation control
- invoke(String, Object...) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
-
- invoke(Object, Method, Method, Object[]) - Method in class org.powermock.modules.testng.internal.PowerMockTestNGMethodHandler
-
- invokeAPrivateVoidMethod(int) - Method in class samples.expectvoid.ExpectVoidDemo
-
- invokeConstructor(Class<T>, Class<?>[], Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Invoke a constructor.
- invokeConstructor(Class<T>, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Invoke a constructor.
- invokeConstructor(Class<T>, Class<?>[], Object[]) - Static method in class org.powermock.reflect.Whitebox
-
Invoke a constructor.
- invokeConstructor(Class<T>, Object...) - Static method in class org.powermock.reflect.Whitebox
-
Invoke a constructor.
- InvokeConstructor - Class in samples.suppressconstructor
-
- InvokeConstructor() - Constructor for class samples.suppressconstructor.InvokeConstructor
-
- invokeInitializeInterceptionSettingsFromClassLoader(MockClassLoader) - Method in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
-
- invokeMethod(Object, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Invoke a private or inner class method without the need to specify the
method name.
- invokeMethod(Class<?>, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Invoke a private or inner class method without the need to specify the
method name.
- invokeMethod(Object, String, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Invoke a private or inner class method.
- invokeMethod(Object, String, Class<?>[], Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Invoke a private or inner class method in cases where power mock cannot
automatically determine the type of the parameters, for example when
mixing primitive types and wrapper types in the same method.
- invokeMethod(Object, String, Class<?>, Class<?>[], Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Invoke a private or inner class method in a subclass (defined by
definedIn
) in cases where power mock cannot automatically
determine the type of the parameters, for example when mixing primitive
types and wrapper types in the same method.
- invokeMethod(Object, Class<?>, String, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Invoke a private or inner class method in that is located in a subclass
of the tested instance.
- invokeMethod(Object, Class<?>, String, Class<?>[], Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Invoke a private method in that is located in a subclass of an instance.
- invokeMethod(Class<?>, String, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Invoke a private or inner class method.
- invokeMethod(Object, Object...) - Static method in class org.powermock.reflect.Whitebox
-
Invoke a private or inner class method without the need to specify the
method name.
- invokeMethod(Class<?>, Object...) - Static method in class org.powermock.reflect.Whitebox
-
Invoke a private or inner class static method without the need to specify
the method name.
- invokeMethod(Object, String, Object...) - Static method in class org.powermock.reflect.Whitebox
-
Invoke a private or inner class method.
- invokeMethod(Object, String, Class<?>[], Object...) - Static method in class org.powermock.reflect.Whitebox
-
Invoke a private or inner class method in cases where PowerMock cannot
automatically determine the type of the parameters, for example when
mixing primitive types and wrapper types in the same method.
- invokeMethod(Object, String, Class<?>, Class<?>[], Object...) - Static method in class org.powermock.reflect.Whitebox
-
Invoke a private or inner class method in a subclass (defined by
definedIn
) in cases where PowerMock cannot automatically
determine the type of the parameters, for example when mixing primitive
types and wrapper types in the same method.
- invokeMethod(Object, Class<?>, String, Object...) - Static method in class org.powermock.reflect.Whitebox
-
Invoke a private or inner class method in that is located in a subclass
of the instance.
- invokeMethod(Object, Class<?>, String, Class<?>[], Object...) - Static method in class org.powermock.reflect.Whitebox
-
Invoke a private or inner class method in that is located in a subclass
of the instance.
- invokeMethod(Class<?>, String, Object...) - Static method in class org.powermock.reflect.Whitebox
-
Invoke a static private or inner class method.
- invokeNative(String) - Method in class samples.nativemocking.NativeService
-
- invokeNativeMethod(String) - Method in class samples.nativemocking.NativeMockingSample
-
- InvokeStubMethod() - Constructor for class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing.InvokeStubMethod
-
- invokeSubstitute(Object...) - Method in class org.powermock.api.mockito.internal.verification.DefaultConstructorArgumentsVerfication
-
- invokeSuper(Object, Object[]) - Method in class org.powermock.api.mockito.repackaged.DelegatingMockitoMethodProxy
-
- invokeSuper(Object, Object[]) - Method in class org.powermock.api.mockito.repackaged.SerializableMockitoMethodProxy
-
- invokeTestMethod(Method, RunNotifier) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
-
- invokeVarArgsMethod(int, int) - Method in class samples.privatemocking.PrivateMethodDemo
-
- invokeVoid(StringBuilder) - Method in class samples.suppressmethod.SuppressMethod
-
- invokeVoidMethod() - Method in class samples.expectnew.ExpectNewDemo
-
- invokeVoidMethod() - Method in class samples.newmocking.StupidNew
-
- isAssignableFrom(Class<?>, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
- isClass(Object) - Static method in class org.powermock.classloading.DeepCloner
-
- isClass(Class<?>) - Static method in class org.powermock.core.DefaultFieldValueGenerator
-
- isClass(Object) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Checks if is class.
- isClassAnnotatedWithPowerMockAnnotation(Class<?>) - Method in class org.powermock.modules.testng.PowerMockObjectFactory
-
- isContextClassLoaderShouldBeUsed(String[]) - Method in class org.powermock.tests.utils.impl.MockClassLoaderFactory
-
- isEasyMocked(Object) - Static method in class org.powermock.api.easymock.PowerMock
-
Test if a object is a mock created by EasyMock or not.
- isEmpty() - Method in class org.powermock.core.ListMap
-
- isEmpty(T[]) - Static method in class org.powermock.utils.ArrayUtil
-
- isEquals(Method) - Method in class org.powermock.modules.testng.internal.TestNGMethodFilter
-
- isFinalize(Method) - Method in class org.powermock.modules.testng.internal.TestNGMethodFilter
-
- isFinalJavaSystemClass(Class<T>) - Method in class org.powermock.api.mockito.internal.mockcreation.MockCreator
-
- isGetClassMethod(String, Class<?>[]) - Static method in class org.powermock.core.MockGateway
-
- isGreaterThanOrEqualTo(String) - Static method in class org.powermock.modules.junit4.common.internal.impl.JUnitVersion
-
- isHandled(Method) - Method in class org.powermock.modules.testng.internal.TestNGMethodFilter
-
- isHashCode(Method) - Method in class org.powermock.modules.testng.internal.TestNGMethodFilter
-
- isImpliticlySerializable(Class<?>) - Static method in class org.powermock.classloading.DeepCloner
-
- isInjectMocksSupported() - Method in class org.powermock.api.easymock.EasyMockConfiguration
-
- isInVerificationMode() - Method in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
-
- isIterable(Object) - Static method in class org.powermock.classloading.DeepCloner
-
- isIterable(Class<?>) - Static method in class org.powermock.classloading.DeepCloner
-
- isJavaReflectClass(Class<?>) - Method in class org.powermock.classloading.DeepCloner
-
- isJavaReflectMethod(Class<?>) - Method in class org.powermock.classloading.DeepCloner
-
- isJavaStandardMethod(String, Class<?>[]) - Static method in class org.powermock.core.MockGateway
-
- isJUnit3TestMethod() - Method in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestMethodChecker
-
- isJUnit4TestMethod() - Method in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestMethodChecker
-
- isLastFinding(int) - Static method in class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
-
- isLoadedByBootstrap(Class) - Static method in class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory
-
- isLoadedByPowerMockClassloader() - Method in class org.powermock.modules.testng.PowerMockTestCase
-
- isMethodSizeExceeded(CtMethod) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
-
- isMethodToBeExecutedByThisClassloader(Method) - Method in class org.powermock.tests.utils.impl.TestChunkImpl
-
- isMethodToBeExecutedByThisClassloader(Method) - Method in interface org.powermock.tests.utils.TestChunk
-
- isMocked(Method) - Method in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
-
Determine whether a certain method is mocked by this Invocation Control.
- isMocked(Method) - Method in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
-
Determine whether a certain method is mocked by this Invocation Control.
- isMocked(Method) - Method in interface org.powermock.core.spi.MethodInvocationControl
-
Determine whether a certain method is mocked by this Invocation Control.
- isMockito1() - Static method in class samples.powermockito.MockitoVersion
-
- isMockito1() - Method in class samples.powermockito.MockitoVersion.SystemPropertiesMockitoVersion
-
- isMockito2() - Static method in class samples.powermockito.MockitoVersion
-
- isMockito2() - Method in class samples.powermockito.MockitoVersion.SystemPropertiesMockitoVersion
-
- isModifiedByAgent() - Method in class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory.JavaAgentMockTypeValidator
-
- isModifiedByAgent(ClassLoader, String) - Method in interface org.powermock.core.agent.JavaAgentClassRegister
-
Check if class with className
has been modified for the given class loader
- isModifiedByPowerMock() - Method in class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory.DefaultMockTypeValidator
-
- isMyBoolean() - Method in class samples.suppressfield.SuppressField
-
- isNestedWithinTestClass(CtClass) - Method in class org.powermock.core.transformers.impl.TestClassTransformer
-
- isNiceReplayAndVerifyMode() - Static method in class org.powermock.api.easymock.PowerMock
-
- isNotRuleInitialized(Object) - Method in class org.powermock.modules.junit4.rule.PowerMockRule
-
- isOneArgumentMethodOfType(Method, Class<?>) - Method in class org.powermock.modules.testng.internal.TestNGMethodFilter
-
- isParametersLengthMatch() - Method in class org.powermock.reflect.internal.ParameterTypesMatcher
-
- isParametersMatch() - Method in class org.powermock.reflect.internal.ParameterTypesMatcher
-
- isParameterTypesNotMatch(Class<?>, Class<?>) - Method in class org.powermock.reflect.internal.ParameterTypesMatcher
-
- isPotentialVarArgsConstructor(Constructor<?>, Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Checks if is potential var args constructor.
- isPotentialVarArgsMethod(Method, Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Checks if is potential var args method.
- isPrepared(AnnotatedElement, String) - Method in class org.powermock.tests.utils.impl.AbstractTestClassExtractor
-
- isPrepared(String) - Method in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
-
- isPrepared(String) - Method in interface org.powermock.tests.utils.MockPolicyInitializer
-
- isPrepared(AnnotatedElement, String) - Method in interface org.powermock.tests.utils.TestClassesExtractor
-
- isProxy(Class<?>) - Method in class org.powermock.api.extension.proxyframework.ProxyFrameworkImpl
- isProxy(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Checks if is proxy.
- isProxy(Class<?>) - Method in interface org.powermock.reflect.spi.ProxyFramework
-
- isReallyEasyMock() - Method in class org.powermock.api.easymock.EasyMockConfiguration
-
- isRemainParamsVarArgs(int, Class<?>) - Method in class org.powermock.reflect.internal.ParameterTypesMatcher
-
- isSerializable(Class<?>) - Static method in class org.powermock.classloading.DeepCloner
-
- isSerializableCandidate(Class<T>, Object) - Method in class org.powermock.classloading.DeepCloner
-
- isStandardJavaType(Class<T>) - Static method in class org.powermock.classloading.DeepCloner
-
- isStaticFinalModifier(Field) - Static method in class org.powermock.classloading.DeepCloner
-
- isSunClass(Class<?>) - Method in class org.powermock.classloading.DeepCloner
-
- isTestClass(CtClass) - Method in class org.powermock.core.transformers.impl.TestClassTransformer
-
- isTestMethod() - Method in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestMethodChecker
-
- isTestSubjectSupported() - Method in class org.powermock.api.easymock.EasyMockConfiguration
-
- isToString(Method) - Method in class org.powermock.modules.testng.internal.TestNGMethodFilter
-
- isVarArgs - Variable in class org.powermock.reflect.internal.ParameterTypesMatcher
-
- isWriteReplace(Method) - Method in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature
-
- isZeroArgumentMethod(Method) - Method in class org.powermock.modules.testng.internal.TestNGMethodFilter
-
- itemMap - Static variable in class samples.suppressfield.ItemRepository
-
- ItemRepository - Class in samples.suppressfield
-
- ItemRepository() - Constructor for class samples.suppressfield.ItemRepository
-
- ItemRepository.MyClass - Class in samples.suppressfield
-
- iterator() - Method in class org.powermock.core.IdentityHashSet
-
- main(String[]) - Static method in class samples.staticinitializer.InterfaceComputation
-
- main(String[]) - Static method in class samples.swing.SimpleSwingDemo
-
- makeDate() - Method in class samples.expectnew.ExpectNewDemo
-
- makeDeferConstructorNonPublic(CtClass) - Method in class org.powermock.core.transformers.impl.TestClassTransformer
-
- makeSureArrayContainsTestClassName(String[], String) - Method in class org.powermock.tests.utils.impl.MockClassLoaderFactory
-
- map - Variable in class samples.fieldmock.FieldInitializerDemo
-
- mark(CtClass) - Method in interface org.powermock.core.classloader.JavaAssistClassMarker
-
Mark type as loaded by PowerMock
- mark(CtClass) - Method in class org.powermock.core.classloader.JavaAssistClassMarkerFactory.InterfaceJavaAssistClassMarker
-
- match() - Method in class org.powermock.reflect.internal.ParameterTypesMatcher
-
- matches(String, String) - Static method in class org.powermock.core.WildcardMatcher
-
Performs a wildcard matching for the text and pattern provided.
- matches(Field) - Method in class org.powermock.reflect.internal.matcherstrategies.AllFieldsMatcherStrategy
-
- matches(Field) - Method in class org.powermock.reflect.internal.matcherstrategies.AssignableFromFieldTypeMatcherStrategy
-
- matches(Field) - Method in class org.powermock.reflect.internal.matcherstrategies.AssignableToFieldTypeMatcherStrategy
-
- matches(Field) - Method in class org.powermock.reflect.internal.matcherstrategies.FieldAnnotationMatcherStrategy
-
- matches(Field) - Method in class org.powermock.reflect.internal.matcherstrategies.FieldMatcherStrategy
-
A field matcher that checks if a field matches a given criteria.
- matches(Field) - Method in class org.powermock.reflect.internal.matcherstrategies.FieldNameMatcherStrategy
-
- matches(Field) - Method in class org.powermock.reflect.internal.matcherstrategies.FieldTypeMatcherStrategy
-
- matchesAny(Collection<String>, String) - Static method in class org.powermock.core.WildcardMatcher
-
- matchesAny(Iterable<String>, String) - Static method in class org.powermock.core.WildcardMatcher
-
- matchesAny(String[], String) - Static method in class org.powermock.core.WildcardMatcher
-
- MemberMatcher - Class in org.powermock.api.support.membermodification
-
Finds members in classes.
- MemberMatcher() - Constructor for class org.powermock.api.support.membermodification.MemberMatcher
-
- MemberModifier - Class in org.powermock.api.support.membermodification
-
Contains various utilities for modifying members of classes such as
constructors, fields and methods.
- MemberModifier() - Constructor for class org.powermock.api.support.membermodification.MemberModifier
-
- merge(String, String...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
-
- merge(Method, Method...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
-
- merge(Field, Field...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
-
- merge(Constructor<?>, Constructor<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
-
- mergeArgumentTypes(Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
-
- mergeArrays(Class<T>, T[]...) - Method in interface org.powermock.tests.utils.ArrayMerger
-
Merge arrays of a specific type.
- mergeArrays(Class<T>, T[]...) - Method in class org.powermock.tests.utils.impl.ArrayMergerImpl
-
- message - Variable in class samples.suppressconstructor.SuppressConstructorHierarchyParent
-
- message - Variable in class samples.suppressconstructor.SuppressConstructorSubclassDemo
-
- messageStorage - Static variable in class samples.singleton.StaticService
-
- method - Variable in class org.powermock.api.mockito.internal.expectation.DefaultMethodExpectationSetup
-
- method - Variable in class org.powermock.api.mockito.internal.expectation.DefaultPrivatelyExpectedArguments
-
- method - Variable in class org.powermock.api.mockito.internal.verification.DefaultPrivateMethodVerification.VerificationArguments
-
- method(Class<?>, String, Class<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
-
Get a method when it cannot be determined by methodName or parameter
types only.
- method(Class<?>, Class<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
-
Get a method without having to specify the method name.
- method - Variable in class org.powermock.api.support.membermodification.strategy.impl.MethodReplaceStrategyImpl
-
- method - Variable in class org.powermock.api.support.membermodification.strategy.impl.MethodStubStrategyImpl
-
- method - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner.TestExecutorStatement
-
- METHOD_CODE_LENGTH_LIMIT - Static variable in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
-
- methodCall(Class<?>, String, Object[], Class<?>[], String) - Static method in class org.powermock.core.MockGateway
-
- methodCall(Object, String, Object[], Class<?>[], String) - Static method in class org.powermock.core.MockGateway
-
- methodCallingPrimitiveTestMethod() - Method in class samples.privatemocking.PrivateMethodDemo
-
- methodCallingWrappedTestMethod() - Method in class samples.privatemocking.PrivateMethodDemo
-
- MethodComparator(ComparatorFactory.ParametersComparator) - Constructor for class org.powermock.reflect.internal.comparator.ComparatorFactory.MethodComparator
-
- methodDelegator - Variable in class org.powermock.api.support.membermodification.strategy.impl.MethodReplaceStrategyImpl.MethodInvocationHandler
-
- methodDescription(Method) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
-
- methodDisplayNameRgx - Static variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
-
- MethodExceedingJvmLimit - Class in samples.largemethod
-
Example of class with method which after instrumentation is larger than JVM limit.
- MethodExceedingJvmLimit() - Constructor for class samples.largemethod.MethodExceedingJvmLimit
-
- methodInterceptorFilter - Variable in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
-
- MethodInterceptorFilter - Class in org.powermock.api.mockito.repackaged
-
Should be one instance per mock instance, see CglibMockMaker.
- MethodInterceptorFilter(InternalMockHandler, MockCreationSettings) - Constructor for class org.powermock.api.mockito.repackaged.MethodInterceptorFilter
-
- methodInvocationControl - Variable in class org.powermock.api.mockito.internal.mockcreation.MockCreator.MockData
-
- MethodInvocationControl - Interface in org.powermock.core.spi
-
The purpose of a method invocation control is to invoke a proxy to simulate a
method call.
- MethodInvocationDemo - Class in samples.methodhierarchy
-
- MethodInvocationDemo() - Constructor for class samples.methodhierarchy.MethodInvocationDemo
-
- MethodInvocationDemoGrandParent - Class in samples.methodhierarchy
-
- MethodInvocationDemoGrandParent() - Constructor for class samples.methodhierarchy.MethodInvocationDemoGrandParent
-
- MethodInvocationDemoParent - Class in samples.methodhierarchy
-
- MethodInvocationDemoParent() - Constructor for class samples.methodhierarchy.MethodInvocationDemoParent
-
- MethodInvocationException - Exception in org.powermock.reflect.exceptions
-
A run-time exception that may be thrown to indicate that a method invocation
failed.
- MethodInvocationException(String) - Constructor for exception org.powermock.reflect.exceptions.MethodInvocationException
-
Constructs a new exception with the specified detail message.
- MethodInvocationException(String, Throwable) - Constructor for exception org.powermock.reflect.exceptions.MethodInvocationException
-
Constructs a new runtime exception with the specified detail message and
cause.
- MethodInvocationException(Throwable) - Constructor for exception org.powermock.reflect.exceptions.MethodInvocationException
-
Constructs a new exception with the specified cause and a detail message
of (cause==null ? null : cause.toString()) (which typically
contains the class and detail message of cause).
- MethodInvocationHandler(Method) - Constructor for class org.powermock.api.support.membermodification.strategy.impl.MethodReplaceStrategyImpl.MethodInvocationHandler
-
- MethodNotFoundException - Exception in org.powermock.reflect.exceptions
-
A run-time exception that may be thrown to indicate that a method was not
found.
- MethodNotFoundException(String) - Constructor for exception org.powermock.reflect.exceptions.MethodNotFoundException
-
Constructs a new exception with the specified detail message.
- methodProxies - Static variable in class org.powermock.core.MockRepository
-
Holds info about which methods that are proxied.
- methodProxy - Variable in class org.powermock.api.mockito.repackaged.DelegatingMockitoMethodProxy
-
- methodProxy - Variable in class org.powermock.api.mockito.repackaged.SerializableMockitoMethodProxy
-
- MethodProxy - Class in org.powermock.api.support
-
- MethodProxy() - Constructor for class org.powermock.api.support.MethodProxy
-
- MethodReplaceStrategy - Interface in org.powermock.api.support.membermodification.strategy
-
Specifies the replace strategy for a method.
- MethodReplaceStrategyImpl - Class in org.powermock.api.support.membermodification.strategy.impl
-
- MethodReplaceStrategyImpl(Method) - Constructor for class org.powermock.api.support.membermodification.strategy.impl.MethodReplaceStrategyImpl
-
- MethodReplaceStrategyImpl.MethodInvocationHandler - Class in org.powermock.api.support.membermodification.strategy.impl
-
- methods - Variable in class org.powermock.api.extension.listener.AnnotationMockMetadata
-
- methods(Class<?>, String, String...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
-
Get an array of Method
's that matches the supplied list of method
names.
- methods(Method, Method...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
-
Get an array of Field
's.
- methods(Class<?>, String[]) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
-
Get an array of Method
's that matches the supplied list of method
names.
- methodsDeclaredIn(Class<?>, Class<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
-
Get all methods in a class hierarchy of the supplied classes.
- methodsPerInstance - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
-
- methodsToSuppress - Variable in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- MethodStubStrategy<T> - Interface in org.powermock.api.support.membermodification.strategy
-
Specifies the return value when stubbing a method.
- MethodStubStrategyImpl<T> - Class in org.powermock.api.support.membermodification.strategy.impl
-
- MethodStubStrategyImpl(Method) - Constructor for class org.powermock.api.support.membermodification.strategy.impl.MethodStubStrategyImpl
-
- methodToBeStubbed() - Static method in class samples.partialmocking.MockSelfDemo
-
- methodToMock() - Method in class samples.partialmocking.PartialMockingExample
-
- methodToMock(String) - Method in class samples.partialmocking.PrivatePartialMockingExample
-
- methodToTest() - Method in class samples.partialmocking.PartialMockingExample
-
- methodToTest() - Method in class samples.partialmocking.PrivatePartialMockingExample
-
- methodUnderTest() - Method in class samples.newmocking.NewDemo
-
- missingMethodInvocation() - Method in class org.powermock.api.extension.reporter.MockingFrameworkReporterFactoryImpl.PowerMockitoReporter
-
- Mock - Annotation Type in org.powermock.api.easymock.annotation
-
This annotation can be placed on those fields in your test class that should
be mocked.
- mock - Variable in class org.powermock.api.extension.listener.AnnotationMockMetadata
-
- mock - Variable in class org.powermock.api.mockito.internal.expectation.DefaultPrivatelyExpectedArguments
-
- mock(Class<T>, boolean, boolean, Object, MockSettings, Method...) - Static method in class org.powermock.api.mockito.internal.mockcreation.MockCreator
-
- mock - Variable in class org.powermock.api.mockito.internal.mockcreation.MockCreator.MockData
-
- mock - Variable in class org.powermock.api.mockito.internal.mockmaker.PowerMockMaker.PowerMockInternalMockHandler
-
- mock(Class<T>) - Static method in class org.powermock.api.mockito.PowerMockito
-
Creates a mock object that supports mocking of final and native methods.
- mock(Class<T>, Answer) - Static method in class org.powermock.api.mockito.PowerMockito
-
Creates mock with a specified strategy for its answers to interactions.
- mock(Class<T>, MockSettings) - Static method in class org.powermock.api.mockito.PowerMockito
-
Creates a mock with some non-standard settings.
- Mock - Annotation Type in org.powermock.core.classloader.annotations
-
- MOCK_CREATOR - Static variable in class org.powermock.api.mockito.internal.mockcreation.MockCreator
-
- MOCK_GET_CLASS_METHOD - Static variable in class org.powermock.core.MockGateway
-
Tells PowerMock whether or not to mock
Object.getClass()
.
- MOCK_STANDARD_METHODS - Static variable in class org.powermock.core.MockGateway
-
Tells PowerMock to mock standard methods.
- MockClassLoader - Class in org.powermock.core.classloader
-
Mock all classes except system classes.
- MockClassLoader(String[], String[], UseClassPathAdjuster) - Constructor for class org.powermock.core.classloader.MockClassLoader
-
Creates a new instance of the
MockClassLoader
based on the
following parameters:
- MockClassLoader() - Constructor for class org.powermock.core.classloader.MockClassLoader
-
- MockClassLoader(String[], String[]) - Constructor for class org.powermock.core.classloader.MockClassLoader
-
Creates a new instance of the
MockClassLoader
based on the
following parameters:
- MockClassLoader(String[], UseClassPathAdjuster) - Constructor for class org.powermock.core.classloader.MockClassLoader
-
Creates a new instance of the
MockClassLoader
based on the
following parameters:
- MockClassLoader(String[]) - Constructor for class org.powermock.core.classloader.MockClassLoader
-
Creates a new instance of the
MockClassLoader
based on the
following parameters:
- mockClassLoader - Variable in class org.powermock.modules.junit4.common.internal.impl.PowerMockJUnit4RunListener
-
- MockClassLoaderBuilder - Class in org.powermock.core.classloader
-
MockClassLoader builder.
- MockClassLoaderBuilder() - Constructor for class org.powermock.core.classloader.MockClassLoaderBuilder
-
- mockClassLoaderBuilder() - Static method in class org.powermock.core.classloader.MockClassLoaderBuilders
-
- MockClassLoaderBuilders - Class in org.powermock.core.classloader
-
Factory class for MockClassLoaderBuilder
- MockClassLoaderBuilders() - Constructor for class org.powermock.core.classloader.MockClassLoaderBuilders
-
- MockClassLoaderFactory - Class in org.powermock.tests.utils.impl
-
- MockClassLoaderFactory(Class<?>, String[], String[], MockTransformer...) - Constructor for class org.powermock.tests.utils.impl.MockClassLoaderFactory
-
- mockCreator - Variable in class org.powermock.api.extension.agent.JavaAgentFrameworkRegisterImpl
-
- MockCreator - Class in org.powermock.api.mockito.internal.mockcreation
-
- MockCreator() - Constructor for class org.powermock.api.mockito.internal.mockcreation.MockCreator
-
- MockCreator.MockData<T> - Class in org.powermock.api.mockito.internal.mockcreation
-
Class that encapsulate a mock and its corresponding invocation control.
- MockCreator.MockitoStateCleanerRunnable - Class in org.powermock.api.mockito.internal.mockcreation
-
Clear state in Mockito that retains memory between tests
- MockData(MockitoMethodInvocationControl, T) - Constructor for class org.powermock.api.mockito.internal.mockcreation.MockCreator.MockData
-
- mockedMethods - Variable in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
-
- mockedMethods - Variable in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
-
- MockGateway - Class in org.powermock.core
-
All mock invocations are routed through this gateway.
- MockGateway() - Constructor for class org.powermock.core.MockGateway
-
- MockingFrameworkReporter - Interface in org.powermock.core.reporter
-
The instance of the interface is used to replace default mocking frameworks
exception message via message specific for PowerMock use-cases.
- MockingFrameworkReporterFactory - Interface in org.powermock.core.reporter
-
- MockingFrameworkReporterFactoryImpl - Class in org.powermock.api.extension.reporter
-
The MockingFrameworkReporterFactory which create a new instance of MockingFrameworkReporter
which is loaded by current context class loader.
- MockingFrameworkReporterFactoryImpl - Class in org.powermock.api.extension.reporter
-
- MockingFrameworkReporterFactoryImpl() - Constructor for class org.powermock.api.extension.reporter.MockingFrameworkReporterFactoryImpl
-
- MockingFrameworkReporterFactoryImpl.MockitoMockingFrameworkReporter - Class in org.powermock.api.extension.reporter
-
- MockingFrameworkReporterFactoryImpl.PowerMockitoReporter - Class in org.powermock.api.extension.reporter
-
PowerMock reported for Mockito, which replace standard mockito message
to specific message for cases when PowerMock is used.
- mockInstance - Variable in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
-
- mockInstance - Variable in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
-
- mockIsCurrentlyBeingReplaced() - Method in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature
-
- MOCKITO_PROXY_MARKER - Static variable in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature
-
- MOCKITO_VERSION - Static variable in class samples.powermockito.MockitoVersion
-
- mockitoCore - Variable in class org.powermock.api.extension.reporter.MockingFrameworkReporterFactoryImpl.MockitoMockingFrameworkReporter
-
- MockitoMethodInvocationControl - Class in org.powermock.api.mockito.internal.invocation
-
- MockitoMethodInvocationControl(MethodInterceptorFilter, Object, Method...) - Constructor for class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
-
Creates a new instance.
- MockitoMethodInvocationControl(MethodInterceptorFilter, Object, Object, Method...) - Constructor for class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
-
Creates a new instance with a delegator.
- MockitoMockingFrameworkReporter() - Constructor for class org.powermock.api.extension.reporter.MockingFrameworkReporterFactoryImpl.MockitoMockingFrameworkReporter
-
- MockitoMockObjectInputStream(InputStream, Class, Set<Class>) - Constructor for class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.MockitoMockObjectInputStream
-
- MockitoMockObjectOutputStream(ByteArrayOutputStream) - Constructor for class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.MockitoMockObjectOutputStream
-
- MockitoNamingPolicy - Class in org.powermock.api.mockito.repackaged
-
- MockitoNamingPolicy() - Constructor for class org.powermock.api.mockito.repackaged.MockitoNamingPolicy
-
- MockitoNewInvocationControl<T> - Class in org.powermock.api.mockito.internal.invocation
-
- MockitoNewInvocationControl(InvocationSubstitute<T>) - Constructor for class org.powermock.api.mockito.internal.invocation.MockitoNewInvocationControl
-
- MockitoPowerMockReporter - Class in org.powermock.api.mockito.expectation.reporter
-
- MockitoPowerMockReporter() - Constructor for class org.powermock.api.mockito.expectation.reporter.MockitoPowerMockReporter
-
- mockitoProxyClassMarker(Class<?>) - Method in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.MockitoMockObjectOutputStream
-
Returns the Mockito marker if this class is a Mockito mock.
- mockitoReporter - Variable in class org.powermock.api.extension.reporter.MockingFrameworkReporterFactoryImpl.MockitoMockingFrameworkReporter
-
- MockitoStateCleaner - Class in org.powermock.api.mockito.internal.mockcreation
-
- MockitoStateCleaner() - Constructor for class org.powermock.api.mockito.internal.mockcreation.MockitoStateCleaner
-
- MockitoStateCleanerRunnable() - Constructor for class org.powermock.api.mockito.internal.mockcreation.MockCreator.MockitoStateCleanerRunnable
-
- MockitoVersion - Class in samples.powermockito
-
- MockitoVersion() - Constructor for class samples.powermockito.MockitoVersion
-
- MockitoVersion.SystemPropertiesMockitoVersion - Class in samples.powermockito
-
- mockLoader - Variable in class org.powermock.modules.testng.internal.TestClassInstanceFactory
-
- mockMe() - Method in class samples.java.ClassInsideJavaPackage
-
- MockNice - Annotation Type in org.powermock.api.easymock.annotation
-
This annotation can be placed on those fields in your test class that should
be mocked in a nice manner (i.e.
- mockPolicies - Variable in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
-
- MockPolicy - Annotation Type in org.powermock.core.classloader.annotations
-
A Mock Policy can be used to make it easier to unit test some code with
PowerMock in isolation from a certain framework.
- MockPolicyClassLoadingSettings - Interface in org.powermock.mockpolicies
-
Contains class-loading related settings.
- MockPolicyClassLoadingSettingsImpl - Class in org.powermock.mockpolicies.impl
-
- MockPolicyClassLoadingSettingsImpl() - Constructor for class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
-
- mockPolicyInitializer - Static variable in class org.powermock.modules.junit4.rule.PowerMockRule
-
- mockPolicyInitializer - Variable in class org.powermock.modules.junit4.rule.PowerMockStatement
-
- MockPolicyInitializer - Interface in org.powermock.tests.utils
-
A Mock Policy initializer takes care of initializing the behavior defined by
the mock policies.
- MockPolicyInitializerImpl - Class in org.powermock.tests.utils.impl
-
- MockPolicyInitializerImpl(Class<? extends PowerMockPolicy>[]) - Constructor for class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
-
- MockPolicyInitializerImpl(Class<?>) - Constructor for class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
-
- MockPolicyInitializerImpl(Class<? extends PowerMockPolicy>[], boolean) - Constructor for class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
-
- MockPolicyInitializerImpl(Class<? extends PowerMockPolicy>[], Class<?>, boolean) - Constructor for class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
-
- MockPolicyInterceptionSettings - Interface in org.powermock.mockpolicies
-
Contains interception related settings.
- MockPolicyInterceptionSettingsImpl - Class in org.powermock.mockpolicies.impl
-
- MockPolicyInterceptionSettingsImpl() - Constructor for class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- mockPolicyTypes - Variable in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
-
- mockReplacementCompleted() - Method in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature
-
- mockReplacementStarted() - Method in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature
-
- MockRepository - Class in org.powermock.core
-
Hold mock objects that should be used instead of the concrete implementation.
- MockRepository() - Constructor for class org.powermock.core.MockRepository
-
- MockSelfDemo - Class in samples.partialmocking
-
- MockSelfDemo() - Constructor for class samples.partialmocking.MockSelfDemo
-
- MockSelfDemo(int) - Constructor for class samples.partialmocking.MockSelfDemo
-
- MockSelfDemo(Object) - Constructor for class samples.partialmocking.MockSelfDemo
-
- MockSelfDemoSubClass - Class in samples.partialmocking
-
- MockSelfDemoSubClass() - Constructor for class samples.partialmocking.MockSelfDemoSubClass
-
- MockSelfDemoWithSubClass - Class in samples.partialmocking
-
- MockSelfDemoWithSubClass() - Constructor for class samples.partialmocking.MockSelfDemoWithSubClass
-
- MockSelfPrivateFieldServiceClass - Class in samples.privatefield
-
A class that uses a private Service field and no setter.
- MockSelfPrivateFieldServiceClass() - Constructor for class samples.privatefield.MockSelfPrivateFieldServiceClass
-
- MockSelfWithNoDefaultConstructorDemo - Class in samples.partialmocking
-
- MockSelfWithNoDefaultConstructorDemo(int) - Constructor for class samples.partialmocking.MockSelfWithNoDefaultConstructorDemo
-
- mockSettings - Variable in class org.powermock.api.mockito.repackaged.MethodInterceptorFilter
-
- mockStatic(Class<?>, Method...) - Static method in class org.powermock.api.easymock.PowerMock
-
Enable static mocking for a class.
- mockStatic(Class<?>) - Static method in class org.powermock.api.easymock.PowerMock
-
Enable static mocking for a class.
- mockStatic(Class<?>, Class<?>...) - Static method in class org.powermock.api.mockito.PowerMockito
-
Enable static mocking for all methods of a class.
- mockStatic(Class<?>, Answer) - Static method in class org.powermock.api.mockito.PowerMockito
-
Creates class mock with a specified strategy for its answers to
interactions.
- mockStatic(Class<?>, MockSettings) - Static method in class org.powermock.api.mockito.PowerMockito
-
Creates a class mock with some non-standard settings.
- mockStaticNice(Class<?>, Method...) - Static method in class org.powermock.api.easymock.PowerMock
-
Enable nice static mocking for a class.
- mockStaticNice(Class<?>) - Static method in class org.powermock.api.easymock.PowerMock
-
Enable nice static mocking for a class.
- mockStaticPartial(Class<?>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
-
Mock a single static method.
- mockStaticPartial(Class<?>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to mock several static methods
in an easy way (by just passing in the method names of the method you
wish to mock).
- mockStaticPartialNice(Class<?>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
-
Mock a single static method (nice).
- mockStaticPartialNice(Class<?>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to mock several static methods
(nice) in an easy way (by just passing in the method names of the method
you wish to mock).
- mockStaticPartialStrict(Class<?>, String, Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
-
Mock a single static method (strict).
- mockStaticPartialStrict(Class<?>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
A utility method that may be used to mock several static methods
(strict) in an easy way (by just passing in the method names of the
method you wish to mock).
- mockStaticStrict(Class<?>, Method...) - Static method in class org.powermock.api.easymock.PowerMock
-
Enable strict static mocking for a class.
- mockStaticStrict(Class<?>) - Static method in class org.powermock.api.easymock.PowerMock
-
Enable strict static mocking for a class.
- MockStrategy - Interface in org.powermock.api.easymock.internal.mockstrategy
-
- MockStrict - Annotation Type in org.powermock.api.easymock.annotation
-
This annotation can be placed on those fields in your test class that should
be mocked in a strict manner (i.e.
- MockTransformer - Interface in org.powermock.core.transformers
-
Interface that all mock transformers must implement.
- mockTransformerChain - Variable in class org.powermock.core.classloader.MockClassLoader
-
- mockTransformerChain - Variable in class org.powermock.core.classloader.MockClassLoaderBuilder
-
- mockTransformerChain - Variable in class org.powermock.modules.testng.internal.ClassLoaderFactory
-
- mockType - Variable in class org.powermock.api.easymock.internal.mockstrategy.impl.AbstractMockStrategyBase
-
- mockType - Variable in class org.powermock.api.mockito.internal.expectation.DefaultConstructorExpectationSetup
-
- MockTypeValidator<T> - Interface in org.powermock.api.mockito.internal.mockcreation
-
- MockTypeValidatorFactory - Class in org.powermock.api.mockito.internal.mockcreation
-
- MockTypeValidatorFactory() - Constructor for class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory
-
- MockTypeValidatorFactory.AbstractMockTypeValidator<T> - Class in org.powermock.api.mockito.internal.mockcreation
-
- MockTypeValidatorFactory.DefaultMockTypeValidator<T> - Class in org.powermock.api.mockito.internal.mockcreation
-
- MockTypeValidatorFactory.JavaAgentMockTypeValidator<T> - Class in org.powermock.api.mockito.internal.mockcreation
-
- MockTypeValidatorFactory.NullMockTypeValidator<T> - Class in org.powermock.api.mockito.internal.mockcreation
-
- MockWithStaticStateDemo - Class in samples.partialmocking
-
- MockWithStaticStateDemo() - Constructor for class samples.partialmocking.MockWithStaticStateDemo
-
- modify - Variable in class org.powermock.core.classloader.MockClassLoader
-
- MODIFY_ALL_CLASSES - Static variable in class org.powermock.core.classloader.MockClassLoader
-
Pass this string to the constructor to indicate that all classes should
be modified.
- modifyMethod(CtMethod) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
-
- motherThread - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
-
- MoveNext() - Method in class org.powermock.modules.junit4.common.internal.impl.VersionTokenizer
-
- multipleNew() - Method in class samples.expectnew.ExpectNewDemo
-
- mustHaveTestAnnotationRemoved(CtMethod) - Method in class org.powermock.core.transformers.impl.TestClassTransformer
-
- mutex - Variable in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature
-
- MY_OBJECT - Static variable in class samples.suppressfield.SuppressField
-
- MY_STRING - Static variable in interface samples.interfacefieldchange.InterfaceWithStaticFinalField
-
- MY_VALUE - Static variable in class samples.suppressfield.SuppressField
-
- MyAbstractClass - Class in samples.anonymousmocking
-
- MyAbstractClass() - Constructor for class samples.anonymousmocking.MyAbstractClass
-
- myBoolean - Variable in class samples.suppressfield.SuppressField
-
- myChar - Variable in class samples.suppressfield.SuppressField
-
- MyClass - Class in samples.newmocking
-
- MyClass() - Constructor for class samples.newmocking.MyClass
-
- myClass - Variable in class samples.suppressfield.ItemRepository
-
- MyClass() - Constructor for class samples.suppressfield.ItemRepository.MyClass
-
- MyEnum - Enum in samples.enummocking
-
- MyEnum() - Constructor for enum samples.enummocking.MyEnum
-
- MyInnerClass() - Constructor for class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClass
-
- MyInnerClassWithConstructorArgument(String) - Constructor for class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClassWithConstructorArgument
-
- myInt - Variable in class samples.expectnew.PrimitiveAndWrapperDemo
-
- myMethod() - Method in class samples.simplereturn.SimpleReturnExampleUser
-
- myMethod() - Method in class samples.suppressmethod.SuppressMethod
-
- myMethod() - Method in class samples.suppressmethod.SuppressMethodParent
-
- mySecondValue - Variable in class samples.suppressfield.SuppressField
-
- mySet - Static variable in class samples.staticinitializer.StaticInitializerExample
-
- mySimpleMethod() - Method in class samples.simplereturn.SimpleReturnExample
-
- myString - Variable in class samples.equalswithgetclass.EqualsWithGetClass
-
- myWrappedBoolean - Variable in class samples.suppressfield.SuppressField
-
- PackagePrivateClass - Class in samples.packageprivate
-
This class demonstrates the ability for PowerMock to mock package private
classes.
- PackagePrivateClass() - Constructor for class samples.packageprivate.PackagePrivateClass
-
- packagesToBeDeferred - Static variable in class org.powermock.core.classloader.MockClassLoader
-
- packagesToIgnore - Variable in class org.powermock.core.classloader.MockClassLoaderBuilder
-
- packagesToIgnore - Variable in class org.powermock.tests.utils.impl.MockClassLoaderFactory
-
- packagesToLoadButNotModify - Variable in class org.powermock.core.classloader.MockClassLoader
-
- parametersComparator - Variable in class org.powermock.reflect.internal.comparator.ComparatorFactory.ConstructorComparator
-
- parametersComparator - Variable in class org.powermock.reflect.internal.comparator.ComparatorFactory.MethodComparator
-
- ParametersComparator() - Constructor for class org.powermock.reflect.internal.comparator.ComparatorFactory.ParametersComparator
-
- parameterTypes - Variable in class org.powermock.api.mockito.internal.expectation.DefaultConstructorExpectationSetup
-
- ParameterTypesMatcher - Class in org.powermock.reflect.internal
-
- ParameterTypesMatcher(boolean, Class<?>[], Class<?>...) - Constructor for class org.powermock.reflect.internal.ParameterTypesMatcher
-
- params - Variable in class org.powermock.modules.testng.internal.TestClassInstanceFactory
-
- Parent - Class in samples.classhierarchy
-
- Parent() - Constructor for class samples.classhierarchy.Parent
-
- PartialMockingExample - Class in samples.partialmocking
-
Simple partial mocking example that should need no byte-code manipulation.
- PartialMockingExample() - Constructor for class samples.partialmocking.PartialMockingExample
-
- PartialMockingWithConstructor - Class in samples.partialmocking
-
- PartialMockingWithConstructor() - Constructor for class samples.partialmocking.PartialMockingWithConstructor
-
- pendingInitiatedTestClass - Static variable in class org.powermock.core.testlisteners.GlobalNotificationBuildSupport
-
- pendingTestInstances - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
-
- pendingTestInstancesOnMotherThread - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
-
- performClone(Class<T>, Object, boolean) - Method in class org.powermock.classloading.DeepCloner
-
- performComplexOperation(String) - Method in class samples.mockpolicy.frameworkexample.SimpleFrameworkUser
-
- performEncode() - Method in class samples.system.SystemClassUser
-
- performInstaceInvocation(StaticAndInstanceMethodWithSameName) - Method in class samples.overloading.StaticAndInstanceMethodWithSameNameUser
-
- performIntercept(MethodInterceptorFilter, Object, Method, Object[]) - Method in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
-
- performMethodInvocation(Object, Method, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Perform method invocation.
- performMethodOverloadTestWhenBothArgumentSame() - Method in class samples.overloading.OverloadingDemo
-
- performMethodOverloadTestWithOneArgumentSameAndOneDiffernt() - Method in class samples.overloading.OverloadingDemo
-
- performSingleOverloadedArgumentTest() - Method in class samples.overloading.OverloadingDemo
-
- performStaticInvocation() - Method in class samples.overloading.StaticAndInstanceMethodWithSameNameUser
-
- performStubbing(OngoingStubbing<T>) - Method in class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing.InvokeStubMethod
-
- performSubstitutionLogic(Object...) - Method in interface org.powermock.core.spi.support.InvocationSubstitute
-
- pleaseStop() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
-
- potentialTestFailure - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner
-
- potentialTestMethod - Variable in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestMethodChecker
-
- PowerMock - Class in org.powermock.api.easymock
-
PowerMock extends EasyMock functionality with several new features such as
mocking static and private methods, mocking new instances and more.
- PowerMock() - Constructor for class org.powermock.api.easymock.PowerMock
-
- PowerMock.EasyMockStateCleaner - Class in org.powermock.api.easymock
-
Clears the state in LastControl that deals with MocksControl.
- POWERMOCK_INSTANCE_DELEGATOR_FIELD_NAME - Static variable in class org.powermock.core.ClassReplicaCreator
-
- PowerMockClassloaderExecutor - Class in org.powermock.modules.junit4.rule
-
- PowerMockClassloaderExecutor() - Constructor for class org.powermock.modules.junit4.rule.PowerMockClassloaderExecutor
-
- PowerMockClassloaderObjectFactory - Class in org.powermock.modules.testng.internal
-
- PowerMockClassloaderObjectFactory() - Constructor for class org.powermock.modules.testng.internal.PowerMockClassloaderObjectFactory
-
- PowerMockExpectedExceptionsExtractorImpl - Class in org.powermock.modules.testng.internal
-
- PowerMockExpectedExceptionsExtractorImpl() - Constructor for class org.powermock.modules.testng.internal.PowerMockExpectedExceptionsExtractorImpl
-
- PowerMockExpressionEditor(CtClass) - Constructor for class org.powermock.core.transformers.impl.AbstractMainMockTransformer.PowerMockExpressionEditor
-
- PowerMockIgnore - Annotation Type in org.powermock.core.classloader.annotations
-
This annotation tells PowerMock to defer the loading of classes with the
names supplied to
PowerMockIgnore.value()
to the system classloader.
- PowerMockIgnoreDemo - Class in samples.powermockignore
-
- PowerMockIgnoreDemo() - Constructor for class samples.powermockignore.PowerMockIgnoreDemo
-
- PowerMockIgnorePackagesExtractorImpl - Class in org.powermock.tests.utils.impl
-
- PowerMockIgnorePackagesExtractorImpl() - Constructor for class org.powermock.tests.utils.impl.PowerMockIgnorePackagesExtractorImpl
-
- PowerMockInternalMockHandler(Class<?>) - Constructor for class org.powermock.api.mockito.internal.mockmaker.PowerMockMaker.PowerMockInternalMockHandler
-
- PowerMockito - Class in org.powermock.api.mockito
-
PowerMockito extends Mockito functionality with several new features such as
mocking static and private methods and more.
- PowerMockito() - Constructor for class org.powermock.api.mockito.PowerMockito
-
- POWERMOCKITO_CORE - Static variable in class org.powermock.api.mockito.PowerMockito
-
- PowerMockitoCore - Class in org.powermock.api.mockito.internal
-
- PowerMockitoCore() - Constructor for class org.powermock.api.mockito.internal.PowerMockitoCore
-
- PowerMockitoInjectingAnnotationEngine - Class in org.powermock.api.mockito.internal.configuration
-
The same as InjectingAnnotationEngine
with the exception that it
doesn't create/injects mocks annotated with the standard annotations such as
Mock
.
- PowerMockitoInjectingAnnotationEngine() - Constructor for class org.powermock.api.mockito.internal.configuration.PowerMockitoInjectingAnnotationEngine
-
- PowerMockitoReporter() - Constructor for class org.powermock.api.extension.reporter.MockingFrameworkReporterFactoryImpl.PowerMockitoReporter
-
- PowerMockitoSpyAnnotationEngine - Class in org.powermock.api.mockito.internal.configuration
-
- PowerMockitoSpyAnnotationEngine() - Constructor for class org.powermock.api.mockito.internal.configuration.PowerMockitoSpyAnnotationEngine
-
- PowerMockitoStubber - Interface in org.powermock.api.mockito.expectation
-
Setup stubbing for private or void methods in final class, final void
methods, or static (final) methods.
- PowerMockitoStubberImpl - Class in org.powermock.api.mockito.internal.expectation
-
Extension of the standard Mocktio stubber implementation that also support
PowerMockito created mocks.
- PowerMockitoStubberImpl() - Constructor for class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
-
- PowerMockJUnit44MethodRunner(Object, TestMethod, RunNotifier, Description, boolean) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
-
- PowerMockJUnit44RunnerDelegateImpl - Class in org.powermock.modules.junit4.internal.impl
-
A JUnit4 test runner that only runs a specified set of test methods in a test
class.
- PowerMockJUnit44RunnerDelegateImpl(Class<?>, String[], PowerMockTestListener[]) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
-
- PowerMockJUnit44RunnerDelegateImpl(Class<?>, String[]) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
-
- PowerMockJUnit44RunnerDelegateImpl(Class<?>) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
-
- PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner - Class in org.powermock.modules.junit4.internal.impl
-
- PowerMockJUnit47MethodRunner(Object, TestMethod, RunNotifier, Description, boolean) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner
-
- PowerMockJUnit47RunnerDelegateImpl - Class in org.powermock.modules.junit4.internal.impl
-
- PowerMockJUnit47RunnerDelegateImpl(Class<?>, String[], PowerMockTestListener[]) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl
-
- PowerMockJUnit47RunnerDelegateImpl(Class<?>, String[]) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl
-
- PowerMockJUnit47RunnerDelegateImpl(Class<?>) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl
-
- PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner - Class in org.powermock.modules.junit4.internal.impl
-
- PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner.TestExecutorStatement - Class in org.powermock.modules.junit4.internal.impl
-
- PowerMockJUnit49MethodRunner(Object, TestMethod, RunNotifier, Description, boolean) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit49RunnerDelegateImpl.PowerMockJUnit49MethodRunner
-
- PowerMockJUnit49RunnerDelegateImpl - Class in org.powermock.modules.junit4.internal.impl
-
- PowerMockJUnit49RunnerDelegateImpl(Class<?>, String[], PowerMockTestListener[]) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit49RunnerDelegateImpl
-
- PowerMockJUnit49RunnerDelegateImpl(Class<?>, String[]) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit49RunnerDelegateImpl
-
- PowerMockJUnit49RunnerDelegateImpl(Class<?>) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit49RunnerDelegateImpl
-
- PowerMockJUnit49RunnerDelegateImpl.PowerMockJUnit49MethodRunner - Class in org.powermock.modules.junit4.internal.impl
-
- PowerMockJUnit4MethodValidator - Class in org.powermock.modules.junit4.internal.impl.testcaseworkaround
-
A custom MethodValidator
that makes sure that test methods not
annotated by the Test annotation works in JUnit 4.4 with the custom
JUnit-runner when the test class is extending TestCase
.
- PowerMockJUnit4MethodValidator(TestClass) - Constructor for class org.powermock.modules.junit4.internal.impl.testcaseworkaround.PowerMockJUnit4MethodValidator
-
- PowerMockJUnit4RunListener - Class in org.powermock.modules.junit4.common.internal.impl
-
- PowerMockJUnit4RunListener(ClassLoader, PowerMockTestNotifier) - Constructor for class org.powermock.modules.junit4.common.internal.impl.PowerMockJUnit4RunListener
-
- PowerMockJUnitRunnerDelegate - Interface in org.powermock.modules.junit4.common.internal
-
- PowerMockListener - Annotation Type in org.powermock.core.classloader.annotations
-
The PowerMock listener annotation can be used to tell PowerMock which
listeners should be instantiated and invoked during a test.
- PowerMockMaker - Class in org.powermock.api.mockito.internal.mockmaker
-
A PowerMock implementation of the MockMaker.
- PowerMockMaker() - Constructor for class org.powermock.api.mockito.internal.mockmaker.PowerMockMaker
-
- PowerMockMaker.PowerMockInternalMockHandler - Class in org.powermock.api.mockito.internal.mockmaker
-
It needs to extend InternalMockHandler because Mockito requires the type to be of InternalMockHandler and not MockHandler
- PowerMockMatchersBinder - Class in org.powermock.api.mockito.internal.invocation
-
This class is essentially a copy of MatchersBinder
with the exception that
the InvocationMatcher is replaced and its toString method is overwritten to avoid exceptions.
- PowerMockMatchersBinder() - Constructor for class org.powermock.api.mockito.internal.invocation.PowerMockMatchersBinder
-
- PowerMockMethodInterceptorFilter - Class in org.powermock.api.mockito.internal.mockcreation
-
- PowerMockMethodInterceptorFilter(InternalMockHandler, MockCreationSettings) - Constructor for class org.powermock.api.mockito.internal.mockcreation.PowerMockMethodInterceptorFilter
-
- PowerMockModified - Interface in org.powermock.core.classloader
-
Interface marker.
- PowerMockObjectFactory - Class in org.powermock.modules.testng
-
The PowerMock object factory.
- PowerMockObjectFactory() - Constructor for class org.powermock.modules.testng.PowerMockObjectFactory
-
- powerMockObjectFactory - Variable in class org.powermock.modules.testng.PowerMockObjectFactory
-
- PowerMockPolicy - Interface in org.powermock.core.spi
-
This interface can be implemented to create policies for certain frameworks
to make it easier for users to test their code in isolation from these
frameworks.
- PowerMockReporter - Interface in org.powermock.core.reporter
-
The interface is used to provide a user well-defined exception description.
- PowerMockReporterFactory - Interface in org.powermock.core.reporter
-
- PowerMockRule - Class in org.powermock.modules.junit4.rule
-
- PowerMockRule() - Constructor for class org.powermock.modules.junit4.rule.PowerMockRule
-
- PowerMockRuleTestSuiteChunker - Class in org.powermock.modules.junit4.rule
-
- PowerMockRuleTestSuiteChunker(Class) - Constructor for class org.powermock.modules.junit4.rule.PowerMockRuleTestSuiteChunker
-
- PowerMockRunner - Class in org.powermock.modules.junit4
-
- PowerMockRunner(Class<?>) - Constructor for class org.powermock.modules.junit4.PowerMockRunner
-
- PowerMockRunnerDelegate - Annotation Type in org.powermock.modules.junit4
-
- PowerMockRunnerDelegate.DefaultJUnitRunner - Class in org.powermock.modules.junit4
-
- PowerMockRunnerDelegate.SinceJUnit_4_5 - Class in org.powermock.modules.junit4
-
Stuff that needs to be handled in a separate class, because it
deals with API that did not exist before JUnit-4.5.
- PowerMockRunNotifier - Class in org.powermock.modules.junit4.internal.impl
-
Wraps JUnit's RunNotifier to make sure that the PowerMock-specific
instances of
PowerMockTestListener
will also be informed.
- PowerMockRunNotifier(RunNotifier, PowerMockTestNotifier, Method[]) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
-
- PowerMockStatement - Class in org.powermock.modules.junit4.rule
-
- PowerMockStatement(Statement, TestChunk, MockPolicyInitializer) - Constructor for class org.powermock.modules.junit4.rule.PowerMockStatement
-
- PowerMockTestCase - Class in org.powermock.modules.testng
-
A PowerMock base class that may be used as a base class for all TestNG
test cases that uses PowerMock.
- PowerMockTestCase() - Constructor for class org.powermock.modules.testng.PowerMockTestCase
-
- PowerMockTestListener - Interface in org.powermock.core.spi
-
This interface should be implemented by all PowerMock test listeners.
- powerMockTestListeners - Variable in class org.powermock.tests.utils.impl.PowerMockTestNotifierImpl
-
- PowerMockTestNGMethodHandler - Class in org.powermock.modules.testng.internal
-
- PowerMockTestNGMethodHandler(Class<?>) - Constructor for class org.powermock.modules.testng.internal.PowerMockTestNGMethodHandler
-
- powerMockTestNotifier - Variable in class org.powermock.modules.junit4.common.internal.impl.PowerMockJUnit4RunListener
-
- powerMockTestNotifier - Variable in class org.powermock.modules.junit4.internal.impl.DelegatingPowerMockRunner
-
- powerMockTestNotifier - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
-
- powerMockTestNotifier - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
-
- powerMockTestNotifier - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
-
- PowerMockTestNotifier - Interface in org.powermock.tests.utils
-
Implementors of this interface that must provide the ability to notify
PowerMock test listeners with the events as specified by the methods declared
in this interface.
- PowerMockTestNotifierImpl - Class in org.powermock.tests.utils.impl
-
Utility class that may be used by PowerMock test runners to notify listeners.
- PowerMockTestNotifierImpl(PowerMockTestListener[]) - Constructor for class org.powermock.tests.utils.impl.PowerMockTestNotifierImpl
-
Create a new instance with the following parameters.
- PowerMockUtils - Class in org.powermock.core
-
- PowerMockUtils() - Constructor for class org.powermock.core.PowerMockUtils
-
- PrepareEverythingForTest - Annotation Type in org.powermock.core.classloader.annotations
-
This annotation tells PowerMock to prepare all classes (except certain system
and test related classes) for test.
- prepareForStubbing(T) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
-
- PrepareForTest - Annotation Type in org.powermock.core.classloader.annotations
-
This annotation tells PowerMock to prepare certain classes for testing.
- prepareForTestExtractor - Variable in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- PrepareForTestExtractorImpl - Class in org.powermock.tests.utils.impl
-
- PrepareForTestExtractorImpl() - Constructor for class org.powermock.tests.utils.impl.PrepareForTestExtractorImpl
-
- PrepareForTestExtractorImpl(boolean) - Constructor for class org.powermock.tests.utils.impl.PrepareForTestExtractorImpl
-
- PrepareOnlyThisForTest - Annotation Type in org.powermock.core.classloader.annotations
-
This annotation tells PowerMock to prepare certain classes for testing.
- prepareTestSuite(String, GlobalNotificationBuildSupport.Callback) - Static method in class org.powermock.core.testlisteners.GlobalNotificationBuildSupport
-
- prepend(Class<?>, Class<?>...) - Method in class org.powermock.api.mockito.repackaged.ClassImposterizer
-
- previousCl - Variable in class org.powermock.modules.testng.PowerMockTestCase
-
- previousTargetClass - Static variable in class org.powermock.modules.junit4.rule.PowerMockRule
-
- PrimitiveAndWrapperDemo - Class in samples.expectnew
-
Used to demonstrate PowerMocks ability to deal with overloaded constructors
of primitive/wrapper types.
- PrimitiveAndWrapperDemo(int) - Constructor for class samples.expectnew.PrimitiveAndWrapperDemo
-
- PrimitiveAndWrapperDemo(Integer) - Constructor for class samples.expectnew.PrimitiveAndWrapperDemo
-
- PrimitiveAndWrapperUser - Class in samples.expectnew
-
Used to demonstrate PowerMocks ability to deal with overloaded constructors
of primitive/wrapper types.
- PrimitiveAndWrapperUser() - Constructor for class samples.expectnew.PrimitiveAndWrapperUser
-
- primitiveCounterpart - Variable in class org.powermock.reflect.internal.matcherstrategies.AssignableFromFieldTypeMatcherStrategy
-
- Primitives - Class in org.powermock.core.transformers.impl
-
Simple utility that maps constant fields of CtClass
to
their corresponding java class-objects for primitive types.
- Primitives() - Constructor for class org.powermock.core.transformers.impl.Primitives
-
- PrimitiveWrapper - Class in org.powermock.reflect.internal.primitivesupport
-
The purpose of the Primitive Wrapper is to provide methods that deals with
translating wrapper types to its related primitive type.
- PrimitiveWrapper() - Constructor for class org.powermock.reflect.internal.primitivesupport.PrimitiveWrapper
-
- primitiveWrapper - Static variable in class org.powermock.reflect.internal.primitivesupport.PrimitiveWrapper
-
- printClassesLoadedByClassloader(ClassLoader, boolean) - Static method in class org.powermock.core.PowerMockUtils
-
- PrivateConstructorDemo - Class in samples.constructor
-
Demonstrates the ability to invoke a test on a private constructor as well as
lazy initialization of private collaborators.
- PrivateConstructorDemo(String) - Constructor for class samples.constructor.PrivateConstructorDemo
-
- PrivateConstructorInstantiationDemo - Class in samples.constructor
-
Class used to demonstrate the private constructor instantiation.
- PrivateConstructorInstantiationDemo() - Constructor for class samples.constructor.PrivateConstructorInstantiationDemo
-
- PrivateConstructorInstantiationDemo(int) - Constructor for class samples.constructor.PrivateConstructorInstantiationDemo
-
- PrivateFinal - Class in samples.privateandfinal
-
A class used to test the functionality to mock private methods that are also
final.
- PrivateFinal() - Constructor for class samples.privateandfinal.PrivateFinal
-
- PrivateFinalOverload - Class in samples.privateandfinal
-
A class used to test the functionality of capturing arguments when methods are overloaded and private and final.
- PrivateFinalOverload() - Constructor for class samples.privateandfinal.PrivateFinalOverload
-
- privateInvoke(int) - Method in class samples.expectvoid.ExpectVoidDemo
-
- PrivatelyExpectedArguments - Interface in org.powermock.api.mockito.expectation
-
- PrivateMethodDemo - Class in samples.privatemocking
-
A class used to test the functionality to mock private methods.
- PrivateMethodDemo() - Constructor for class samples.privatemocking.PrivateMethodDemo
-
- PrivateMethodVerification - Interface in org.powermock.api.mockito.verification
-
- privateObjectFinalMethod() - Static method in class samples.singleton.StaticExample
-
- privateObjectMethod() - Static method in class samples.singleton.StaticExample
-
- PrivatePartialMockingExample - Class in samples.partialmocking
-
Simple partial mocking example that should need no byte-code manipulation.
- PrivatePartialMockingExample() - Constructor for class samples.partialmocking.PrivatePartialMockingExample
-
- privateService - Variable in class samples.constructor.PrivateConstructorDemo
-
- privateService - Variable in class samples.constructor.PublicConstructorDemo
-
- privateVoidFinalMethod() - Static method in class samples.singleton.StaticExample
-
- privateVoidMethod() - Static method in class samples.singleton.StaticExample
-
- PROCEED - Static variable in class org.powermock.core.MockGateway
-
- process(Class<?>, Object) - Method in class org.powermock.api.mockito.internal.configuration.PowerMockitoInjectingAnnotationEngine
-
- process(Class<?>, Object) - Method in class org.powermock.api.mockito.internal.configuration.PowerMockitoSpyAnnotationEngine
-
- proxies - Variable in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- proxy(Method, InvocationHandler) - Static method in class org.powermock.api.support.MethodProxy
-
Add a proxy for this method.
- proxy(Class<?>, String, InvocationHandler) - Static method in class org.powermock.api.support.MethodProxy
-
Add a proxy for a method declared in class declaringClass
.
- proxyFramework - Static variable in class org.powermock.reflect.internal.WhiteboxImpl
-
The proxy framework.
- ProxyFramework - Interface in org.powermock.reflect.spi
-
The purpose of a the proxy framework implementation is to return the
unproxied types of classes.
- ProxyFrameworkHelper - Class in org.powermock.reflect.proxyframework
-
- ProxyFrameworkHelper(ClassLoader) - Constructor for class org.powermock.reflect.proxyframework.ProxyFrameworkHelper
-
- ProxyFrameworkImpl - Class in org.powermock.api.extension.proxyframework
-
CGLib proxy framework setup.
- ProxyFrameworkImpl - Class in org.powermock.api.extension.proxyframework
-
CGLib proxy framework setup.
- ProxyFrameworkImpl() - Constructor for class org.powermock.api.extension.proxyframework.ProxyFrameworkImpl
-
- proxyMethod(Method, InvocationHandler) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- proxyMethod(Method, InvocationHandler) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Proxy a method with the given invocation handler.
- PublicConstructorDemo - Class in samples.constructor
-
Demonstrates the ability to invoke a test on a private constructor as well as
lazy initialization of private collaborators.
- PublicConstructorDemo(String) - Constructor for class samples.constructor.PublicConstructorDemo
-
- PublicConstructorWithDependencyDemo - Class in samples.constructor
-
This class is used to demonstrate that error messages are correct when a
constructor is not found.
- PublicConstructorWithDependencyDemo(Service) - Constructor for class samples.constructor.PublicConstructorWithDependencyDemo
-
- put(K, V) - Method in class org.powermock.core.ListMap
-
- putAdditionalState(String, Object) - Static method in class org.powermock.core.MockRepository
-
When a mock framework API needs to store additional state not applicable
for the other methods, it may use this method to do so.
- putAll(Map<? extends K, ? extends V>) - Method in class org.powermock.core.ListMap
-
- putInstanceMethodInvocationControl(Object, MethodInvocationControl) - Static method in class org.powermock.core.MockRepository
-
- putMethodProxy(Method, InvocationHandler) - Static method in class org.powermock.core.MockRepository
-
Set a proxy for a method.
- putMethodToChunk(TestCaseEntry, Class<?>, Method) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- putMethodToStub(Method, Object) - Static method in class org.powermock.core.MockRepository
-
Set a substitute return value for a method.
- putNewInstanceControl(Class<?>, NewInvocationControl<?>) - Static method in class org.powermock.core.MockRepository
-
- putStaticMethodInvocationControl(Class<?>, MethodInvocationControl) - Static method in class org.powermock.core.MockRepository
-
- readResolve() - Method in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.AcrossJVMMockSerializationProxy
-
Resolves the proxy to a new deserialized instance of the Mockito mock.
- reallyEasyMock - Variable in class org.powermock.api.easymock.EasyMockConfiguration
-
- ReallySimpleSwingDemo - Class in samples.swing
-
- ReallySimpleSwingDemo() - Constructor for class samples.swing.ReallySimpleSwingDemo
-
- referenceMap - Variable in class org.powermock.classloading.DeepCloner
-
- ReflectionInstantiator - Class in samples.reflection
-
- ReflectionInstantiator() - Constructor for class samples.reflection.ReflectionInstantiator
-
- reflectOnCreateInfo(MethodProxy) - Method in class org.powermock.api.mockito.repackaged.CGLIBHacker
-
- refreshPolicies(ClassLoader) - Method in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
-
- refreshPolicies(ClassLoader) - Method in interface org.powermock.tests.utils.MockPolicyInitializer
-
Re executes the MockPolicy#
of all the policies for a given class
loader.
- register() - Method in class org.powermock.reflect.proxyframework.ProxyFrameworkHelper
-
- registerClass(ClassLoader, String) - Method in interface org.powermock.core.agent.JavaAgentClassRegister
-
Register that the class with name className
has been modified for the given class loader.
- registerProxyframework(ClassLoader) - Static method in class org.powermock.reflect.proxyframework.ClassLoaderRegisterProxyFramework
-
- RegisterProxyFramework - Class in org.powermock.reflect.proxyframework
-
All API's must register a proxy framework using this class.
- RegisterProxyFramework() - Constructor for class org.powermock.reflect.proxyframework.RegisterProxyFramework
-
- registerProxyFramework(ProxyFramework) - Static method in class org.powermock.reflect.proxyframework.RegisterProxyFramework
-
Register a proxy framework.
- registerProxyframework(ClassLoader) - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- reloadMethod(Class<?>, Method) - Method in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
-
- reloadParamType(Class<?>, Class<?>) - Method in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
-
- remove(Object) - Method in class org.powermock.core.IdentityHashSet
-
- remove(Object) - Method in class org.powermock.core.ListMap
-
- remove(Object) - Static method in class org.powermock.core.MockRepository
-
Removes an object from the MockRepository if it exists.
- removeAdditionalState(String) - Static method in class org.powermock.core.MockRepository
-
- removeAndReplaceText(StringBuilder, String, char) - Static method in class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
-
- removeClassMethodInvocationControl(Class<?>) - Static method in class org.powermock.core.MockRepository
-
- removeFailureLocations(String) - Static method in class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
-
- removeFinalModifierFromAllStaticFinalFields(CtClass) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
-
- removeFinalModifierFromClass(CtClass) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
-
- removeInstanceMethodInvocationControl(Class<?>) - Static method in class org.powermock.core.MockRepository
-
- removeListener(RunListener) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
-
- removeMethodProxy(Method) - Static method in class org.powermock.core.MockRepository
-
- removesTestMethodAnnotation(Class<? extends Annotation>) - Method in interface org.powermock.core.transformers.impl.TestClassTransformer.ForTestClass
-
- removeSuppressStaticInitializer(String) - Static method in class org.powermock.core.MockRepository
-
Remove a fully qualified class name for a class that should no longer
have its static initializers suppressed.
- removeTestAnnotationsForTestMethodsThatRunOnOtherClassLoader(CtClass) - Method in class org.powermock.core.transformers.impl.TestClassTransformer
-
- removeTestMethodAnnotationFrom(CtMethod) - Method in class org.powermock.core.transformers.impl.TestClassTransformer
-
- removeText(StringBuilder, String) - Static method in class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
-
- replace(Method) - Static method in class org.powermock.api.support.membermodification.MemberModifier
-
Replace a method invocation.
- replaceMatchersBinderIfNeeded(MockHandler) - Method in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
-
- replay(Object...) - Method in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
-
Replay the given objects or classes.
- replay(Object...) - Method in class org.powermock.api.easymock.internal.invocationcontrol.NewInvocationControlImpl
-
Replay the given objects or classes.
- replay(Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Switches the mocks or classes to replay mode.
- replay(Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
-
- replay(Object...) - Method in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
-
- replay(Object...) - Method in class org.powermock.api.mockito.internal.invocation.MockitoNewInvocationControl
-
Replay the given objects or classes.
- replay(Object...) - Method in interface org.powermock.core.spi.DefaultBehavior
-
Replay the given objects or classes.
- replayAll(Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Replay all classes and mock objects known by PowerMock.
- report(Result) - Method in class org.powermock.modules.junit4.internal.impl.NotificationBuilder.OngoingTestRun
-
- reporter - Variable in class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory.AbstractMockTypeValidator
-
- reset(Object...) - Method in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
-
Reset the given objects or classes.
- reset(Object...) - Method in class org.powermock.api.easymock.internal.invocationcontrol.NewInvocationControlImpl
-
Reset the given objects or classes.
- reset(Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
-
Reset a list of class mocks.
- reset(Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Reset a list of mock objects or classes.
- reset(Object...) - Method in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
-
- reset(Object...) - Method in class org.powermock.api.mockito.internal.invocation.MockitoNewInvocationControl
-
Reset the given objects or classes.
- reset(Object...) - Method in interface org.powermock.core.spi.DefaultBehavior
-
Reset the given objects or classes.
- resetAll(Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Reset all classes and mock objects known by PowerMock.
- resetMock(Object, MockHandler, MockCreationSettings) - Method in class org.powermock.api.mockito.internal.mockmaker.PowerMockMaker
-
- resetMock(Object, MockHandler, MockCreationSettings) - Method in class org.powermock.api.mockito.repackaged.CglibMockMaker
-
- resolveClass(ObjectStreamClass) - Method in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.MockitoMockObjectInputStream
-
Resolve the Mockito proxy class if it is marked as such.
- restoreOriginalConstructorsAccesses(CtClass) - Method in class org.powermock.core.transformers.impl.TestClassTransformer
-
- result - Variable in class org.powermock.core.spi.testresult.impl.TestMethodResultImpl
-
- Result - Enum in org.powermock.core.spi.testresult
-
- Result() - Constructor for enum org.powermock.core.spi.testresult.Result
-
- result - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder.OngoingTestRun
-
- result - Variable in class samples.mockpolicy.frameworkexample.NativeResult
-
- ResultCalculator - Class in samples.mockpolicy
-
- ResultCalculator(int) - Constructor for class samples.mockpolicy.ResultCalculator
-
- returnAMessage() - Method in class samples.suppressconstructor.SuppressConstructorDemo
-
- returnAValue() - Method in class samples.packageprivate.PackagePrivateClass
-
- returnsElementsOf - Variable in class org.powermock.api.mockito.internal.stubbing.answers.ChainReturns
-
- run() - Method in class org.powermock.api.easymock.PowerMock.EasyMockStateCleaner
-
- run() - Method in class org.powermock.api.mockito.internal.mockcreation.MockCreator.MockitoStateCleanerRunnable
-
- run(RunNotifier) - Method in class org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner
-
- run(RunNotifier) - Method in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl
-
- run(RunNotifier) - Method in interface org.powermock.modules.junit4.common.internal.JUnit4TestSuiteChunker
-
- run(RunNotifier) - Method in interface org.powermock.modules.junit4.common.internal.PowerMockJUnitRunnerDelegate
-
- run(RunNotifier) - Method in class org.powermock.modules.junit4.internal.impl.DelegatingPowerMockRunner
-
- run(RunNotifier) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
- run(RunNotifier) - Method in class org.powermock.modules.junit4.PowerMockRunner
-
Clean up some state to avoid OOM issues
- run(RunNotifier) - Method in class org.powermock.modules.junit4.PowerMockRunnerDelegate.DefaultJUnitRunner
-
- runBeforesThenTestThenAfters(Runnable) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
-
- runMethods(RunNotifier) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
-
- runnerAlternativeConstructorParams() - Static method in class org.powermock.modules.junit4.PowerMockRunnerDelegate.SinceJUnit_4_5
-
- runnerDelegateImplementationType - Variable in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl
-
- RunnerTestSuiteChunker - Interface in org.powermock.tests.utils
-
An interface that should be implemented by classes that performs test suite
chunking.
- runTestMethod() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
-
- SafeExceptionRethrower - Class in org.powermock.api.support
-
- SafeExceptionRethrower() - Constructor for class org.powermock.api.support.SafeExceptionRethrower
-
- safeRethrow(Throwable) - Static method in class org.powermock.api.support.SafeExceptionRethrower
-
- safeRethrow0(Throwable) - Static method in class org.powermock.api.support.SafeExceptionRethrower
-
- sameName(int) - Method in class samples.suppressmethod.SuppressMethod
-
- sameName(float) - Method in class samples.suppressmethod.SuppressMethod
-
- samples - package samples
-
- samples.abstractmocking - package samples.abstractmocking
-
- samples.annotationbased - package samples.annotationbased
-
- samples.anonymousmocking - package samples.anonymousmocking
-
- samples.argumentmatcher - package samples.argumentmatcher
-
- samples.classhierarchy - package samples.classhierarchy
-
- samples.classwithinnermembers - package samples.classwithinnermembers
-
- samples.constructor - package samples.constructor
-
- samples.constructorargs - package samples.constructorargs
-
- samples.enummocking - package samples.enummocking
-
- samples.equalswithgetclass - package samples.equalswithgetclass
-
- samples.expectnew - package samples.expectnew
-
- samples.expectvoid - package samples.expectvoid
-
- samples.fieldmock - package samples.fieldmock
-
- samples.finalmocking - package samples.finalmocking
-
- samples.hashcode - package samples.hashcode
-
- samples.injectmocks - package samples.injectmocks
-
- samples.innerclassmocking - package samples.innerclassmocking
-
- samples.interfacefieldchange - package samples.interfacefieldchange
-
- samples.interfacemethodfinding - package samples.interfacemethodfinding
-
- samples.java - package samples.java
-
- samples.largemethod - package samples.largemethod
-
- samples.methodhierarchy - package samples.methodhierarchy
-
- samples.mockpolicy - package samples.mockpolicy
-
- samples.mockpolicy.frameworkexample - package samples.mockpolicy.frameworkexample
-
- samples.nativemocking - package samples.nativemocking
-
- samples.newmocking - package samples.newmocking
-
- samples.nice - package samples.nice
-
- samples.overloading - package samples.overloading
-
- samples.packageprivate - package samples.packageprivate
-
- samples.partialmocking - package samples.partialmocking
-
- samples.powermockignore - package samples.powermockignore
-
- samples.powermockito - package samples.powermockito
-
- samples.privateandfinal - package samples.privateandfinal
-
- samples.privatefield - package samples.privatefield
-
- samples.privatemocking - package samples.privatemocking
-
- samples.reflection - package samples.reflection
-
- samples.rule - package samples.rule
-
- samples.servletmocking - package samples.servletmocking
-
- samples.simplemix - package samples.simplemix
-
- samples.simplereturn - package samples.simplereturn
-
- samples.singleton - package samples.singleton
-
- samples.spy - package samples.spy
-
- samples.staticandinstance - package samples.staticandinstance
-
- samples.staticinitializer - package samples.staticinitializer
-
- samples.stress - package samples.stress
-
- samples.strict - package samples.strict
-
- samples.suppressconstructor - package samples.suppressconstructor
-
- samples.suppresseverything - package samples.suppresseverything
-
- samples.suppressfield - package samples.suppressfield
-
- samples.suppressmethod - package samples.suppressmethod
-
- samples.swing - package samples.swing
-
- samples.system - package samples.system
-
- samples.whitebox - package samples.whitebox
-
- SampleServlet - Class in samples.servletmocking
-
- SampleServlet() - Constructor for class samples.servletmocking.SampleServlet
-
- say(String) - Method in class samples.finalmocking.FinalDemo
-
- say(String) - Method in class samples.injectmocks.InjectDemo
-
- say(String) - Method in class samples.privateandfinal.PrivateFinal
-
- say(String) - Method in class samples.privateandfinal.PrivateFinalOverload
-
- say(String, String) - Method in class samples.privateandfinal.PrivateFinalOverload
-
- say(String) - Method in class samples.privatemocking.PrivateMethodDemo
-
- say(String) - Static method in class samples.singleton.SimpleStaticService
-
- say(String) - Static method in class samples.singleton.StaticService
-
- sayFinal(String) - Static method in class samples.singleton.StaticService
-
- sayFinalNative(String) - Method in class samples.finalmocking.FinalDemo
-
- sayFinalNative(String) - Static method in class samples.singleton.StaticService
-
- sayHello(String) - Static method in class samples.singleton.StaticService
-
- sayHello(Integer) - Static method in class samples.singleton.StaticService
-
- sayHello() - Static method in class samples.singleton.StaticService
-
- sayHelloAgain() - Static method in class samples.singleton.StaticHelper
-
- sayHelloAgain() - Static method in class samples.singleton.StaticService
-
- sayHelloHelper() - Static method in class samples.singleton.StaticHelper
-
- sayIt(String) - Method in class samples.privateandfinal.PrivateFinal
-
- sayIt(String, String, String) - Method in class samples.privatemocking.PrivateMethodDemo
-
- sayIt(String) - Method in class samples.privatemocking.PrivateMethodDemo
-
- sayIt() - Method in class samples.privatemocking.PrivateMethodDemo
-
- sayNative(String) - Static method in class samples.singleton.StaticService
-
- sayPrivateFinalStatic(String) - Static method in class samples.singleton.StaticService
-
- sayPrivateNativeFinalStatic(String) - Static method in class samples.singleton.StaticService
-
- sayPrivateStatic(String) - Static method in class samples.singleton.StaticService
-
- sayYear(String, int) - Method in class samples.privatemocking.PrivateMethodDemo
-
- scan(Object) - Method in class org.powermock.api.extension.listener.AnnotationMockScanner
-
- secret - Variable in class samples.constructorargs.ConstructorArgsDemo
-
- secret - Variable in class samples.singleton.StaticService
-
- SERIALIZABLE_INSTANCE - Static variable in class org.powermock.api.mockito.repackaged.SerializableNoOp
-
- SerializableMockitoMethodProxy - Class in org.powermock.api.mockito.repackaged
-
- SerializableMockitoMethodProxy(MethodProxy) - Constructor for class org.powermock.api.mockito.repackaged.SerializableMockitoMethodProxy
-
- SerializableNoOp - Class in org.powermock.api.mockito.repackaged
-
Offer a Serializable implementation of the NoOp CGLIB callback.
- SerializableNoOp() - Constructor for class org.powermock.api.mockito.repackaged.SerializableNoOp
-
- serializationClone(Object) - Method in class org.powermock.classloading.DeepCloner
-
- serializedMock - Variable in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.AcrossJVMMockSerializationProxy
-
- serialVersionUID - Static variable in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.AcrossJVMMockSerializationProxy
-
- serialVersionUID - Static variable in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature
-
- serialVersionUID - Static variable in class org.powermock.api.mockito.repackaged.MethodInterceptorFilter
-
- serialVersionUID - Static variable in class org.powermock.api.mockito.repackaged.SerializableMockitoMethodProxy
-
- serialVersionUID - Static variable in class org.powermock.api.mockito.repackaged.SerializableNoOp
-
- serialVersionUID - Static variable in exception org.powermock.reflect.exceptions.ConstructorNotFoundException
-
- serialVersionUID - Static variable in exception org.powermock.reflect.exceptions.FieldNotFoundException
-
- serialVersionUID - Static variable in exception org.powermock.reflect.exceptions.MethodInvocationException
-
- serialVersionUID - Static variable in exception org.powermock.reflect.exceptions.MethodNotFoundException
-
- serialVersionUID - Static variable in exception org.powermock.reflect.exceptions.TooManyConstructorsFoundException
-
- serialVersionUID - Static variable in exception org.powermock.reflect.exceptions.TooManyFieldsFoundException
-
- serialVersionUID - Static variable in exception org.powermock.reflect.exceptions.TooManyMethodsFoundException
-
- serialVersionUID - Static variable in class samples.swing.SimpleSwingDemo
-
- service - Variable in class samples.annotationbased.AnnotationDemo
-
- service - Variable in class samples.anonymousmocking.StupidAnonymous
-
- service - Variable in class samples.constructor.PublicConstructorWithDependencyDemo
-
- service - Variable in class samples.expectnew.ExpectNewServiceUser
-
- service - Variable in class samples.expectnew.ExpectNewWithMultipleCtorDemo
-
- service - Variable in class samples.privatefield.MockSelfPrivateFieldServiceClass
-
- service - Variable in class samples.privatefield.SimplePrivateFieldServiceClass
-
- Service - Interface in samples
-
A very simple service interface used as a dependency for various classes to
demonstrate different kinds of mocking.
- services - Variable in class samples.expectnew.VarArgsConstructorDemo
-
- set(JavaAgentClassRegister) - Method in class org.powermock.api.extension.agent.JavaAgentFrameworkRegisterImpl
-
- set(JavaAgentClassRegister) - Method in interface org.powermock.core.agent.JavaAgentFrameworkRegister
-
Set the javaAgentClassRegister
to current loaded mocking framework.
- setAllConstructorsToPublic(CtClass) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
-
- setAnswersForStubbing(List<Answer>) - Method in class org.powermock.api.mockito.internal.mockmaker.PowerMockMaker.PowerMockInternalMockHandler
-
- setClassMock(Class<?>) - Method in class org.powermock.api.mockito.internal.verification.StaticMockAwareVerificationMode
-
- setConstructorsAccessible(Class<?>, boolean) - Method in class org.powermock.api.mockito.repackaged.ClassImposterizer
-
- setField(Object, Object, Field) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Sets the field.
- setFieldsSuppress(Field[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- setFieldsSuppress(Field[]) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Set specific fields that should be suppressed upon invocation.
- setFieldTypesToSuppress(String[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- setFieldTypesToSuppress(String[]) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Set which field types that should be suppressed.
- setFinalDemo(FinalDemo) - Method in class samples.injectmocks.DependencyHolder
-
- setFinalDemo(FinalDemo) - Method in class samples.injectmocks.DependencyHolderQualifier
-
- setFinalDemoQualifier(FinalDemo) - Method in class samples.injectmocks.DependencyHolderQualifier
-
- setFullyQualifiedNamesOfClassesToLoadByMockClassloader(String[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
-
- setFullyQualifiedNamesOfClassesToLoadByMockClassloader(String[]) - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
-
Set which types that should be loaded (and possibly modified) by the mock
classloader.
- setInjectDemo(InjectDemo) - Method in class samples.injectmocks.InjectDependencyHolder
-
- setInjectDemo(InjectDemo) - Method in class samples.injectmocks.InjectDependencyHolderQualifier
-
- setInjectDemoQualifier(InjectDemo) - Method in class samples.injectmocks.InjectDependencyHolderQualifier
-
- setInternalState(Object, String, Object) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Set the value of a field using reflection.
- setInternalState(Object, String, Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Set the value of a field using reflection.
- setInternalState(Object, Class<?>, Object) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Set the value of a field using reflection.
- setInternalState(Object, Object, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Set the value of a field using reflection.
- setInternalState(Object, Object, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Set the value of a field using reflection at at specific place in the
class hierarchy (where).
- setInternalState(Object, Class<?>, Object, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Set the value of a field using reflection at a specific location (
where) in the class hierarchy.
- setInternalState(Object, String, Object, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Set the value of a field using reflection.
- setInternalState(Object, String, Object) - Static method in class org.powermock.reflect.Whitebox
-
Set the value of a field using reflection.
- setInternalState(Object, String, Object[]) - Static method in class org.powermock.reflect.Whitebox
-
Set an array value of a field using reflection.
- setInternalState(Object, Object, Object...) - Static method in class org.powermock.reflect.Whitebox
-
Set the value of a field using reflection.
- setInternalState(Object, Object, Class<?>) - Static method in class org.powermock.reflect.Whitebox
-
Set the value of a field using reflection at at specific place in the
class hierarchy (where).
- setInternalState(Object, String, Object, Class<?>) - Static method in class org.powermock.reflect.Whitebox
-
Set the value of a field using reflection.
- setInternalState(Object, Class<?>, Object) - Static method in class org.powermock.reflect.Whitebox
-
Set the value of a field using reflection.
- setInternalState(Object, Class<?>, Object, Class<?>) - Static method in class org.powermock.reflect.Whitebox
-
Set the value of a field using reflection at a specific location (
where) in the class hierarchy.
- setInternalStateFromContext(Object, Object, Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Set the values of multiple instance fields defined in a context using
reflection.
- setInternalStateFromContext(Object, Object, FieldMatchingStrategy) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
- setInternalStateFromContext(Object, Class<?>, Class<?>[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Set the values of multiple static fields defined in a context using
reflection.
- setInternalStateFromContext(Object, Object, Object...) - Static method in class org.powermock.reflect.Whitebox
-
Set the values of multiple instance fields defined in a context using
reflection.
- setInternalStateFromContext(Object, Class<?>, Class<?>...) - Static method in class org.powermock.reflect.Whitebox
-
Set the values of multiple static fields defined in a context using
reflection.
- setInternalStateFromContext(Object, Object, FieldMatchingStrategy) - Static method in class org.powermock.reflect.Whitebox
-
Set the values of multiple instance fields defined in a context using
reflection and using an explicit
FieldMatchingStrategy
.
- setInternalStateFromContext(Object, Class<?>, FieldMatchingStrategy) - Static method in class org.powermock.reflect.Whitebox
-
Set the values of multiple static fields defined in a context using
reflection and using an explicit
FieldMatchingStrategy
.
- setInvocationHandler(Object) - Method in class org.powermock.modules.testng.internal.TestClassInstanceFactory
-
- setMethodsToProxy(Map<Method, InvocationHandler>) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- setMethodsToProxy(Map<Method, InvocationHandler>) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Set the methods to proxy.
- setMethodsToStub(Map<Method, Object>) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- setMethodsToStub(Map<Method, Object>) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Set the substitute return values.
- setMethodsToSuppress(Method[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- setMethodsToSuppress(Method[]) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Set which methods to suppress.
- setMock(Object) - Method in class org.powermock.api.extension.listener.AnnotationMockMetadata
-
- setMockitoNamingPolicy(MethodProxy) - Method in class org.powermock.api.mockito.repackaged.CGLIBHacker
-
- setMockitoReporter(Reporter, MockitoCore) - Method in class org.powermock.api.extension.reporter.MockingFrameworkReporterFactoryImpl.MockitoMockingFrameworkReporter
-
- setMockTransformerChain(List<MockTransformer>) - Method in class org.powermock.core.classloader.MockClassLoader
-
- setParameterTypes(Class<?>[]) - Method in class org.powermock.api.mockito.internal.expectation.DefaultConstructorExpectationSetup
-
- setService(Service) - Method in class samples.anonymousmocking.StupidAnonymous
-
- setStaticInitializersToSuppress(String[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
-
- setStaticInitializersToSuppress(String[]) - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
-
Set which static initializers to suppress.
- setSubtituteReturnValues(Map<Method, Object>) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- setSubtituteReturnValues(Map<Method, Object>) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
- setToPowerMockito(JavaAgentClassRegister) - Method in class org.powermock.api.extension.agent.JavaAgentFrameworkRegisterImpl
-
- setupExpectation() - Method in class org.powermock.api.mockito.internal.expectation.ConstructorAwareExpectationSetup
-
- setValue(V) - Method in class org.powermock.core.ListMap.SimpleEntry
-
- setValue(int) - Method in class samples.classhierarchy.Parent
-
- shouldDefer(String[], String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
-
- shouldExecuteTestForMethod(Class<?>, Method) - Method in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl
-
- shouldExecuteTestForMethod(Class<?>, Method) - Method in class org.powermock.modules.junit4.rule.PowerMockRuleTestSuiteChunker
-
- shouldExecuteTestForMethod(Class<?>, Method) - Method in interface org.powermock.tests.utils.TestSuiteChunker
-
Should reflect whether or not this method is eligible for testing.
- shouldIgnore(Iterable<String>, String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
-
- shouldIgnore(String[], String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
-
- shouldLoadUnmodifiedClass(String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
-
- shouldLoadUnmodifiedClass(String) - Method in class org.powermock.core.classloader.MockClassLoader
-
- shouldLoadWithMockClassloaderWithoutModifications(String) - Method in class org.powermock.core.classloader.MockClassLoader
-
- shouldMockMethod(String, Class<?>[]) - Static method in class org.powermock.core.MockGateway
-
- shouldMockThisCall() - Static method in class org.powermock.core.MockGateway
-
- shouldModify(Iterable<String>, String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
-
- shouldModify(String) - Method in class org.powermock.core.classloader.MockClassLoader
-
- shouldModifyAll() - Method in class org.powermock.core.classloader.MockClassLoader
-
- shouldModifyClass(String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
-
- shouldModifyClass(String) - Method in class org.powermock.core.classloader.MockClassLoader
-
- shouldStubMethod(Method) - Static method in class org.powermock.core.MockRepository
-
- shouldSuppressConstructor(Constructor<?>) - Static method in class org.powermock.core.MockRepository
-
- shouldSuppressField(Field) - Static method in class org.powermock.core.MockRepository
-
- shouldSuppressMethod(Method, Class<?>) - Static method in class org.powermock.core.MockRepository
-
- shouldSuppressStaticInitializerFor(String) - Static method in class org.powermock.core.MockRepository
-
Check whether or not a class with the fully qualified name should have
its static initializers suppressed.
- shouldTreatAsSystemClassCall(CtClass) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer.PowerMockExpressionEditor
-
- showDialog() - Method in class samples.powermockignore.PowerMockIgnoreDemo
-
- shuffleCollection(List<?>) - Method in class samples.system.SystemClassUser
-
- signatureOf(Method) - Static method in class org.powermock.core.transformers.impl.TestClassTransformer
-
- signatureOf(CtMethod) - Static method in class org.powermock.core.transformers.impl.TestClassTransformer
-
- SimpleClassWithADependency - Class in samples.mockpolicy
-
- SimpleClassWithADependency() - Constructor for class samples.mockpolicy.SimpleClassWithADependency
-
- SimpleEntry(K, V) - Constructor for class org.powermock.core.ListMap.SimpleEntry
-
- SimpleFramework - Class in samples.mockpolicy.frameworkexample
-
- SimpleFramework() - Constructor for class samples.mockpolicy.frameworkexample.SimpleFramework
-
- SimpleFrameworkUser - Class in samples.mockpolicy.frameworkexample
-
- SimpleFrameworkUser() - Constructor for class samples.mockpolicy.frameworkexample.SimpleFrameworkUser
-
- simpleMix() - Method in class samples.finalmocking.FinalDemo
-
- SimpleMix - Class in samples.simplemix
-
This class is used to demonstrate features such as static, final and partial
mocking as well as access internal state.
- SimpleMix() - Constructor for class samples.simplemix.SimpleMix
-
- SimpleMixCollaborator - Class in samples.simplemix
-
- SimpleMixCollaborator() - Constructor for class samples.simplemix.SimpleMixCollaborator
-
- SimpleMixConstruction - Class in samples.simplemix
-
- SimpleMixConstruction() - Constructor for class samples.simplemix.SimpleMixConstruction
-
- SimpleMixUtilities - Class in samples.simplemix
-
- SimpleMixUtilities() - Constructor for class samples.simplemix.SimpleMixUtilities
-
- simpleMultipleNew() - Method in class samples.expectnew.ExpectNewDemo
-
- simpleMultipleNewPrivate() - Method in class samples.expectnew.ExpectNewDemo
-
- SimplePrivateFieldServiceClass - Class in samples.privatefield
-
A class that uses a private Service field and no setter.
- SimplePrivateFieldServiceClass() - Constructor for class samples.privatefield.SimplePrivateFieldServiceClass
-
- simpleReturnExample() - Method in class samples.finalmocking.FinalDemo
-
- SimpleReturnExample - Class in samples.simplereturn
-
- SimpleReturnExample() - Constructor for class samples.simplereturn.SimpleReturnExample
-
- simpleReturnExample - Variable in class samples.simplereturn.SimpleReturnExampleUser
-
- SimpleReturnExampleUser - Class in samples.simplereturn
-
- SimpleReturnExampleUser(SimpleReturnExample) - Constructor for class samples.simplereturn.SimpleReturnExampleUser
-
- simpleSingleNew() - Method in class samples.expectnew.ExpectNewDemo
-
- SimpleStaticInitializerExample - Class in samples.staticinitializer
-
- SimpleStaticInitializerExample() - Constructor for class samples.staticinitializer.SimpleStaticInitializerExample
-
- SimpleStaticService - Class in samples.singleton
-
- SimpleStaticService() - Constructor for class samples.singleton.SimpleStaticService
-
- SimpleSwingDemo - Class in samples.swing
-
A basic swing application example.
- SimpleSwingDemo() - Constructor for class samples.swing.SimpleSwingDemo
-
- SimpleThing - Interface in samples.rule
-
- simpleThing - Variable in class samples.rule.ThingToTest
-
- SimpleThingCreator - Class in samples.rule
-
- SimpleThingCreator() - Constructor for class samples.rule.SimpleThingCreator
-
- SimpleThingImpl - Class in samples.rule
-
- SimpleThingImpl() - Constructor for class samples.rule.SimpleThingImpl
-
- SinceJUnit_4_5() - Constructor for class org.powermock.modules.junit4.PowerMockRunnerDelegate.SinceJUnit_4_5
-
- SingleClassloaderExecutor - Class in org.powermock.classloading
-
A ClassLoaderExecutor can run any code in any classloader.
- SingleClassloaderExecutor(ClassLoader) - Constructor for class org.powermock.classloading.SingleClassloaderExecutor
-
- size() - Method in class org.powermock.core.IdentityHashSet
-
- size() - Method in class org.powermock.core.ListMap
-
- Slf4jMockPolicy - Class in org.powermock.api.easymock.mockpolicies
-
An slf4j mock policy.
- Slf4jMockPolicy() - Constructor for class org.powermock.api.easymock.mockpolicies.Slf4jMockPolicy
-
- Slf4jMockPolicy - Class in org.powermock.api.mockito.mockpolicies
-
Sfl4j mock policy that injects a Mockito-created mock to be returned on calls to getLogger factory methods.
- Slf4jMockPolicy() - Constructor for class org.powermock.api.mockito.mockpolicies.Slf4jMockPolicy
-
- SomeClassWithAMethod - Class in samples.mockpolicy
-
- SomeClassWithAMethod() - Constructor for class samples.mockpolicy.SomeClassWithAMethod
-
- SomeClassWithAMethodParent - Class in samples.mockpolicy
-
- SomeClassWithAMethodParent() - Constructor for class samples.mockpolicy.SomeClassWithAMethodParent
-
- SomeDependency - Class in samples.newmocking
-
- SomeDependency() - Constructor for class samples.newmocking.SomeDependency
-
- SomeObjectInterface - Interface in samples.enummocking
-
- SomeObjectInterfaceImpl - Class in samples.enummocking
-
- SomeObjectInterfaceImpl() - Constructor for class samples.enummocking.SomeObjectInterfaceImpl
-
- something() - Method in class samples.suppresseverything.SuppressEverything
-
- somethingElse() - Method in class samples.suppresseverything.SuppressEverything
-
- sort(Sorter) - Method in class org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner
-
- sort(Sorter) - Method in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl
-
- sort(Sorter) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
-
- specificClassesToLoadButNotModify - Variable in class org.powermock.core.classloader.MockClassLoader
-
- spy(T) - Static method in class org.powermock.api.mockito.PowerMockito
-
Spy on objects that are final or otherwise not "spyable" from
normal Mockito.
- spy(Class<T>) - Static method in class org.powermock.api.mockito.PowerMockito
-
Spy on classes (not "spyable" from normal Mockito).
- SpyObject - Class in samples.spy
-
- SpyObject() - Constructor for class samples.spy.SpyObject
-
- StackTraceCleanerProvider - Class in org.powermock.api.mockito.internal.exceptions
-
- StackTraceCleanerProvider() - Constructor for class org.powermock.api.mockito.internal.exceptions.StackTraceCleanerProvider
-
- state - Variable in class samples.constructor.PrivateConstructorInstantiationDemo
-
- state - Static variable in class samples.partialmocking.MockWithStaticStateDemo
-
- StaticAndInstanceDemo - Class in samples.staticandinstance
-
Demonstrates how to mock both instance and static methods in the same test
- StaticAndInstanceDemo() - Constructor for class samples.staticandinstance.StaticAndInstanceDemo
-
- staticAndInstanceDemo - Variable in class samples.staticandinstance.StaticAndInstanceWithConstructorCodeDemo
-
- StaticAndInstanceMethodWithSameName - Class in samples.overloading
-
- StaticAndInstanceMethodWithSameName() - Constructor for class samples.overloading.StaticAndInstanceMethodWithSameName
-
- StaticAndInstanceMethodWithSameNameUser - Class in samples.overloading
-
Demonstrates that PowerMock correctly methods that seam to be overloaded but
differ because one is static and one is instance.
- StaticAndInstanceMethodWithSameNameUser() - Constructor for class samples.overloading.StaticAndInstanceMethodWithSameNameUser
-
- StaticAndInstanceWithConstructorCodeDemo - Class in samples.staticandinstance
-
The purpose of this class is to be used to verify that the
http://code.google.com/p/powermock/issues/detail?id=4 is fixed.
- StaticAndInstanceWithConstructorCodeDemo(StaticAndInstanceDemo) - Constructor for class samples.staticandinstance.StaticAndInstanceWithConstructorCodeDemo
-
- staticConstructorCall(String) - Static method in class org.powermock.core.MockGateway
-
- staticConstructorSuppressExtractor - Variable in class org.powermock.modules.testng.internal.ClassLoaderFactory
-
- StaticConstructorSuppressExtractorImpl - Class in org.powermock.tests.utils.impl
-
Implementation of the
TestClassesExtractor
interface for classes that
should have their static initializers suppressed.
- StaticConstructorSuppressExtractorImpl() - Constructor for class org.powermock.tests.utils.impl.StaticConstructorSuppressExtractorImpl
-
- StaticExample - Class in samples.singleton
-
Can be used to assert that partial mocking of static methods works.
- StaticExample() - Constructor for class samples.singleton.StaticExample
-
- staticFinalVoidMethod() - Static method in class samples.singleton.StaticExample
-
- StaticHelper - Class in samples.singleton
-
- StaticHelper() - Constructor for class samples.singleton.StaticHelper
-
- StaticHoldingFinalDemo - Class in samples.finalmocking
-
- StaticHoldingFinalDemo() - Constructor for class samples.finalmocking.StaticHoldingFinalDemo
-
- StaticInitializerExample - Class in samples.staticinitializer
-
- StaticInitializerExample() - Constructor for class samples.staticinitializer.StaticInitializerExample
-
- staticInitializersToSuppress - Variable in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
-
- StaticInnerClassWithConstructorArgument(String) - Constructor for class samples.classwithinnermembers.ClassWithInnerMembers.StaticInnerClassWithConstructorArgument
-
- staticMap - Static variable in class samples.fieldmock.FieldInitializerDemo
-
- staticMap2 - Static variable in class samples.fieldmock.FieldInitializerDemo
-
- staticMethod() - Static method in class samples.singleton.StaticWithPrivateCtor
-
- staticMethodReturningString() - Static method in class samples.singleton.StaticExample
-
- StaticMockAwareVerificationMode - Class in org.powermock.api.mockito.internal.verification
-
A custom extension of MockAwareVerificationMode
for static method
verification.
- StaticMockAwareVerificationMode(VerificationMode) - Constructor for class org.powermock.api.mockito.internal.verification.StaticMockAwareVerificationMode
-
- StaticService - Class in samples.singleton
-
Test class to demonstrate static, static+final, static+native and
static+final+native methods mocking.
- StaticService() - Constructor for class samples.singleton.StaticService
-
- staticVoidMethod() - Static method in class samples.singleton.StaticExample
-
- StaticWithPrivateCtor - Class in samples.singleton
-
- StaticWithPrivateCtor() - Constructor for class samples.singleton.StaticWithPrivateCtor
-
- strategy - Variable in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
-
- StressSample - Class in samples.stress
-
- StressSample() - Constructor for class samples.stress.StressSample
-
- StrictDemo - Class in samples.strict
-
- StrictDemo() - Constructor for class samples.strict.StrictDemo
-
- StrictMockStrategy - Class in org.powermock.api.easymock.internal.mockstrategy.impl
-
- StrictMockStrategy() - Constructor for class org.powermock.api.easymock.internal.mockstrategy.impl.StrictMockStrategy
-
- string - Static variable in class samples.staticinitializer.SimpleStaticInitializerExample
-
- StringJoiner - Class in org.powermock.utils
-
- StringJoiner() - Constructor for class org.powermock.utils.StringJoiner
-
- strings - Variable in class samples.expectnew.VarArgsConstructorDemo
-
- stub(Method) - Static method in class org.powermock.api.support.membermodification.MemberModifier
-
Add a method that should be intercepted and return another value (i.e.
- Stubber - Class in org.powermock.api.support
-
- Stubber() - Constructor for class org.powermock.api.support.Stubber
-
- stubbing - Variable in class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing
-
- stubMethod(Method, Object) - Static method in class org.powermock.api.support.Stubber
-
Add a method that should be intercepted and return another value (
returnObject
) (i.e.
- stubMethod(Class<?>, String, Object) - Static method in class org.powermock.api.support.Stubber
-
Add a method that should be intercepted and return another value (
returnObject
) (i.e.
- stubMethod(Method, Object) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- stubMethod(Method, Object) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Add a method that should be intercepted and return another value (
returnObject
) (i.e.
- StupidAnonymous - Class in samples.anonymousmocking
-
- StupidAnonymous() - Constructor for class samples.anonymousmocking.StupidAnonymous
-
- StupidNew - Class in samples.newmocking
-
- StupidNew() - Constructor for class samples.newmocking.StupidNew
-
- subsitutionType - Variable in class org.powermock.api.easymock.internal.invocationcontrol.NewInvocationControlImpl
-
- substitute - Variable in class org.powermock.api.easymock.internal.invocationcontrol.NewInvocationControlImpl
-
- substitute - Variable in class org.powermock.api.mockito.internal.invocation.MockitoNewInvocationControl
-
- substituteKnownProblemTypes(Class<?>) - Static method in class org.powermock.core.DefaultFieldValueGenerator
-
Substitute class types that are known to cause problems when generating
them.
- substituteReturnValues - Static variable in class org.powermock.core.MockRepository
-
Holds info about which methods that should return a substitute/another
instance instead of the default instance.
- substituteReturnValues - Variable in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- successCount - Variable in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
-
- suiteChunker - Variable in class org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner
-
- suiteClass - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
-
- suiteClassInitiated(Class<?>) - Method in interface org.powermock.core.testlisteners.GlobalNotificationBuildSupport.Callback
-
- suiteClassInitiated(Class<?>) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
-
- superName - Variable in class org.powermock.api.mockito.repackaged.SerializableMockitoMethodProxy
-
- suppress(Method) - Static method in class org.powermock.api.support.membermodification.MemberModifier
-
Suppress a specific method.
- suppress(Method[]) - Static method in class org.powermock.api.support.membermodification.MemberModifier
-
Suppress multiple methods.
- suppress(Constructor<?>) - Static method in class org.powermock.api.support.membermodification.MemberModifier
-
Suppress a constructor.
- suppress(Constructor<?>[]) - Static method in class org.powermock.api.support.membermodification.MemberModifier
-
Suppress multiple constructors.
- suppress(Field) - Static method in class org.powermock.api.support.membermodification.MemberModifier
-
Suppress a field.
- suppress(Field[]) - Static method in class org.powermock.api.support.membermodification.MemberModifier
-
Suppress multiple fields.
- suppress(AccessibleObject[]) - Static method in class org.powermock.api.support.membermodification.MemberModifier
-
Suppress an array of accessible objects.
- SUPPRESS - Static variable in class org.powermock.core.MockGateway
-
- SuppressCode - Class in org.powermock.api.support
-
- SuppressCode() - Constructor for class org.powermock.api.support.SuppressCode
-
- suppressConstructor(Constructor<?>...) - Static method in class org.powermock.api.easymock.PowerMock
-
- suppressConstructor(Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
-
- suppressConstructor(Class<?>, boolean) - Static method in class org.powermock.api.easymock.PowerMock
-
- suppressConstructor(Constructor<?>...) - Static method in class org.powermock.api.support.SuppressCode
-
Suppress constructor calls on specific constructors only.
- suppressConstructor(Class<?>...) - Static method in class org.powermock.api.support.SuppressCode
-
Suppress all constructors in the given class and it's super classes.
- suppressConstructor(Class<?>, boolean) - Static method in class org.powermock.api.support.SuppressCode
-
Suppress all constructors in the given class.
- suppressConstructor - Static variable in class org.powermock.core.MockRepository
-
Set of constructors that should be suppressed.
- SuppressConstructorDemo - Class in samples.suppressconstructor
-
- SuppressConstructorDemo(String) - Constructor for class samples.suppressconstructor.SuppressConstructorDemo
-
- SuppressConstructorHeirarchyEvilGrandParent - Class in samples.suppressconstructor
-
- SuppressConstructorHeirarchyEvilGrandParent() - Constructor for class samples.suppressconstructor.SuppressConstructorHeirarchyEvilGrandParent
-
- SuppressConstructorHierarchy - Class in samples.suppressconstructor
-
- SuppressConstructorHierarchy(String) - Constructor for class samples.suppressconstructor.SuppressConstructorHierarchy
-
- SuppressConstructorHierarchyParent - Class in samples.suppressconstructor
-
- SuppressConstructorHierarchyParent() - Constructor for class samples.suppressconstructor.SuppressConstructorHierarchyParent
-
- SuppressConstructorHierarchyParent(String) - Constructor for class samples.suppressconstructor.SuppressConstructorHierarchyParent
-
- SuppressConstructorSubclassDemo - Class in samples.suppressconstructor
-
- SuppressConstructorSubclassDemo(String) - Constructor for class samples.suppressconstructor.SuppressConstructorSubclassDemo
-
- SuppressEverything - Class in samples.suppresseverything
-
- SuppressEverything() - Constructor for class samples.suppresseverything.SuppressEverything
-
- SuppressEverything(String) - Constructor for class samples.suppresseverything.SuppressEverything
-
- suppressField(Field...) - Static method in class org.powermock.api.easymock.PowerMock
-
- suppressField(Class<?>[]) - Static method in class org.powermock.api.easymock.PowerMock
-
- suppressField(Class<?>, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
- suppressField(Field...) - Static method in class org.powermock.api.support.SuppressCode
-
Suppress specific fields.
- suppressField(Class<?>[]) - Static method in class org.powermock.api.support.SuppressCode
-
Suppress all fields for these classes.
- suppressField(Class<?>, String...) - Static method in class org.powermock.api.support.SuppressCode
-
Suppress multiple methods for a class.
- suppressField - Static variable in class org.powermock.core.MockRepository
-
Set of methods that should be suppressed.
- SuppressField - Class in samples.suppressfield
-
- SuppressField() - Constructor for class samples.suppressfield.SuppressField
-
- suppressFieldTypes - Static variable in class org.powermock.core.MockRepository
-
Set of field types that should always be suppressed regardless of
instance.
- suppressionExtractor - Variable in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- suppressMethod(Method...) - Static method in class org.powermock.api.easymock.PowerMock
-
- suppressMethod(Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
-
- suppressMethod(Class<?>[]) - Static method in class org.powermock.api.easymock.PowerMock
-
- suppressMethod(Class<?>, String, String...) - Static method in class org.powermock.api.easymock.PowerMock
-
- suppressMethod(Class<?>, String[]) - Static method in class org.powermock.api.easymock.PowerMock
-
- suppressMethod(Class<?>, boolean) - Static method in class org.powermock.api.easymock.PowerMock
-
- suppressMethod(Class<?>, String, Class<?>[]) - Static method in class org.powermock.api.easymock.PowerMock
-
- suppressMethod(Method...) - Static method in class org.powermock.api.support.SuppressCode
-
Suppress specific method calls on all types containing this method.
- suppressMethod(Class<?>, Class<?>...) - Static method in class org.powermock.api.support.SuppressCode
-
Suppress all methods for these classes.
- suppressMethod(Class<?>[]) - Static method in class org.powermock.api.support.SuppressCode
-
Suppress all methods for these classes.
- suppressMethod(Class<?>, String, String...) - Static method in class org.powermock.api.support.SuppressCode
-
Suppress multiple methods for a class.
- suppressMethod(Class<?>, String[]) - Static method in class org.powermock.api.support.SuppressCode
-
Suppress multiple methods for a class.
- suppressMethod(Class<?>, boolean) - Static method in class org.powermock.api.support.SuppressCode
-
suSuppress all methods for this class.
- suppressMethod(Class<?>, String, Class<?>[]) - Static method in class org.powermock.api.support.SuppressCode
-
Suppress a specific method call.
- suppressMethod - Static variable in class org.powermock.core.MockRepository
-
Set of methods that should be suppressed.
- SuppressMethod - Class in samples.suppressmethod
-
- SuppressMethod() - Constructor for class samples.suppressmethod.SuppressMethod
-
- SuppressMethodExample - Class in samples.suppressmethod
-
- SuppressMethodExample() - Constructor for class samples.suppressmethod.SuppressMethodExample
-
- SuppressMethodParent - Class in samples.suppressmethod
-
- SuppressMethodParent() - Constructor for class samples.suppressmethod.SuppressMethodParent
-
- SuppressNonParentConstructorDemo - Class in samples.suppressconstructor
-
- SuppressNonParentConstructorDemo(String) - Constructor for class samples.suppressconstructor.SuppressNonParentConstructorDemo
-
- suppressSpecificConstructor(Class<?>, Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
-
- suppressSpecificConstructor(Class<?>, Class<?>...) - Static method in class org.powermock.api.support.SuppressCode
-
This method can be used to suppress the code in a specific constructor.
- SuppressSpecificConstructorDemo - Class in samples.suppressconstructor
-
- SuppressSpecificConstructorDemo() - Constructor for class samples.suppressconstructor.SuppressSpecificConstructorDemo
-
- SuppressSpecificConstructorDemo(String) - Constructor for class samples.suppressconstructor.SuppressSpecificConstructorDemo
-
- SuppressStaticInitializationFor - Annotation Type in org.powermock.core.classloader.annotations
-
Use this annotation to suppress static initializers (constructors) for one or
more classes.
- suppressStaticInitializerIfRequested(CtClass, String) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
-
- suppressStaticInitializers - Static variable in class org.powermock.core.MockRepository
-
Holds info about which class that should have their static initializers
suppressed.
- SystemClassUser - Class in samples.system
-
Class used to demonstrate PowerMock's ability to mock system classes.
- SystemClassUser() - Constructor for class samples.system.SystemClassUser
-
- SystemPropertiesMockitoVersion() - Constructor for class samples.powermockito.MockitoVersion.SystemPropertiesMockitoVersion
-
- targetCL - Variable in class org.powermock.classloading.DeepCloner
-
- test - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner.TestExecutorStatement
-
- TEST_CLASS_FIELD - Static variable in class org.powermock.modules.junit4.internal.impl.testcaseworkaround.PowerMockJUnit4MethodValidator
-
- testAborted(RunNotifier, Description, Throwable) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
-
- testAnnotations(Method) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
-
- testAtDelegateMapper - Variable in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- TestCaseEntry - Class in org.powermock.tests.utils.impl
-
A test case entry consists of a test class and a list of test chunks that
should be executed for this entry.
- TestCaseEntry(Class<?>, List<TestChunk>) - Constructor for class org.powermock.tests.utils.impl.TestCaseEntry
-
- TestChunk - Interface in org.powermock.tests.utils
-
A test chunk consists of a list of methods that should be executed by a
particular classloader.
- TestChunkImpl - Class in org.powermock.tests.utils.impl
-
A test chunk consists of a list of methods that should be executed by a
particular classloader.
- TestChunkImpl(ClassLoader, List<Method>) - Constructor for class org.powermock.tests.utils.impl.TestChunkImpl
-
- testChunks - Variable in class org.powermock.tests.utils.impl.TestCaseEntry
-
- testClass - Variable in class org.powermock.core.transformers.impl.TestClassTransformer
-
- testClass - Variable in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestMethodChecker
-
- testClass() - Method in class org.powermock.modules.junit4.internal.impl.NotificationBuilder.OngoingTestRun
-
- testClass - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
-
- testClass - Variable in class org.powermock.modules.testng.internal.TestClassInstanceFactory
-
- testClass - Variable in class org.powermock.tests.utils.impl.MockClassLoaderFactory
-
- testClass - Variable in class org.powermock.tests.utils.impl.MockPolicyInitializerImpl
-
- testClass - Variable in class org.powermock.tests.utils.impl.TestCaseEntry
-
- testClasses - Variable in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- testClassesExtractor - Variable in class org.powermock.modules.testng.internal.ClassLoaderFactory
-
- TestClassesExtractor - Interface in org.powermock.tests.utils
-
- testClassInitiated(Class<?>) - Static method in class org.powermock.core.testlisteners.GlobalNotificationBuildSupport
-
- TestClassInstanceFactory - Class in org.powermock.modules.testng.internal
-
- TestClassInstanceFactory(Constructor, ClassLoaderFactory, Object...) - Constructor for class org.powermock.modules.testng.internal.TestClassInstanceFactory
-
- testClassLoader - Variable in class org.powermock.modules.junit4.internal.impl.DelegatingPowerMockRunner
-
- testClassName - Variable in class org.powermock.modules.junit4.internal.impl.DelegatingPowerMockRunner
-
- testClassName - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
-
- TestClassTransformer - Class in org.powermock.core.transformers.impl
-
MockTransformer implementation that will make PowerMock test-class
enhancements for four purposes...
- TestClassTransformer(Class<?>, Class<? extends Annotation>) - Constructor for class org.powermock.core.transformers.impl.TestClassTransformer
-
- TestClassTransformer.ForTestClass - Interface in org.powermock.core.transformers.impl
-
- TestClassTransformer.ForTestClass.RemovesTestMethodAnnotation - Interface in org.powermock.core.transformers.impl
-
- testCount - Variable in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
-
- testCount() - Method in class org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner
-
- testCount - Variable in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
-
- testDescription - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder.OngoingTestRun
-
- TestExecutorStatement(Runnable, Object, Method) - Constructor for class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner.TestExecutorStatement
-
- testFailure(Failure) - Method in class org.powermock.modules.junit4.common.internal.impl.PowerMockJUnit4RunListener
-
- testFinished(Description) - Method in class org.powermock.modules.junit4.common.internal.impl.PowerMockJUnit4RunListener
-
Performs clean up after each test.
- testFinished(Description) - Method in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
-
- testIgnored(Description) - Method in class org.powermock.modules.junit4.common.internal.impl.PowerMockJUnit4RunListener
-
- testIgnored(Description) - Method in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
-
- testInstance - Variable in class org.powermock.api.extension.listener.EasyMockAnnotationSupport
-
- testInstance - Variable in class org.powermock.api.extension.listener.TestSubjectInjector
-
- testInstance - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder.OngoingTestRun
-
- testInstance - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
-
- testInstance - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner.TestExecutorStatement
-
- testInstanceCreated(Object) - Method in interface org.powermock.core.testlisteners.GlobalNotificationBuildSupport.Callback
-
- testInstanceCreated(Object) - Static method in class org.powermock.core.testlisteners.GlobalNotificationBuildSupport
-
- testInstanceCreated(Object) - Method in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
-
- testInstanceCreated(Object) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
-
- testMethod - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder.OngoingTestRun
-
- testMethod - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
-
- testMethodAnnotation - Static variable in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl
-
- testMethodAnnotation() - Method in class org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl
-
- testMethodAnnotation() - Method in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl
-
- testMethodAnnotationType - Variable in class org.powermock.core.transformers.impl.TestClassTransformer
-
- TestMethodResult - Interface in org.powermock.core.spi.testresult
-
- TestMethodResultImpl - Class in org.powermock.core.spi.testresult.impl
-
- TestMethodResultImpl(Result) - Constructor for class org.powermock.core.spi.testresult.impl.TestMethodResultImpl
-
- testMethods - Variable in class org.powermock.modules.junit4.internal.impl.DelegatingPowerMockRunner
-
- testMethods - Variable in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
-
- testMethods - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
-
- testMethods - Variable in class org.powermock.modules.junit4.internal.impl.PowerMockRunNotifier
-
- testMethodsToBeExecutedByThisClassloader - Variable in class org.powermock.tests.utils.impl.TestChunkImpl
-
- testName(Method) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
-
- TestNGMethodFilter - Class in org.powermock.modules.testng.internal
-
Javassist method filter that ignores the toString, equals, finalize and
hashCode method otherwise the test output in Maven looks strange and
replayAll/verifyAll doesn't work as expected.
- TestNGMethodFilter() - Constructor for class org.powermock.modules.testng.internal.TestNGMethodFilter
-
- testStartHasBeenFired(Description) - Method in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
-
- TestSubjectInjector - Class in org.powermock.api.extension.listener
-
The class injects mocks created with
Mock
,
Mock
and
Mock
to fields of objects which is annotated with
TestSubject
- TestSubjectInjector(Object, AnnotationGlobalMetadata) - Constructor for class org.powermock.api.extension.listener.TestSubjectInjector
-
- TestSubjectInjector.InjectionTarget - Class in org.powermock.api.extension.listener
-
- testSubjectSupported - Variable in class org.powermock.api.easymock.EasyMockConfiguration
-
- testSuiteCallbacks - Static variable in class org.powermock.core.testlisteners.GlobalNotificationBuildSupport
-
- testSuiteChunker - Static variable in class org.powermock.modules.junit4.rule.PowerMockRule
-
- TestSuiteChunker - Interface in org.powermock.tests.utils
-
- TestSuiteResult - Interface in org.powermock.core.spi.testresult
-
- TestSuiteResultImpl - Class in org.powermock.core.spi.testresult.impl
-
- TestSuiteResultImpl() - Constructor for class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
-
- TestSuiteResultImpl(int, int, int, int) - Constructor for class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
-
- testSuiteStarted(Class<?>) - Method in class org.powermock.modules.junit4.internal.impl.NotificationBuilder
-
- then(Answer<?>) - Method in class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing
-
- thenAnswer(Answer<?>) - Method in class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing
-
- thenCallRealMethod() - Method in class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing
-
- thenReturn(T) - Method in class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing
-
- thenReturn(T, T...) - Method in class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing
-
- thenThrow(Throwable...) - Method in class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing
-
- thenThrow(Class<? extends Throwable>...) - Method in class org.powermock.api.mockito.internal.expectation.DelegatingToConstructorsOngoingStubbing
-
- theSecretIsPrivate() - Method in class samples.constructorargs.ConstructorArgsDemo
-
- thing - Variable in class samples.newmocking.SomeDependency
-
- ThingToTest - Class in samples.rule
-
- ThingToTest() - Constructor for class samples.rule.ThingToTest
-
- threadLogger - Static variable in class org.powermock.api.mockito.mockpolicies.Slf4jMockPolicy
-
- threadSleep() - Method in class samples.system.SystemClassUser
-
- throwAssertionErrorForNewSubstitutionFailure(AssertionError, Class<?>) - Static method in class org.powermock.api.easymock.internal.invocationcontrol.NewInvocationControlAssertionError
-
- throwAssertionErrorForNewSubstitutionFailure(AssertionError, Class<?>) - Static method in class org.powermock.api.mockito.internal.invocation.InvocationControlAssertionError
-
- throwException() - Method in class samples.spy.SpyObject
-
- throwExceptionAndWrapInRunTimeWhenInvoction() - Method in class samples.expectnew.ExpectNewDemo
-
The purpose of the method is to demonstrate that a test case can mock the
new instance call and throw an exception upon instantiation.
- throwExceptionIfConstructorWasNotFound(Class<?>, Constructor<?>, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Throw exception if constructor was not found.
- throwExceptionIfFieldWasNotFound(Class<?>, String, Field) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Throw exception if field was not found.
- throwExceptionIfMethodWasNotFound(Class<?>, String, Method, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Throw exception if method was not found.
- throwExceptionWhenInvoction() - Method in class samples.expectnew.ExpectNewDemo
-
The purpose of the method is to demonstrate that a test case can mock the
new instance call and throw an exception upon instantiation.
- throwExceptionWhenMultipleConstructorMatchesFound(Constructor<?>[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Throw exception when multiple constructor matches found.
- throwExceptionWhenMultipleMethodMatchesFound(String, Method[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Throw exception when multiple method matches found.
- times - Variable in class samples.expectnew.ExpectNewServiceUser
-
- times - Variable in class samples.expectnew.ExpectNewWithMultipleCtorDemo
-
- timesThree(int) - Method in class samples.partialmocking.MockSelfDemo
-
- timesTwo(Integer) - Method in class samples.partialmocking.MockSelfDemo
-
- timesTwo(int) - Method in class samples.partialmocking.MockSelfDemo
-
- toBoxedIfPrimitive(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
- toInstanceName(Class<?>, MockSettings) - Method in class org.powermock.api.mockito.internal.mockcreation.MockCreator
-
- TooManyConstructorsFoundException - Exception in org.powermock.reflect.exceptions
-
A run-time exception that may be thrown to indicate that too many
constructors were found.
- TooManyConstructorsFoundException(String) - Constructor for exception org.powermock.reflect.exceptions.TooManyConstructorsFoundException
-
Constructs a new exception with the specified detail message.
- TooManyFieldsFoundException - Exception in org.powermock.reflect.exceptions
-
A run-time exception that may be thrown to indicate that too many fields were
found.
- TooManyFieldsFoundException(String) - Constructor for exception org.powermock.reflect.exceptions.TooManyFieldsFoundException
-
Constructs a new exception with the specified detail message.
- TooManyMethodsFoundException - Exception in org.powermock.reflect.exceptions
-
A run-time exception that may be thrown to indicate that too many methods
were found.
- TooManyMethodsFoundException(String) - Constructor for exception org.powermock.reflect.exceptions.TooManyMethodsFoundException
-
Constructs a new exception with the specified detail message.
- toPrimitiveType(Class<?>[]) - Static method in class org.powermock.reflect.internal.primitivesupport.PrimitiveWrapper
-
Convert all wrapper types in types
to their primitive
counter parts.
- toReturn(T) - Method in class org.powermock.api.support.membermodification.strategy.impl.MethodStubStrategyImpl
-
- toReturn(T) - Method in interface org.powermock.api.support.membermodification.strategy.MethodStubStrategy
-
Stubs the method to return the specified returnValue.
- toSet(Method[]) - Static method in class org.powermock.api.easymock.PowerMock
-
- toSet(Method...) - Method in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
-
- toString() - Method in class org.powermock.core.spi.testresult.impl.TestMethodResultImpl
-
- toString() - Method in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
-
- toString() - Method in class org.powermock.reflect.internal.matcherstrategies.AssignableFromFieldTypeMatcherStrategy
-
- toString() - Method in class org.powermock.reflect.internal.matcherstrategies.FieldAnnotationMatcherStrategy
-
- toString() - Method in class org.powermock.reflect.internal.matcherstrategies.FieldNameMatcherStrategy
-
- toString() - Method in class org.powermock.reflect.internal.matcherstrategies.FieldTypeMatcherStrategy
-
- toString() - Method in class org.powermock.tests.utils.impl.TestChunkImpl
-
- ToStringGenerator - Class in org.powermock.api.mockito.internal.invocation
-
We need to override the toString() in some classes because normally the toString
"method" is assembled by calling the "qualifiedName" method but
this is not possible in our case.
- ToStringGenerator() - Constructor for class org.powermock.api.mockito.internal.invocation.ToStringGenerator
-
- totalItems - Variable in class samples.suppressfield.ItemRepository
-
- toThrow(Throwable) - Method in class org.powermock.api.support.membermodification.strategy.impl.MethodStubStrategyImpl
-
- toThrow(Throwable) - Method in interface org.powermock.api.support.membermodification.strategy.MethodStubStrategy
-
Stubs the method to throw the specified throwable.
- touch() - Method in class samples.partialmocking.PartialMockingWithConstructor
-
- transform(CtClass) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
-
- transform(CtClass) - Method in class org.powermock.core.transformers.impl.TestClassTransformer
-
- transform(CtClass) - Method in interface org.powermock.core.transformers.MockTransformer
-
Transforms the clazz
.
- transformMockClass(CtClass) - Method in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
-
- transformMockClass(CtClass) - Method in class org.powermock.core.transformers.impl.ClassMockTransformer
-
- transformMockClass(CtClass) - Method in class org.powermock.core.transformers.impl.InterfaceMockTransformer
-
- TransformStrategy - Enum in org.powermock.core.transformers
-
- TransformStrategy() - Constructor for enum org.powermock.core.transformers.TransformStrategy
-
- type - Variable in class org.powermock.api.extension.listener.AnnotationMockMetadata
-
- type - Variable in class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory.AbstractMockTypeValidator
-
- type - Variable in class org.powermock.api.mockito.internal.verification.DefaultConstructorArgumentsVerfication
-
- typeToMock - Variable in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.AcrossJVMMockSerializationProxy
-
- typeToMock - Variable in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.MockitoMockObjectInputStream
-
- TypeUtils - Class in org.powermock.reflect.internal
-
Utilities for types.
- TypeUtils() - Constructor for class org.powermock.reflect.internal.TypeUtils
-
- validate() - Method in interface org.powermock.api.mockito.internal.mockcreation.MockTypeValidator
-
- validate() - Method in class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory.AbstractMockTypeValidator
-
- validate() - Method in class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory.DefaultMockTypeValidator
-
- validate() - Method in class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory.JavaAgentMockTypeValidator
-
- validate() - Method in class org.powermock.api.mockito.internal.mockcreation.MockTypeValidatorFactory.NullMockTypeValidator
-
- validate() - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
-
- validateInstanceMethods() - Method in class org.powermock.modules.junit4.internal.impl.testcaseworkaround.PowerMockJUnit4MethodValidator
-
- validateMatchers(Invocation, List<LocalizedMatcher>) - Method in class org.powermock.api.mockito.internal.invocation.PowerMockMatchersBinder
-
- validateTestMethods(Class<? extends Annotation>, boolean) - Method in class org.powermock.modules.junit4.internal.impl.testcaseworkaround.PowerMockJUnit4MethodValidator
-
This is a rip-off of the
MethodValidator.validateInstanceMethods()
with the exception that
this method also searches for test methods if the class extends
TestCase
and has methods that starts with test which are not
annotated.
- validateType(Class<T>, boolean, boolean) - Method in class org.powermock.api.mockito.internal.mockcreation.AbstractMockCreator
-
- value - Variable in class org.powermock.core.ListMap.SimpleEntry
-
- value - Variable in class samples.classhierarchy.Parent
-
- value - Variable in class samples.classwithinnermembers.ClassWithInnerMembers.MyInnerClassWithConstructorArgument
-
- value - Variable in class samples.classwithinnermembers.ClassWithInnerMembers.StaticInnerClassWithConstructorArgument
-
- valueOf(String) - Static method in enum org.powermock.core.spi.testresult.Result
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.powermock.core.transformers.TransformStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.powermock.modules.junit4.internal.impl.NotificationBuilder.DetectedTestRunBehaviour
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.powermock.reflect.matching.FieldMatchingStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum samples.enummocking.EnumWithConstructor
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum samples.enummocking.MyEnum
-
Returns the enum constant of this type with the specified name.
- values() - Method in class org.powermock.core.ListMap
-
- values() - Static method in enum org.powermock.core.spi.testresult.Result
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.powermock.core.transformers.TransformStrategy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.powermock.modules.junit4.internal.impl.NotificationBuilder.DetectedTestRunBehaviour
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.powermock.reflect.matching.FieldMatchingStrategy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum samples.enummocking.EnumWithConstructor
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum samples.enummocking.MyEnum
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VarArgsConstructorDemo - Class in samples.expectnew
-
- VarArgsConstructorDemo(String...) - Constructor for class samples.expectnew.VarArgsConstructorDemo
-
- VarArgsConstructorDemo(byte[]...) - Constructor for class samples.expectnew.VarArgsConstructorDemo
-
- VarArgsConstructorDemo(Service...) - Constructor for class samples.expectnew.VarArgsConstructorDemo
-
- VarArgsConstructorDemo(float, int...) - Constructor for class samples.expectnew.VarArgsConstructorDemo
-
- varArgsMethod(int...) - Method in class samples.privatemocking.PrivateMethodDemo
-
- VerificationArguments(Method) - Constructor for class org.powermock.api.mockito.internal.verification.DefaultPrivateMethodVerification.VerificationArguments
-
- verify(Object...) - Method in class org.powermock.api.easymock.internal.invocationcontrol.EasyMockMethodInvocationControl
-
Verify the given objects or classes.
- verify(Object...) - Method in class org.powermock.api.easymock.internal.invocationcontrol.NewInvocationControlImpl
-
Verify the given objects or classes.
- verify(Object...) - Static method in class org.powermock.api.easymock.PowerMock
-
Switches the mocks or classes to verify mode.
- verify(Object...) - Method in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
-
- verify(Object...) - Method in class org.powermock.api.mockito.internal.invocation.MockitoNewInvocationControl
-
Verify the given objects or classes.
- verify(VerificationData) - Method in class org.powermock.api.mockito.internal.verification.StaticMockAwareVerificationMode
-
- verify(Object...) - Method in interface org.powermock.core.spi.DefaultBehavior
-
Verify the given objects or classes.
- verifyAll() - Static method in class org.powermock.api.easymock.PowerMock
-
Verify all classes and mock objects known by PowerMock.
- verifyClass(Class<?>...) - Static method in class org.powermock.api.easymock.PowerMock
-
Note: doesn't clear PowerMock state.
- verifyNew(Class<T>) - Static method in class org.powermock.api.mockito.PowerMockito
-
Verifies certain behavior happened once
- verifyNew(Class<?>, VerificationMode) - Static method in class org.powermock.api.mockito.PowerMockito
-
Verifies certain behavior happened at least once / exact number of times
/ never.
- verifyNoMoreInteractions() - Method in class org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl
-
- verifyNoMoreInteractions() - Method in class org.powermock.api.mockito.internal.invocation.MockitoNewInvocationControl
-
- VerifyNoMoreInteractions - Class in org.powermock.api.mockito.internal.verification
-
Verifies no more interactions, delegates to Mockito if PowerMockito doesn't
find a supplied mock.
- VerifyNoMoreInteractions() - Constructor for class org.powermock.api.mockito.internal.verification.VerifyNoMoreInteractions
-
- verifyNoMoreInteractions(Object...) - Static method in class org.powermock.api.mockito.internal.verification.VerifyNoMoreInteractions
-
- verifyNoMoreInteractions(Class<?>...) - Static method in class org.powermock.api.mockito.internal.verification.VerifyNoMoreInteractions
-
- verifyNoMoreInteractions(Object...) - Static method in class org.powermock.api.mockito.PowerMockito
-
Checks if any of given mocks (can be both instance and class mocks) has
any unverified interaction.
- verifyPrivate(Object) - Static method in class org.powermock.api.mockito.PowerMockito
-
Verify a private method invocation for an instance.
- verifyPrivate(Object, VerificationMode) - Static method in class org.powermock.api.mockito.PowerMockito
-
Verify a private method invocation with a given verification mode.
- verifyPrivate(Class<?>) - Static method in class org.powermock.api.mockito.PowerMockito
-
Verify a private method invocation for a class.
- verifyPrivate(Class<?>, VerificationMode) - Static method in class org.powermock.api.mockito.PowerMockito
-
Verify a private method invocation for a class with a given verification
mode.
- verifyStatic() - Static method in class org.powermock.api.mockito.PowerMockito
-
Verifies certain behavior happened once
- verifyStatic(VerificationMode) - Static method in class org.powermock.api.mockito.PowerMockito
-
Verifies certain behavior happened at least once / exact number of times
/ never.
- verifyZeroInteractions(Object...) - Static method in class org.powermock.api.mockito.PowerMockito
-
Verifies that no interactions happened on given mocks (can be both
instance and class mocks).
- version - Variable in class samples.powermockito.MockitoVersion.SystemPropertiesMockitoVersion
-
- VersionComparator - Class in org.powermock.modules.junit4.common.internal.impl
-
This code is copied from http://stackoverflow.com/questions/198431/how-do-you-compare-two-version-strings-in-java
- VersionComparator() - Constructor for class org.powermock.modules.junit4.common.internal.impl.VersionComparator
-
- VersionTokenizer - Class in org.powermock.modules.junit4.common.internal.impl
-
This code is copied from http://stackoverflow.com/questions/198431/how-do-you-compare-two-version-strings-in-java
- VersionTokenizer(String) - Constructor for class org.powermock.modules.junit4.common.internal.impl.VersionTokenizer
-
- VOID - Static variable in class org.powermock.core.transformers.impl.AbstractMainMockTransformer
-
- voidFinalMethod() - Static method in class samples.singleton.StaticExample
-
- voidMethod() - Method in class samples.newmocking.MyClass
-
- voidMethod() - Static method in class samples.singleton.StaticExample
-
- voidMethodStubbable(Object) - Method in class org.powermock.api.mockito.internal.mockmaker.PowerMockMaker.PowerMockInternalMockHandler
-
- when(Class<?>) - Method in interface org.powermock.api.mockito.expectation.PowerMockitoStubber
-
Allows to choose a static method when stubbing in
doThrow()|doAnswer()|doNothing()|doReturn() style
- when(T, Method) - Method in interface org.powermock.api.mockito.expectation.PowerMockitoStubber
-
Allows to mock a private instance method when stubbing in
doThrow()|doAnswer()|doNothing()|doReturn() style.
- when(T, Object...) - Method in interface org.powermock.api.mockito.expectation.PowerMockitoStubber
-
Allows to mock a private instance method based on the parameters when
stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style.
- when(T, String, Object...) - Method in interface org.powermock.api.mockito.expectation.PowerMockitoStubber
-
Allows to mock a private instance method based on method name and
parameters when stubbing in doThrow()|doAnswer()|doNothing()|doReturn()
style.
- when(Class<T>, Method) - Method in interface org.powermock.api.mockito.expectation.PowerMockitoStubber
-
Allows to mock a static private method when stubbing in
doThrow()|doAnswer()|doNothing()|doReturn() style.
- when(Class<T>, Object...) - Method in interface org.powermock.api.mockito.expectation.PowerMockitoStubber
-
Allows to mock a static private method based on the parameters when
stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style.
- when(Class<T>, String, Object...) - Method in interface org.powermock.api.mockito.expectation.PowerMockitoStubber
-
Allows to mock a static private method based on method name and
parameters when stubbing in doThrow()|doAnswer()|doNothing()|doReturn()
style.
- when(Class<?>) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
-
Allows to choose a static method when stubbing in
doThrow()|doAnswer()|doNothing()|doReturn() style
- when(T) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
-
Supports PowerMockito mocks.
- when(T, Method) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
-
- when(T, Object...) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
-
- when(T, String, Object...) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
-
- when(Class<T>, Object...) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
-
- when(Class<T>, String, Object...) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
-
- when(Class<T>, Method) - Method in class org.powermock.api.mockito.internal.expectation.PowerMockitoStubberImpl
-
- when(Object, String, Object...) - Static method in class org.powermock.api.mockito.PowerMockito
-
Expect calls to private methods.
- when(Object, Method) - Static method in class org.powermock.api.mockito.PowerMockito
-
Expect calls to private methods.
- when(Class<?>, Method) - Static method in class org.powermock.api.mockito.PowerMockito
-
Expect calls to private static methods.
- when(Object, Object...) - Static method in class org.powermock.api.mockito.PowerMockito
-
Expect calls to private methods without having to specify the method
name.
- when(Class<?>, String, Object...) - Static method in class org.powermock.api.mockito.PowerMockito
-
Expect a static private or inner class method call.
- when(Class<?>, Object...) - Static method in class org.powermock.api.mockito.PowerMockito
-
Expect calls to private static methods without having to specify the
method name.
- when(T) - Static method in class org.powermock.api.mockito.PowerMockito
-
Just delegates to the original Mockito.when(Object)
method.
- whenNew(Constructor<T>) - Static method in class org.powermock.api.mockito.PowerMockito
-
Allows specifying expectations on new invocations.
- whenNew(Class<T>) - Static method in class org.powermock.api.mockito.PowerMockito
-
Allows specifying expectations on new invocations.
- whenNew(String) - Static method in class org.powermock.api.mockito.PowerMockito
-
Allows specifying expectations on new invocations for private member
(inner) classes, local or anonymous classes.
- Whitebox - Class in org.powermock.reflect
-
Various utilities for accessing internals of a class.
- Whitebox() - Constructor for class org.powermock.reflect.Whitebox
-
- WhiteboxImpl - Class in org.powermock.reflect.internal
-
Various utilities for accessing internals of a class.
- WhiteboxImpl() - Constructor for class org.powermock.reflect.internal.WhiteboxImpl
-
- WILDCARD - Static variable in class org.powermock.core.WildcardMatcher
-
- WildcardMatcher - Class in org.powermock.core
-
Wildcard matcher.
- WildcardMatcher() - Constructor for class org.powermock.core.WildcardMatcher
-
- with(Class<?>) - Method in interface org.powermock.api.support.membermodification.strategy.ClassReplaceStrategy
-
Replaces all method invocations on class specified class with method
invocation to cls
.
- with(Method) - Method in class org.powermock.api.support.membermodification.strategy.impl.MethodReplaceStrategyImpl
-
- with(InvocationHandler) - Method in class org.powermock.api.support.membermodification.strategy.impl.MethodReplaceStrategyImpl
-
- with(Method) - Method in interface org.powermock.api.support.membermodification.strategy.MethodReplaceStrategy
-
Replaces the method invocation with this method.
- with(InvocationHandler) - Method in interface org.powermock.api.support.membermodification.strategy.MethodReplaceStrategy
-
Replaces the method invocation with an invocation handler
- WithAnyArguments<T> - Interface in org.powermock.api.mockito.expectation
-
- withAnyArguments() - Method in interface org.powermock.api.mockito.expectation.WithAnyArguments
-
- withAnyArguments() - Method in class org.powermock.api.mockito.internal.expectation.DefaultConstructorExpectationSetup
-
- withArguments(Object, Object...) - Method in interface org.powermock.api.mockito.expectation.PrivatelyExpectedArguments
-
- withArguments(Object, Object...) - Method in interface org.powermock.api.mockito.expectation.WithExpectedArguments
-
- withArguments(Object, Object...) - Method in class org.powermock.api.mockito.internal.expectation.ConstructorAwareExpectationSetup
-
- withArguments(Object[]) - Method in class org.powermock.api.mockito.internal.expectation.DefaultConstructorExpectationSetup
-
- withArguments(Object, Object...) - Method in class org.powermock.api.mockito.internal.expectation.DefaultConstructorExpectationSetup
-
- withArguments(Object, Object...) - Method in class org.powermock.api.mockito.internal.expectation.DefaultMethodExpectationSetup
-
- withArguments(Object, Object...) - Method in class org.powermock.api.mockito.internal.expectation.DefaultPrivatelyExpectedArguments
-
- withArguments(Object, Object...) - Method in class org.powermock.api.mockito.internal.verification.DefaultConstructorArgumentsVerfication
-
- withArguments(Object, Object...) - Method in class org.powermock.api.mockito.internal.verification.DefaultPrivateMethodVerification.VerificationArguments
-
- withArguments(Object, Object...) - Method in interface org.powermock.api.mockito.verification.ConstructorArgumentsVerification
-
- withArguments(Object, Object...) - Method in interface org.powermock.api.mockito.verification.WithVerifiedArguments
-
- withContextClassLoader(ClassLoader, Callable<T>) - Static method in class org.powermock.modules.junit4.internal.impl.DelegatingPowerMockRunner
-
- WithExpectedArguments<T> - Interface in org.powermock.api.mockito.expectation
-
- WithExpectedParameterTypes<T> - Interface in org.powermock.api.mockito.expectation
-
- withNoArguments() - Method in interface org.powermock.api.mockito.expectation.PrivatelyExpectedArguments
-
- withNoArguments() - Method in interface org.powermock.api.mockito.expectation.WithoutExpectedArguments
-
- withNoArguments() - Method in class org.powermock.api.mockito.internal.expectation.ConstructorAwareExpectationSetup
-
- withNoArguments() - Method in class org.powermock.api.mockito.internal.expectation.DefaultConstructorExpectationSetup
-
- withNoArguments() - Method in class org.powermock.api.mockito.internal.expectation.DefaultMethodExpectationSetup
-
- withNoArguments() - Method in class org.powermock.api.mockito.internal.expectation.DefaultPrivatelyExpectedArguments
-
- withNoArguments() - Method in class org.powermock.api.mockito.internal.verification.DefaultConstructorArgumentsVerfication
-
- withNoArguments() - Method in class org.powermock.api.mockito.internal.verification.DefaultPrivateMethodVerification.VerificationArguments
-
- withNoArguments() - Method in interface org.powermock.api.mockito.verification.ConstructorArgumentsVerification
-
- withNoArguments() - Method in interface org.powermock.api.mockito.verification.WithoutVerifiedArguments
-
- WithOrWithoutExpectedArguments<T> - Interface in org.powermock.api.mockito.expectation
-
- WithOrWithoutVerifiedArguments - Interface in org.powermock.api.mockito.verification
-
- WithoutExpectedArguments<T> - Interface in org.powermock.api.mockito.expectation
-
- WithoutVerifiedArguments - Interface in org.powermock.api.mockito.verification
-
- withParameterTypes(Class<?>, Class<?>...) - Method in interface org.powermock.api.mockito.expectation.WithExpectedParameterTypes
-
- withParameterTypes(Class<?>, Class<?>...) - Method in class org.powermock.api.mockito.internal.expectation.DefaultConstructorExpectationSetup
-
- WithVerifiedArguments - Interface in org.powermock.api.mockito.verification
-
- wrapInMockitoSpecificVerificationMode(Object, VerificationMode) - Method in class org.powermock.api.mockito.internal.PowerMockitoCore
-
- wrapInStaticVerificationMode(VerificationMode) - Method in class org.powermock.api.mockito.internal.PowerMockitoCore
-
- wrapMethod(Method) - Method in class org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl
-
- wrappedDefaultRunner - Variable in class org.powermock.modules.junit4.PowerMockRunnerDelegate.DefaultJUnitRunner
-
- write(Field, Object, Object) - Static method in class org.powermock.classloading.DeepCloner.UnsafeFieldWriter
-
- writeReplace() - Method in interface org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature.AcrossJVMMockitoMockSerializable
-
- writeReplace(Object) - Method in class org.powermock.api.mockito.repackaged.AcrossJVMSerializationFeature
-
Custom implementation of the writeReplace
method for serialization.
- WsUtil - Class in samples.interfacemethodfinding
-
- WsUtil() - Constructor for class samples.interfacemethodfinding.WsUtil
-