RFR: 8328004: Minor updates to TrayIcon test DisposeInActionEventTest.java

Alexander Zvegintsev azvegint at openjdk.org
Tue Mar 12 20:13:15 UTC 2024


On Tue, 12 Mar 2024 18:49:03 GMT, Phil Race <prr at openjdk.org> wrote:

> This was recently converted from a manual Applet to a PassFailJFrame main program
> But I see a few things that could be tweaked
>  - Clarify instructions
>  -  Set path to PassFailJFrame
>  - reduce timeout to default
>  - eliminate redundant folder

test/jdk/java/awt/TrayIcon/DisposeInActionEventTest.java line 58:

> 56:         }
> 57:         String clickInstruction =
> 58:                 (Platform.isOSX()) ? "Right-click" : "Double click (left mouse button)";

On Linux, it triggers with a single click(Tested on Ubuntu 23.10)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18246#discussion_r1522053539


More information about the client-libs-dev mailing list