On Tue, 15 Oct 2024 13:13:33 GMT, Vanitha B P <[email protected]> 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 Perhaps (I don't know) this test is derived from an existing test from 2000 ? JDK 1.3 (released in 2000) added Robot and perhaps this test was a basic functional test. I'm not sure how much value it adds today, but at least it is automated and fast. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/21524#discussion_r1802093363
