[jbosstools-commits] JBoss Tools SVN: r43191 - in trunk/esb/tests: org.jboss.tools.esb.ui.bot.test and 1 other directory.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Thu Aug 23 06:35:52 EDT 2012


Author: mickael_istria
Date: 2012-08-23 06:35:52 -0400 (Thu, 23 Aug 2012)
New Revision: 43191

Modified:
   trunk/esb/tests/org.jboss.tools.esb.project.core.test/pom.xml
   trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/pom.xml
Log:
JBIDE-12420: Added profiles to skip tests for esb, when skipPrivateRequirements or swtbot.test.skip is set to true.

Modified: trunk/esb/tests/org.jboss.tools.esb.project.core.test/pom.xml
===================================================================
--- trunk/esb/tests/org.jboss.tools.esb.project.core.test/pom.xml	2012-08-23 09:42:38 UTC (rev 43190)
+++ trunk/esb/tests/org.jboss.tools.esb.project.core.test/pom.xml	2012-08-23 10:35:52 UTC (rev 43191)
@@ -34,6 +34,7 @@
 							<url>http://repository.jboss.org/sourceforge/jboss-5.1.0.GA.zip</url>
 							<md5>78322c75ca0c13002a04418b4a8bc920</md5>
 							<unpack>true</unpack>
+							<skip>${skipPrivateRequirements}</skip>
 						</configuration>
 					</execution>
 					<execution>
@@ -46,6 +47,7 @@
 							<url>http://download.devel.redhat.com/released/JBossSOAP/4.3.0/CP05/soa-4.3.0.GA_CP05.zip</url>
 							<md5>91ce2b24015178cda02878d0abe38ac7</md5>
 							<unpack>true</unpack>
+							<skip>${skipPrivateRequirements}</skip>
 						</configuration>
 					</execution>
 					<execution>
@@ -58,6 +60,7 @@
 							<url>http://jawa05.englab.brq.redhat.com/candidate/soa-5.3.0.ER5/soa-p-5.3.0.ER5.zip</url>
 							<md5>1c2e329498396762b8dad2c1621308bf</md5>
 							<unpack>true</unpack>
+							<skip>${skipPrivateRequirements}</skip>
 						</configuration>
 					</execution>
 				</executions>
@@ -66,6 +69,7 @@
 				<groupId>org.eclipse.tycho</groupId>
 				<artifactId>tycho-surefire-plugin</artifactId>
 				<configuration>
+					<skip>${skipPrivateRequirements}</skip>
 					<explodedBundles>
 						<bundle>org.jboss.tools.esb.project.core</bundle>
 					</explodedBundles>

Modified: trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/pom.xml
===================================================================
--- trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/pom.xml	2012-08-23 09:42:38 UTC (rev 43190)
+++ trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/pom.xml	2012-08-23 10:35:52 UTC (rev 43191)
@@ -19,6 +19,36 @@
 		</systemProperties>
 	</properties>
 
+	<profiles>
+		<profile>
+			<id>skip-tests-privateReqs</id>
+			<activation>
+				<activeByDefault>false</activeByDefault>
+				<property>
+					<name>skipPrivateRequirements</name>
+					<value>true</value>
+				</property>
+			</activation>
+			<properties>
+				<esb.test.skip>true</esb.test.skip>
+			</properties>
+		</profile>
+		<profile>
+			<id>skip-swtbot</id>
+			<activation>
+				<activeByDefault>false</activeByDefault>
+				<property>
+					<name>swtbot.test.skip</name>
+					<value>true</value>
+				</property>
+			</activation>
+			<properties>
+				<esb.test.skip>true</esb.test.skip>
+			</properties>
+		</profile>
+	</profiles>
+
+
 	<build>
 		<plugins>
 			<plugin>
@@ -35,6 +65,7 @@
 							<url>http://jawa05.englab.brq.redhat.com/candidate/soa-5.3.0.ER5/soa-p-5.3.0.ER5.zip</url>
 							<md5>1c2e329498396762b8dad2c1621308bf</md5>
 							<unpack>true</unpack>
+							<skip>${esb.test.skip}</skip>
 						</configuration>
 					</execution>
 					<execution>
@@ -47,6 +78,7 @@
 							<url>http://download.jboss.org/jbossesb/4.11/binary/jbossesb-4.11.zip</url>
 							<md5>506bb7f42777cf0e524ccc37336aa137</md5>
 							<unpack>true</unpack>
+							<skip>${esb.test.skip}</skip>
 						</configuration>
 					</execution>
 				</executions>
@@ -56,7 +88,7 @@
 				<artifactId>tycho-surefire-plugin</artifactId>
 				<configuration>
 					<useUIThread>false</useUIThread>
-					<skip>${swtbot.test.skip}</skip>
+					<skip>${esb.test.skip}</skip>
 					<testSuite>org.jboss.tools.esb.ui.bot.test</testSuite>
 					<testClass>org.jboss.tools.esb.ui.bot.tests.ESBAllBotTests</testClass>
 					<forkedProcessTimeoutInSeconds>7200</forkedProcessTimeoutInSeconds>



More information about the jbosstools-commits mailing list