- AbstractPowerMockTestListenerBase - Class in org.powermock.core.spi.support
-
- AbstractPowerMockTestListenerBase() - Constructor for class org.powermock.core.spi.support.AbstractPowerMockTestListenerBase
-
- AbstractTestClassExtractor - Class in org.powermock.tests.utils.impl
-
Base class for all test class extractors.
- AbstractTestClassExtractor() - Constructor for class org.powermock.tests.utils.impl.AbstractTestClassExtractor
-
- AbstractTestSuiteChunkerImpl<T> - Class in org.powermock.tests.utils.impl
-
Abstract base class for test suite chunking, i.e.
- AbstractTestSuiteChunkerImpl(Class<?>) - Constructor for class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
-
- AbstractTestSuiteChunkerImpl(Class<?>...) - Constructor for class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
-
- add(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
- addClassesToModify(String...) - Method in class org.powermock.core.classloader.MockClassLoader
-
Add classes that will be loaded by the mock classloader, i.e.
- addConstructorToSuppress(Constructor<?>) - Static method in class org.powermock.core.MockRepository
-
Add a constructor to suppress.
- addFieldToSuppress(Field) - Static method in class org.powermock.core.MockRepository
-
Add a field to suppress.
- addFieldToSuppress(Field, Field...) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- addFieldToSuppress(Field[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- addFieldToSuppress(Field, Field...) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Add specific fields that should be suppressed upon invocation.
- addFieldToSuppress(Field[]) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Add specific fields that should be suppressed upon invocation.
- addFieldTypesToSuppress(String, String...) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- addFieldTypesToSuppress(String[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- addFieldTypesToSuppress(String, String...) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Add field types that should be suppressed.
- addFieldTypesToSuppress(String[]) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Add field types that should be suppressed.
- addFieldTypeToSuppress(String) - Static method in class org.powermock.core.MockRepository
-
Add a field type to suppress.
- addFullyQualifiedNamesOfClassesToLoadByMockClassloader(String, String...) - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
-
- addFullyQualifiedNamesOfClassesToLoadByMockClassloader(String[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
-
- addFullyQualifiedNamesOfClassesToLoadByMockClassloader(String, String...) - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
-
Add types that should be loaded (and possibly modified) by the mock
classloader.
- addFullyQualifiedNamesOfClassesToLoadByMockClassloader(String[]) - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
-
Add types that should be loaded (and possibly modified) by the mock
classloader.
- addIgnorePackage(String...) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
-
- addMethodsToSuppress(Method, Method...) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- addMethodsToSuppress(Method[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- addMethodsToSuppress(Method, Method...) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Add methods to suppress upon invocation.
- addMethodsToSuppress(Method[]) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Add methods to suppress upon invocation.
- addMethodToSuppress(Method) - Static method in class org.powermock.core.MockRepository
-
Add a method to suppress.
- addObjectsToAutomaticallyReplayAndVerify(Object...) - Static method in class org.powermock.core.MockRepository
-
Add classes that should be automatically replayed or verified.
- addStaticInitializersToSuppress(String, String...) - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
-
- addStaticInitializersToSuppress(String[]) - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
-
- addStaticInitializersToSuppress(String, String...) - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
-
Add static initializers to suppress.
- addStaticInitializersToSuppress(String[]) - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
-
Add static initializers to suppress.
- addSubtituteReturnValue(Method, Object) - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- addSubtituteReturnValue(Method, Object) - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
- addSuppressStaticInitializer(String) - Static method in class org.powermock.core.MockRepository
-
Add a fully qualified class name for a class that should have its static
initializers suppressed.
- adjustClassPath(ClassPool) - Method in interface org.powermock.core.classloader.ClassPathAdjuster
-
- afterTestMethod(Object, Method, Object[], TestMethodResult) - Method in interface org.powermock.core.spi.PowerMockTestListener
-
Invoked after each test method.
- afterTestMethod(Object, Method, Object[], TestMethodResult) - Method in class org.powermock.core.spi.support.AbstractPowerMockTestListenerBase
-
Provides an empty implementation.
- afterTestMethod(Object, Method, Object[], TestMethodResult) - Method in class org.powermock.core.testlisteners.FieldDefaulter
-
- afterTestSuiteEnded(Class<?>, Method[], TestSuiteResult) - Method in interface org.powermock.core.spi.PowerMockTestListener
-
Invoked after a test suite has ended.
- afterTestSuiteEnded(Class<?>, Method[], TestSuiteResult) - Method in class org.powermock.core.spi.support.AbstractPowerMockTestListenerBase
-
Provides an empty implementation.
- AnnotationEnablerListener - Interface in org.powermock.core.spi.listener
-
- applyClassLoadingPolicy(MockPolicyClassLoadingSettings) - Method in interface org.powermock.core.spi.PowerMockPolicy
-
Apply all class-loading related policies that must be present before the
interception policies can take place.
- applyInterceptionPolicy(MockPolicyInterceptionSettings) - Method in interface org.powermock.core.spi.PowerMockPolicy
-
Apply the interception policies, for example which methods that should be
suppressed or which methods that should be intercepted and return some
else than their original value.
- ArrayMerger - Interface in org.powermock.tests.utils
-
An array merger concatenates several arrays to one.
- ArrayMergerImpl - Class in org.powermock.tests.utils.impl
-
The default implementation of the
ArrayMerger interface.
- ArrayMergerImpl() - Constructor for class org.powermock.tests.utils.impl.ArrayMergerImpl
-
- get(Object) - Method in class org.powermock.core.ListMap
-
- getAdditionalState(String) - Static method in class org.powermock.core.MockRepository
-
Retrieve state based on the supplied key.
- getCallerClass() - Static method in class org.powermock.core.ClassLocator
-
- getChunkSize() - Method in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
-
- 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.
- 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
-
- getDelegatorIndex(int) - Method in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
-
Get the junit runner delegate that handles the test at index
testIndex.
- getFailureCount() - Method in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
-
- getFailureCount() - Method in interface org.powermock.core.spi.testresult.TestSuiteResult
-
- getFieldsToSuppress() - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- getFieldsToSuppress() - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
- getFieldTypesToSuppress() - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- getFieldTypesToSuppress() - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
- getFullyQualifiedNamesOfClassesToLoadByMockClassloader() - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
-
- getFullyQualifiedNamesOfClassesToLoadByMockClassloader() - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
-
- getIgnoreCount() - Method in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
-
- getIgnoreCount() - Method in interface org.powermock.core.spi.testresult.TestSuiteResult
-
- getInstanceMethodInvocationControl(Object) - Static method in class org.powermock.core.MockRepository
-
- getInternalTestIndex(int) - Method in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
-
Get the internal test index for a junit runner delegate based on the
"real" original test index.
- getLoggerMethods(String, String, String) - Method in class org.powermock.mockpolicies.support.LogPolicySupport
-
Get the methods that should be mocked.
- getMethodProxy(Method) - Static method in class org.powermock.core.MockRepository
-
- getMethodsToSuppress() - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- getMethodsToSuppress() - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
- getMethodToStub(Method) - Static method in class org.powermock.core.MockRepository
-
- getMockAnnotations() - Method in interface org.powermock.core.spi.listener.AnnotationEnablerListener
-
- getNewInstanceControl(Class<?>) - Static method in class org.powermock.core.MockRepository
-
- getObjectsToAutomaticallyReplayAndVerify() - Static method in class org.powermock.core.MockRepository
-
- getPackagesToIgnore(AnnotatedElement) - Method in interface org.powermock.tests.utils.IgnorePackagesExtractor
-
- getPackagesToIgnore(AnnotatedElement) - Method in class org.powermock.tests.utils.impl.PowerMockIgnorePackagesExtractorImpl
-
- getPowerMockTestListenersLoadedByASpecificClassLoader(Class<?>, ClassLoader) - Method in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
-
- 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.
- getResource(String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
-
- getResourceAsStream(String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
-
- getResources(String) - Method in class org.powermock.core.classloader.DeferSupportingClassLoader
-
- getResult() - Method in class org.powermock.core.spi.testresult.impl.TestMethodResultImpl
-
- getResult() - Method in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
-
- getResult() - Method in interface org.powermock.core.spi.testresult.TestMethodResult
-
- getResult() - Method in interface org.powermock.core.spi.testresult.TestSuiteResult
-
- getStaticInitializersToSuppress() - Method in class org.powermock.mockpolicies.impl.MockPolicyClassLoadingSettingsImpl
-
- getStaticInitializersToSuppress() - Method in interface org.powermock.mockpolicies.MockPolicyClassLoadingSettings
-
- getStaticMethodInvocationControl(Class<?>) - Static method in class org.powermock.core.MockRepository
-
- getStubbedMethods() - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- getStubbedMethods() - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
Get all substitute return values and also returns an unmodifiable map of
all method-object pairs the were initialized.
- getSubstituteReturnValues() - Method in class org.powermock.mockpolicies.impl.MockPolicyInterceptionSettingsImpl
-
- getSubstituteReturnValues() - Method in interface org.powermock.mockpolicies.MockPolicyInterceptionSettings
-
- getSuccessCount() - Method in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
-
- getSuccessCount() - Method in interface org.powermock.core.spi.testresult.TestSuiteResult
-
- getTestChunks() - Method in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
-
- 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.AbstractTestSuiteChunkerImpl
-
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 class org.powermock.tests.utils.impl.TestCaseEntry
-
- getTestClasses(AnnotatedElement) - Method in class org.powermock.tests.utils.impl.AbstractTestClassExtractor
-
If element is a class this method traverses the hierarchy
and extracts classes that should be prepared for test in all super
classes.
- getTestClasses() - Method in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl
-
- getTestClasses(AnnotatedElement) - Method in interface org.powermock.tests.utils.TestClassesExtractor
-
- getTestCount() - Method in class org.powermock.core.spi.testresult.impl.TestSuiteResultImpl
-
- getTestCount() - Method in interface org.powermock.core.spi.testresult.TestSuiteResult
-
- getTestCount() - Method in interface org.powermock.tests.utils.TestSuiteChunker
-
Get the number of total tests defined in the suite (the sum of all tests
defined in all chunks for this suite).
- getTestMethodsToBeExecutedByThisClassloader() - Method in class org.powermock.tests.utils.impl.TestChunkImpl
- getTestMethodsToBeExecutedByThisClassloader() - Method in interface org.powermock.tests.utils.TestChunk
-
- getType(String, String) - Method in class org.powermock.mockpolicies.support.LogPolicySupport
-
Get the class type representing the fully-qualified name.
- 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
-