<AWT Dev> Integrated: 8270312: Error: Not a test or directory containing tests: java/awt/print/PrinterJob/XparColor.java

lawrence.andrews github.com+87324768+lawrence-andrew at openjdk.java.net
Tue Aug 17 07:47:29 UTC 2021


On Tue, 13 Jul 2021 14:57:30 GMT, lawrence.andrews <github.com+87324768+lawrence-andrew at openjdk.org> wrote:

> 1) This testcase was throwing error saying Error: Not a test or directory containing tests: java/awt/print/PrinterJob/XparColor.java
> 2) Added @test tag so that this testcase can be run
> 3) Since Applet is deprecated and its not supported any more in the future release remove applet and make the testcase to run as main
> 4) Since this is a manual testcase instruction frame or dailog was not visible just print dialog was visible so fixed it.
> 5) When the testcase was run via main method two print dialog was shown one was from main method and one more was from constructor. Fixed to show just one print dialog.
> 6) Since JDK 17 introduce metal rendering touching the java2d code thought this testcase will be useful to checking the rendering. 
> 
> @shurymury

This pull request has now been integrated.

Changeset: c5c84b8f
Author:    lawrence.andrews <lawrence.andrews at oracle.com>
Committer: Prasanta Sadhukhan <psadhukhan at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/c5c84b8fdc0d52bc45ed7290011b39337f3bbe35
Stats:     306 lines in 1 file changed: 121 ins; 141 del; 44 mod

8270312: Error: Not a test or directory containing tests: java/awt/print/PrinterJob/XparColor.java

Reviewed-by: psadhukhan, jdv

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

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


More information about the awt-dev mailing list