JUnit 3.8.1

junit.swingui
Class DefaultFailureDetailView

java.lang.Object
  extended byjunit.swingui.DefaultFailureDetailView
All Implemented Interfaces:
FailureDetailView

public class DefaultFailureDetailView
extends Object
implements FailureDetailView

A view that shows a stack trace of a failure


Constructor Summary
DefaultFailureDetailView()
           
 
Method Summary
 void clear()
          Clears the output.
 Component getComponent()
          Returns the component used to present the trace
 void showFailure(TestFailure failure)
          Shows a TestFailure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFailureDetailView

public DefaultFailureDetailView()
Method Detail

getComponent

public Component getComponent()
Returns the component used to present the trace

Specified by:
getComponent in interface FailureDetailView

showFailure

public void showFailure(TestFailure failure)
Shows a TestFailure

Specified by:
showFailure in interface FailureDetailView

clear

public void clear()
Clears the output.

Specified by:
clear in interface FailureDetailView

JUnit 3.8.1