Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8172510

[TEST_BUG][macosx] set autodelay in java/awt/List/ItemEventTest/ItemEventTest.java

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b174
    • OS:
      os_x

      Backports

        Description

        This test fails for me on OS X consistently reporting rather scary sequence of selections:
        Expected : 01230123 Actual : 001122303011223

        However there's no real duplication. Adding a line
          robot.setAutoDelay(50);
        just after the robot creation makes the test pass as expected. Unfortunately it looks necessary on Mac to properly emulate human behavior with mice.

        RULE "java/awt/List/ItemEventTest/ItemEventTest.java" Exception java.lang.RuntimeException: ItemEvent for selection & deselection of multi select List's item is not correct Expected : ... Actual : ...

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mhalder Manajit Halder (Inactive)
                Reporter:
                yan Yuri Nesterenko
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: