8042383: [TEST_BUG] Test javax/swing/plaf/basic/BasicMenuUI/4983388/bug4983388.java fails with shortcuts on menus do not work
Reviewed-by: jdv, psadhukhan
This commit is contained in:
parent
bb7ac5cc11
commit
fe80d6458c
test/jdk
@ -766,7 +766,6 @@ javax/swing/text/html/StyleSheet/BackgroundImage/BackgroundImagePosition.java 81
|
||||
javax/swing/text/AbstractDocument/DocumentInsert/DocumentInsertAtWrongPositionTest.java 8198396 generic-all
|
||||
javax/swing/JFileChooser/6868611/bug6868611.java 7059834 windows-all
|
||||
javax/swing/SwingWorker/6493680/bug6493680.java 8198410 windows-all
|
||||
javax/swing/plaf/basic/BasicMenuUI/4983388/bug4983388.java 8042383 macosx-all
|
||||
javax/swing/PopupFactory/6276087/NonOpaquePopupMenuTest.java 8065099 macosx-all
|
||||
javax/swing/DataTransfer/8059739/bug8059739.java 8199074 generic-all
|
||||
javax/swing/JCheckBox/8032667/bug8032667_image_diff.java 8199063 macosx-all
|
||||
|
@ -78,10 +78,11 @@ public class bug4983388 {
|
||||
});
|
||||
|
||||
Robot robot = new Robot();
|
||||
robot.setAutoDelay(50);
|
||||
robot.waitForIdle();
|
||||
Util.hitMnemonics(robot, KeyEvent.VK_F);
|
||||
robot.waitForIdle();
|
||||
robot.delay(1000);
|
||||
robot.delay(200);
|
||||
|
||||
if (!bMenuSelected) {
|
||||
throw new RuntimeException("shortcuts on menus do not work");
|
||||
|
Loading…
x
Reference in New Issue
Block a user