Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8317107

Investigate automating JFrame/DefaultCloseOperation.java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 22
    • client-libs

      The test/jdk/javax/swing/JFrame/DefaultCloseOperation.java test could be improved:

      In fact, I thought about iterating the values automatically ... and ask the tester to click the Close button on the window. The do nothing could be the last option tested, and the frame/dialog would be closed from the handler.

      Another way could be sending the event programmatically. This would automate the test completely. However, we may still leave the manual test... just in case the tester sees anything unusual.

      See https://github.com/openjdk/jdk/pull/15827#discussion_r1336149065 from JDK-8316211 for more details.

            aivanov Alexey Ivanov
            aivanov Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: