[jbosstools-commits] JBoss Tools SVN: r43601 - trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Tue Sep 11 11:54:46 EDT 2012
Author: ljelinko
Date: 2012-09-11 11:54:46 -0400 (Tue, 11 Sep 2012)
New Revision: 43601
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTOpenExt.java
Log:
debugging why shortcuts do not work on Mac with JDK 1.7
Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTOpenExt.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTOpenExt.java 2012-09-11 14:37:26 UTC (rev 43600)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTOpenExt.java 2012-09-11 15:54:46 UTC (rev 43601)
@@ -143,12 +143,13 @@
* @return
*/
public SWTBot preferenceOpen(IPreference pref) {
- if (SWTJBTExt.isRunningOnMacOs()){
- bot.shells()[0].pressShortcut(SWT.COMMAND, ',');
- }
- else{
+ // ljelinko: debugging why shortcuts do not work on Mac with JDK 1.7
+// if (SWTJBTExt.isRunningOnMacOs()){
+// bot.shells()[0].pressShortcut(SWT.COMMAND, ',');
+// }
+// else{
bot.menu("Window").menu("Preferences").click();
- }
+// }
SWTBotShell shell = bot.shell("Preferences");
shell.activate();
try{
More information about the jbosstools-commits
mailing list