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

[macos] Awt automated test "AWT_Menu/Automated/MenuShortcutTest" fails

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      os_x

      Description

      Testsuite name:AWT
      Test name(s):AWT_Menu/Automated/MenuShortcutTest
      Product(s) tested:ORACLE JDK12 b28(64bit)
      Test tool: tonga-4.0.2-rc2.jar
      OS/architecture:mac10.14-x64

      Actual behavior:
      1.The test failed automatically. The details refer to MenuShortcutTest.log
      2.On Mac10.13 x64 with JDK12b28(64bit):Failed as the same issue.Refer to log MenuShortcutTest-mac10.13.log

      The detail log:
      KeyEvent:2: keyPressed: java.awt.Button[button0,33,28,85x29,label=Button]
      [2019-01-18T08:19:05.92] ItemEvent: itemStateChanged: java.awt.CheckboxMenuItem[chkmenuitem0,label=CheckboxMenuItem1:5:12:0,shortcut=⌘+X,state=true]
      [2019-01-18T08:19:05.92] ItemEvent: itemStateChanged: java.awt.CheckboxMenuItem[chkmenuitem0,label=CheckboxMenuItem1:5:12:0,shortcut=⌘+X,state=true]
      [2019-01-18T08:19:05.96] KeyEvent:3: keyReleased: java.awt.Button[button0,33,28,85x29,label=Button]
      [2019-01-18T08:19:06.01] KeyEvent:4: keyReleased: java.awt.Button[button0,33,28,85x29,label=Button]
      [2019-01-18T08:19:11.52] FAILURE: More than expected events generated when cmd + X is pressed. Expected: 1, Actual: 2
      [2019-01-18T08:19:11.52] Events generated are:
      [2019-01-18T08:19:11.52] java.awt.event.ItemEvent[ITEM_STATE_CHANGED,item=CheckboxMenuItem1:5:12:0,stateChange=SELECTED] on chkmenuitem0
      [2019-01-18T08:19:11.53] java.awt.event.ItemEvent[ITEM_STATE_CHANGED,item=CheckboxMenuItem1:5:12:0,stateChange=SELECTED] on chkmenuitem0
      [2019-01-18T08:19:11.53] KeyEvent:5: keyPressed: java.awt.Button[button0,33,28,85x29,label=Button]
      [2019-01-18T08:19:11.59] KeyEvent:6: keyPressed: java.awt.Button[button0,33,28,85x29,label=Button]
      [2019-01-18T08:19:11.64] KeyEvent:7: keyReleased: java.awt.Button[button0,33,28,85x29,label=Button]
      [2019-01-18T08:19:11.69] KeyEvent:8: keyReleased: java.awt.Button[button0,33,28,85x29,label=Button]
      [2019-01-18T08:19:14.20] KeyEvent:9: keyPressed: java.awt.Button[button0,33,28,85x29,label=Button]
      [2019-01-18T08:19:14.25] KeyEvent:10: keyPressed: java.awt.Button[button0,33,28,85x29,label=Button]
      [2019-01-18T08:19:14.25] ItemEvent: itemStateChanged: java.awt.CheckboxMenuItem[chkmenuitem1,label=CheckboxMenuItem1:1,shortcut=⌘+B,state=true]
      [2019-01-18T08:19:14.25] ItemEvent: itemStateChanged: java.awt.CheckboxMenuItem[chkmenuitem1,label=CheckboxMenuItem1:1,shortcut=⌘+B,state=true]
      [2019-01-18T08:19:14.31] KeyEvent:11: keyReleased: java.awt.Button[button0,33,28,85x29,label=Button]
      [2019-01-18T08:19:14.36] KeyEvent:12: keyReleased: java.awt.Button[button0,33,28,85x29,label=Button]
      [2019-01-18T08:19:19.86] FAILURE: More than expected events generated when cmd + B is pressed. Expected: 1, Actual: 2

        Attachments

        1. MenuShortcutTest.log
          10 kB
        2. MenuShortcutTest-mac10.13.log
          9 kB
        3. testlist.fail
          0.0 kB
        4. ute4mac.zip
          5.07 MB

          Activity

            People

            • Assignee:
              serb Sergey Bylokhov
              Reporter:
              tmeng Tina Meng
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: