Problem : 
1) Testcase was failing due to parse exception yesno
2) After removing yesno tag test frame and immediately get disposed

Fix : 
1) Removed yesno tag
2) Show the test frame with pass, fail button.  Now user can click on the 
`print' button to show the print dialog and take the print out and compare the 
print with the graphics rendered on the frame. Click either on the 'Pass' or 
'Fail' button to make the pass or fail also clicking the 'Pass' or 'Fail' 
closes the test frame.
3) Added the timeout If not interaction is performed on the test frame.

@shurymury

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

Commit messages:
 - 8274032 : Remove jtreg tag manual=yesno for 
java/awt/print/PrinterJob/ImagePrinting/ImageTypes.java & show test UI

Changes: https://git.openjdk.java.net/jdk/pull/5595/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5595&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8274032
  Stats: 170 lines in 1 file changed: 90 ins; 33 del; 47 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5595.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5595/head:pull/5595

PR: https://git.openjdk.java.net/jdk/pull/5595

Reply via email to