On Fri, 29 Jul 2022 21:11:53 GMT, Andy Goryachev <[email protected]> wrote:

> - moving mouse pointer to stage lower right corner in order to avoid 
> interference with the Robot screen capture.

tests/system/src/test/java/test/robot/javafx/scene/RobotTest.java line 148:

> 146:         double y = stage.getY() + stage.getHeight();
> 147:         Util.runAndWait(() -> {
> 148:             robot.mouseMove(x,y);

Since there is only one line to be executed in this lambda, this can also be 
written as one line.
-> `Util.runAndWait(() -> robot.mouseMove(x,y));`

tests/system/src/test/java/test/robot/javafx/scene/layout/RegionBackgroundImageUITest.java
 line 25:

> 23:  */
> 24: 
> 25: package test.robot.javafx.scene.layout;

Looks like you forgot to modify the copyright year above. 😄

tests/system/src/test/java/test/robot/javafx/scene/layout/RegionBackgroundImageUITest.java
 line 50:

> 48:         double x = stage.getX() + stage.getWidth();
> 49:         double y = stage.getY() + stage.getHeight();
> 50:         runAndWait(() -> {

same here.

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

PR: https://git.openjdk.org/jfx/pull/854

Reply via email to