[jbosstools-commits] JBoss Tools SVN: r43346 - trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Fri Aug 31 03:17:04 EDT 2012


Author: mmalina
Date: 2012-08-31 03:17:03 -0400 (Fri, 31 Aug 2012)
New Revision: 43346

Modified:
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/pom.xml
Log:
Updated as ui bot test pom.xml to reflect changes in stable branch.

Modified: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/pom.xml
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/pom.xml	2012-08-31 06:16:07 UTC (rev 43345)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/pom.xml	2012-08-31 07:17:03 UTC (rev 43346)
@@ -13,14 +13,12 @@
 	<packaging>eclipse-test-plugin</packaging>
 
 	<properties>
-		<jbosstools.test.jboss-as-7.1.home>${requirementsDirectory}/jboss-as-7.1.1.Final</jbosstools.test.jboss-as-7.1.home>
-		<jbosstools.test.jboss-as-7.1.url>http://download.jboss.org/jbossas/7.1/jboss-as-7.1.1.Final/jboss-as-7.1.1.Final.zip</jbosstools.test.jboss-as-7.1.url>
-		<jbosstools.test.jboss-as-7.1.md5>175c92545454f4e7270821f4b8326c4e</jbosstools.test.jboss-as-7.1.md5>
-		<configurations.dir>resources/project_config_files</configurations.dir>
+		<swtbot.test.skip>false</swtbot.test.skip>
+		<maven.test.failure.ignore>true</maven.test.failure.ignore>
+		<requirementsDirectory>${project.build.directory}/requirements</requirementsDirectory>
 		<additionalSystemProperties></additionalSystemProperties>
-		<systemProperties>${additionalSystemProperties} -Djbosstools.test.jboss-as-7.1.home=${jbosstools.test.jboss-as-7.1.home} -Dtest.configurations.dir=${configurations.dir}  -Dorg.eclipse.swtbot.screenshots.dir=${project.build.directory}/screenshots</systemProperties>
-		<test.class>org.jboss.ide.eclipse.as.ui.bot.test.AllTestsSuite</test.class>
-		<surefire.timeout>7200</surefire.timeout>
+		<runtimesProperties></runtimesProperties>
+		<systemProperties>${additionalSystemProperties} ${runtimesProperties} -Dorg.eclipse.swtbot.screenshots.dir=${project.build.directory}/screenshots</systemProperties>
 	</properties>
 
 	<profiles>
@@ -43,27 +41,240 @@
 				<platformSystemProperties> -d32 -Dosgi.arch=x86 -XstartOnFirstThread -Dorg.eclipse.swtbot.keyboard.layout=MAC_EN_US</platformSystemProperties>
 			</properties>
 		</profile>
-	</profiles>
-	
-	<build>
-		<plugins>
-			<plugin>
+		
+		<!-- the default and jbosstools-staging-aggregate profiles are to be active always 
+			- thus using a random property is known to be always defined -->
+		<profile>
+			<id>default</id>
+			<activation>
+				<property>
+					<name>!disableDefaultProfiles</name>
+				</property>
+			</activation>
+		</profile>
+		<profile>
+			<id>jbosstools-staging-aggregate</id>
+			<activation>
+				<property>
+					<name>!disableDefaultProfiles</name>
+				</property>
+			</activation>
+		</profile>
+		
+		<profile>
+			<id>projects</id>
+			<activation>
+				<property>
+					<name>!test.profile</name>
+				</property>
+			</activation>
+			<properties>
+				<test.class>org.jboss.ide.eclipse.as.ui.bot.test.AllTestsSuite</test.class>
+				<jbosstools.test.jboss-as-3.2.home>${requirementsDirectory}/jboss-3.2.8.SP1</jbosstools.test.jboss-as-3.2.home>
+				<jbosstools.test.jboss-as-4.0.home>${requirementsDirectory}/jboss-4.0.5.GA</jbosstools.test.jboss-as-4.0.home>
+				<jbosstools.test.jboss-as-4.2.home>${requirementsDirectory}/jboss-4.2.3.GA</jbosstools.test.jboss-as-4.2.home>
+				<jbosstools.test.jboss-as-5.0.home>${requirementsDirectory}/jboss-5.0.1.GA</jbosstools.test.jboss-as-5.0.home>
+				<jbosstools.test.jboss-as-5.1.home>${requirementsDirectory}/jboss-5.1.0.GA</jbosstools.test.jboss-as-5.1.home>
+				<jbosstools.test.jboss-as-6.x.home>${requirementsDirectory}/jboss-6.1.0.Final</jbosstools.test.jboss-as-6.x.home>
+				<jbosstools.test.jboss-as-7.0.home>${requirementsDirectory}/jboss-as-7.0.2.Final</jbosstools.test.jboss-as-7.0.home>
+				<jbosstools.test.jboss-as-7.1.home>${requirementsDirectory}/jboss-as-7.1.1.Final</jbosstools.test.jboss-as-7.1.home>
+				<runtimesProperties>-Djbosstools.test.jboss-as-3.2.home=${jbosstools.test.jboss-as-3.2.home} -Djbosstools.test.jboss-as-4.0.home=${jbosstools.test.jboss-as-4.0.home} -Djbosstools.test.jboss-as-4.2.home=${jbosstools.test.jboss-as-4.2.home} -Djbosstools.test.jboss-as-5.0.home=${jbosstools.test.jboss-as-5.0.home} -Djbosstools.test.jboss-as-5.1.home=${jbosstools.test.jboss-as-5.1.home} -Djbosstools.test.jboss-as-6.x.home=${jbosstools.test.jboss-as-6.x.home} -Djbosstools.test.jboss-as-7.0.home=${jbosstools.test.jboss-as-7.0.home} -Djbosstools.test.jboss-as-7.1.home=${jbosstools.test.jboss-as-7.1.home} -Dtest.configurations.dir=resources/config_files_templates/project</runtimesProperties>
+			</properties>
+			<build>
+			<plugins><plugin>
 				<groupId>com.googlecode.maven-download-plugin</groupId>
 				<artifactId>maven-download-plugin</artifactId>
 				<executions>
 					<execution>
+						<id>install-as-3.2.8</id>
+						<phase>pre-integration-test</phase>
+						<goals>
+							<goal>wget</goal>
+						</goals>
+						<configuration>
+							<url>http://sourceforge.net/projects/jboss/files/JBoss/JBoss-3.2.8.SP1/jboss-3.2.8.SP1.zip/download</url>
+							<outputFileName>jboss-3.2.8.SP1.zip</outputFileName>
+							<md5>97147374ee5b048e4462c7ebaf3cccb5</md5>
+							<unpack>true</unpack>
+						</configuration>
+					</execution>
+					<execution>
+						<id>install-as-4.0.5</id>
+						<phase>pre-integration-test</phase>
+						<goals>
+							<goal>wget</goal>
+						</goals>
+						<configuration>
+							<url>http://sourceforge.net/projects/jboss/files/JBoss/JBoss-4.0.5.GA/jboss-4.0.5.GA.zip/download</url>
+							<outputFileName>jboss-4.0.5.GA.zip</outputFileName>
+							<md5>a39e85981958fea2411e9346e218aa39</md5>
+							<unpack>true</unpack>
+						</configuration>
+					</execution>
+					<execution>
+						<id>install-as-4.2.3</id>
+						<phase>pre-integration-test</phase>
+						<goals>
+							<goal>wget</goal>
+						</goals>
+						<configuration>
+							<url>http://sourceforge.net/projects/jboss/files/JBoss/JBoss-4.2.3.GA/jboss-4.2.3.GA-jdk6.zip/download</url>
+							<outputFileName>jboss-4.2.3.GA-jdk6.zip</outputFileName>
+							<md5>e548d9e369589f8b9be0abc642c19842</md5>
+							<unpack>true</unpack>
+						</configuration>
+					</execution>
+					<execution>
+						<id>install-as-5.0.1</id>
+						<phase>pre-integration-test</phase>
+						<goals>
+							<goal>wget</goal>
+						</goals>
+						<configuration>
+							<url>http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.0.1.GA/jboss-5.0.1.GA-jdk6.zip/download</url>
+							<outputFileName>jboss-5.0.1.GA-jdk6.zip</outputFileName>
+							<md5>8983740c2cdd2bbcbd8e94df0b7a87c8</md5>
+							<unpack>true</unpack>
+						</configuration>
+					</execution>
+					<execution>
+						<id>install-as-5.1.0</id>
+						<phase>pre-integration-test</phase>
+						<goals>
+							<goal>wget</goal>
+						</goals>
+						<configuration>
+							<url>http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.1.0.GA/jboss-5.1.0.GA-jdk6.zip/download</url>
+							<outputFileName>jboss-5.1.0.GA-jdk6.zip</outputFileName>
+							<md5>ca64add783eb38c123ddb0dcd8465e3f</md5>
+							<unpack>true</unpack>
+						</configuration>
+					</execution>
+					<execution>
+						<id>install-as-6.1.0</id>
+						<phase>pre-integration-test</phase>
+						<goals>
+							<goal>wget</goal>
+						</goals>
+						<configuration>
+							<url>http://download.jboss.org/jbossas/6.1/jboss-as-distribution-6.1.0.Final.zip</url>
+							<md5>2264e4d5ba448fa07716008d1452f1e7</md5>
+							<unpack>true</unpack>
+						</configuration>
+					</execution>
+					<execution>
+						<id>install-as-7.0.2</id>
+						<phase>pre-integration-test</phase>
+						<goals>
+							<goal>wget</goal>
+						</goals>
+						<configuration>
+							<url>http://download.jboss.org/jbossas/7.0/jboss-as-7.0.2.Final/jboss-as-7.0.2.Final.zip</url>
+							<md5>774556618e73c2273fff91fa5e92c1d5</md5>
+							<unpack>true</unpack>
+						</configuration>
+					</execution>
+					<execution>
 						<id>install-as-7.1.1</id>
 						<phase>pre-integration-test</phase>
 						<goals>
 							<goal>wget</goal>
 						</goals>
 						<configuration>
-							<url>${jbosstools.test.jboss-as-7.1.url}</url>
-							<md5>${jbosstools.test.jboss-as-7.1.md5}</md5>
+							<url>http://download.jboss.org/jbossas/7.1/jboss-as-7.1.1.Final/jboss-as-7.1.1.Final.zip</url>
+							<md5>175c92545454f4e7270821f4b8326c4e</md5>
 							<unpack>true</unpack>
 						</configuration>
 					</execution>
 				</executions>
+			</plugin></plugins>
+			</build>
+		</profile>
+		
+		<profile>
+			<id>eap5</id>
+			<activation>
+				<property>
+					<name>test.profile</name>
+					<value>eap5</value>
+				</property>
+			</activation>
+			<properties>
+				<test.class>org.jboss.ide.eclipse.as.ui.bot.test.EAP5CompatibilitySuite</test.class>
+				<jbosstools.test.jboss-eap-5.home>${requirementsDirectory}/jboss-eap-5.1/jboss-as</jbosstools.test.jboss-eap-5.home>
+				<jbosstools.test.jboss-eap-5.url>url/to/jboss-eap-noauth-5.1.2.zip</jbosstools.test.jboss-eap-5.url>
+				<jbosstools.test.jboss-eap-5.md5>82fac5578a5ed96d68592ac58f9c35e4</jbosstools.test.jboss-eap-5.md5>
+				<runtimesProperties>-Djbosstools.test.jboss-eap-5.home=${jbosstools.test.jboss-eap-5.home} -Dswtbot.test.properties.file=resources/config_files_templates/product/eap-5.properties</runtimesProperties>
+			</properties>
+			<build>
+			<plugins><plugin>
+				<groupId>com.googlecode.maven-download-plugin</groupId>
+				<artifactId>maven-download-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>install-eap-5</id>
+						<phase>pre-integration-test</phase>
+						<goals>
+							<goal>wget</goal>
+						</goals>
+						<configuration>
+							<url>${jbosstools.test.jboss-eap-5.url}</url>
+							<md5>${jbosstools.test.jboss-eap-5.md5}</md5>
+							<unpack>true</unpack>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin></plugins>
+			</build>
+		</profile>
+		<profile>
+			<id>eap6</id>
+			<activation>
+				<property>
+					<name>test.profile</name>
+					<value>eap6</value>
+				</property>
+			</activation>
+			<properties>
+				<test.class>org.jboss.ide.eclipse.as.ui.bot.test.EAP6CompatibilitySuite</test.class>
+				<jbosstools.test.jboss-eap-6.home>${requirementsDirectory}/jboss-eap-6.0</jbosstools.test.jboss-eap-6.home>
+				<jbosstools.test.jboss-eap-6.url></jbosstools.test.jboss-eap-6.url>
+				<jbosstools.test.jboss-eap-6.md5>ca0e20c5523281233888c296689b7172</jbosstools.test.jboss-eap-6.md5>
+				<runtimesProperties>-Djbosstools.test.jboss-eap-6.home=${jbosstools.test.jboss-eap-6.home} -Dswtbot.test.properties.file=resources/config_files_templates/product/eap-6.properties</runtimesProperties>
+			</properties>
+			<build>
+			<plugins><plugin>
+				<groupId>com.googlecode.maven-download-plugin</groupId>
+				<artifactId>maven-download-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>install-eap-6</id>
+						<phase>pre-integration-test</phase>
+						<goals>
+							<goal>wget</goal>
+						</goals>
+						<configuration>
+							<url>${jbosstools.test.jboss-eap-6.url}</url>
+							<md5>${jbosstools.test.jboss-eap-6.md5}</md5>
+							<unpack>true</unpack>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin></plugins>
+			</build>
+		</profile>
+	</profiles>
+	
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>com.googlecode.maven-download-plugin</groupId>
+				<artifactId>maven-download-plugin</artifactId>
+				<version>0.2-SNAPSHOT</version>
+				<configuration>
+					<skip>${skipRequirements}</skip>
+					<outputDirectory>${requirementsDirectory}</outputDirectory>
+				</configuration>
 			</plugin>
 		
 			<plugin>
@@ -71,9 +282,17 @@
 				<artifactId>tycho-surefire-plugin</artifactId>
 				<configuration>
 					<useUIThread>false</useUIThread>
+					<surefire.timeout>7200</surefire.timeout>
+					<forkedProcessTimeoutInSeconds>7200</forkedProcessTimeoutInSeconds>
 					<testSuite>org.jboss.ide.eclipse.as.ui.bot.test</testSuite>
 					<testClass>${test.class}</testClass>
 					<skip>${swtbot.test.skip}</skip>
+					<explodedBundles>
+						<bundle>org.mozilla.xulrunner.cocoa.macosx</bundle>
+						<bundle>org.mozilla.xulrunner.gtk.linux.x86</bundle>
+						<bundle>org.mozilla.xulrunner.gtk.linux.x86_64</bundle>
+						<bundle>org.mozilla.xulrunner.win32.win32.x86</bundle>
+					</explodedBundles>
 					<dependencies combine.children="append">
 						<dependency>
 							<type>p2-installable-unit</type>



More information about the jbosstools-commits mailing list