RFR: 8339836: Open source several AWT Mouse tests - Batch 1 [v2]

Harshitha Onkar honkar at openjdk.org
Tue Sep 24 19:07:36 UTC 2024


On Tue, 24 Sep 2024 06:07:19 GMT, Tejesh R <tr at openjdk.org> wrote:

>> Open source these AWT Mouse tests:
>> 
>> java/awt/Mouse/MouseEnterExitTest.java
>> java/awt/Mouse/MouseEnterExitTest2.java
>> java/awt/Mouse/MousePressedTest.java
>> java/awt/Mouse/MouseEnterExitTest4.java
>> java/awt/Mouse/MouseEnterExitTest3.java
>
> Tejesh R has updated the pull request incrementally with one additional commit since the last revision:
> 
>   MouseEnterExitTest converted to automated

test/jdk/java/awt/Mouse/MouseEnterExitTest4.java line 37:

> 35:  * @bug 4431868
> 36:  * @summary Tests that window totally obscured by its child doesn't receive
> 37:  *          enter/exit events when located over another frame

Suggestion: This test can be automated similar to MouseEnterExitTest.java  with robot.mouseMove() and checking for mouseEntered and Exited events.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21124#discussion_r1773887674


More information about the client-libs-dev mailing list