[weld-commits] Weld SVN: r5326 - in examples/trunk/jsf/translator/ear: src and 2 other directories.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Thu Dec 17 10:08:03 EST 2009


Author: kpiwko at redhat.com
Date: 2009-12-17 10:08:03 -0500 (Thu, 17 Dec 2009)
New Revision: 5326

Added:
   examples/trunk/jsf/translator/ear/src/test/
   examples/trunk/jsf/translator/ear/src/test/selenium/
   examples/trunk/jsf/translator/ear/src/test/selenium/jboss5x.xml
Modified:
   examples/trunk/jsf/translator/ear/pom.xml
Log:
WELD-344

Modified: examples/trunk/jsf/translator/ear/pom.xml
===================================================================
--- examples/trunk/jsf/translator/ear/pom.xml	2009-12-17 15:06:27 UTC (rev 5325)
+++ examples/trunk/jsf/translator/ear/pom.xml	2009-12-17 15:08:03 UTC (rev 5326)
@@ -56,7 +56,84 @@
       </dependency>-->
       
    </dependencies>
-   
+
+   <profiles>
+      <profile>
+         <id>ftest-jboss-remote-51</id>
+         <activation>
+            <activeByDefault>false</activeByDefault>
+         </activation>
+
+         <properties>
+            <ftest.version>0.1${ftest.version.discriminator}</ftest.version>
+         </properties>
+
+         <dependencies>
+            <dependency>
+               <groupId>org.jboss.weld.examples.ftest</groupId>
+               <artifactId>ftest-translator</artifactId>
+               <version>${ftest.version}</version>
+               <scope>test</scope>
+            </dependency>
+         </dependencies>
+
+         <build>
+            <plugins>
+               <plugin>
+                  <groupId>org.codehaus.cargo</groupId>
+                  <artifactId>cargo-maven2-plugin</artifactId>
+               </plugin>
+               <plugin>
+                  <groupId>org.codehaus.mojo</groupId>
+                  <artifactId>selenium-maven-plugin</artifactId>
+               </plugin>
+               <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-antrun-plugin</artifactId>
+               </plugin>
+            </plugins>
+         </build>
+      </profile>
+      <profile>
+         <id>ftest-jboss-remote-60</id>
+         <activation>
+            <activeByDefault>false</activeByDefault>
+         </activation>
+
+         <properties>
+            <ftest.version>0.1${ftest.version.discriminator}</ftest.version>
+         </properties>
+
+         <dependencies>
+            <dependency>
+               <groupId>org.jboss.weld.examples.ftest</groupId>
+               <artifactId>ftest-translator</artifactId>
+               <version>${ftest.version}</version>
+               <scope>test</scope>
+            </dependency>
+         </dependencies>
+
+         <build>
+            <plugins>
+               <plugin>
+                  <groupId>org.codehaus.cargo</groupId>
+                  <artifactId>cargo-maven2-plugin</artifactId>
+               </plugin>
+               <plugin>
+                  <groupId>org.codehaus.mojo</groupId>
+                  <artifactId>selenium-maven-plugin</artifactId>
+               </plugin>
+               <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-antrun-plugin</artifactId>
+               </plugin>
+            </plugins>
+         </build>
+      </profile>
+
+   </profiles>
+
+
    <build>
       <finalName>weld-translator</finalName>
       <plugins>

Added: examples/trunk/jsf/translator/ear/src/test/selenium/jboss5x.xml
===================================================================
--- examples/trunk/jsf/translator/ear/src/test/selenium/jboss5x.xml	                        (rev 0)
+++ examples/trunk/jsf/translator/ear/src/test/selenium/jboss5x.xml	2009-12-17 15:08:03 UTC (rev 5326)
@@ -0,0 +1,29 @@
+
+	<!--
+		JBoss, Home of Professional Open Source Copyright 2008, Red Hat
+		Middleware LLC, and individual contributors by the @authors tag. See
+		the copyright.txt in the distribution for a full listing of individual
+		contributors. This is free software; you can redistribute it and/or
+		modify it under the terms of the GNU Lesser General Public License as
+		published by the Free Software Foundation; either version 2.1 of the
+		License, or (at your option) any later version. This software is
+		distributed in the hope that it will be useful, but WITHOUT ANY
+		WARRANTY; without even the implied warranty of MERCHANTABILITY or
+		FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+		License for more details. You should have received a copy of the GNU
+		Lesser General Public License along with this software; if not, write
+		to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+		Boston, MA 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+	--> 
+<!DOCTYPE suite SYSTEM "http://beust.com/testng/testng-1.0.dtd" >
+<suite name="Weld JSF Translator example" verbose="2" parallel="false">
+    <listeners>
+		<listener class-name="org.jboss.weld.example.common.test.selenium.WeldFunctionalTestListener" />
+	</listeners>
+	<test name="translator_jboss5x">
+		<parameter name="example.context.path" value="/weld-translator" />
+		<packages>
+			<package name="org.jboss.weld.example.translator.test.selenium" />
+		</packages>
+	</test>
+</suite>



More information about the weld-commits mailing list