RFR: 8285612 : Remove jtreg tag manual=yesno for java/awt/print/PrinterJob/ImagePrinting/ClippedImages.java
Phil Race
prr at openjdk.java.net
Tue Apr 26 20:25:51 UTC 2022
On Mon, 25 Apr 2022 22:36:59 GMT, lawrence.andrews <duke at openjdk.java.net> wrote:
> 1) Removed yesno to eliminate parserException
> 2) Added code to fit into manual framework so that timeout, pass & fail is handled.
> 3) Added code to mark the test as pass if printer service is not available
> 4) Added code to handle pressing or clicking of 'Cancel' button.
>
> @shurymury
> @aivanov-jdk
test/jdk/java/awt/print/PrinterJob/ImagePrinting/ClippedImages.java line 81:
> 79: b) that numerical text on the image is displayed similarly
> 80: e) that the green quadrilaterals match on-screen
> 81: f) that the rendering is clipped at the default (typically1 inch)
typically1 inch -> typically 1 inch
test/jdk/java/awt/print/PrinterJob/ImagePrinting/ClippedImages.java line 89:
> 87: PassFailJFrame passFailJFrame = new PassFailJFrame("Test " +
> 88: "Instruction", instruction, 15);
> 89: createTestUI();
might as well make this
EventQueue.invokeAndWait(createTestUI())
-------------
PR: https://git.openjdk.java.net/jdk/pull/8391
More information about the client-libs-dev
mailing list