RFR: 8328011: Convert java/awt/Frame/GetBoundsResizeTest/GetBoundsResizeTest.java applet test to main [v3]

Alexey Ivanov aivanov at openjdk.org
Thu Mar 14 13:29:42 UTC 2024


On Wed, 13 Mar 2024 19:01:27 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:

>> The test is converted to main.
>> Tested on Linux, Macos and Windows.
>
> Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision:
> 
>   extract logFrameBounds, instructions update

test/jdk/java/awt/Frame/GetBoundsResizeTest.java line 44:

> 42:             0. There is a test window with a "Press" button,
> 43:                 Its original bounds should be printed in the text area below.
> 44:             1. Resize the test window using the upper left corner.

I found it impossible to resize the window by top left corner on Windows… The frame is so small that the Minimize button in the title bar covers the icon.

test/jdk/java/awt/Frame/GetBoundsResizeTest.java line 45:

> 43:                 Its original bounds should be printed in the text area below.
> 44:             1. Resize the test window using the upper left corner.
> 45:             2. Press the button to print the result of getBounds() to the terminal.

Suggestion:

            2. Press the button to print the result of getBounds() to the text area.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18250#discussion_r1524878679
PR Review Comment: https://git.openjdk.org/jdk/pull/18250#discussion_r1524864989


More information about the client-libs-dev mailing list