RFR: 8341037: Use standard layouts in DefaultFrameIconTest.java and MenuCrash.java
Alexey Ivanov
aivanov at openjdk.org
Fri Sep 27 16:41:06 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.
-------------
Depends on: https://git.openjdk.org/jdk/pull/21207
Commit messages:
- Merge branch '8317116-passFail-WindowLayouts'
- 8341037: Use standard layouts in DefaultFrameIconTest.java and MenuCrash.java
- Merge master
Changes: https://git.openjdk.org/jdk/pull/21226/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21226&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8341037
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