1) Removed =yesno since it was throwing Error: Not a test or directory containing tests 2) Test was just printing the "Test passes" on the printer and user did not had any option to mark the test as pass or fail and test was always passing. so created test UI with test instruction and test controls to mark the test pass or fail and checking the end result of the test.
@shurymury ------------- Commit messages: - 8270331 : [TESTBUG] Error: Not a test or directory containing tests: java/awt/print/PrinterJob/InitToBlack.java - [TESTBUG] Error: Not a test or directory containing tests: java/awt/print/PrinterJob/InitToBlack.java Changes: https://git.openjdk.java.net/jdk/pull/7860/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7860&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8270331 Stats: 131 lines in 1 file changed: 116 ins; 0 del; 15 mod Patch: https://git.openjdk.java.net/jdk/pull/7860.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/7860/head:pull/7860 PR: https://git.openjdk.java.net/jdk/pull/7860