RFR: 8270331 : [TESTBUG] Error: Not a test or directory containing tests: java/awt/print/PrinterJob/InitToBlack.java

Phil Race prr at openjdk.java.net
Wed Mar 23 22:54:47 UTC 2022


On Thu, 17 Mar 2022 21:47:12 GMT, lawrence.andrews <duke at openjdk.java.net> wrote:

> 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

Marked as reviewed by prr (Reviewer).

test/jdk/java/awt/print/PrinterJob/InitToBlack.java line 172:

> 170:         if (!CountDownLatch.await(2, TimeUnit.MINUTES)) {
> 171:             throw new RuntimeException("Timeout : User did not decided " +
> 172:                     "whether test passed or failed");

decided => decide

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

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



More information about the client-libs-dev mailing list