aboutsummaryrefslogtreecommitdiff
path: root/src/junit/runner/FailureDetailView.java
blob: fc9aaf495f5e5f3450037f584b085d2b687b1671 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package junit.runner;

import java.awt.Component;

import junit.framework.TestFailure;

/**
 * A view to show a details about a failure
 */
public interface FailureDetailView {
	/**
	 * Returns the component used to present the TraceView
	 */
	public Component getComponent();
	/**
	 * Shows details of a TestFailure
	 */
	public void showFailure(TestFailure failure);
	/**
	 * Clears the view
	 */
	public void clear();
}