org.junitee.runner
Interface TestRunnerListener

All Superinterfaces:
junit.framework.TestListener
All Known Implementing Classes:
TestRunnerResults

public interface TestRunnerListener
extends junit.framework.TestListener

The listener interface for receiving test runner events.

Since:
1.5
Version:
$Revision: 1.1 $
Author:
Oliver Rossmueller

Method Summary
 void finish()
          This method is called after the last test is executed.
 void runFailed(java.lang.String message)
          This method is called when executing a test failed because the test class could not be loaded or an instance could not be created.
 void setStopped()
           
 void start(boolean singleTest)
          This method is called before the first test is executed.
 
Methods inherited from interface junit.framework.TestListener
addError, addFailure, endTest, startTest
 

Method Detail

start

public void start(boolean singleTest)
This method is called before the first test is executed.

Parameters:
singleTest - true, if only a single test is run

finish

public void finish()
This method is called after the last test is executed.


runFailed

public void runFailed(java.lang.String message)
This method is called when executing a test failed because the test class could not be loaded or an instance could not be created.


setStopped

public void setStopped()