提交 d5366f36 编写于 作者: P pchelko

8032058: [TEST_BUG] [macosx] java/awt/dnd/Button2DragTest sometimes fail

Reviewed-by: anthony, serb
上级 b74bb9c1
/* /*
* Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2006, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -112,6 +112,7 @@ public class Button2DragTest extends Applet { ...@@ -112,6 +112,7 @@ public class Button2DragTest extends Applet {
Util.drag(robot, startPoint, endPoint, InputEvent.BUTTON2_MASK); Util.drag(robot, startPoint, endPoint, InputEvent.BUTTON2_MASK);
Util.waitForIdle(robot); Util.waitForIdle(robot);
robot.delay(500);
if (dropSuccess) { if (dropSuccess) {
System.err.println("test passed"); System.err.println("test passed");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册