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

[PIT][TEST_BUG] Doubtful usability of java/awt/print/PrinterJob/TestMediaTraySelection.java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • client-libs
    • 2d
    • b137

        This manual test, java/awt/print/PrinterJob/TestMediaTraySelection.java,
        (1) does presume the default printer has MediaTray property named exactly "Tray 4". If not, the test fails with NPE in PrintRequestAttributeSet atrset.add(). Wait for series of useful test reports about this.
        (2) explicitly requires the tester to verify that printout went from the Tray 4. All of a sudden. As the receptacle is usually the same for all output, how the poor tester could know? Leaving alone the question which tray is 4, if any, and timeout.

        I'd suggest to exclude this test from the regular runs by @ignore or something. It may be useful for a developer in certain circumstances but not in the testing farm.

              psadhukhan Prasanta Sadhukhan
              yan Yuri Nesterenko
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: