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