The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 1 | package junit.runner; |
| 2 | |
| 3 | // The following line was removed for compatibility with Android libraries. |
Brett Chabot | f1253cd | 2012-01-30 11:29:54 -0800 | [diff] [blame] | 4 | //import java.awt.Component; |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 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. |
John Spurlock | 8a985d2 | 2014-02-25 09:40:05 -0500 | [diff] [blame] | 15 | // /** |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 16 | // * Returns the component used to present the TraceView |
| 17 | // */ |
| 18 | // public Component getComponent(); |
| 19 | |
Brett Chabot | f1253cd | 2012-01-30 11:29:54 -0800 | [diff] [blame] | 20 | /** |
| 21 | * Shows details of a TestFailure |
| 22 | */ |
| 23 | public void showFailure(TestFailure failure); |
| 24 | /** |
| 25 | * Clears the view |
| 26 | */ |
| 27 | public void clear(); |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 28 | } |