KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > junit > runner > FailureDetailView


1 package junit.runner;
2
3 import java.awt.Component JavaDoc;
4
5 import junit.framework.TestFailure;
6
7 /**
8  * A view to show a details about a failure
9  */

10 public interface FailureDetailView {
11     /**
12      * Returns the component used to present the TraceView
13      */

14     public Component JavaDoc getComponent();
15     /**
16      * Shows details of a TestFailure
17      */

18     public void showFailure(TestFailure failure);
19     /**
20      * Clears the view
21      */

22     public void clear();
23 }
Popular Tags