[jbosstools-commits] JBoss Tools SVN: r44082 - in trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test: as3 and 11 other directories.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Thu Sep 27 05:02:23 EDT 2012


Author: ljelinko
Date: 2012-09-27 05:02:23 -0400 (Thu, 27 Sep 2012)
New Revision: 44082

Added:
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as3/DeleteServerAS3Server.java
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as3/HotDeployJSPFileAS3Server.java
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as40/DeleteServerAS40Server.java
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as40/HotDeployJSPFileAS40Server.java
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as42/DeleteServerAS42Server.java
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as42/HotDeployJSPFileAS42Server.java
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as50/DeleteServerAS50Server.java
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as50/HotDeployJSPFileAS50Server.java
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as51/DeleteServerAS51Server.java
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as51/HotDeployJSPFileAS51Server.java
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as6/DeleteServerAS6Server.java
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as6/HotDeployJSPFileAS6Server.java
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as70/DeleteServerAS70Server.java
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as70/HotDeployJSPFileAS70Server.java
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as71/DeleteServerAS71Server.java
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as71/HotDeployJSPFileAS71Server.java
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/eap4/DeleteServerEAP4Server.java
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/eap4/HotDeployJSPFileEAP4Server.java
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/eap5/DeleteServerEAP5Server.java
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/eap5/HotDeployJSPFileEAP5Server.java
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/eap6/DeleteServerEAP6Server.java
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/eap6/HotDeployJSPFileEAP6Server.java
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/DeleteServerTemplate.java
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/HotDeployJSPFileTemplate.java
Removed:
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/DeleteServer.java
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/HotDeployJSPFile.java
Modified:
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/AllTestsSuite.java
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/EAP5CompatibilitySuite.java
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/EAP6CompatibilitySuite.java
Log:
Created own implementation of HotDeployment and Delete test for each server version

Modified: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/AllTestsSuite.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/AllTestsSuite.java	2012-09-27 08:52:35 UTC (rev 44081)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/AllTestsSuite.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -1,51 +1,71 @@
 package org.jboss.ide.eclipse.as.ui.bot.test;
 
 import org.jboss.ide.eclipse.as.ui.bot.test.as3.CreateAS3Server;
+import org.jboss.ide.eclipse.as.ui.bot.test.as3.DeleteServerAS3Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as3.DeployJSPProjectAS3Server;
+import org.jboss.ide.eclipse.as.ui.bot.test.as3.HotDeployJSPFileAS3Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as3.OperateAS3Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as3.UndeployJSPProjectAS3Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as40.CreateAS40Server;
+import org.jboss.ide.eclipse.as.ui.bot.test.as40.DeleteServerAS40Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as40.DeployJSPProjectAS40Server;
+import org.jboss.ide.eclipse.as.ui.bot.test.as40.HotDeployJSPFileAS40Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as40.OperateAS40Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as40.UndeployJSPProjectAS40Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as42.CreateAS42Server;
+import org.jboss.ide.eclipse.as.ui.bot.test.as42.DeleteServerAS42Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as42.DeployJSPProjectAS42Server;
+import org.jboss.ide.eclipse.as.ui.bot.test.as42.HotDeployJSPFileAS42Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as42.OperateAS42Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as42.UndeployJSPProjectAS42Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as50.CreateAS50Server;
+import org.jboss.ide.eclipse.as.ui.bot.test.as50.DeleteServerAS50Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as50.DeployJSPProjectAS50Server;
+import org.jboss.ide.eclipse.as.ui.bot.test.as50.HotDeployJSPFileAS50Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as50.OperateAS50Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as50.UndeployJSPProjectAS50Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as51.CreateAS51Server;
+import org.jboss.ide.eclipse.as.ui.bot.test.as51.DeleteServerAS51Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as51.DeployJSPProjectAS51Server;
+import org.jboss.ide.eclipse.as.ui.bot.test.as51.HotDeployJSPFileAS51Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as51.OperateAS51Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as51.UndeployJSPProjectAS51Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as6.CreateAS6Server;
+import org.jboss.ide.eclipse.as.ui.bot.test.as6.DeleteServerAS6Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as6.DeployJSPProjectAS6Server;
+import org.jboss.ide.eclipse.as.ui.bot.test.as6.HotDeployJSPFileAS6Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as6.OperateAS6Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as6.UndeployJSPProjectAS6Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as70.CreateAS70Server;
+import org.jboss.ide.eclipse.as.ui.bot.test.as70.DeleteServerAS70Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as70.DeployJSPProjectAS70Server;
+import org.jboss.ide.eclipse.as.ui.bot.test.as70.HotDeployJSPFileAS70Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as70.OperateAS70Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as70.UndeployJSPProjectAS70Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as71.CreateAS71Server;
+import org.jboss.ide.eclipse.as.ui.bot.test.as71.DeleteServerAS71Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as71.DeployJSPProjectAS71Server;
+import org.jboss.ide.eclipse.as.ui.bot.test.as71.HotDeployJSPFileAS71Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as71.OperateAS71Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.as71.UndeployJSPProjectAS71Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.eap4.CreateEAP4Server;
+import org.jboss.ide.eclipse.as.ui.bot.test.eap4.DeleteServerEAP4Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.eap4.DeployJSPProjectEAP4Server;
+import org.jboss.ide.eclipse.as.ui.bot.test.eap4.HotDeployJSPFileEAP4Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.eap4.OperateEAP4Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.eap4.UndeployJSPProjectEAP4Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.eap5.CreateEAP5Server;
+import org.jboss.ide.eclipse.as.ui.bot.test.eap5.DeleteServerEAP5Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.eap5.DeployJSPProjectEAP5Server;
+import org.jboss.ide.eclipse.as.ui.bot.test.eap5.HotDeployJSPFileEAP5Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.eap5.OperateEAP5Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.eap5.UndeployJSPProjectEAP5Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.eap6.CreateEAP6Server;
+import org.jboss.ide.eclipse.as.ui.bot.test.eap6.DeleteServerEAP6Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.eap6.DeployJSPProjectEAP6Server;
+import org.jboss.ide.eclipse.as.ui.bot.test.eap6.HotDeployJSPFileEAP6Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.eap6.OperateEAP6Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.eap6.UndeployJSPProjectEAP6Server;
-import org.jboss.ide.eclipse.as.ui.bot.test.template.DeleteServer;
-import org.jboss.ide.eclipse.as.ui.bot.test.template.HotDeployJSPFile;
 import org.jboss.tools.ui.bot.ext.RequirementAwareSuite;
 import org.junit.runner.RunWith;
 import org.junit.runners.Suite;
@@ -63,6 +83,7 @@
 		CreateAS42Server.class,
 		CreateAS40Server.class,
 		CreateAS3Server.class,
+		
 		OperateEAP6Server.class,
 		OperateEAP5Server.class,
 		OperateEAP4Server.class,
@@ -74,6 +95,7 @@
 		OperateAS42Server.class,
 		OperateAS3Server.class,
 		OperateAS40Server.class,
+		
 		DeployJSPProjectEAP6Server.class,
 		DeployJSPProjectEAP5Server.class,
 		DeployJSPProjectEAP4Server.class,
@@ -85,7 +107,19 @@
 		DeployJSPProjectAS42Server.class,
 		DeployJSPProjectAS3Server.class,
 		DeployJSPProjectAS40Server.class,
-		HotDeployJSPFile.class,
+		
+		HotDeployJSPFileEAP6Server.class,
+		HotDeployJSPFileEAP5Server.class,
+		HotDeployJSPFileEAP4Server.class,
+		HotDeployJSPFileAS71Server.class,
+		HotDeployJSPFileAS70Server.class,
+		HotDeployJSPFileAS6Server.class,
+		HotDeployJSPFileAS51Server.class,
+		HotDeployJSPFileAS50Server.class,
+		HotDeployJSPFileAS42Server.class,
+		HotDeployJSPFileAS40Server.class,
+		HotDeployJSPFileAS3Server.class,
+		
 		UndeployJSPProjectEAP6Server.class,
 		UndeployJSPProjectEAP5Server.class,
 		UndeployJSPProjectEAP4Server.class,
@@ -97,7 +131,18 @@
 		UndeployJSPProjectAS42Server.class,
 		UndeployJSPProjectAS3Server.class,
 		UndeployJSPProjectAS40Server.class,
-		DeleteServer.class
+		
+		DeleteServerEAP6Server.class,
+		DeleteServerEAP5Server.class,
+		DeleteServerEAP4Server.class,
+		DeleteServerAS71Server.class,
+		DeleteServerAS70Server.class,
+		DeleteServerAS6Server.class,
+		DeleteServerAS51Server.class,
+		DeleteServerAS50Server.class,
+		DeleteServerAS42Server.class,
+		DeleteServerAS40Server.class,
+		DeleteServerAS3Server.class
 })
 public class AllTestsSuite {
 

Modified: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/EAP5CompatibilitySuite.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/EAP5CompatibilitySuite.java	2012-09-27 08:52:35 UTC (rev 44081)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/EAP5CompatibilitySuite.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -1,11 +1,11 @@
 package org.jboss.ide.eclipse.as.ui.bot.test;
 
 import org.jboss.ide.eclipse.as.ui.bot.test.eap5.CreateEAP5Server;
+import org.jboss.ide.eclipse.as.ui.bot.test.eap5.DeleteServerEAP5Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.eap5.DeployJSPProjectEAP5Server;
+import org.jboss.ide.eclipse.as.ui.bot.test.eap5.HotDeployJSPFileEAP5Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.eap5.OperateEAP5Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.eap5.UndeployJSPProjectEAP5Server;
-import org.jboss.ide.eclipse.as.ui.bot.test.template.DeleteServer;
-import org.jboss.ide.eclipse.as.ui.bot.test.template.HotDeployJSPFile;
 import org.jboss.tools.ui.bot.ext.RequirementAwareSuite;
 import org.junit.runner.RunWith;
 import org.junit.runners.Suite;
@@ -15,9 +15,9 @@
 		CreateEAP5Server.class, 
 		OperateEAP5Server.class,
 		DeployJSPProjectEAP5Server.class,
-		HotDeployJSPFile.class,
+		HotDeployJSPFileEAP5Server.class,
 		UndeployJSPProjectEAP5Server.class,
-		DeleteServer.class
+		DeleteServerEAP5Server.class
 })
 public class EAP5CompatibilitySuite {
 

Modified: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/EAP6CompatibilitySuite.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/EAP6CompatibilitySuite.java	2012-09-27 08:52:35 UTC (rev 44081)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/EAP6CompatibilitySuite.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -1,11 +1,11 @@
 package org.jboss.ide.eclipse.as.ui.bot.test;
 
 import org.jboss.ide.eclipse.as.ui.bot.test.eap6.CreateEAP6Server;
+import org.jboss.ide.eclipse.as.ui.bot.test.eap6.DeleteServerEAP6Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.eap6.DeployJSPProjectEAP6Server;
+import org.jboss.ide.eclipse.as.ui.bot.test.eap6.HotDeployJSPFileEAP6Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.eap6.OperateEAP6Server;
 import org.jboss.ide.eclipse.as.ui.bot.test.eap6.UndeployJSPProjectEAP6Server;
-import org.jboss.ide.eclipse.as.ui.bot.test.template.DeleteServer;
-import org.jboss.ide.eclipse.as.ui.bot.test.template.HotDeployJSPFile;
 import org.jboss.tools.ui.bot.ext.RequirementAwareSuite;
 import org.junit.runner.RunWith;
 import org.junit.runners.Suite;
@@ -15,9 +15,9 @@
 		CreateEAP6Server.class, 
 		OperateEAP6Server.class,
 		DeployJSPProjectEAP6Server.class,
-		HotDeployJSPFile.class,
+		HotDeployJSPFileEAP6Server.class,
 		UndeployJSPProjectEAP6Server.class,
-		DeleteServer.class
+		DeleteServerEAP6Server.class
 })
 public class EAP6CompatibilitySuite {
 

Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as3/DeleteServerAS3Server.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as3/DeleteServerAS3Server.java	                        (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as3/DeleteServerAS3Server.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -0,0 +1,12 @@
+package org.jboss.ide.eclipse.as.ui.bot.test.as3;
+
+import org.jboss.ide.eclipse.as.ui.bot.test.template.DeleteServerTemplate;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+ at Require(server=@Server(type=ServerType.JbossAS, version="3.2", state=ServerState.Present))
+public class DeleteServerAS3Server extends DeleteServerTemplate {
+
+}

Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as3/HotDeployJSPFileAS3Server.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as3/HotDeployJSPFileAS3Server.java	                        (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as3/HotDeployJSPFileAS3Server.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -0,0 +1,12 @@
+package org.jboss.ide.eclipse.as.ui.bot.test.as3;
+
+import org.jboss.ide.eclipse.as.ui.bot.test.template.HotDeployJSPFileTemplate;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+ at Require(server=@Server(type=ServerType.JbossAS, version="3.2", state=ServerState.Running), clearWorkspace=false, clearProjects=false)
+public class HotDeployJSPFileAS3Server extends HotDeployJSPFileTemplate{
+
+}

Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as40/DeleteServerAS40Server.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as40/DeleteServerAS40Server.java	                        (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as40/DeleteServerAS40Server.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -0,0 +1,12 @@
+package org.jboss.ide.eclipse.as.ui.bot.test.as40;
+
+import org.jboss.ide.eclipse.as.ui.bot.test.template.DeleteServerTemplate;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+ at Require(server=@Server(type=ServerType.JbossAS, version="4.0", state=ServerState.Present))
+public class DeleteServerAS40Server extends DeleteServerTemplate {
+
+}

Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as40/HotDeployJSPFileAS40Server.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as40/HotDeployJSPFileAS40Server.java	                        (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as40/HotDeployJSPFileAS40Server.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -0,0 +1,12 @@
+package org.jboss.ide.eclipse.as.ui.bot.test.as40;
+
+import org.jboss.ide.eclipse.as.ui.bot.test.template.HotDeployJSPFileTemplate;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+ at Require(server=@Server(type=ServerType.JbossAS, version="4.0", state=ServerState.Running), clearWorkspace=false, clearProjects=false)
+public class HotDeployJSPFileAS40Server extends HotDeployJSPFileTemplate {
+
+}

Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as42/DeleteServerAS42Server.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as42/DeleteServerAS42Server.java	                        (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as42/DeleteServerAS42Server.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -0,0 +1,12 @@
+package org.jboss.ide.eclipse.as.ui.bot.test.as42;
+
+import org.jboss.ide.eclipse.as.ui.bot.test.template.DeleteServerTemplate;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+ at Require(server=@Server(type=ServerType.JbossAS, version="4.2", state=ServerState.Present))
+public class DeleteServerAS42Server extends DeleteServerTemplate {
+
+}

Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as42/HotDeployJSPFileAS42Server.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as42/HotDeployJSPFileAS42Server.java	                        (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as42/HotDeployJSPFileAS42Server.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -0,0 +1,12 @@
+package org.jboss.ide.eclipse.as.ui.bot.test.as42;
+
+import org.jboss.ide.eclipse.as.ui.bot.test.template.HotDeployJSPFileTemplate;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+ at Require(server=@Server(type=ServerType.JbossAS, version="4.2", state=ServerState.Running), clearWorkspace=false, clearProjects=false)
+public class HotDeployJSPFileAS42Server extends HotDeployJSPFileTemplate {
+
+}

Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as50/DeleteServerAS50Server.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as50/DeleteServerAS50Server.java	                        (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as50/DeleteServerAS50Server.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -0,0 +1,12 @@
+package org.jboss.ide.eclipse.as.ui.bot.test.as50;
+
+import org.jboss.ide.eclipse.as.ui.bot.test.template.DeleteServerTemplate;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+ at Require(server=@Server(type=ServerType.JbossAS, version="5.0", state=ServerState.Present))
+public class DeleteServerAS50Server extends DeleteServerTemplate {
+
+}

Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as50/HotDeployJSPFileAS50Server.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as50/HotDeployJSPFileAS50Server.java	                        (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as50/HotDeployJSPFileAS50Server.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -0,0 +1,12 @@
+package org.jboss.ide.eclipse.as.ui.bot.test.as50;
+
+import org.jboss.ide.eclipse.as.ui.bot.test.template.HotDeployJSPFileTemplate;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+ at Require(server=@Server(type=ServerType.JbossAS, version="5.0", state=ServerState.Running), clearWorkspace=false, clearProjects=false)
+public class HotDeployJSPFileAS50Server extends HotDeployJSPFileTemplate {
+
+}

Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as51/DeleteServerAS51Server.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as51/DeleteServerAS51Server.java	                        (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as51/DeleteServerAS51Server.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -0,0 +1,12 @@
+package org.jboss.ide.eclipse.as.ui.bot.test.as51;
+
+import org.jboss.ide.eclipse.as.ui.bot.test.template.DeleteServerTemplate;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+ at Require(server=@Server(type=ServerType.JbossAS, version="5.1", state=ServerState.Present))
+public class DeleteServerAS51Server extends DeleteServerTemplate {
+
+}

Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as51/HotDeployJSPFileAS51Server.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as51/HotDeployJSPFileAS51Server.java	                        (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as51/HotDeployJSPFileAS51Server.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -0,0 +1,12 @@
+package org.jboss.ide.eclipse.as.ui.bot.test.as51;
+
+import org.jboss.ide.eclipse.as.ui.bot.test.template.HotDeployJSPFileTemplate;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+ at Require(server=@Server(type=ServerType.JbossAS, version="5.1", state=ServerState.Running), clearWorkspace=false, clearProjects=false)
+public class HotDeployJSPFileAS51Server extends HotDeployJSPFileTemplate {
+
+}

Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as6/DeleteServerAS6Server.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as6/DeleteServerAS6Server.java	                        (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as6/DeleteServerAS6Server.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -0,0 +1,12 @@
+package org.jboss.ide.eclipse.as.ui.bot.test.as6;
+
+import org.jboss.ide.eclipse.as.ui.bot.test.template.DeleteServerTemplate;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+ at Require(server=@Server(type=ServerType.JbossAS, version="6.1", state=ServerState.Present))
+public class DeleteServerAS6Server extends DeleteServerTemplate {
+
+}

Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as6/HotDeployJSPFileAS6Server.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as6/HotDeployJSPFileAS6Server.java	                        (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as6/HotDeployJSPFileAS6Server.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -0,0 +1,12 @@
+package org.jboss.ide.eclipse.as.ui.bot.test.as6;
+
+import org.jboss.ide.eclipse.as.ui.bot.test.template.HotDeployJSPFileTemplate;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+ at Require(server=@Server(type=ServerType.JbossAS, version="6.1", state=ServerState.Running), clearWorkspace=false, clearProjects=false)
+public class HotDeployJSPFileAS6Server extends HotDeployJSPFileTemplate {
+
+}

Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as70/DeleteServerAS70Server.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as70/DeleteServerAS70Server.java	                        (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as70/DeleteServerAS70Server.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -0,0 +1,12 @@
+package org.jboss.ide.eclipse.as.ui.bot.test.as70;
+
+import org.jboss.ide.eclipse.as.ui.bot.test.template.DeleteServerTemplate;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+ at Require(server=@Server(type=ServerType.JbossAS, version="7.0", state=ServerState.Present))
+public class DeleteServerAS70Server extends DeleteServerTemplate {
+
+}

Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as70/HotDeployJSPFileAS70Server.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as70/HotDeployJSPFileAS70Server.java	                        (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as70/HotDeployJSPFileAS70Server.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -0,0 +1,12 @@
+package org.jboss.ide.eclipse.as.ui.bot.test.as70;
+
+import org.jboss.ide.eclipse.as.ui.bot.test.template.HotDeployJSPFileTemplate;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+ at Require(server=@Server(type=ServerType.JbossAS, version="7.0", state=ServerState.Running), clearWorkspace=false, clearProjects=false)
+public class HotDeployJSPFileAS70Server extends HotDeployJSPFileTemplate {
+
+}

Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as71/DeleteServerAS71Server.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as71/DeleteServerAS71Server.java	                        (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as71/DeleteServerAS71Server.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -0,0 +1,12 @@
+package org.jboss.ide.eclipse.as.ui.bot.test.as71;
+
+import org.jboss.ide.eclipse.as.ui.bot.test.template.DeleteServerTemplate;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+ at Require(server=@Server(type=ServerType.JbossAS, version="7.1", state=ServerState.Present))
+public class DeleteServerAS71Server extends DeleteServerTemplate {
+
+}

Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as71/HotDeployJSPFileAS71Server.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as71/HotDeployJSPFileAS71Server.java	                        (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/as71/HotDeployJSPFileAS71Server.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -0,0 +1,12 @@
+package org.jboss.ide.eclipse.as.ui.bot.test.as71;
+
+import org.jboss.ide.eclipse.as.ui.bot.test.template.HotDeployJSPFileTemplate;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+ at Require(server=@Server(type=ServerType.JbossAS, version="7.1", state=ServerState.Running), clearWorkspace=false, clearProjects=false)
+public class HotDeployJSPFileAS71Server extends HotDeployJSPFileTemplate {
+
+}

Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/eap4/DeleteServerEAP4Server.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/eap4/DeleteServerEAP4Server.java	                        (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/eap4/DeleteServerEAP4Server.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -0,0 +1,12 @@
+package org.jboss.ide.eclipse.as.ui.bot.test.eap4;
+
+import org.jboss.ide.eclipse.as.ui.bot.test.template.DeleteServerTemplate;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+ at Require(server=@Server(type=ServerType.EAP, version="4.3", state=ServerState.Present))
+public class DeleteServerEAP4Server extends DeleteServerTemplate {
+
+}

Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/eap4/HotDeployJSPFileEAP4Server.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/eap4/HotDeployJSPFileEAP4Server.java	                        (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/eap4/HotDeployJSPFileEAP4Server.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -0,0 +1,12 @@
+package org.jboss.ide.eclipse.as.ui.bot.test.eap4;
+
+import org.jboss.ide.eclipse.as.ui.bot.test.template.HotDeployJSPFileTemplate;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+ at Require(server=@Server(type=ServerType.EAP, version="4.3", state=ServerState.Running), clearWorkspace=false, clearProjects=false)
+public class HotDeployJSPFileEAP4Server extends HotDeployJSPFileTemplate {
+
+}

Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/eap5/DeleteServerEAP5Server.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/eap5/DeleteServerEAP5Server.java	                        (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/eap5/DeleteServerEAP5Server.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -0,0 +1,12 @@
+package org.jboss.ide.eclipse.as.ui.bot.test.eap5;
+
+import org.jboss.ide.eclipse.as.ui.bot.test.template.DeleteServerTemplate;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+ at Require(server=@Server(type=ServerType.EAP, version="5", state=ServerState.Present))
+public class DeleteServerEAP5Server extends DeleteServerTemplate {
+
+}

Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/eap5/HotDeployJSPFileEAP5Server.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/eap5/HotDeployJSPFileEAP5Server.java	                        (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/eap5/HotDeployJSPFileEAP5Server.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -0,0 +1,12 @@
+package org.jboss.ide.eclipse.as.ui.bot.test.eap5;
+
+import org.jboss.ide.eclipse.as.ui.bot.test.template.HotDeployJSPFileTemplate;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+ at Require(server=@Server(type=ServerType.EAP, version="5", state=ServerState.Running), clearWorkspace=false, clearProjects=false)
+public class HotDeployJSPFileEAP5Server extends HotDeployJSPFileTemplate {
+
+}

Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/eap6/DeleteServerEAP6Server.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/eap6/DeleteServerEAP6Server.java	                        (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/eap6/DeleteServerEAP6Server.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -0,0 +1,12 @@
+package org.jboss.ide.eclipse.as.ui.bot.test.eap6;
+
+import org.jboss.ide.eclipse.as.ui.bot.test.template.DeleteServerTemplate;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+ at Require(server=@Server(type=ServerType.EAP, version="6", state=ServerState.Present))
+public class DeleteServerEAP6Server extends DeleteServerTemplate {
+
+}

Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/eap6/HotDeployJSPFileEAP6Server.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/eap6/HotDeployJSPFileEAP6Server.java	                        (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/eap6/HotDeployJSPFileEAP6Server.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -0,0 +1,12 @@
+package org.jboss.ide.eclipse.as.ui.bot.test.eap6;
+
+import org.jboss.ide.eclipse.as.ui.bot.test.template.HotDeployJSPFileTemplate;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+ at Require(server=@Server(type=ServerType.EAP, version="6", state=ServerState.Running), clearWorkspace=false, clearProjects=false)
+public class HotDeployJSPFileEAP6Server extends HotDeployJSPFileTemplate {
+
+}

Deleted: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/DeleteServer.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/DeleteServer.java	2012-09-27 08:52:35 UTC (rev 44081)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/DeleteServer.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -1,26 +0,0 @@
-package org.jboss.ide.eclipse.as.ui.bot.test.template;
-
-import org.jboss.tools.ui.bot.ext.SWTTestExt;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
-import org.jboss.tools.ui.bot.ext.view.ServersView;
-import org.junit.Test;
-
-/**
- * Deletes the server and checks that it is not present on the server's view. 
- * 
- * @author Lucia Jelinkova
- *
- */
- at Require(server=@Server)
-public class DeleteServer extends SWTTestExt {
-
-	private ServersView serversView = new ServersView();
-	
-	@Test
-	public void deleteServer(){
-		serversView.deleteServer(configuredState.getServer().name);
-
-		assertFalse(serversView.serverExists(configuredState.getServer().name));
-	}
-}

Copied: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/DeleteServerTemplate.java (from rev 43318, trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/DeleteServer.java)
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/DeleteServerTemplate.java	                        (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/DeleteServerTemplate.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -0,0 +1,29 @@
+package org.jboss.ide.eclipse.as.ui.bot.test.template;
+
+import org.jboss.tools.ui.bot.ext.SWTTestExt;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.view.ServersView;
+import org.junit.Test;
+
+/**
+ * Deletes the server and checks that it is not present on the server's view. 
+ * 
+ * NOTE: It is marked as abstract so that concrete implementation can specify their own {@link Server}
+ * annotation
+ * 
+ * @author Lucia Jelinkova
+ *
+ */
+ at Require(server=@Server)
+public abstract class DeleteServerTemplate extends SWTTestExt {
+
+	private ServersView serversView = new ServersView();
+	
+	@Test
+	public void deleteServer(){
+		serversView.deleteServer(configuredState.getServer().name);
+
+		assertFalse(serversView.serverExists(configuredState.getServer().name));
+	}
+}

Deleted: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/HotDeployJSPFile.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/HotDeployJSPFile.java	2012-09-27 08:52:35 UTC (rev 44081)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/HotDeployJSPFile.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -1,39 +0,0 @@
-package org.jboss.ide.eclipse.as.ui.bot.test.template;
-
-import static org.hamcrest.MatcherAssert.assertThat;
-
-import org.jboss.ide.eclipse.as.ui.bot.test.web.PageSourceMatcher;
-import org.jboss.ide.eclipse.as.ui.bot.test.wizard.NewFileWizard;
-import org.jboss.tools.ui.bot.ext.SWTBotFactory;
-import org.jboss.tools.ui.bot.ext.SWTTestExt;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
-import org.junit.Test;
-
-/**
- * Adds a new jsp file into the jsp project and checks it is hot deployed:
- * <ul>
- * 	<li>loads the new page in the web browser </li>
- * </ul>
- * @author Lucia Jelinkova
- *
- */
- at Require(server=@Server, clearWorkspace=false, clearProjects=false)
-public class HotDeployJSPFile extends SWTTestExt {
-
-	public static final String JSP_CONTENT = 
-				"<%@ page language=\"java\" contentType=\"text/html; charset=UTF-8\" pageEncoding=\"UTF-8\"%> \n" + 
-				"<html> <body> Hot deployment </body> </html>";
-	
-	@Test
-	public void hotDeployment(){
-		NewFileWizard wizard = new NewFileWizard();
-		wizard.setPath(DeployJSPProjectTemplate.PROJECT_NAME, "WebContent");
-		wizard.setFileName("hot.jsp");
-		wizard.setText(JSP_CONTENT);
-		wizard.execute();
-		
-		SWTBotFactory.getBot().sleep(5000);
-		assertThat("Hot deployment", new PageSourceMatcher("http://localhost:8080/" + DeployJSPProjectTemplate.PROJECT_NAME + "/hot.jsp"));
-	}
-}

Copied: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/HotDeployJSPFileTemplate.java (from rev 43318, trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/HotDeployJSPFile.java)
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/HotDeployJSPFileTemplate.java	                        (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/HotDeployJSPFileTemplate.java	2012-09-27 09:02:23 UTC (rev 44082)
@@ -0,0 +1,41 @@
+package org.jboss.ide.eclipse.as.ui.bot.test.template;
+
+import static org.hamcrest.MatcherAssert.assertThat;
+
+import org.jboss.ide.eclipse.as.ui.bot.test.web.PageSourceMatcher;
+import org.jboss.ide.eclipse.as.ui.bot.test.wizard.NewFileWizard;
+import org.jboss.tools.ui.bot.ext.SWTBotFactory;
+import org.jboss.tools.ui.bot.ext.SWTTestExt;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.junit.Test;
+
+/**
+ * Adds a new jsp file into the jsp project and checks it is hot deployed:
+ * <ul>
+ * 	<li>loads the new page in the web browser </li>
+ * </ul>
+ * 
+ * NOTE: It is marked as abstract so that concrete implementation can specify their own {@link Server}
+ * annotation
+ * 
+ * @author Lucia Jelinkova
+ *
+ */
+public abstract class HotDeployJSPFileTemplate extends SWTTestExt {
+
+	public static final String JSP_CONTENT = 
+				"<%@ page language=\"java\" contentType=\"text/html; charset=UTF-8\" pageEncoding=\"UTF-8\"%> \n" + 
+				"<html> <body> Hot deployment </body> </html>";
+	
+	@Test
+	public void hotDeployment(){
+		NewFileWizard wizard = new NewFileWizard();
+		wizard.setPath(DeployJSPProjectTemplate.PROJECT_NAME, "WebContent");
+		wizard.setFileName("hot.jsp");
+		wizard.setText(JSP_CONTENT);
+		wizard.execute();
+		
+		SWTBotFactory.getBot().sleep(5000);
+		assertThat("Hot deployment", new PageSourceMatcher("http://localhost:8080/" + DeployJSPProjectTemplate.PROJECT_NAME + "/hot.jsp"));
+	}
+}



More information about the jbosstools-commits mailing list