[OpenJDK 2D-Dev] [9] RFR JDK-8158520: [TEST_BUG] java/awt/PrintJob/PrinterException.java fails on timeout
prasanta sadhukhan
prasanta.sadhukhan at oracle.com
Fri Jun 3 11:46:06 UTC 2016
Hi All,
Please review a test bug which was added for bug 7161283.
Toolkit.getPrintJob() threw a NPE if no printer was available.
Although the testcase was working ok in failure case by throwing NPE, in
pass case it was waiting for manual intervention causing jtreg to fail
on timeout.
Made the testcase automated to use Robot to press Enter as the focus in
the dialog is in the "Print" button. Using Robot to press Enter closes
the dialog without the need for manual intervention.
Tested on windows, linux and mac.
Bug: https://bugs.openjdk.java.net/browse/JDK-8158520
webrev: http://cr.openjdk.java.net/~psadhukhan/8158520/webrev.00/
Regards
Prasanta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20160603/21f4a615/attachment.html>
More information about the 2d-dev
mailing list