mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-24 13:04:33 +02:00
7132367: [macosx] ChoiceMouseWheelTest should be adapted for mac toolkit
Reviewed-by: art
This commit is contained in:
parent
0b4df63ee2
commit
ff7281a866
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue