Skip to content

Commit

Permalink
add ftests for jetty and tomcat
Browse files Browse the repository at this point in the history
  • Loading branch information
mgencur authored and pmuir committed Aug 24, 2010
1 parent d285316 commit 5653f7d
Show file tree
Hide file tree
Showing 8 changed files with 739 additions and 5 deletions.
49 changes: 45 additions & 4 deletions examples/jsf/numberguess/pom.xml
Expand Up @@ -544,10 +544,50 @@
<id>ftest-jboss-remote-60</id>
<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.codehaus.mojo</groupId>
<artifactId>failsafe-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>ftest-jboss-cluster-60</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>selenium-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>failsafe-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<artifactId>maven-antrun-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>ftest-tomcat-6</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
Expand All @@ -567,13 +607,14 @@
</plugins>
</build>
</profile>

<profile>
<id>ftest-jboss-cluster-60</id>
<id>ftest-jetty-6</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand Down
31 changes: 31 additions & 0 deletions examples/jsf/numberguess/src/ftest/resources/jetty6x.xml
@@ -0,0 +1,31 @@

<!--
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 Numberguess example" verbose="2" parallel="false">
<!-- DEPRECATED BY RFS?
<listeners>
<listener class-name="org.jboss.weld.example.common.test.selenium.WeldFunctionalTestListener" />
</listeners>
-->
<test name="numberguess_jetty6">
<parameter name="example.context.path" value="/weld-numberguess" />
<packages>
<package name="org.jboss.weld.examples.numberguess.test.selenium" />
</packages>
</test>
</suite>
31 changes: 31 additions & 0 deletions examples/jsf/numberguess/src/ftest/resources/tomcat6x.xml
@@ -0,0 +1,31 @@

<!--
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 Numberguess example" verbose="2" parallel="false">
<!-- DEPRECATED BY RFS?
<listeners>
<listener class-name="org.jboss.weld.example.common.test.selenium.WeldFunctionalTestListener" />
</listeners>
-->
<test name="numberguess_tomcat6">
<parameter name="example.context.path" value="/weld-numberguess" />
<packages>
<package name="org.jboss.weld.examples.numberguess.test.selenium" />
</packages>
</test>
</suite>
49 changes: 48 additions & 1 deletion examples/jsf/permalink/pom.xml
Expand Up @@ -367,10 +367,30 @@
<id>ftest-jboss-remote-60</id>
<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.codehaus.mojo</groupId>
<artifactId>failsafe-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<artifactId>maven-antrun-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>ftest-tomcat-6</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
Expand All @@ -391,6 +411,33 @@
</build>
</profile>

<profile>
<id>ftest-jetty-6</id>
<build>
<plugins>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<configuration>
<overrideWebXml>src/main/webapp-jetty/WEB-INF/override-web.xml</overrideWebXml>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>selenium-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>failsafe-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>restart-embedded</id>
<build>
Expand Down
31 changes: 31 additions & 0 deletions examples/jsf/permalink/src/ftest/resources/jetty6x.xml
@@ -0,0 +1,31 @@

<!--
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 Permalink example" verbose="2" parallel="false">
<!-- DEPRECATED BY RFS?
<listeners>
<listener class-name="org.jboss.weld.example.common.test.selenium.WeldFunctionalTestListener" />
</listeners>
-->
<test name="permalink_jetty6">
<parameter name="example.context.path" value="/weld-permalink" />
<packages>
<package name="org.jboss.weld.examples.permalink.test.selenium" />
</packages>
</test>
</suite>
31 changes: 31 additions & 0 deletions examples/jsf/permalink/src/ftest/resources/tomcat6x.xml
@@ -0,0 +1,31 @@

<!--
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 Permalink example" verbose="2" parallel="false">
<!-- DEPRECATED BY RFS?
<listeners>
<listener class-name="org.jboss.weld.example.common.test.selenium.WeldFunctionalTestListener" />
</listeners>
-->
<test name="permalink_tomcat6">
<parameter name="example.context.path" value="/weld-permalink" />
<packages>
<package name="org.jboss.weld.examples.permalink.test.selenium" />
</packages>
</test>
</suite>

0 comments on commit 5653f7d

Please sign in to comment.