jmathlib.tools.junit.swingui
Class DefaultFailureDetailView

java.lang.Object
  extended by jmathlib.tools.junit.swingui.DefaultFailureDetailView
All Implemented Interfaces:
FailureDetailView

 class DefaultFailureDetailView
extends java.lang.Object
implements FailureDetailView

A view that shows a stack trace of a failure


Field Summary
(package private)  javax.swing.JTextArea fTextArea
           
 
Constructor Summary
DefaultFailureDetailView()
           
 
Method Summary
 void clear()
          Clears the view
 java.awt.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
 

Field Detail

fTextArea

javax.swing.JTextArea fTextArea
Constructor Detail

DefaultFailureDetailView

DefaultFailureDetailView()
Method Detail

getComponent

public java.awt.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()
Description copied from interface: FailureDetailView
Clears the view

Specified by:
clear in interface FailureDetailView

FOOTER

BOTTOM