org.powermock.tests.utils.impl
Class PrepareForTestExtractorImpl
java.lang.Object
org.powermock.tests.utils.impl.AbstractTestClassExtractor
org.powermock.tests.utils.impl.PrepareForTestExtractorImpl
- All Implemented Interfaces:
- TestClassesExtractor
public class PrepareForTestExtractorImpl
- extends AbstractTestClassExtractor
Implementation of the 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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrepareForTestExtractorImpl
public PrepareForTestExtractorImpl()
getClassesToModify
protected String[] getClassesToModify(AnnotatedElement element)
- Get the fully qualified names for classes that must should be modified
for this
element.
- Specified by:
getClassesToModify in class AbstractTestClassExtractor
- 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.
Copyright © 2007-2014. All Rights Reserved.