junit.logswingui
Interface TestProtocolView

All Known Implementing Classes:
DefaultTestProtocolView

public interface TestProtocolView

Interface showing test protocols in the test runner of JUnit.

Created: Thu Nov 08 12:55:54 2001

Version:
$Revision: 1.2 $
Author:
Wolfgang Reissenberger

Method Summary
 void addFailure(junit.framework.Test test, java.lang.Throwable t)
          Add a failure message.
 void addMessage(java.lang.String message)
          Append a new message to the protocol.
 void clear()
          Clear the protocol window.
 void hide()
          Hide the protocol window.
 void show()
          Show the protocol window.
 

Method Detail

addMessage

public void addMessage(java.lang.String message)
Append a new message to the protocol.
Parameters:
message - the message

addFailure

public void addFailure(junit.framework.Test test,
                       java.lang.Throwable t)
Add a failure message.
Parameters:
test - test that failed
t - Throwable, that occured

show

public void show()
Show the protocol window.

hide

public void hide()
Hide the protocol window.

clear

public void clear()
Clear the protocol window.


Copyright © 2000 -- 2003 openfuture.de. All Rights Reserved.