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

Printer tests use invalid '@run main/manual=yesno'

XMLWordPrintable

    • 2d

      The following printer tests use the invalid `@run main/manual=yesno`:

      test/jdk/java/awt/print/Dialog/DialogType.java
      test/jdk/java/awt/print/PrinterJob/PageRanges.java
      test/jdk/java/awt/print/PrinterJob/PolylinePrintingTest.java
      test/jdk/java/awt/print/PrinterJob/PrintTextTest.java
      test/jdk/java/awt/print/PrinterJob/SwingUIText.java

      If you run them, you'll get a jtreg error:
      Error. Parse Exception: Arguments to `manual' option not supported: yesno

      The list can be produced by running the following command in the jdk repo:
      grep -r -l 'main/manual=yesno' test/jdk/java/awt/print test/jdk/javax/print/

      * test/jdk/java/awt/print/PrinterJob/PolylinePrintingTest.java has no `@test` tag at the moment, jtreg rejects it as not a test.

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

              Created:
              Updated: