Integrated: 8349351 : Combine Screen Inset Tests into a Single File

anass baya duke at openjdk.org
Fri Feb 14 15:22:21 UTC 2025


On Tue, 4 Feb 2025 20:26:45 GMT, anass baya <duke at openjdk.org> wrote:

> While working on [JDK-6899304](https://bugs.openjdk.org/browse/JDK-6899304), we discovered that there are two tests meant to perform the same task.
> 
> The first test is located at test/jdk/java/awt/Multiscreen/MultiScreenInsetsTest/MultiScreenInsetsTest.java and was originally designed for multi-screen configurations on Linux platforms.
> 
> The second test, located at test/jdk/java/awt/Toolkit/ScreenInsetsTest/ScreenInsetsTest.java, is intended for single-screen configurations but lacks accuracy due to some workarounds to support Windows.
> 
> Now, the test at test/jdk/java/awt/Multiscreen/MultiScreenInsetsTest/MultiScreenInsetsTest.java has been updated to work across all platforms, including Windows, which was previously failing. As a result, it has been agreed to rename this test to ScreenInsetsTest, remove the condition that restricted its execution to multi-screen configurations, and remove the redundant test at test/jdk/java/awt/Toolkit/ScreenInsetsTest/ScreenInsetsTest.java.

This pull request has now been integrated.

Changeset: 9ea81d90
Author:    anass baya <anass.baya at oracle.com>
Committer: Alexey Ivanov <aivanov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/9ea81d90175c11460d0efa83f82ceccc4ee2cd3b
Stats:     209 lines in 2 files changed: 16 ins; 143 del; 50 mod

8349351: Combine Screen Inset Tests into a Single File

Reviewed-by: honkar, dnguyen, aivanov

-------------

PR: https://git.openjdk.org/jdk/pull/23449


More information about the client-libs-dev mailing list