JDK-8318630 : TextAreaBehaviorRobotTest.testNonMacBindings fails on Linux
  • Type: Bug
  • Component: javafx
  • Sub-Component: controls
  • Affected Version: jfx22
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • Submitted: 2023-10-21
  • Updated: 2023-10-27
  • Resolved: 2023-10-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
jfx22 b15Fixed
Related Reports
Relates :  
Description
To reproduce, run the following on Linux:

$ gradle -PFULL_TEST=true -PUSE_ROBOT=true :systemTests:test --tests TextAreaBehaviorRobotTest.testNonMacBindings

TextAreaBehaviorRobotTest > testNonMacBindings() FAILED
    org.opentest4j.AssertionFailedError: in step 3 ==> expected: <88, 88> but was: <87, 87>
        at app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
        at app//org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
        at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
        at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1152)
        at app//test.javafx.scene.control.behavior.TextInputBehaviorRobotTest.lambda$checkSelection$3(TextInputBehaviorRobotTest.java:111)
        at app//test.javafx.scene.control.behavior.BehaviorRobotTestBase.lambda$execute$3(BehaviorRobotTestBase.java:126)
        at app//test.util.Util.lambda$submit$0(Util.java:108)
        at app/javafx.graphics@22-ea/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
        at java.base@19.0.2/java.security.AccessController.doPrivileged(AccessController.java:399)
        at app/javafx.graphics@22-ea/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
        at app/javafx.graphics@22-ea/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
        at app/javafx.graphics@22-ea/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
        at app/javafx.graphics@22-ea/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$10(GtkApplication.java:263)
        at java.base@19.0.2/java.lang.Thread.run(Thread.java:1589)
Comments
Changeset: 1672960d Author: Andy Goryachev <angorya@openjdk.org> Date: 2023-10-25 21:57:34 +0000 URL: https://git.openjdk.org/jfx/commit/1672960de869c358508e89031409124ccd7c36fc
25-10-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jfx/pull/1270 Date: 2023-10-24 22:40:54 +0000
25-10-2023

This is a test bug in a newly added test.
21-10-2023