RFR: 8342098: Write a test to compare the images [v3]
Naveen Narayanan
duke at openjdk.org
Mon Oct 21 17:01:28 UTC 2024
On Mon, 21 Oct 2024 15:31:49 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:
>> In fact, image comparison can be borrowed from the `Util` class (in Swing part):
>>
>> https://github.com/openjdk/jdk/blob/1f3574855e79221739d8800235583b7c47ebae97/test/jdk/javax/swing/regtesthelpers/Util.java#L59-L63
>
> I agree to @aivanov-jdk .
Used the same logic as in `Util` class.
Added image width & height check now.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21524#discussion_r1809170088
More information about the client-libs-dev
mailing list