RFR: 8340271: Open source several AWT Robot tests

Harshitha Onkar honkar at openjdk.org
Wed Sep 18 23:55:34 UTC 2024


On Wed, 18 Sep 2024 13:26:35 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> Opensource few Robot tests

test/jdk/java/awt/Robot/RobotScrollTest.java line 47:

> 45:     private static final String INSTRUCTIONS = """
> 46:          0. DON'T TOUCH ANYTHING!
> 47:          1. This test is for Win32 and Linux only.

Suggestion:

         1. This test is for Win and Linux only.

test/jdk/java/awt/Robot/RobotScrollTest.java line 82:

> 80:         Point taAt = ta.getLocationOnScreen();
> 81:         // get bounds of button
> 82:         Rectangle bounds = ta.getBounds();

Should they be in EDT?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21062#discussion_r1765889419
PR Review Comment: https://git.openjdk.org/jdk/pull/21062#discussion_r1765889868


More information about the client-libs-dev mailing list