Author: dgolovin
Date: 2009-10-15 19:25:45 -0400 (Thu, 15 Oct 2009)
New Revision: 18118
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/TestControl.java
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamProjects.java
Log:
Compilation error fixed to keep build running
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/TestControl.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/TestControl.java 2009-10-15
22:51:53 UTC (rev 18117)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/TestControl.java 2009-10-15
23:25:45 UTC (rev 18118)
@@ -176,6 +176,12 @@
bot.radio(type).click();
bot.comboBoxWithLabel("Connection
profile:").setSelection(projectProperties.getProperty("connName"));
bot.button("Finish").click();
+ /* All Jobs are executed inside New SeamProject Wizard so there is no reason to
+ * find a way to track that all jobs or particular jobs are finished. Just wait
+ * until active shell is closed. Move 30000 to constant or setup default timeout
+ * for SWTBot long enough to be sure dialog is finished.
+ */
+ bot.waitUntil(Conditions.shellCloses(bot.activeShell()),30000);
}
/**Creates any Seam Action, Form etc. */
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamProjects.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamProjects.java 2009-10-15
22:51:53 UTC (rev 18117)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamProjects.java 2009-10-15
23:25:45 UTC (rev 18118)
@@ -6,7 +6,7 @@
public void testCreateSeamProject12war(){
createSeamProject(seam12Settings, jbossEAPRuntime, TYPE_WAR);
- waitForBlockingJobsAcomplished(180000, BUILDING_WS);
+// waitForBlockingJobsAcomplished(180000, BUILDING_WS);
}
// public void testCreateSeamProject12ear(){