aboutsummaryrefslogtreecommitdiff
path: root/src/junit/runner/FailureDetailView.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/junit/runner/FailureDetailView.java')
-rw-r--r--src/junit/runner/FailureDetailView.java28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/junit/runner/FailureDetailView.java b/src/junit/runner/FailureDetailView.java
new file mode 100644
index 0000000..c846191
--- /dev/null
+++ b/src/junit/runner/FailureDetailView.java
@@ -0,0 +1,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();
+}