lejosunit.framework
Interface TestListener

All Known Implementing Classes:
TestRunner

public interface TestListener

A Listener for test progress.

Author:
Jochen Hiller

Method Summary
 void addError(Test test, java.lang.Throwable t)
          An error occurred.
 void addFailure(Test test, AssertionFailedError t)
          A failure occurred
 void endTest(Test test)
          A test ended.
 void startTest(Test test)
          A test started.
 

Method Detail

addError

public void addError(Test test,
                     java.lang.Throwable t)
An error occurred.

Parameters:
test - the test to add
t - the exception to be added

addFailure

public void addFailure(Test test,
                       AssertionFailedError t)
A failure occurred

Parameters:
test - the test to add
t - the exception to be added

endTest

public void endTest(Test test)
A test ended.

Parameters:
test - the test to add

startTest

public void startTest(Test test)
A test started.

Parameters:
test - the test to add


Copyright (C) 2003 Jochen Hiller. All Rights Reserved.