Author: vpakan(a)redhat.com
Date: 2010-01-19 05:14:41 -0500 (Tue, 19 Jan 2010)
New Revision: 19798
Modified:
trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTJBTExt.java
Log:
Changed waiting for project to start in method runProjectOnServer().
Modified:
trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTJBTExt.java
===================================================================
---
trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTJBTExt.java 2010-01-18
19:37:54 UTC (rev 19797)
+++
trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTJBTExt.java 2010-01-19
10:14:41 UTC (rev 19798)
@@ -259,8 +259,7 @@
bot.shell(IDELabel.Shell.RUN_ON_SERVER).activate();
bot.button(IDELabel.Button.FINISH).click();
SWTUtilExt swtUtil = new SWTUtilExt(bot);
- swtUtil.waitForJobs(10*1000L,JobName.BUILDING_WS);
- swtUtil.waitForJobs(10*1000L,JobName.UPDATING_INDEXES);
+ swtUtil.waitForAll(10*1000L);
}
else{
throw new WidgetNotFoundException("Unable to find Menu Item with Label
'Run on Server'");
Show replies by date