Package org.powermock.core.transformers
Interface TestClassAwareTransformer
-
public interface TestClassAwareTransformer
If a transformer implements this interface thenMockClassLoaderBuilder
sets current test class during building a instance ofMockClassLoader
. IMPORTANT This may take affect only with running PowerMock with class loader mode, atestClass
will not be set in case if PowerMock used as JavaAgent.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setTestClass(java.lang.Class<?> testClass)
-