OSDN Git Service

original
[gb-231r1-is01/Gingerbread_2.3.3_r1_IS01.git] / libcore / junit / src / test / java / junit / runner / FailureDetailView.java
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  */
11 public 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 }