Integrated: 8341037: Use standard layouts in DefaultFrameIconTest.java and MenuCrash.java
Alexey Ivanov
aivanov at openjdk.org
Wed Oct 2 16:13:42 UTC 2024
On Fri, 27 Sep 2024 16:34:52 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
> Now that standard window layouts are available as part of the `PassFailJFrame` framework, we can use them in tests.
>
> Two tests from #21180, specifically `test/jdk/java/awt/Frame/DefaultFrameIconTest.java` and `test/jdk/java/awt/Frame/MenuCrash.java`, use two test windows. At this time, the tests implement positioning explicitly in the test. After #21207 is integrated, these two tests could be updated to use the standard layout. They would serve as sample usage of multi-window test UI.
This pull request has now been integrated.
Changeset: c43202ba
Author: Alexey Ivanov <aivanov at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/c43202baf6eb7e49ec458037971a9efa392d053e
Stats: 22 lines in 2 files changed: 0 ins; 20 del; 2 mod
8341037: Use standard layouts in DefaultFrameIconTest.java and MenuCrash.java
Reviewed-by: azvegint, prr
-------------
PR: https://git.openjdk.org/jdk/pull/21226
More information about the client-libs-dev
mailing list