RFR: 8129827: [TEST_BUG] Test java/awt/Robot/RobotWheelTest/RobotWheelTest.java fails

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Fri Apr 22 07:21:24 UTC 2022


On Tue, 19 Apr 2022 20:03:57 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:

> Test was written based on assumption that we will receive only one `mouseWheelMoved` event with `getWheelRotation() == 20` after `robot.mouseWheel(20)` call, but we can receive 20  events with `getWheelRotation == 1` instead.
> 
> So the test is modified to accumulate wheel rotation values before checking.
> 
> Testing is green on all platforms.

Marked as reviewed by psadhukhan (Reviewer).

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

PR: https://git.openjdk.java.net/jdk/pull/8305



More information about the client-libs-dev mailing list