org.junit.internal.runners
Class ErrorReportingRunner

java.lang.Object
  extended by org.junit.runner.Runner
      extended by org.junit.internal.runners.ErrorReportingRunner
All Implemented Interfaces:
Describable

public class ErrorReportingRunner
extends Runner


Constructor Summary
ErrorReportingRunner(Class<?> testClass, Throwable cause)
           
 
Method Summary
 Description getDescription()
           
 void run(RunNotifier notifier)
          Run the tests for this runner.
 
Methods inherited from class org.junit.runner.Runner
testCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorReportingRunner

public ErrorReportingRunner(Class<?> testClass,
                            Throwable cause)
Method Detail

getDescription

public Description getDescription()
Specified by:
getDescription in interface Describable
Specified by:
getDescription in class Runner
Returns:
a Description showing the tests to be run by the receiver

run

public void run(RunNotifier notifier)
Description copied from class: Runner
Run the tests for this runner.

Specified by:
run in class Runner
Parameters:
notifier - will be notified of events while tests are being run--tests being started, finishing, and failing