1 package junit.runner; 2 3 import java.awt.Component; 4 5 import junit.framework.*; 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 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 }