RFR: JDK-8266245: AWT Test FullScreenInsets.java fails due to incorrect pixel color and wrong window bounds [v2]
Harshitha Onkar
honkar at openjdk.org
Mon Dec 5 22:10:15 UTC 2022
> The above test was failing due to incorrect pixel color and wrong window bounds on Mac-ARM, Windows and Linux platforms.
>
> The following changes have been made:
> - Correct window bounds are obtained using the current ScreenDevice's DefaultConfig bounds (this test checks FullScreen functionality on multiple screen devices).
> - Color tolerance has been added for color check
> - Instead of scanning the full screen to check pixel color, vertical and horizontal scans are done at the far right and bottom end to ensure that window is in full screen mode w.r.t to screen device and the window bounds are as expected.
>
> CI testing passes on all platforms (tested 50 times per platform).
Harshitha Onkar has updated the pull request incrementally with one additional commit since the last revision:
frame changed back to decorated and exclude on linux
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/11462/files
- new: https://git.openjdk.org/jdk/pull/11462/files/fc65d00e..a8f4452c
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=11462&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=11462&range=00-01
Stats: 29 lines in 1 file changed: 7 ins; 2 del; 20 mod
Patch: https://git.openjdk.org/jdk/pull/11462.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/11462/head:pull/11462
PR: https://git.openjdk.org/jdk/pull/11462
More information about the client-libs-dev
mailing list