changeset 17895:ba1e105d3d7f

8015589: Test java/awt/Window/Grab/GrabTest.java fails on MacOSX Reviewed-by: anthony
author ant
date Fri, 31 May 2013 15:56:07 +0400
parents adfc83417970
children 271991446515
files jdk/test/java/awt/Window/Grab/GrabTest.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/test/java/awt/Window/Grab/GrabTest.java	Fri May 31 14:12:53 2013 +0400
+++ b/jdk/test/java/awt/Window/Grab/GrabTest.java	Fri May 31 15:56:07 2013 +0400
@@ -175,7 +175,7 @@
 
         // 6. Check that press on the outside area causes ungrab
         Point loc = f.getLocationOnScreen();
-        robot.mouseMove(loc.x + 100, loc.y + f.getSize().height + 1);
+        robot.mouseMove(loc.x + 100, loc.y + f.getSize().height + 10);
         Util.waitForIdle(robot);
         robot.mousePress(InputEvent.BUTTON1_MASK);
         robot.delay(50);