[jbosstools-commits] JBoss Tools SVN: r39887 - in trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext: gen and 1 other directory.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Wed Mar 28 09:21:37 EDT 2012


Author: jpeterka
Date: 2012-03-28 09:21:37 -0400 (Wed, 28 Mar 2012)
New Revision: 39887

Modified:
   trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement/AddServer.java
   trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/gen/ActionItem.java
Log:
Added support for EAP6 in AddServer bot tests requirement

Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement/AddServer.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement/AddServer.java	2012-03-28 13:04:28 UTC (rev 39886)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement/AddServer.java	2012-03-28 13:21:37 UTC (rev 39887)
@@ -12,6 +12,7 @@
 import org.jboss.tools.ui.bot.ext.gen.ActionItem.Server.JBossCommunityJBossAS71;
 import org.jboss.tools.ui.bot.ext.gen.ActionItem.Server.JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform43;
 import org.jboss.tools.ui.bot.ext.gen.ActionItem.Server.JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform5x;
+import org.jboss.tools.ui.bot.ext.gen.ActionItem.Server.JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform6x;
 import org.jboss.tools.ui.bot.ext.gen.ActionItem.ServerRuntime.JBossCommunityJBoss42Runtime;
 import org.jboss.tools.ui.bot.ext.gen.ActionItem.ServerRuntime.JBossCommunityJBoss50Runtime;
 import org.jboss.tools.ui.bot.ext.gen.ActionItem.ServerRuntime.JBossCommunityJBoss51Runtime;
@@ -20,6 +21,7 @@
 import org.jboss.tools.ui.bot.ext.gen.ActionItem.ServerRuntime.JBossCommunityJBoss71Runtime;
 import org.jboss.tools.ui.bot.ext.gen.ActionItem.ServerRuntime.JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform43Runtime;
 import org.jboss.tools.ui.bot.ext.gen.ActionItem.ServerRuntime.JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform5xRuntime;
+import org.jboss.tools.ui.bot.ext.gen.ActionItem.ServerRuntime.JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform6xRuntime;
 import org.jboss.tools.ui.bot.ext.gen.IServer;
 import org.jboss.tools.ui.bot.ext.gen.IServerRuntime;
 /**
@@ -114,6 +116,10 @@
 				return new ServerInfo(JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform5xRuntime.LABEL,
 						JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform5x.LABEL);
 			}
+			if (version!=null && version.startsWith("6")) {
+				return new ServerInfo(JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform6xRuntime.LABEL,
+						JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform6x.LABEL);
+			}			
 			
 		}
 		if (TestConfigurator.Values.SERVER_TYPE_EPP.equals(serverType)) {

Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/gen/ActionItem.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/gen/ActionItem.java	2012-03-28 13:04:28 UTC (rev 39886)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/gen/ActionItem.java	2012-03-28 13:21:37 UTC (rev 39887)
@@ -1855,6 +1855,23 @@
 			*/
 			public static final String TEXT_DIRECTORY = "Directory:";
 			}
+		public static class JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform6x {
+			/**
+			* represents item : JBoss Enterprise Middleware->JBoss Enterprise Application Platform 6.x
+			*/
+			public static final IServer LABEL = new IServer() {
+				public String getName() { return "JBoss Enterprise Application Platform 6.x";}
+				public List<String> getGroupPath() {
+					List<String> l = new Vector<String>();
+					l.add("JBoss Enterprise Middleware");
+					return l;
+				}
+			};
+			/**
+			* text field labeled 'Directory:'
+			*/
+			public static final String TEXT_DIRECTORY = "Directory:";
+			}		
 		public static class JBossCommunityJBossAS42 {
 			/**
 			* represents item : JBoss Community->JBoss AS 4.2
@@ -10630,6 +10647,23 @@
 			*/
 			public static final String TEXT_DIRECTORY = "Directory:";
 			}
+		public static class JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform6xRuntime {
+			/**
+			* represents item : JBoss Enterprise Middleware->JBoss Enterprise Application Platform 6.x Runtime
+			*/
+			public static final IServerRuntime LABEL = new IServerRuntime() {
+				public String getName() { return "JBoss Enterprise Application Platform 6.x Runtime";}
+				public List<String> getGroupPath() {
+					List<String> l = new Vector<String>();
+					l.add("JBoss Enterprise Middleware");
+					return l;
+				}
+			};
+			/**
+			* text field labeled 'Directory:'
+			*/
+			public static final String TEXT_DIRECTORY = "Directory:";
+			}		
 		public static class JBossCommunityJBoss42Runtime {
 			/**
 			* represents item : JBoss Community->JBoss 4.2 Runtime



More information about the jbosstools-commits mailing list