RFR: 8295774 : Write a test to verify that List Item selection events. [v4]
Alexey Ivanov
aivanov at openjdk.org
Wed Nov 2 15:09:31 UTC 2022
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
More information about the client-libs-dev
mailing list