Class PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
java.lang.Object
org.junit.internal.runners.MethodRoadie
org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
- Direct Known Subclasses:
PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner
- Enclosing class:
PowerMockJUnit44RunnerDelegateImpl
protected class PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
extends org.junit.internal.runners.MethodRoadie
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final Objectprotected final org.junit.internal.runners.TestMethod -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPowerMockJUnit44MethodRunner(Object testInstance, org.junit.internal.runners.TestMethod method, org.junit.runner.notification.RunNotifier notifier, org.junit.runner.Description description, boolean extendsFromTestCase) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteTest(Method method, Object testInstance, Runnable test) private StringgetExpectedExceptionName(org.junit.internal.runners.TestMethod fTestMethod) protected voidhandleException(org.junit.internal.runners.TestMethod testMethod, Throwable actualFailure) private voidhandleInvocationTargetException(org.junit.internal.runners.TestMethod testMethod, InvocationTargetException e) voidprotected voidMethods inherited from class org.junit.internal.runners.MethodRoadie
addFailure, run, runTest
-
Field Details
-
testInstance
-
extendsFromTestCase
private final boolean extendsFromTestCase -
testMethod
protected final org.junit.internal.runners.TestMethod testMethod
-
-
Constructor Details
-
PowerMockJUnit44MethodRunner
protected PowerMockJUnit44MethodRunner(Object testInstance, org.junit.internal.runners.TestMethod method, org.junit.runner.notification.RunNotifier notifier, org.junit.runner.Description description, boolean extendsFromTestCase)
-
-
Method Details
-
runBeforesThenTestThenAfters
- Overrides:
runBeforesThenTestThenAftersin classorg.junit.internal.runners.MethodRoadie
-
executeTest
-
runTestMethod
protected void runTestMethod()- Overrides:
runTestMethodin classorg.junit.internal.runners.MethodRoadie
-
handleInvocationTargetException
private void handleInvocationTargetException(org.junit.internal.runners.TestMethod testMethod, InvocationTargetException e) throws Exception - Throws:
Exception
-
handleException
protected void handleException(org.junit.internal.runners.TestMethod testMethod, Throwable actualFailure) -
getExpectedExceptionName
-