org.apache.maven.surefire.junitcore
Class ClassDemarcatingRunner

java.lang.Object
  extended by org.junit.runner.Runner
      extended by org.apache.maven.surefire.junitcore.ClassDemarcatingRunner
All Implemented Interfaces:
org.junit.runner.Describable

public class ClassDemarcatingRunner
extends org.junit.runner.Runner

Attaches the current class to the thread

Author:
Kristian Rosenvold

Constructor Summary
ClassDemarcatingRunner(org.junit.runner.Runner target, Class testClass)
           
 
Method Summary
static String getCurrentTestClass()
           
 org.junit.runner.Description getDescription()
           
 void run(org.junit.runner.notification.RunNotifier notifier)
           
 
Methods inherited from class org.junit.runner.Runner
testCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassDemarcatingRunner

public ClassDemarcatingRunner(org.junit.runner.Runner target,
                              Class testClass)
Method Detail

getDescription

public org.junit.runner.Description getDescription()
Specified by:
getDescription in interface org.junit.runner.Describable
Specified by:
getDescription in class org.junit.runner.Runner

run

public void run(org.junit.runner.notification.RunNotifier notifier)
Specified by:
run in class org.junit.runner.Runner

getCurrentTestClass

public static String getCurrentTestClass()


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.