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

Refactor tests with TestUI class to use PassFailJFrame instead

XMLWordPrintable

      There are several tests which a TestUI class as manual test framework.

      These tests were written before PassFailJFrame was created. At the same time, we can simplify the test base and re-use a common component for creating common UI for manual tests which displays instructions and Pass/Fail buttons.


      The list of tests which currently use the TestUI class:

      % grep -r 'class TestUI {' test/jdk/java/awt test/jdk/javax/swing
      test/jdk/java/awt/Modal/InvisibleParentTest/InvisibleParentTest.java
      test/jdk/java/awt/Robot/HiDPIScreenCapture/ScreenCaptureResolutionTest.java
      test/jdk/javax/swing/JFileChooser/ExternalDriveNameTest.java
      test/jdk/javax/swing/JFileChooser/GodMode/JFileChooserTest.java
      test/jdk/javax/swing/JSlider/SliderTick/SliderTickTest.java
      test/jdk/javax/swing/JTabbedPane/4310381/bug4310381.java
      test/jdk/javax/swing/plaf/nimbus/TestDisabledToolTipBorder.java

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

              Created:
              Updated: