RFR: 8340605: Open source several AWT PopupMenu tests

Tejesh R tr at openjdk.org
Wed Sep 25 07:31:37 UTC 2024


On Tue, 24 Sep 2024 07:46:14 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:

> Several AWT PopupMEnu related tests are converted from applet to manual and moved to open.

test/jdk/java/awt/PopupMenu/PopupLeadingSeparatorTest.java line 48:

> 46:                 Press mouse button on the frame. Popup menu without leading
> 47:                 separator should appear.
> 48:                 If a PopupMenu behaves same, press Pass, else press Fail.

Suggestion:

                If a PopupMenu behaves same press Pass, else press Fail.

test/jdk/java/awt/PopupMenu/PopupMenuWithMenuBar.java line 43:

> 41: 
> 42: public class PopupMenuWithMenuBar {
> 43: 

Suggestion:

test/jdk/java/awt/PopupMenu/PopupOnButton.java line 48:

> 46:                 Right-click on the button.
> 47:                 Popup Menu should appear and behave fine.
> 48:                 If a PopupMenu appears, press Pass, else press Fail.

Suggestion:

                If a PopupMenu appears press Pass, else press Fail.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21151#discussion_r1774682082
PR Review Comment: https://git.openjdk.org/jdk/pull/21151#discussion_r1774685425
PR Review Comment: https://git.openjdk.org/jdk/pull/21151#discussion_r1774686569


More information about the client-libs-dev mailing list