Integrated: 8129827: [TEST_BUG] Test java/awt/Robot/RobotWheelTest/RobotWheelTest.java fails
Alexander Zvegintsev
azvegint at openjdk.java.net
Sat Apr 23 20:43:40 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.
This pull request has now been integrated.
Changeset: a1efb955
Author: Alexander Zvegintsev <azvegint at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/a1efb95536fb3995780336604cc727f921770c63
Stats: 43 lines in 2 files changed: 32 ins; 6 del; 5 mod
8129827: [TEST_BUG] Test java/awt/Robot/RobotWheelTest/RobotWheelTest.java fails
Reviewed-by: psadhukhan
-------------
PR: https://git.openjdk.java.net/jdk/pull/8305
More information about the client-libs-dev
mailing list