[jbosstools-commits] JBoss Tools SVN: r40779 - trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Thu May 3 22:48:37 EDT 2012


Author: ldimaggio
Date: 2012-05-03 22:48:22 -0400 (Thu, 03 May 2012)
New Revision: 40779

Modified:
   trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement/AddServer.java
Log:
Added support for ESB 4.11 (included in SOA-P 5.3)

else if ("5.3".equals(TestConfigurator.currentConfig.getServer().version)) {
	SWTTestExt.configuredState.getServer().bundledESBVersion="4.11";
}




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-05-04 02:43:27 UTC (rev 40778)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement/AddServer.java	2012-05-04 02:48:22 UTC (rev 40779)
@@ -2,6 +2,7 @@
 
 import static org.junit.Assert.fail;
 
+import org.eclipse.swtbot.swt.finder.SWTBot;
 import org.jboss.tools.ui.bot.ext.SWTTestExt;
 import org.jboss.tools.ui.bot.ext.config.TestConfigurator;
 import org.jboss.tools.ui.bot.ext.gen.ActionItem.Server.JBossCommunityJBossAS42;
@@ -72,7 +73,7 @@
 		SWTTestExt.configuredState.getServer().type=TestConfigurator.currentConfig.getServer().type;
 		SWTTestExt.configuredState.getServer().withJavaVersion = TestConfigurator.currentConfig.getServer().withJavaVersion;
 		// setup bundled ESB versions for SOA server type
-		if (TestConfigurator.currentConfig.getServer().type.equals(TestConfigurator.Values.SERVER_TYPE_SOA)) {
+		if (TestConfigurator.currentConfig.getServer().type.equals(TestConfigurator.Values.SERVER_TYPE_SOA)) {		
 			if ("4.3".equals(TestConfigurator.currentConfig.getServer().version)) {
 				SWTTestExt.configuredState.getServer().bundledESBVersion="4.4";			
 			}
@@ -85,6 +86,9 @@
 			else if ("5.2".equals(TestConfigurator.currentConfig.getServer().version)) {
 				SWTTestExt.configuredState.getServer().bundledESBVersion="4.10";
 			}
+			else if ("5.3".equals(TestConfigurator.currentConfig.getServer().version)) {
+				SWTTestExt.configuredState.getServer().bundledESBVersion="4.11";
+			}
 		} 
 	}
 



More information about the jbosstools-commits mailing list