Skip to content

Commit

Permalink
WELD-345 functinal test for weld permalink example
Browse files Browse the repository at this point in the history
  • Loading branch information
mgencur committed Jan 5, 2010
1 parent 214b7b6 commit bd38b12
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 0 deletions.
74 changes: 74 additions & 0 deletions jsf/permalink/pom.xml
Expand Up @@ -442,6 +442,80 @@
</build>

</profile>

<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-permalink</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-permalink</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>restart-embedded</id>
Expand Down
29 changes: 29 additions & 0 deletions jsf/permalink/src/test/selenium/jboss5x.xml
@@ -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 Permalink example" verbose="2" parallel="false">
<listeners>
<listener class-name="org.jboss.weld.example.common.test.selenium.WeldFunctionalTestListener" />
</listeners>
<test name="permalink_jboss5x">
<parameter name="example.context.path" value="/weld-permalink" />
<packages>
<package name="org.jboss.weld.example.permalink.test.selenium" />
</packages>
</test>
</suite>

0 comments on commit bd38b12

Please sign in to comment.