RFR: 8341037: Use standard layouts in DefaultFrameIconTest.java and MenuCrash.java [v2]
Alexey Ivanov
aivanov at openjdk.org
Wed Oct 2 15:25:12 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 incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains eight additional commits since the last revision:
- 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:
- all: https://git.openjdk.org/jdk/pull/21226/files
- new: https://git.openjdk.org/jdk/pull/21226/files/7769baa6..7769baa6
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=21226&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=21226&range=00-01
Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 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