public class PowerMockJUnit4LegacyTestClassMethodsRunner
extends org.junit.internal.runners.TestClassMethodsRunner
TestClassMethodsRunner creates a new instance of
TestInterceptor in its constructor we need to manually lookup the additional
methods that should be added when extending from TestCase.| Constructor and Description |
|---|
PowerMockJUnit4LegacyTestClassMethodsRunner(java.lang.Class<?> klass,
org.powermock.core.spi.PowerMockTestListener[] powerMockTestListeners) |
| Modifier and Type | Method and Description |
|---|---|
protected org.junit.internal.runners.TestMethodRunner |
createMethodRunner(java.lang.Object test,
java.lang.reflect.Method method,
org.junit.runner.notification.RunNotifier notifier) |
void |
run(org.junit.runner.notification.RunNotifier notifier) |
public PowerMockJUnit4LegacyTestClassMethodsRunner(java.lang.Class<?> klass,
org.powermock.core.spi.PowerMockTestListener[] powerMockTestListeners)
protected org.junit.internal.runners.TestMethodRunner createMethodRunner(java.lang.Object test,
java.lang.reflect.Method method,
org.junit.runner.notification.RunNotifier notifier)
createMethodRunner in class org.junit.internal.runners.TestClassMethodsRunnerpublic void run(org.junit.runner.notification.RunNotifier notifier)
run in class org.junit.internal.runners.TestClassMethodsRunner