RFR: 8341037: Use standard layouts in DefaultFrameIconTest.java and MenuCrash.java

Phil Race prr at openjdk.org
Sun Sep 29 22:56:39 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.

Marked as reviewed by prr (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/21226#pullrequestreview-2336033511


More information about the client-libs-dev mailing list