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

Alexey Ivanov aivanov at openjdk.org
Wed Nov 2 14:40:47 UTC 2022


On Wed, 2 Nov 2022 14:38:52 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.

Changes requested by aivanov (Reviewer).

test/jdk/java/awt/event/ComponentEvent/ListItemEventsTest.java line 90:

> 88:             
> 89:             robot.mouseMove(listAt.x + listSize .width / 2,
> 90:                 listAt.y + listSize .height / 2);

No space before the dot:
Suggestion:

            robot.mouseMove(listAt.x + listSize.width / 2,
                listAt.y + listSize.height / 2);

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

PR: https://git.openjdk.org/jdk/pull/10899



More information about the client-libs-dev mailing list