RFR: 8270609: [TESTBUG] java/awt/print/Dialog/DialogCopies.java does not show instruction

lawrence.andrews github.com+87324768+lawrence-andrew at openjdk.java.net
Wed Sep 15 16:58:50 UTC 2021


On Tue, 20 Jul 2021 23:54:20 GMT, lawrence.andrews <github.com+87324768+lawrence-andrew at openjdk.org> wrote:

> 1) When the test is executed via jtreg user can see only print dialog with no instruction to the user. User has to see the test case to see the instruction and perform the test . 
> 2) With this fix User is instructed what he/she has to do with the print dialog.
> 3) I have added both success instruction as well as failure instruction.
> 
> @shurymury

I rewrote the test case to close the test ui if user click the OK or Cancel button & check for job.getCopies() value and make the testcase pass or fail. 
You are right even I have the same issue in deciding whether to make the test case pass or fail if prerequisites aren't met.  I hope all the client test machines are configured with printer.
Yes, Sysout is overkill, I am working just to show the test instruction in an frame & printDialog.

-------------

PR: https://git.openjdk.java.net/jdk/pull/4850



More information about the client-libs-dev mailing list