> Test was failing on GTK and Windows LAF due to pixel color mismatch. Th > reason behind this issue was the size of image which is different and that > results in incorrect pixel comparison. Fix is to ensure that correct pixel is > matched and the pixel color should remain within tolerance. > For windows LAF the background color is not an exact match and thus added a > TOLERANCE field to check if the RGB difference is within limits. > > `@key headful` added in jtreg tag to ensure that test run for GTK LAF as well > which was not the case before as it is mentioned in JBS `It does not fail in > mach5 because on linux + headless mode the gtk L&F is not supported.` > > CI testing is green for the modified test. Link attached in JBS.
Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision: Empty-Commit ------------- Changes: - all: https://git.openjdk.org/jdk/pull/18644/files - new: https://git.openjdk.org/jdk/pull/18644/files/5e7bcf37..c67ec7e7 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=18644&range=04 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18644&range=03-04 Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/18644.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/18644/head:pull/18644 PR: https://git.openjdk.org/jdk/pull/18644