RFR: 8320677: Printer tests use invalid '@run main/manual=yesno [v4]

Anass Baya abaya at openjdk.org
Wed Oct 22 12:19:42 UTC 2025


> The tests : 
>   test/jdk/java/awt/print/PrinterJob/PolylinePrintingTest.java
>   test/jdk/java/awt/print/PrinterJob/PageRanges.java      
>   
>   were failing because the Argument yesno to 'manual' option is invalid 
> the fix is as follow : 
> - Removed yesno
> - Used PassFailJFrame manual test framework 
> - add the missing keyboard  'test' to PolylinePrintingTest.java

Anass Baya has updated the pull request incrementally with one additional commit since the last revision:

  Remove page format - throw jtreg.SkippedException if the printer is not available - Enhancments

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27916/files
  - new: https://git.openjdk.org/jdk/pull/27916/files/58ca7af3..4803d8a9

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27916&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27916&range=02-03

  Stats: 31 lines in 2 files changed: 11 ins; 18 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/27916.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27916/head:pull/27916

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


More information about the client-libs-dev mailing list