RFR: 8295774 : Write a test to verify that List Item selection events. [v4]

Patrick Chen chen.j.patrick at gmail.com
Wed Nov 2 15:25:35 UTC 2022


agree

Le mer. 2 nov. 2022 à 16:10, Alexey Ivanov <aivanov at openjdk.org> a écrit :

> On Wed, 2 Nov 2022 14:51:02 GMT, ravi gupta <duke at openjdk.org> wrote:
>
> >> This testcase verify that List Item selection via mouse/keys generates
> ItemEvent/ActionEvent appropriately.
> >>
> >> a. Single click on the list generate ItemEvent and double click on item
> generates ActionEvent.
> >> b. UP/DOWN keys on the list generate ItemEvent and enter key on item
> generates ActionEvent.
> >>
> >> Testing:
> >> Tested using Mach5(20 times per platform) in macos,linux and windows
> and got all pass.
> >
> > ravi gupta has updated the pull request incrementally with one
> additional commit since the last revision:
> >
> >   8295774: Write a test to verify that List Item selection events.
>
> Marked as reviewed by aivanov (Reviewer).
>
> test/jdk/java/awt/event/ComponentEvent/ListItemEventsTest.java line 67:
>
> > 65:         });
> > 66:         list.addActionListener((event) -> {
> > 67:             System.out.println("Got an ActionEvent:" + event);
>
> I prefer having a space after the colon in the string so that it's easier
> to read the message.
>
> -------------
>
> PR: https://git.openjdk.org/jdk/pull/10899
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/client-libs-dev/attachments/20221102/2291a7ca/attachment.htm>


More information about the client-libs-dev mailing list