|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.junit.internal.runners.MethodValidator
org.powermock.modules.junit4.internal.impl.testcaseworkaround.PowerMockJUnit4MethodValidator
public class PowerMockJUnit4MethodValidator
A custom MethodValidator 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 extending TestCase. This is
actually a workaround for JUnit 4.4 when the test case extends from the
TestCase class.
| Constructor Summary | |
|---|---|
PowerMockJUnit4MethodValidator(org.junit.internal.runners.TestClass testClass)
|
|
| Method Summary | |
|---|---|
void |
validateInstanceMethods()
|
| Methods inherited from class org.junit.internal.runners.MethodValidator |
|---|
assertValid, validateMethodsForDefaultRunner, validateNoArgConstructor, validateStaticMethods |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PowerMockJUnit4MethodValidator(org.junit.internal.runners.TestClass testClass)
| Method Detail |
|---|
public void validateInstanceMethods()
validateInstanceMethods in class org.junit.internal.runners.MethodValidator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||