RFR: 8342098: Write a test to compare the images
Vanitha B P
duke at openjdk.org
Tue Oct 15 13:16:10 UTC 2024
On Tue, 15 Oct 2024 12:48:30 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.
test/jdk/java/awt/Robot/ScreenCaptureRobotTest.java line 2:
> 1: /*
> 2: * Copyright (c) 2000,2024, Oracle and/or its affiliates. All rights reserved.
Year should be only 2024 right? why 2000,2024
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21524#discussion_r1801144386
More information about the client-libs-dev
mailing list