Class PowerMockJUnit4MethodValidator
- java.lang.Object
-
- org.junit.internal.runners.MethodValidator
-
- org.powermock.modules.junit4.internal.impl.testcaseworkaround.PowerMockJUnit4MethodValidator
-
public class PowerMockJUnit4MethodValidator extends org.junit.internal.runners.MethodValidator
A customMethodValidator
that makes sure that test methods not annotated by the Test annotation works in JUnit 4.4 with the custom JUnit-runner when the test class is extendingTestCase
. This is actually a workaround for JUnit 4.4 when the test case extends from theTestCase
class.
-
-
Constructor Summary
Constructors Constructor Description PowerMockJUnit4MethodValidator(org.junit.internal.runners.TestClass testClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validateInstanceMethods()
-