RFR: 8341037: Use standard layouts in DefaultFrameIconTest.java and MenuCrash.java [v3]
Alexey Ivanov
aivanov at openjdk.org
Wed Oct 2 16:07:48 UTC 2024
> 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.
Alexey Ivanov has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains nine commits:
- Merge master
- Merge branch '8317116-passFail-WindowLayouts'
- Merge master
- 8341037: Use standard layouts in DefaultFrameIconTest.java and MenuCrash.java
- Merge master
- Remove extra line layoutRow
- bottomOneRowCentered: layoutColumn -> layoutRow
- Add missing parentheses for vertical positioning
- 8317116: Provide layouts for multiple test UI in PassFailJFrame
-------------
Changes: https://git.openjdk.org/jdk/pull/21226/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21226&range=02
Stats: 22 lines in 2 files changed: 0 ins; 20 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/21226.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/21226/head:pull/21226
PR: https://git.openjdk.org/jdk/pull/21226
More information about the client-libs-dev
mailing list