public class PrepareForTestExtractorImpl extends AbstractTestClassExtractor
TestClassesExtractor
interface that extract
classes from the PrepareForTest
or PrepareOnlyThisForTest
annotations. It also adds the test case to the array of classes that should
be modified.includeMethods
Constructor and Description |
---|
PrepareForTestExtractorImpl() |
PrepareForTestExtractorImpl(boolean includeMethods) |
Modifier and Type | Method and Description |
---|---|
protected String[] |
getClassesToModify(AnnotatedElement element)
Get the fully qualified names for classes that must should be modified
for this
element . |
getTestClasses, isPrepared
public PrepareForTestExtractorImpl()
public PrepareForTestExtractorImpl(boolean includeMethods)
protected String[] getClassesToModify(AnnotatedElement element)
AbstractTestClassExtractor
element
.getClassesToModify
in class AbstractTestClassExtractor
element
- The element that may contain info regarding which classes that
must be modified by PowerMock.element
.Copyright © 2019. All rights reserved.