1package junit.runner; 2 3// The following line was removed for compatibility with Android libraries. 4//import java.awt.Component; 5 6import junit.framework.*; 7 8/** 9 * A view to show a details about a failure 10 */ 11public interface FailureDetailView { 12 // The following definition was removed for compatibility with Android 13 // libraries. 14 // /** 15 // * Returns the component used to present the TraceView 16 // */ 17 // public Component getComponent(); 18 19 /** 20 * Shows details of a TestFailure 21 */ 22 public void showFailure(TestFailure failure); 23 /** 24 * Clears the view 25 */ 26 public void clear(); 27} 28