<div dir="ltr">agree </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mer. 2 nov. 2022 à 16:10, Alexey Ivanov <<a href="mailto:aivanov@openjdk.org">aivanov@openjdk.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, 2 Nov 2022 14:51:02 GMT, ravi gupta <<a href="mailto:duke@openjdk.org" target="_blank">duke@openjdk.org</a>> wrote:<br>
<br>
>> This testcase verify that List Item selection via mouse/keys generates ItemEvent/ActionEvent appropriately.<br>
>> <br>
>> a. Single click on the list generate ItemEvent and double click on item generates ActionEvent.<br>
>> b. UP/DOWN keys on the list generate ItemEvent and enter key on item generates ActionEvent.<br>
>> <br>
>> Testing:<br>
>> Tested using Mach5(20 times per platform) in macos,linux and windows and got all pass.<br>
><br>
> ravi gupta has updated the pull request incrementally with one additional commit since the last revision:<br>
> <br>
>   8295774: Write a test to verify that List Item selection events.<br>
<br>
Marked as reviewed by aivanov (Reviewer).<br>
<br>
test/jdk/java/awt/event/ComponentEvent/ListItemEventsTest.java line 67:<br>
<br>
> 65:         });<br>
> 66:         list.addActionListener((event) -> {<br>
> 67:             System.out.println("Got an ActionEvent:" + event);<br>
<br>
I prefer having a space after the colon in the string so that it's easier to read the message.<br>
<br>
-------------<br>
<br>
PR: <a href="https://git.openjdk.org/jdk/pull/10899" rel="noreferrer" target="_blank">https://git.openjdk.org/jdk/pull/10899</a><br>
</blockquote></div>