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

// The following line was removed for compatibility with Android libraries.
//import java.awt.Component;

import junit.framework.*;

/**
 * A view to show a details about a failure
 * {@hide} - Not needed for 1.0 SDK
 */
public interface FailureDetailView {
    // The following definition was removed for compatibility with Android
    // libraries.
    //  /**
    //   * 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();
}