Package org.junit.internal.runners
Class MethodRoadie
- java.lang.Object
-
- org.junit.internal.runners.MethodRoadie
-
@Deprecated public class MethodRoadie extends java.lang.ObjectDeprecated.Included for backwards compatibility with JUnit 4.4. Will be removed in the next major release. Please useBlockJUnit4ClassRunnerin place ofJUnit4ClassRunner.
-
-
Field Summary
Fields Modifier and Type Field Description private DescriptiondescriptionDeprecated.private RunNotifiernotifierDeprecated.private java.lang.ObjecttestDeprecated.private TestMethodtestMethodDeprecated.
-
Constructor Summary
Constructors Constructor Description MethodRoadie(java.lang.Object test, TestMethod method, RunNotifier notifier, Description description)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidaddFailure(java.lang.Throwable e)Deprecated.voidrun()Deprecated.private voidrunAfters()Deprecated.private voidrunBefores()Deprecated.voidrunBeforesThenTestThenAfters(java.lang.Runnable test)Deprecated.voidrunTest()Deprecated.protected voidrunTestMethod()Deprecated.private voidrunWithTimeout(long timeout)Deprecated.
-
-
-
Field Detail
-
test
private final java.lang.Object test
Deprecated.
-
notifier
private final RunNotifier notifier
Deprecated.
-
description
private final Description description
Deprecated.
-
testMethod
private TestMethod testMethod
Deprecated.
-
-
Constructor Detail
-
MethodRoadie
public MethodRoadie(java.lang.Object test, TestMethod method, RunNotifier notifier, Description description)Deprecated.
-
-
Method Detail
-
run
public void run()
Deprecated.
-
runWithTimeout
private void runWithTimeout(long timeout)
Deprecated.
-
runTest
public void runTest()
Deprecated.
-
runBeforesThenTestThenAfters
public void runBeforesThenTestThenAfters(java.lang.Runnable test)
Deprecated.
-
runTestMethod
protected void runTestMethod()
Deprecated.
-
runBefores
private void runBefores() throws FailedBeforeDeprecated.- Throws:
FailedBefore
-
runAfters
private void runAfters()
Deprecated.
-
addFailure
protected void addFailure(java.lang.Throwable e)
Deprecated.
-
-