RFR: 8342098: Write a test to compare the images [v2]

Tejesh R tr at openjdk.org
Thu Oct 17 10:10:13 UTC 2024


On Wed, 16 Oct 2024 16:13:33 GMT, Naveen Narayanan <duke at openjdk.org> wrote:

>> This testcase checks for the following:
>> 
>> 1. An image is drawn on the screen and a portion of it is captured using a Robot. It is tested by comparing whether the captured image is same as the source image. 
>> 
>> Testing:
>> Tested using Mach5(20 times per platform) in MacOS, Linux and Windows. Seen all tests passing.
>
> Naveen Narayanan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8342098: Updated review comments

test/jdk/java/awt/Robot/ScreenCaptureRobotTest.java line 56:

> 54:     public static void main(String[] args) throws Exception {
> 55:         try {
> 56:             initializeGUI();

Shouldn't this be in EDT ?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21524#discussion_r1804486867


More information about the client-libs-dev mailing list