8233643: [TESTBUG] JMenu test bug4515762.java fails on macos
Reviewed-by: serb
This commit is contained in:
parent
5f0d11e1e9
commit
1f2f808794
test/jdk
@ -875,7 +875,6 @@ javax/swing/JMenuItem/ActionListenerCalledTwice/ActionListenerCalledTwiceTest.ja
|
||||
javax/swing/JMenuItem/6249972/bug6249972.java 8233640 macosx-all
|
||||
javax/swing/JMenuItem/4171437/bug4171437.java 8233641 macosx-all
|
||||
javax/swing/JMenu/4692443/bug4692443.java 8171998 macosx-all
|
||||
javax/swing/JMenu/4515762/bug4515762.java 8233643 macosx-all
|
||||
javax/swing/JColorChooser/Test8051548.java 8233647 macosx-all
|
||||
javax/swing/plaf/synth/7158712/bug7158712.java 8238720 windows-all
|
||||
javax/swing/plaf/basic/BasicComboPopup/JComboBoxPopupLocation/JComboBoxPopupLocation.java 8238720 windows-all
|
||||
|
@ -121,6 +121,7 @@ public class bug4515762 {
|
||||
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
frame.pack();
|
||||
frame.setVisible(true);
|
||||
frame.toFront();
|
||||
}
|
||||
});
|
||||
|
||||
@ -140,6 +141,7 @@ public class bug4515762 {
|
||||
actionExpected = true;
|
||||
Util.hitMnemonics(robot, KeyEvent.VK_U);
|
||||
|
||||
robot.waitForIdle();
|
||||
robot.keyPress(KeyEvent.VK_S);
|
||||
robot.keyRelease(KeyEvent.VK_S);
|
||||
robot.waitForIdle();
|
||||
@ -147,6 +149,8 @@ public class bug4515762 {
|
||||
checkAction();
|
||||
|
||||
Util.hitMnemonics(robot, KeyEvent.VK_U);
|
||||
robot.waitForIdle();
|
||||
|
||||
robot.keyPress(KeyEvent.VK_M);
|
||||
robot.keyRelease(KeyEvent.VK_M);
|
||||
robot.waitForIdle();
|
||||
@ -154,17 +158,21 @@ public class bug4515762 {
|
||||
checkAction();
|
||||
|
||||
Util.hitMnemonics(robot, KeyEvent.VK_U);
|
||||
robot.waitForIdle();
|
||||
Util.hitKeys(robot, KeyEvent.VK_T);
|
||||
robot.waitForIdle();
|
||||
|
||||
checkAction();
|
||||
|
||||
Util.hitMnemonics(robot, KeyEvent.VK_U);
|
||||
robot.waitForIdle();
|
||||
Util.hitKeys(robot, KeyEvent.VK_W);
|
||||
robot.waitForIdle();
|
||||
|
||||
checkAction();
|
||||
|
||||
Util.hitMnemonics(robot, KeyEvent.VK_U);
|
||||
robot.waitForIdle();
|
||||
Util.hitKeys(robot, KeyEvent.VK_U);
|
||||
robot.waitForIdle();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user