RFR: 8292309 : Fix java/awt/PrintJob/ConstrainedPrintingTest/ConstrainedPrintingTest.java test [v2]

lawrence.andrews duke at openjdk.org
Tue Sep 20 21:38:49 UTC 2022


On Wed, 7 Sep 2022 22:42:35 GMT, lawrence.andrews <duke at openjdk.org> wrote:

>> 1) Fixed Parse Exception by removing yesno
>> test result: Error. Parse Exception: Arguments to `manual' option not supported: yesno
>> 2) Throw jtreg.SkippedException when printer is not configured on the test host
>> 3) Replaced Sysout & TestDialog with ManualTestFrame, which allows to the user to better decide test results and to take screen shot if test fails.
>> 
>> @shurymury
>
> lawrence.andrews has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Show Frame with in EDT

Removed @key printer since its a label on the test that used to filter the test & since its a manual test we dn't need the label. We can use SkippedException if printer on available we can throw the exception.

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

PR: https://git.openjdk.org/jdk/pull/9865



More information about the client-libs-dev mailing list