Skip to content

Commit

Permalink
WELD-342
Browse files Browse the repository at this point in the history
  • Loading branch information
kpiwko committed Dec 17, 2009
1 parent f6ffc81 commit 306350c
Show file tree
Hide file tree
Showing 2 changed files with 110 additions and 6 deletions.
87 changes: 81 additions & 6 deletions jsf/numberguess/pom.xml
@@ -1,5 +1,6 @@
<?xml version="1.0"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
Expand Down Expand Up @@ -232,7 +233,7 @@
<profile>
<id>gae</id>
<dependencies>

<!-- Use JSF 1.2, JSF 2 has issues on GAE still -->

<dependency>
Expand Down Expand Up @@ -399,9 +400,9 @@ filesCopiedToWebInfLib=appengine-api-1.0-sdk-1.2.5.jar|appengine-api-labs-1.2.5.
</dependency>

</dependencies>

<build>

<resources>
<resource>
<directory>src/jetty/resources</directory>
Expand Down Expand Up @@ -434,7 +435,80 @@ filesCopiedToWebInfLib=appengine-api-1.0-sdk-1.2.5.jar|appengine-api-labs-1.2.5.
</configuration>
</plugin>
</plugins>


</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-numberguess</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-numberguess</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>
Expand Down Expand Up @@ -523,7 +597,8 @@ filesCopiedToWebInfLib=appengine-api-1.0-sdk-1.2.5.jar|appengine-api-labs-1.2.5.
<artifactId>maven-jetty-plugin</artifactId>
<configuration>
<connectors>
<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
<connector
implementation="org.mortbay.jetty.nio.SelectChannelConnector">
<port>${jetty.http.port}</port>
<maxIdleTime>3600000</maxIdleTime>
</connector>
Expand Down
29 changes: 29 additions & 0 deletions jsf/numberguess/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 Numberguess example" verbose="2" parallel="false">
<listeners>
<listener class-name="org.jboss.weld.example.common.test.selenium.WeldFunctionalTestListener" />
</listeners>
<test name="numberguess_jboss5x">
<parameter name="example.context.path" value="/weld-numberguess" />
<packages>
<package name="org.jboss.weld.example.numberguess.test.selenium" />
</packages>
</test>
</suite>

0 comments on commit 306350c

Please sign in to comment.