[jbosstools-commits] JBoss Tools SVN: r30367 - trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/examples.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Wed Apr 6 08:39:14 EDT 2011


Author: lzoubek at redhat.com
Date: 2011-04-06 08:39:14 -0400 (Wed, 06 Apr 2011)
New Revision: 30367

Modified:
   trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/examples/ESBExampleTest.java
Log:
esb bot test: fixed testing 5.0 examples on 5.1 platforms


Modified: trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/examples/ESBExampleTest.java
===================================================================
--- trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/examples/ESBExampleTest.java	2011-04-06 12:38:08 UTC (rev 30366)
+++ trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/examples/ESBExampleTest.java	2011-04-06 12:39:14 UTC (rev 30367)
@@ -165,7 +165,7 @@
 		if (configuredState.getServer().version.equals("5.0")) {
 			ret+="5.0";
 		}
-		if (configuredState.getServer().version.equals("5.1")) {
+		else if (configuredState.getServer().version.equals("5.1")) {
 			ret+="5.0";
 		}
 		else if (configuredState.getServer().version.equals("4.3")) {



More information about the jbosstools-commits mailing list