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, isPreparedpublic PrepareForTestExtractorImpl()
public PrepareForTestExtractorImpl(boolean includeMethods)
protected String[] getClassesToModify(AnnotatedElement element)
element.getClassesToModify in class AbstractTestClassExtractorelement - The element that may contain info regarding which classes that
must be modified by PowerMock.element.Copyright © 2007–2016. All rights reserved.