提交 8d7b3b10 编写于 作者: B bagiras

7132367: [macosx] ChoiceMouseWheelTest should be adapted for mac toolkit

Reviewed-by: art
上级 cb3f7f8a
......@@ -96,7 +96,10 @@ public class ChoiceMouseWheelTest extends Frame {
// Test mouse wheel over the choice
String name = Toolkit.getDefaultToolkit().getClass().getName();
if(!name.equals("sun.awt.X11.XToolkit")) { // mouse wheel doesn't work for the choice on X11, so skip it
// mouse wheel doesn't work for the choice on X11 and Mac, so skip it
if(!name.equals("sun.awt.X11.XToolkit")
&& !name.equals("sun.lwawt.macosx.LWCToolkit")) {
robot.mouseWheel(1);
Util.waitForIdle(robot);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册