[jbosstools-commits] JBoss Tools SVN: r39496 - 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
Wed Mar 14 07:24:20 EDT 2012
Author: jgargula
Date: 2012-03-14 07:24:19 -0400 (Wed, 14 Mar 2012)
New Revision: 39496
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTEclipseExt.java
Log:
Fixed isSuspendedAtBreakpoint method
Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTEclipseExt.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTEclipseExt.java 2012-03-14 10:57:35 UTC (rev 39495)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTEclipseExt.java 2012-03-14 11:24:19 UTC (rev 39496)
@@ -1689,8 +1689,7 @@
* <code>false</code> otherwise
*/
public boolean isSuspendedAtBreakpoint() {
- return (!bot.menu(IDELabel.Menu.RUN).menu(IDELabel.Menu.SUSPEND).isEnabled()
- && bot.menu(IDELabel.Menu.RUN).menu(IDELabel.Menu.TERMINATE).isEnabled());
+ return bot.menu(IDELabel.Menu.RUN).menu(IDELabel.Menu.MENU_STEP_OVER).isEnabled();
}
/**
@@ -1701,7 +1700,7 @@
if (stepOverMenu.isEnabled()) {
stepOverMenu.click();
} else {
- log.info("It is not possible to step over. (Step Over menu is disabled)");
+ log.warn("It is not possible to step over. (Step Over menu is disabled)");
}
}
More information about the jbosstools-commits
mailing list