Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Automatic merge of client:master into master
  • Loading branch information
duke committed Jun 1, 2020
2 parents a7d9386 + e97c5f4 commit ccf8d55371e5101ed48114478d56b793c01aa678
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
@@ -755,7 +755,6 @@ javax/swing/JComboBox/8032878/bug8032878.java 8196092,8196439 windows-all,macosx
javax/swing/JComboBox/8072767/bug8072767.java 8196093 windows-all,macosx-all
javax/swing/JComponent/4337267/bug4337267.java 8146451 windows-all
javax/swing/JFileChooser/4524490/bug4524490.java 8042380 generic-all
javax/swing/JFileChooser/8002077/bug8002077.java 8196094 windows-all,macosx-all
javax/swing/JFileChooser/6396844/TwentyThousandTest.java 8198003 generic-all
javax/swing/JFrame/8175301/ScaledFrameBackgroundTest.java 8193942 generic-all
javax/swing/JList/6462008/bug6462008.java 7156347 generic-all
@@ -61,20 +61,25 @@ private static void runTest() throws Exception {
SwingUtilities.invokeLater(() ->
fileChooserState = new JFileChooser().showSaveDialog(null));
robot.waitForIdle();
robot.delay(100);

Util.hitMnemonics(robot, KeyEvent.VK_N);
robot.waitForIdle();
robot.delay(100);

Util.hitKeys(robot, KeyEvent.VK_A);
robot.waitForIdle();
robot.delay(100);

Util.hitMnemonics(robot, KeyEvent.VK_S);
robot.waitForIdle();
robot.delay(100);

if (fileChooserState != JFileChooser.APPROVE_OPTION) {
// Close the dialog
Util.hitKeys(robot, KeyEvent.VK_ESCAPE);
robot.waitForIdle();
robot.delay(100);

throw new RuntimeException("Save button is not pressed!");
}

0 comments on commit ccf8d55

Please sign in to comment.