Annotation Type PrepareEverythingForTest
-
@Target({TYPE,METHOD}) @Retention(RUNTIME) @Documented @Inherited public @interface PrepareEverythingForTest
This annotation tells PowerMock to prepare all classes (except certain system and test related classes) for test. Note that static initializers are not removed.The annotation should always be combined with the
@RunWith(PowerMockRunner.class)
if using junit 4.x orpublic static TestSuite suite() throws Exception { return new PowerMockSuite(MyTestCase.class); }
if using junit3.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description ByteCodeFramework
byteCodeFramework
-
-
-
Element Detail
-
byteCodeFramework
ByteCodeFramework byteCodeFramework
- Default:
- org.powermock.core.classloader.ByteCodeFramework.Javassist
-
-