Author: vpakan(a)redhat.com
Date: 2010-03-29 07:26:33 -0400 (Mon, 29 Mar 2010)
New Revision: 21106
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamProjects.java
Log:
Remove project from server after project is created
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 2010-03-29
11:25:32 UTC (rev 21105)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamProjects.java 2010-03-29
11:26:33 UTC (rev 21106)
@@ -1,14 +1,19 @@
package org.jboss.tools.seam.ui.bot.test.create;
import org.jboss.tools.seam.ui.bot.test.TestControl;
+import org.jboss.tools.ui.bot.ext.SWTJBTExt;
+import org.jboss.tools.ui.bot.ext.SWTUtilExt;
public class CreateSeamProjects extends TestControl{
+
+ private SWTJBTExt swtJbtExt = new SWTJBTExt(bot);
public void testCreateSeamProject12war(){
createSeamProject(seam12Settings, jbossEAPRuntime, TYPE_WAR);
waitForBlockingJobsAcomplished(240000, BUILDING_WS, VALIDATION +
" " + seam12Settings.getProperty("testProjectName")
+TYPE_WAR, DEPLOY_SOURCE, REG_IN_SERVER);
+ swtJbtExt.removeSeamProjectFromServers(seam12Settings.getProperty("testProjectName"));
}
public void testCreateSeamProject12ear(){
@@ -16,6 +21,7 @@
waitForBlockingJobsAcomplished(240000, BUILDING_WS, VALIDATION +
" " + seam12Settings.getProperty("testProjectName")
+TYPE_EAR, DEPLOY_SOURCE, REG_IN_SERVER);
+ swtJbtExt.removeSeamProjectFromServers(seam12Settings.getProperty("testProjectName"));
}
public void testCreateSeamProject2fpwar(){
@@ -23,6 +29,7 @@
waitForBlockingJobsAcomplished(240000, BUILDING_WS, VALIDATION +
" " + seam2fpSettings.getProperty("testProjectName")
+TYPE_WAR, DEPLOY_SOURCE, REG_IN_SERVER);
+ swtJbtExt.removeSeamProjectFromServers(seam2fpSettings.getProperty("testProjectName"));
}
public void testCreateSeamProject2fpear(){
@@ -30,6 +37,7 @@
waitForBlockingJobsAcomplished(240000, BUILDING_WS, VALIDATION +
" " + seam2fpSettings.getProperty("testProjectName")
+TYPE_EAR, DEPLOY_SOURCE, REG_IN_SERVER);
+ swtJbtExt.removeSeamProjectFromServers(seam2fpSettings.getProperty("testProjectName"));
}
public void testCreateSeamProject22war(){
@@ -37,6 +45,7 @@
waitForBlockingJobsAcomplished(240000, BUILDING_WS, VALIDATION +
" " + seam22Settings.getProperty("testProjectName")
+TYPE_WAR, DEPLOY_SOURCE, REG_IN_SERVER);
+ swtJbtExt.removeSeamProjectFromServers(seam22Settings.getProperty("testProjectName"));
}
public void testCreateSeamProject22ear(){
@@ -44,6 +53,8 @@
waitForBlockingJobsAcomplished(240000, BUILDING_WS, VALIDATION +
" " + seam22Settings.getProperty("testProjectName")
+TYPE_EAR, DEPLOY_SOURCE, REG_IN_SERVER);
+ swtJbtExt.removeSeamProjectFromServers(seam22Settings.getProperty("testProjectName"));
+ new SWTUtilExt(bot).waitForAll(60 * 1000L);
}
}
\ No newline at end of file
Show replies by date