< prev index next >

test/java/awt/TrayIcon/ActionCommand/ActionCommand.java

Print this page

        

*** 57,68 **** "\"Always show all icons and notifications on the taskbar\" true to " + "avoid this problem. Or change behavior only for Java SE tray icon " + "and rerun test."); } else if (System.getProperty("os.name").toLowerCase().startsWith("mac")){ isMacOS = true; } - new ActionCommand().doTest(); } } void doTest() throws Exception { --- 57,73 ---- "\"Always show all icons and notifications on the taskbar\" true to " + "avoid this problem. Or change behavior only for Java SE tray icon " + "and rerun test."); } else if (System.getProperty("os.name").toLowerCase().startsWith("mac")){ isMacOS = true; + } else if( System.getProperty("os.name").toLowerCase() + .contains("linux") && System.getProperty("os.version") + .toLowerCase().contains("el7")) { + System.out.println("OEL 7 doesn't support double click in " + + "systray. Skipped"); + return; } new ActionCommand().doTest(); } } void doTest() throws Exception {
< prev index next >