8164484: Unity, JTable cell editor, javax/swing/JComboBox/6559152/bug6559152.java

Reviewed-by: serb, jdv
This commit is contained in:
Prasanta Sadhukhan 2021-01-22 08:02:56 +00:00
parent a70acf2c1e
commit 1452280073
2 changed files with 4 additions and 3 deletions

View File

@ -730,7 +730,6 @@ javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedPerPixelTranslucentGradien
javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucentSwing.java 8194128 macosx-all
javax/swing/JWindow/ShapedAndTranslucentWindows/SetShapeAndClickSwing.java 8013450 macosx-all
javax/swing/JWindow/ShapedAndTranslucentWindows/TranslucentJComboBox.java 8024627 macosx-all
javax/swing/JComboBox/6559152/bug6559152.java 8164484 linux-x64
# The next test below is an intermittent failure
javax/swing/JComboBox/8033069/bug8033069ScrollBar.java 8163367 generic-all
javax/swing/JColorChooser/Test6827032.java 8197825 windows-all

View File

@ -92,16 +92,17 @@ public class bug6559152 {
frame.add(cb);
frame.pack();
frame.setVisible(true);
frame.setLocationRelativeTo(null);
frame.setVisible(true);
}
private static void test() throws Exception {
robot.mouseMove(p.x, p.y);
robot.waitForIdle();
robot.mousePress(InputEvent.BUTTON1_DOWN_MASK);
robot.mouseRelease(InputEvent.BUTTON1_DOWN_MASK);
testImpl();
robot.waitForIdle();
testImpl();
checkResult();
}
@ -114,6 +115,7 @@ public class bug6559152 {
robot.waitForIdle();
robot.keyPress(KeyEvent.VK_ENTER);
robot.keyRelease(KeyEvent.VK_ENTER);
robot.waitForIdle();
}
private static void checkResult() {