Package docking.test

Class TestFailingErrorDisplayWrapper

  • All Implemented Interfaces:
    ErrorDisplay

    public class TestFailingErrorDisplayWrapper
    extends java.lang.Object
    implements ErrorDisplay
    An error display wrapper that allows us to fail tests when errors are encountered. This is a way for us to fail for exceptions that come from client code, but are handled by the error display service, while running tests.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void displayErrorMessage​(ErrorLogger errorLogger, java.lang.Object originator, java.awt.Component parent, java.lang.String title, java.lang.Object message, java.lang.Throwable throwable)  
      void displayInfoMessage​(ErrorLogger errorLogger, java.lang.Object originator, java.awt.Component parent, java.lang.String title, java.lang.Object message)  
      void displayWarningMessage​(ErrorLogger errorLogger, java.lang.Object originator, java.awt.Component parent, java.lang.String title, java.lang.Object message, java.lang.Throwable throwable)  
      void setErrorDisplayDelegate​(ErrorDisplay delegate)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TestFailingErrorDisplayWrapper

        public TestFailingErrorDisplayWrapper()
    • Method Detail

      • setErrorDisplayDelegate

        public void setErrorDisplayDelegate​(ErrorDisplay delegate)
      • displayInfoMessage

        public void displayInfoMessage​(ErrorLogger errorLogger,
                                       java.lang.Object originator,
                                       java.awt.Component parent,
                                       java.lang.String title,
                                       java.lang.Object message)
        Specified by:
        displayInfoMessage in interface ErrorDisplay
      • displayErrorMessage

        public void displayErrorMessage​(ErrorLogger errorLogger,
                                        java.lang.Object originator,
                                        java.awt.Component parent,
                                        java.lang.String title,
                                        java.lang.Object message,
                                        java.lang.Throwable throwable)
        Specified by:
        displayErrorMessage in interface ErrorDisplay
      • displayWarningMessage

        public void displayWarningMessage​(ErrorLogger errorLogger,
                                          java.lang.Object originator,
                                          java.awt.Component parent,
                                          java.lang.String title,
                                          java.lang.Object message,
                                          java.lang.Throwable throwable)
        Specified by:
        displayWarningMessage in interface ErrorDisplay