8224876: javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedPerPixelTranslucentGradient.java fails on linux-x64
Reviewed-by: serb, jdv
This commit is contained in:
parent
3123e7d158
commit
427e1e28b1
@ -385,13 +385,13 @@ public abstract class Common {
|
||||
// Drag
|
||||
Point location = window.getLocationOnScreen();
|
||||
robot.dragAndDrop(location.x + 30, location.y + 5, location.x + dl + random.nextInt(dl), location.y + random.nextInt(dl));
|
||||
robot.waitForIdle(delay);
|
||||
robot.waitForIdle(2*delay);
|
||||
checkDynamicShape();
|
||||
|
||||
// Resize
|
||||
location = window.getLocationOnScreen();
|
||||
robot.dragAndDrop(location.x + 4, location.y + 4, location.x + random.nextInt(2*dl)-dl, location.y + random.nextInt(2*dl)-dl);
|
||||
robot.waitForIdle(delay);
|
||||
robot.waitForIdle(2*delay);
|
||||
checkDynamicShape();
|
||||
|
||||
EventQueue.invokeAndWait(this::dispose);
|
||||
|
Loading…
x
Reference in New Issue
Block a user