FailureDetailView.java revision 58a8b0aba2dec5695628a2bf25a3fae42c2c3533
1package junit.runner;
2
3import java.awt.Component;
4
5import junit.framework.TestFailure;
6
7/**
8 * A view to show a details about a failure
9 */
10public interface FailureDetailView {
11	/**
12	 * Returns the component used to present the TraceView
13	 */
14	public Component 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}