agree Le mer. 2 nov. 2022 à 16:10, Alexey Ivanov <aiva...@openjdk.org> a écrit :
> On Wed, 2 Nov 2022 14:51:02 GMT, ravi gupta <d...@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 >