org.powermock.tests.utils.impl
Class StaticConstructorSuppressExtractorImpl

java.lang.Object
  extended by org.powermock.tests.utils.impl.AbstractTestClassExtractor
      extended by org.powermock.tests.utils.impl.StaticConstructorSuppressExtractorImpl
All Implemented Interfaces:
TestClassesExtractor

public class StaticConstructorSuppressExtractorImpl
extends AbstractTestClassExtractor

Implementation of the TestClassesExtractor interface for classes that should have their static initializers suppressed.


Constructor Summary
StaticConstructorSuppressExtractorImpl()
           
 
Method Summary
 String[] getClassesToModify(AnnotatedElement element)
          Get the fully qualified names for classes that must should be modified for this element.
 
Methods inherited from class org.powermock.tests.utils.impl.AbstractTestClassExtractor
getTestClasses, isPrepared
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticConstructorSuppressExtractorImpl

public StaticConstructorSuppressExtractorImpl()
Method Detail

getClassesToModify

public 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.