RFR: 8343118: [TESTBUG] java/awt/PrintJob/PrintCheckboxTest/PrintCheckboxManualTest.java fails with rror. Can't find HTML file PrintCheckboxManualTest.html [v3]

Abhishek Kumar abhiscxk at openjdk.org
Mon Nov 11 08:45:55 UTC 2024


On Thu, 7 Nov 2024 09:05:12 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> Test was pointing to missing html file, probably due to old Applet usage. Test is updated to use PFJ..
>
> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   tag correction

Tried printing to pdf and the output is clipped. Is it the intended behavior or printer is must required?

![image](https://github.com/user-attachments/assets/3327125b-d50b-40b5-b000-f4fcec3a6550)

test/jdk/java/awt/PrintJob/PrintCheckboxTest/PrintCheckboxManualTest.java line 54:

> 52:             1. Click the 'Print' button on the frame
> 53:             2. Select a printer in the print dialog and proceed
> 54:             3. If the frame with checkbox and button on it is printed successfully test PASSED else FAILED.

Can be limit to 80 cols.

test/jdk/java/awt/PrintJob/PrintCheckboxTest/PrintCheckboxManualTest.java line 83:

> 81:         b.addActionListener(new ActionListener() {
> 82:             public void actionPerformed(ActionEvent ev) {
> 83:                 PrintJob pj = Toolkit.getDefaultToolkit().getPrintJob(f, "PrintCheckboxManualTest", null);

Can be limit to 80 cols.

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

PR Comment: https://git.openjdk.org/jdk/pull/21786#issuecomment-2467543979
PR Review Comment: https://git.openjdk.org/jdk/pull/21786#discussion_r1836141666
PR Review Comment: https://git.openjdk.org/jdk/pull/21786#discussion_r1836141944


More information about the client-libs-dev mailing list