Package junit.swingui
Class DefaultFailureDetailView
- java.lang.Object
-
- junit.swingui.DefaultFailureDetailView
-
- All Implemented Interfaces:
FailureDetailView
public class DefaultFailureDetailView extends java.lang.Object implements FailureDetailView
A view that shows a stack trace of a failure
-
-
Constructor Summary
Constructors Constructor Description DefaultFailureDetailView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
Clears the output.java.awt.Component
getComponent()
Returns the component used to present the tracevoid
showFailure(TestFailure failure)
Shows a TestFailure
-
-
-
Method Detail
-
getComponent
public java.awt.Component getComponent()
Returns the component used to present the trace- Specified by:
getComponent
in interfaceFailureDetailView
-
showFailure
public void showFailure(TestFailure failure)
Shows a TestFailure- Specified by:
showFailure
in interfaceFailureDetailView
-
clear
public void clear()
Clears the output.- Specified by:
clear
in interfaceFailureDetailView
-
-