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

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Fri Sep 28 04:38:43 EDT 2012


Author: jjankovi
Date: 2012-09-28 04:38:43 -0400 (Fri, 28 Sep 2012)
New Revision: 44112

Added:
   trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/JenkinsTestSuite.java
Modified:
   trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/pom.xml
Log:
added Jenkins test suite for struts

Modified: trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/pom.xml
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/pom.xml	2012-09-28 04:35:59 UTC (rev 44111)
+++ trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/pom.xml	2012-09-28 08:38:43 UTC (rev 44112)
@@ -15,6 +15,7 @@
 	<properties>
 		<additionalSystemProperties></additionalSystemProperties>
 		<systemProperties>${additionalSystemProperties} -Dswtbot.test.properties.file=${project.basedir}/properties/swtbot.properties</systemProperties>
+		<suiteClass>org.jboss.tools.struts.ui.bot.test.StrutsAllBotTests</suiteClass>
 	</properties>
 	<profiles>
 		<profile>
@@ -23,6 +24,12 @@
 				<additionalSystemProperties>-Xdebug -Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=y</additionalSystemProperties>
 			</properties>
 		</profile>
+		<profile>
+			<id>jenkins</id>
+			<properties>
+				<suiteClass>org.jboss.tools.struts.ui.bot.test.JenkinsTestSuite</suiteClass>
+			</properties>			
+		</profile>
 	</profiles>
 	<build>
 		<plugins>
@@ -56,7 +63,7 @@
 				<artifactId>tycho-surefire-plugin</artifactId>
 				<configuration>
 					<testSuite>org.jboss.tools.struts.ui.bot.test</testSuite>
-					<testClass>org.jboss.tools.struts.ui.bot.test.StrutsAllBotTests</testClass>
+					<testClass>${suiteClass}</testClass>
 					<useUIThread>false</useUIThread>
 					<skip>${swtbot.test.skip}</skip>
 					<dependencies combine.children="append">

Added: trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/JenkinsTestSuite.java
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/JenkinsTestSuite.java	                        (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/JenkinsTestSuite.java	2012-09-28 08:38:43 UTC (rev 44112)
@@ -0,0 +1,21 @@
+package org.jboss.tools.struts.ui.bot.test;
+
+import org.jboss.tools.struts.ui.bot.test.smoke.CreateNewStrutsProjectTest;
+import org.jboss.tools.struts.ui.bot.test.smoke.RunStrutsProjectOnServer;
+import org.jboss.tools.ui.bot.ext.RequirementAwareSuite;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite.SuiteClasses;
+
+/**
+ * Suite of tests executed on jenkins slave * 
+ * @author jjankovi
+ *
+ */
+ at RunWith(RequirementAwareSuite.class)
+ at SuiteClasses({
+	CreateNewStrutsProjectTest.class,
+	RunStrutsProjectOnServer.class,
+	})
+public class JenkinsTestSuite {
+	
+}



More information about the jbosstools-commits mailing list