RFR: 8324807 : Manual printer tests have no Pass/Fail buttons, instructions close set 2 [v2]
Alisen Chung
achung at openjdk.org
Thu Feb 1 00:42:05 UTC 2024
On Tue, 30 Jan 2024 07:02:36 GMT, Renjith Kannath Pariyangad <rkannathpari at openjdk.org> wrote:
>> Hi Reviewers,
>>
>> Updated manual printer test cases with 'PassFailJFrame', also removed unused variables. Added 'SkippedException' in case of printer missing or not configured.
>>
>> Please review and let me know your suggestions.
>>
>> Regards,
>> Renjith
>
> Renjith Kannath Pariyangad has updated the pull request incrementally with one additional commit since the last revision:
>
> Capitalized static final variables
test/jdk/java/awt/print/PrinterJob/DrawImage.java line 83:
> 81:
> 82: BufferedImageOp scaleOp = new RescaleOp(scaleFactor, 0, null);
> 83: g2D.drawImage(image, scaleOp, x + _objectBorder, y + _objectBorder);
dispose g2D object
test/jdk/java/awt/print/PrinterJob/InvalidPage.java line 106:
> 104: (int) pageFormat.getImageableWidth(),
> 105: (int) pageFormat.getImageableHeight());
> 106: g2d.drawLine((int) pageFormat.getImageableWidth(), 0,
dispose g2D object
test/jdk/java/awt/print/PrinterJob/JobName/PrinterJobName.java line 76:
> 74: Graphics2D g2d = (Graphics2D) g;
> 75: g2d.translate(pgFmt.getImageableX(), pgFmt.getImageableY());
> 76: g2d.drawString("Name is: " + theName, 20, 20);
dispose g2D object
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17608#discussion_r1473655667
PR Review Comment: https://git.openjdk.org/jdk/pull/17608#discussion_r1473656040
PR Review Comment: https://git.openjdk.org/jdk/pull/17608#discussion_r1473656127
More information about the client-libs-dev
mailing list