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

Manual printer tests have no Pass/Fail buttons, instructions close set 1

XMLWordPrintable

    • 2d
    • b17

      The following manual printer tests use Sysout framework/classes to display its UI; it was used with applets but the tests are now converted to standalone apps, and there are no Pass or Fail buttons displayed. The instructions quickly appear on the screen and close quickly; in some cases they close after you click Print/OK in a displayed dialog.

      This is not the intended behaviour.

      The list of tests:
      test/jdk/java/awt/print/PageFormat/PageSetupDialog.java
      test/jdk/java/awt/print/PrinterJob/Cancel/PrinterJobCancel.java
      test/jdk/java/awt/print/PrinterJob/Collate2DPrintingTest.java
      test/jdk/java/awt/print/PrinterJob/DrawImage.java
      test/jdk/java/awt/print/PrinterJob/DrawStringMethods.java
      test/jdk/java/awt/print/PrinterJob/InvalidPage.java
      test/jdk/java/awt/print/PrinterJob/JobName/PrinterJobName.java
      test/jdk/java/awt/print/PrinterJob/NumCopies.java
      test/jdk/java/awt/print/PrinterJob/PageDlgPrnButton.java
      test/jdk/java/awt/print/PrinterJob/PrintCompoundString.java
      test/jdk/java/awt/print/PrinterJob/PrintImage.java
      test/jdk/java/awt/print/PrinterJob/PrintNullString.java
      test/jdk/java/awt/print/PrinterJob/PrintParenString.java
      test/jdk/java/awt/print/PrinterJob/PrintTranslatedFont.java
      test/jdk/java/awt/print/PrinterJob/raster/RasterTest.java
      test/jdk/java/awt/print/PrinterJob/ValidatePage/ValidatePage.java

      I also attached as sysout.testlist file to this bug.

      You can run the entire set by using a command-line like this:
      java -jar jtreg.jar -nr -v $(cat sysout.testlist)

            rkannathpari Renjith Kannath Pariyangad
            aivanov Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: