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