1. package junit.runner;
  2. import java.awt.Component;
  3. import junit.framework.*;
  4. /**
  5. * A view to show a details about a failure
  6. */
  7. public interface FailureDetailView {
  8. /**
  9. * Returns the component used to present the TraceView
  10. */
  11. public Component getComponent();
  12. /**
  13. * Shows details of a TestFailure
  14. */
  15. public void showFailure(TestFailure failure);
  16. /**
  17. * Clears the view
  18. */
  19. public void clear();
  20. }