Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-2326

Remove/clear JOptionPanes raised during tests

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.10.2
    • Component/s: Dev and Dep
    • Labels:
      None

      Description

      I've noticed that occasionally option panes are raised and hang around during tests. If we are to run tests unattended these need to be non-blocking, but regardless, its still disconcerting to see the dialogs hanging around whilst other things happen during the test.

      It would be good if there were a standard (GUI class independent) model for raising JOptionPanes that tests could use to clear, or even introspect any optionpanes that were raised during tests.

      An example that disconcerted me was a dialog titled 'PDB Web-service error' that contained text starting wth '====== PDB Rest Client RunTime Error ========' - followed by an unintelligible error raised by the SOLR service.

        Attachments

        1. JOptionPane_refs_Jalview.txt
          6 kB
          Tochukwu Charles N Ofoegbu
        2. pdbrestruntime.png
          83 kB
          James Procter

          Activity

            People

            Assignee:
            tcnofoegbu Tochukwu Charles N Ofoegbu
            Reporter:
            jprocter James Procter
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: