RFR: 8342098: Write a test to compare the images [v2]
Naveen Narayanan
duke at openjdk.org
Fri Oct 18 15:54:25 UTC 2024
On Wed, 16 Oct 2024 18:04:10 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:
>> 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 52:
>
>> 50: private static BufferedImage realImage;
>> 51: private static BufferedImage displayImage;
>> 52: private static int difference;
>
> This can be changed to toleranceLevel instead of having two variables track it.
Removed tolerance now.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21524#discussion_r1806712664
More information about the client-libs-dev
mailing list