DefaultFailureDetailView
Keywords: junit.swingui.DefaultFailureDetailView class

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`DefaultFailureDetailView()`

Method Summary
`void` | `clear()` Clears the output.
`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`

Constructor Detail

### DefaultFailureDetailView

    public 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()

  Clears the output.

  Specified by:
    `clear` in interface `FailureDetailView`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD