Package org.powermock.tests.utils.impl
Class StaticConstructorSuppressExtractorImpl
java.lang.Object
org.powermock.tests.utils.impl.AbstractTestClassExtractor
org.powermock.tests.utils.impl.StaticConstructorSuppressExtractorImpl
- All Implemented Interfaces:
TestClassesExtractor
Implementation of the
TestClassesExtractor
interface for classes that
should have their static initializers suppressed.-
Field Summary
Fields inherited from class org.powermock.tests.utils.impl.AbstractTestClassExtractor
includeMethods
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
getClassesToModify
(AnnotatedElement element) Get the fully qualified names for classes that must should be modified for thiselement
.Methods inherited from class org.powermock.tests.utils.impl.AbstractTestClassExtractor
getTestClasses, isPrepared
-
Constructor Details
-
StaticConstructorSuppressExtractorImpl
public StaticConstructorSuppressExtractorImpl()
-
-
Method Details
-
getClassesToModify
Description copied from class:AbstractTestClassExtractor
Get the fully qualified names for classes that must should be modified for thiselement
.- Specified by:
getClassesToModify
in classAbstractTestClassExtractor
- Parameters:
element
- The element that may contain info regarding which classes that must be modified by PowerMock.- Returns:
- An array of fully-qualified names to classes that must be
modified by PowerMock for the specific
element
.
-