org.ops4j.pax.exam.junit.internal
Class JUnit4MethodRoadie

java.lang.Object
  extended by org.junit.internal.runners.MethodRoadie
      extended by org.ops4j.pax.exam.junit.internal.JUnit4MethodRoadie

public class JUnit4MethodRoadie
extends org.junit.internal.runners.MethodRoadie

Extends MethodRoadie in order to supress the running of Befores and Afters.

Since:
0.3.0, January 28, 2009
Author:
Alin Dreghiciu (adreghiciu@gmail.com)

Constructor Summary
JUnit4MethodRoadie(java.lang.Object test, org.junit.internal.runners.TestMethod method, org.junit.runner.notification.RunNotifier notifier, org.junit.runner.Description description)
          Constructor matching super.
 
Method Summary
 void runBeforesThenTestThenAfters(java.lang.Runnable test)
          Do not run the before and afters are they are run in the container by the moment the test is run.
 
Methods inherited from class org.junit.internal.runners.MethodRoadie
addFailure, run, runTest, runTestMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JUnit4MethodRoadie

public JUnit4MethodRoadie(java.lang.Object test,
                          org.junit.internal.runners.TestMethod method,
                          org.junit.runner.notification.RunNotifier notifier,
                          org.junit.runner.Description description)
Constructor matching super.

Method Detail

runBeforesThenTestThenAfters

public void runBeforesThenTestThenAfters(java.lang.Runnable test)
Do not run the before and afters are they are run in the container by the moment the test is run.

Overrides:
runBeforesThenTestThenAfters in class org.junit.internal.runners.MethodRoadie


Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.