You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2012/10/25 07:33:26 UTC
svn commit: r1401979 - in
/openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests:
./ src/test/java/org/apache/openejb/arquillian/tests/jaxrs/
src/test/java/org/apache/openejb/arquillian/tests/jaxrs/apppath/
src/test/java/...
Author: dblevins
Date: Thu Oct 25 05:33:25 2012
New Revision: 1401979
URL: http://svn.apache.org/viewvc?rev=1401979&view=rev
Log:
restored svn history
Added:
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/pom.xml
- copied, changed from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/pom.xml
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/JaxrsTest.java
- copied, changed from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/JaxrsTest.java
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/apppath/AnnotatedApplication.java
- copied unchanged from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/apppath/AnnotatedApplication.java
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/apppath/AnnotatedApplicationTest.java
- copied, changed from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/apppath/AnnotatedApplicationTest.java
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/apppath/Echo.java
- copied unchanged from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/apppath/Echo.java
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/basicapp/BasicAppilcationTest.java
- copied, changed from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/basicapp/BasicAppilcationTest.java
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/basicapp/BasicApplication.java
- copied unchanged from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/basicapp/BasicApplication.java
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/basicapp/Echo.java
- copied unchanged from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/basicapp/Echo.java
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/cdi/pojo/noapp/Echo.java
- copied unchanged from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/cdi/pojo/noapp/Echo.java
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/cdi/pojo/noapp/JAXRSCDIPojoTest.java
- copied, changed from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/cdi/pojo/noapp/JAXRSCDIPojoTest.java
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/cdi/pojo/noapp/Reverser.java
- copied unchanged from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/cdi/pojo/noapp/Reverser.java
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/httpheaders/Application.java
- copied, changed from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/httpheaders/Application.java
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/httpheaders/HttpHeadersMethodsResource.java
- copied unchanged from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/httpheaders/HttpHeadersMethodsResource.java
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/httpheaders/JAXRSHttpHeadersTest.java
- copied, changed from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/httpheaders/JAXRSHttpHeadersTest.java
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/listed/Echo.java
- copied unchanged from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/listed/Echo.java
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/listed/ListedApplication.java
- copied unchanged from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/listed/ListedApplication.java
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/listed/ListedApplicationTest.java
- copied, changed from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/listed/ListedApplicationTest.java
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/listed/Unlisted.java
- copied unchanged from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/listed/Unlisted.java
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/noapp/Echo.java
- copied unchanged from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/noapp/Echo.java
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/noapp/NoAppTest.java
- copied, changed from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/noapp/NoAppTest.java
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/pathparam/Echo.java
- copied, changed from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/pathparam/Echo.java
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/pathparam/PathParamTest.java
- copied, changed from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/pathparam/PathParamTest.java
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/scanning/Echo.java
- copied unchanged from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/scanning/Echo.java
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/scanning/ScannedApplication.java
- copied unchanged from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/scanning/ScannedApplication.java
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/scanning/ScannedApplicationTest.java
- copied, changed from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/scanning/ScannedApplicationTest.java
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/resources/arquillian.xml
- copied, changed from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/resources/arquillian.xml
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/resources/org/apache/openejb/arquillian/tests/jaxrs/basicapp/web.xml
- copied unchanged from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/resources/org/apache/openejb/arquillian/tests/jaxrs/basicapp/web.xml
openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/resources/org/apache/openejb/arquillian/tests/jaxrs/noapp/web.xml
- copied unchanged from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/resources/org/apache/openejb/arquillian/tests/jaxrs/noapp/web.xml
Copied: openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/pom.xml (from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/pom.xml)
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/pom.xml?p2=openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/pom.xml&p1=openejb/trunk/openejb/arquillian/arquillian-tomee-tests/pom.xml&r1=1373163&r2=1401979&rev=1401979&view=diff
==============================================================================
--- openejb/trunk/openejb/arquillian/arquillian-tomee-tests/pom.xml (original)
+++ openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/pom.xml Thu Oct 25 05:33:25 2012
@@ -1,375 +1,51 @@
-<?xml version="1.0"?>
-<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
- license agreements. See the NOTICE file distributed with this work for additional
- information regarding copyright ownership. The ASF licenses this file to
- You under the Apache License, Version 2.0 (the "License"); you may not use
- this file except in compliance with the License. You may obtain a copy of
- the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
- by applicable law or agreed to in writing, software distributed under the
- License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
- OF ANY KIND, either express or implied. See the License for the specific
- language governing permissions and limitations under the License. -->
-<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/xsd/maven-4.0.0.xsd">
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
+
<parent>
- <artifactId>arquillian</artifactId>
+ <artifactId>arquillian-tomee-tests</artifactId>
<groupId>org.apache.openejb</groupId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.5.1-SNAPSHOT</version>
</parent>
- <artifactId>arquillian-tomee-tests</artifactId>
- <packaging>jar</packaging>
- <name>OpenEJB :: Arquillian Adaptors Parent :: Tests</name>
+ <artifactId>arquillian-tomee-jaxrs-tests</artifactId>
+ <name>OpenEJB :: Arquillian Adaptors Parent :: Tests :: JAXRS</name>
<dependencies>
<dependency>
<groupId>org.apache.openejb</groupId>
- <artifactId>javaee-api</artifactId>
- <version>${javaee-api.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.shrinkwrap.resolver</groupId>
- <artifactId>shrinkwrap-resolver-impl-maven</artifactId>
- <version>2.0.0-alpha-1</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.myfaces.extensions.cdi.bundles</groupId>
- <artifactId>myfaces-extcdi-bundle-jsf20</artifactId>
- <version>1.0.5</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.openejb</groupId>
- <artifactId>ziplock</artifactId>
+ <artifactId>tomee-jaxrs</artifactId>
<version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.9</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.arquillian.junit</groupId>
- <artifactId>arquillian-junit-container</artifactId>
- <version>${version.arquillian}</version>
<scope>test</scope>
</dependency>
-
- <dependency>
- <artifactId>commons-lang3</artifactId>
- <groupId>org.apache.commons</groupId>
- <version>${commons-lang3.version}</version>
- </dependency>
-
<dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>tomee-webservices</artifactId>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>tomee-jaxrs-webapp</artifactId>
<version>${tomee.version}</version>
+ <type>war</type>
</dependency>
-
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-jdk14</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.shrinkwrap.descriptors</groupId>
- <artifactId>shrinkwrap-descriptors-impl-javaee</artifactId>
- <version>${version.shrinkwrap.descriptor}</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.shrinkwrap.descriptors</groupId>
- <artifactId>shrinkwrap-descriptors-api-javaee</artifactId>
- <version>${version.shrinkwrap.descriptor}</version>
- </dependency>
-
</dependencies>
- <build>
- <plugins>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.12</version>
- </plugin>
-
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>1.7</version>
- <executions>
- <execution>
- <id>reserve-network-port</id>
- <phase>process-test-classes</phase>
- <goals>
- <goal>reserve-network-port</goal>
- </goals>
- <configuration>
- <portNames>
- <portName>tomee.http.port</portName>
- <portName>tomee.shutdown.port</portName>
- </portNames>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>2.1</version>
- <executions>
- <execution>
- <id>copy-test-libs</id>
- <phase>process-test-resources</phase>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- </artifactItem>
- </artifactItems>
- <outputDirectory>
- ${project.build.directory}/test-libs
- </outputDirectory>
- <stripVersion>true</stripVersion>
- </configuration>
- <goals>
- <goal>copy</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <profiles>
- <profile>
- <id>tomee-embedded</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>arquillian-tomee-embedded</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- </profile>
-
- <profile>
- <id>tomee-webprofile-remote</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <systemPropertyVariables>
- <tomee.classifier>webprofile</tomee.classifier>
- <tomee.version>${tomee.version}</tomee.version>
- </systemPropertyVariables>
- <excludes>
- <exclude>**/jaxrs/**</exclude>
- <exclude>**/jaxws/**</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>arquillian-tomee-remote</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.openejb</groupId>
- <artifactId>apache-tomee</artifactId>
- <version>${tomee.version}</version>
- <classifier>webprofile</classifier>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.apache.myfaces.core</groupId>
- <artifactId>myfaces-api</artifactId>
- <version>${myfaces.version}</version>
- </dependency>
- </dependencies>
- </profile>
-
- <profile>
- <id>tomee-plus-remote</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <systemPropertyVariables>
- <tomee.classifier>plus</tomee.classifier>
- <tomee.version>${tomee.version}</tomee.version>
- </systemPropertyVariables>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>arquillian-tomee-remote</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.openejb</groupId>
- <artifactId>apache-tomee</artifactId>
- <version>${tomee.version}</version>
- <classifier>plus</classifier>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.apache.myfaces.core</groupId>
- <artifactId>myfaces-api</artifactId>
- <version>${myfaces.version}</version>
- </dependency>
- </dependencies>
- </profile>
-
- <profile>
- <id>tomee-webprofile-webapp</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <systemPropertyVariables>
- <tomee.artifactId>tomee-webapp</tomee.artifactId>
- <tomee.version>${tomee.version}</tomee.version>
- <tomee.tomcatVersion>${tomcat.version}</tomee.tomcatVersion>
- </systemPropertyVariables>
- <excludes>
- <exclude>**/jaxrs/**</exclude>
- <exclude>**/jaxws/**</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>arquillian-tomee-webapp-remote</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.openejb</groupId>
- <artifactId>tomee-webapp</artifactId>
- <version>${tomee.version}</version>
- <type>war</type>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>apache-tomcat</artifactId>
- <version>${tomcat.bundle.version}</version>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.apache.myfaces.core</groupId>
- <artifactId>myfaces-api</artifactId>
- <version>${myfaces.version}</version>
- </dependency>
- </dependencies>
- </profile>
-
- <profile>
- <id>tomee-plus-webapp</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <systemPropertyVariables>
- <tomee.artifactId>tomee-plus-webapp</tomee.artifactId>
- <tomee.version>${tomee.version}</tomee.version>
- <tomee.tomcatVersion>${tomcat.version}</tomee.tomcatVersion>
- </systemPropertyVariables>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>arquillian-tomee-webapp-remote</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.openejb</groupId>
- <artifactId>tomee-plus-webapp</artifactId>
- <version>${tomee.version}</version>
- <type>war</type>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>apache-tomcat</artifactId>
- <version>${tomcat.bundle.version}</version>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.apache.myfaces.core</groupId>
- <artifactId>myfaces-api</artifactId>
- <version>${myfaces.version}</version>
- </dependency>
- </dependencies>
- </profile>
-
- <profile>
- <!--
- Added to make it easy to quickly verify if something "should" work
- -->
- <id>glassfish-embedded</id>
- <properties>
- <version.glassfish>3.1.2-b16</version.glassfish>
- <version.arquillian.glassfish.embedded>1.0.0.CR2</version.arquillian.glassfish.embedded>
- <version.mockito>1.9.0</version.mockito>
- <version.maven.embedded.glassfish.plugin>3.1.1</version.maven.embedded.glassfish.plugin>
- <version.maven.war.plugin>2.1.1</version.maven.war.plugin>
- <version.maven.compiler.plugin>2.3.2</version.maven.compiler.plugin>
- <version.maven.failsafe.plugin>2.11</version.maven.failsafe.plugin>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.jboss.arquillian.junit</groupId>
- <artifactId>arquillian-junit-container</artifactId>
- <version>${version.arquillian}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.glassfish.main.extras</groupId>
- <artifactId>glassfish-embedded-all</artifactId>
- <version>${version.glassfish}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-glassfish-embedded-3.1</artifactId>
- <version>${version.arquillian.glassfish.embedded}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </profile>
- </profiles>
-
+ <properties>
+ <distribution.under.test>jaxrs</distribution.under.test>
+ <webapp.under.test>${distribution.under.test}-</webapp.under.test>
+ </properties>
</project>
Copied: openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/JaxrsTest.java (from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/JaxrsTest.java)
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/JaxrsTest.java?p2=openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/JaxrsTest.java&p1=openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/JaxrsTest.java&r1=1373163&r2=1401979&rev=1401979&view=diff
==============================================================================
--- openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/JaxrsTest.java (original)
+++ openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/JaxrsTest.java Thu Oct 25 05:33:25 2012
@@ -16,20 +16,20 @@
*/
package org.apache.openejb.arquillian.tests.jaxrs;
-import java.net.URL;
import junit.framework.Assert;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.ziplock.IO;
+import org.jboss.arquillian.test.api.ArquillianResource;
import java.io.IOException;
import java.io.InputStream;
import java.net.URI;
+import java.net.URL;
import java.util.HashMap;
import java.util.Map;
-import org.jboss.arquillian.test.api.ArquillianResource;
/**
* @version $Rev$ $Date$
Copied: openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/apppath/AnnotatedApplicationTest.java (from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/apppath/AnnotatedApplicationTest.java)
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/apppath/AnnotatedApplicationTest.java?p2=openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/apppath/AnnotatedApplicationTest.java&p1=openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/apppath/AnnotatedApplicationTest.java&r1=1373163&r2=1401979&rev=1401979&view=diff
==============================================================================
--- openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/apppath/AnnotatedApplicationTest.java (original)
+++ openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/apppath/AnnotatedApplicationTest.java Thu Oct 25 05:33:25 2012
@@ -33,7 +33,7 @@ public class AnnotatedApplicationTest ex
@Deployment(testable = false)
public static WebArchive archive() {
- return new WebModule(AnnotatedApplicationTest.class).getArchive();
+ return new WebModule(AnnotatedApplicationTest.class, AnnotatedApplicationTest.class).getArchive();
}
@Test
Copied: openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/basicapp/BasicAppilcationTest.java (from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/basicapp/BasicAppilcationTest.java)
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/basicapp/BasicAppilcationTest.java?p2=openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/basicapp/BasicAppilcationTest.java&p1=openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/basicapp/BasicAppilcationTest.java&r1=1373163&r2=1401979&rev=1401979&view=diff
==============================================================================
--- openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/basicapp/BasicAppilcationTest.java (original)
+++ openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/basicapp/BasicAppilcationTest.java Thu Oct 25 05:33:25 2012
@@ -33,7 +33,7 @@ public class BasicAppilcationTest extend
@Deployment(testable = false)
public static WebArchive archive() {
- return new WebModule(BasicAppilcationTest.class).getArchive();
+ return new WebModule(BasicAppilcationTest.class, BasicAppilcationTest.class).getArchive();
}
@Test
Copied: openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/cdi/pojo/noapp/JAXRSCDIPojoTest.java (from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/cdi/pojo/noapp/JAXRSCDIPojoTest.java)
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/cdi/pojo/noapp/JAXRSCDIPojoTest.java?p2=openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/cdi/pojo/noapp/JAXRSCDIPojoTest.java&p1=openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/cdi/pojo/noapp/JAXRSCDIPojoTest.java&r1=1373163&r2=1401979&rev=1401979&view=diff
==============================================================================
--- openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/cdi/pojo/noapp/JAXRSCDIPojoTest.java (original)
+++ openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/cdi/pojo/noapp/JAXRSCDIPojoTest.java Thu Oct 25 05:33:25 2012
@@ -36,7 +36,7 @@ public class JAXRSCDIPojoTest extends Ja
@Deployment(testable = false)
public static WebArchive archive() {
- return new WebModule(JAXRSCDIPojoTest.class).getArchive()
+ return new WebModule(JAXRSCDIPojoTest.class, JAXRSCDIPojoTest.class).getArchive()
.addAsWebInfResource(EmptyAsset.INSTANCE, ArchivePaths.create("beans.xml"));
}
Copied: openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/httpheaders/Application.java (from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/httpheaders/Application.java)
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/httpheaders/Application.java?p2=openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/httpheaders/Application.java&p1=openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/httpheaders/Application.java&r1=1373163&r2=1401979&rev=1401979&view=diff
==============================================================================
--- openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/httpheaders/Application.java (original)
+++ openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/httpheaders/Application.java Thu Oct 25 05:33:25 2012
@@ -19,9 +19,9 @@
package org.apache.openejb.arquillian.tests.jaxrs.httpheaders;
+import javax.ws.rs.ApplicationPath;
import java.util.HashSet;
import java.util.Set;
-import javax.ws.rs.ApplicationPath;
/**
* Application to test the HTTP headers
Copied: openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/httpheaders/JAXRSHttpHeadersTest.java (from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/httpheaders/JAXRSHttpHeadersTest.java)
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/httpheaders/JAXRSHttpHeadersTest.java?p2=openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/httpheaders/JAXRSHttpHeadersTest.java&p1=openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/httpheaders/JAXRSHttpHeadersTest.java&r1=1373163&r2=1401979&rev=1401979&view=diff
==============================================================================
--- openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/httpheaders/JAXRSHttpHeadersTest.java (original)
+++ openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/httpheaders/JAXRSHttpHeadersTest.java Thu Oct 25 05:33:25 2012
@@ -44,7 +44,7 @@ public class JAXRSHttpHeadersTest extend
@Deployment(testable = false)
public static WebArchive archive() {
- return new WebModule(JAXRSHttpHeadersTest.class).getArchive();
+ return new WebModule(JAXRSHttpHeadersTest.class, JAXRSHttpHeadersTest.class).getArchive();
}
/**
@@ -77,7 +77,7 @@ public class JAXRSHttpHeadersTest extend
* Tests {@link javax.ws.rs.core.HttpHeaders#getAcceptableLanguages()} that if given multiple
* languages, all will be returned in the list.
*
- * @throws IOException
+ * @throws java.io.IOException
*/
@Test
public void testAcceptableLanguagesManyGiven() throws IOException {
@@ -94,7 +94,7 @@ public class JAXRSHttpHeadersTest extend
* languages, all will be returned in the list sorted by their quality
* value.
*
- * @throws IOException
+ * @throws java.io.IOException
*/
@Test
public void testAcceptableLanguagesManyGivenQSort() throws IOException {
@@ -108,7 +108,7 @@ public class JAXRSHttpHeadersTest extend
* Tests {@link javax.ws.rs.core.HttpHeaders#getAcceptableMediaTypes()} that if given a
* single Accept header value, it is returned.
*
- * @throws IOException
+ * @throws java.io.IOException
*/
@Test
public void testAcceptableMediaTypesOneGiven() throws IOException {
@@ -123,7 +123,7 @@ public class JAXRSHttpHeadersTest extend
* Tests {@link javax.ws.rs.core.HttpHeaders#getAcceptableMediaTypes()} that if given
* multiple Accept header values, the values are sorted by q-value.
*
- * @throws IOException
+ * @throws java.io.IOException
*/
@Test
public void testAcceptableMediaTypesManyGiven() throws IOException {
@@ -139,7 +139,7 @@ public class JAXRSHttpHeadersTest extend
* Tests {@link javax.ws.rs.core.HttpHeaders#getMediaType()} that if given a text/plain, the
* method will return text/plain.
*
- * @throws IOException
+ * @throws java.io.IOException
*/
@Test
public void testMediaTypesRequestTextPlain() throws IOException {
@@ -158,7 +158,7 @@ public class JAXRSHttpHeadersTest extend
* Tests {@link javax.ws.rs.core.HttpHeaders#getMediaType()} when a non-standard content type
* is sent in.
*
- * @throws IOException
+ * @throws java.io.IOException
*/
@Test
public void testMediaTypesRequestCustomContentType() throws IOException {
@@ -176,7 +176,7 @@ public class JAXRSHttpHeadersTest extend
/**
* Tests {@link javax.ws.rs.core.HttpHeaders#getMediaType()} when no request entity is given.
*
- * @throws IOException
+ * @throws java.io.IOException
*/
@Test
public void testMediaTypesRequestNoRequestEntity() throws IOException {
@@ -193,7 +193,7 @@ public class JAXRSHttpHeadersTest extend
* Tests {@link javax.ws.rs.core.HttpHeaders#getLanguage()} when no language is given in the
* request.
*
- * @throws IOException
+ * @throws java.io.IOException
*/
@Test
public void testLanguageNoneGiven() throws IOException {
@@ -212,7 +212,7 @@ public class JAXRSHttpHeadersTest extend
* Tests {@link javax.ws.rs.core.HttpHeaders#getLanguage()} when English language is given in
* the request.
*
- * @throws IOException
+ * @throws java.io.IOException
*/
@Test
public void testLanguageEnglishGiven() throws IOException {
@@ -232,7 +232,7 @@ public class JAXRSHttpHeadersTest extend
* Tests {@link javax.ws.rs.core.HttpHeaders#getLanguage()} when Chinese language is given in
* the request.
*
- * @throws IOException
+ * @throws java.io.IOException
*/
@Test
public void testLanguageChineseGiven() throws IOException {
@@ -251,7 +251,7 @@ public class JAXRSHttpHeadersTest extend
/**
* Tests {@link javax.ws.rs.core.HttpHeaders#getCookies()} when no cookies are given.
*
- * @throws IOException
+ * @throws java.io.IOException
*/
@Test
public void testCookiesNone() throws IOException {
@@ -267,7 +267,7 @@ public class JAXRSHttpHeadersTest extend
/**
* Tests {@link javax.ws.rs.core.HttpHeaders#getCookies()} when given a single cookie.
*
- * @throws IOException
+ * @throws java.io.IOException
*/
@Test
public void testCookiesOneGiven() throws IOException {
@@ -282,7 +282,7 @@ public class JAXRSHttpHeadersTest extend
/**
* Tests {@link javax.ws.rs.core.HttpHeaders#getCookies()} when given multiple cookies.
*
- * @throws IOException
+ * @throws java.io.IOException
*/
@Test
public void testCookiesManyGiven() throws IOException {
@@ -300,7 +300,7 @@ public class JAXRSHttpHeadersTest extend
* Tests {@link javax.ws.rs.core.HttpHeaders#getRequestHeader(String)} when given a null
* value.
*
- * @throws IOException
+ * @throws java.io.IOException
*/
public void testRequestHeaderNoneGivenIllegalArgument() throws IOException {
HttpGet get = new HttpGet(uri("/context/httpheaders/"));
@@ -314,7 +314,7 @@ public class JAXRSHttpHeadersTest extend
* Tests {@link javax.ws.rs.core.HttpHeaders#getRequestHeader(String)} when requesting header
* values for a non-existent header name.
*
- * @throws IOException
+ * @throws java.io.IOException
*/
public void testRequestHeaderNonexistentHeader() throws IOException {
HttpGet get = new HttpGet(uri("/context/httpheaders/?name=foo"));
@@ -328,7 +328,7 @@ public class JAXRSHttpHeadersTest extend
* Tests {@link javax.ws.rs.core.HttpHeaders#getRequestHeader(String)} when requesting header
* value for a single header name.
*
- * @throws IOException
+ * @throws java.io.IOException
*/
@Test
public void testRequestHeaderSingleValue() throws IOException {
@@ -344,7 +344,7 @@ public class JAXRSHttpHeadersTest extend
* Tests {@link javax.ws.rs.core.HttpHeaders#getRequestHeader(String)} when requesting
* multiple header value for a single header name.
*
- * @throws IOException
+ * @throws java.io.IOException
*/
@Test
public void testRequestHeaderMultipleValue() throws IOException {
@@ -362,7 +362,7 @@ public class JAXRSHttpHeadersTest extend
* multiple header value for a single header name when using
* case-insensitive names.
*
- * @throws IOException
+ * @throws java.io.IOException
*/
@Test
public void testRequestHeaderCaseInsensitive() throws IOException {
@@ -379,7 +379,7 @@ public class JAXRSHttpHeadersTest extend
* Tests {@link javax.ws.rs.core.HttpHeaders#getRequestHeaders()} when making a basic
* HttpClient request.
*
- * @throws IOException
+ * @throws java.io.IOException
*/
@Test
public void testRequestHeadersBasicHeader() throws IOException {
@@ -398,7 +398,7 @@ public class JAXRSHttpHeadersTest extend
* Tests {@link javax.ws.rs.core.HttpHeaders#getRequestHeaders()} when having a custom
* header.
*
- * @throws IOException
+ * @throws java.io.IOException
*/
@Test
public void testRequestHeadersSingleValue() throws IOException {
@@ -415,7 +415,7 @@ public class JAXRSHttpHeadersTest extend
* Tests {@link javax.ws.rs.core.HttpHeaders#getRequestHeaders()} when having multiple values
* and multiple custom headers.
*
- * @throws IOException
+ * @throws java.io.IOException
*/
@Test
public void testRequestHeadersMultipleValues() throws IOException {
Copied: openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/listed/ListedApplicationTest.java (from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/listed/ListedApplicationTest.java)
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/listed/ListedApplicationTest.java?p2=openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/listed/ListedApplicationTest.java&p1=openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/listed/ListedApplicationTest.java&r1=1373163&r2=1401979&rev=1401979&view=diff
==============================================================================
--- openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/listed/ListedApplicationTest.java (original)
+++ openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/listed/ListedApplicationTest.java Thu Oct 25 05:33:25 2012
@@ -35,7 +35,7 @@ public class ListedApplicationTest exten
@Deployment(testable = false)
public static WebArchive archive() {
- return new WebModule(ListedApplicationTest.class).getArchive();
+ return new WebModule(ListedApplicationTest.class, ListedApplicationTest.class).getArchive();
}
@Test
Copied: openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/noapp/NoAppTest.java (from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/noapp/NoAppTest.java)
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/noapp/NoAppTest.java?p2=openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/noapp/NoAppTest.java&p1=openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/noapp/NoAppTest.java&r1=1373163&r2=1401979&rev=1401979&view=diff
==============================================================================
--- openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/noapp/NoAppTest.java (original)
+++ openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/noapp/NoAppTest.java Thu Oct 25 05:33:25 2012
@@ -33,7 +33,7 @@ public class NoAppTest extends JaxrsTest
@Deployment(testable = false)
public static WebArchive archive() {
- return new WebModule(NoAppTest.class).getArchive();
+ return new WebModule(NoAppTest.class, NoAppTest.class).getArchive();
}
@Test
Copied: openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/pathparam/Echo.java (from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/pathparam/Echo.java)
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/pathparam/Echo.java?p2=openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/pathparam/Echo.java&p1=openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/pathparam/Echo.java&r1=1373163&r2=1401979&rev=1401979&view=diff
==============================================================================
--- openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/pathparam/Echo.java (original)
+++ openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/pathparam/Echo.java Thu Oct 25 05:33:25 2012
@@ -17,7 +17,6 @@
package org.apache.openejb.arquillian.tests.jaxrs.pathparam;
import javax.ws.rs.GET;
-import javax.ws.rs.HeaderParam;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
Copied: openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/pathparam/PathParamTest.java (from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/pathparam/PathParamTest.java)
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/pathparam/PathParamTest.java?p2=openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/pathparam/PathParamTest.java&p1=openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/pathparam/PathParamTest.java&r1=1373163&r2=1401979&rev=1401979&view=diff
==============================================================================
--- openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/pathparam/PathParamTest.java (original)
+++ openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/pathparam/PathParamTest.java Thu Oct 25 05:33:25 2012
@@ -32,7 +32,7 @@ import org.junit.runner.RunWith;
public class PathParamTest extends JaxrsTest {
@Deployment(testable = false)
public static WebArchive archive() {
- return new WebModule(PathParamTest.class).getArchive();
+ return new WebModule(PathParamTest.class, PathParamTest.class).getArchive();
}
@Test
Copied: openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/scanning/ScannedApplicationTest.java (from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/scanning/ScannedApplicationTest.java)
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/scanning/ScannedApplicationTest.java?p2=openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/scanning/ScannedApplicationTest.java&p1=openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/scanning/ScannedApplicationTest.java&r1=1373163&r2=1401979&rev=1401979&view=diff
==============================================================================
--- openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/scanning/ScannedApplicationTest.java (original)
+++ openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/scanning/ScannedApplicationTest.java Thu Oct 25 05:33:25 2012
@@ -33,7 +33,7 @@ public class ScannedApplicationTest exte
@Deployment(testable = false)
public static WebArchive archive() {
- return new WebModule(ScannedApplicationTest.class).getArchive();
+ return new WebModule(ScannedApplicationTest.class, ScannedApplicationTest.class).getArchive();
}
@Test
Copied: openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/resources/arquillian.xml (from r1373163, openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/resources/arquillian.xml)
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/resources/arquillian.xml?p2=openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/resources/arquillian.xml&p1=openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/resources/arquillian.xml&r1=1373163&r2=1401979&rev=1401979&view=diff
==============================================================================
--- openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/resources/arquillian.xml (original)
+++ openejb/trunk/openejb/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/resources/arquillian.xml Thu Oct 25 05:33:25 2012
@@ -16,19 +16,48 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<arquillian
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
- <container qualifier="tomee" default="true">
- <configuration>
- <property name="httpPort">-1</property>
- <property name="ajpPort">-1</property>
- <property name="stopPort">-1</property>
- <property name="dir">target/apache-tomee-remote</property>
- <property name="appWorkingDir">target/arquillian-test-working-dir</property>
- <property name="properties">
- openejb.classloader.forced-load=org.apache.openejb.arquillian.tests.
- </property>
- </configuration>
- </container>
-</arquillian>
\ No newline at end of file
+<arquillian xmlns="http://jboss.org/schema/arquillian"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
+ <container qualifier="tomee-embedded" default="true">
+ <configuration>
+ <property name="httpPort">-1</property>
+ <property name="stopPort">-1</property>
+ <property name="dir">target/apache-tomee-remote</property>
+ <property name="appWorkingDir">target/arquillian-test-working-dir</property>
+ <property name="properties">
+ My\ DataSource.JdbcUrl = jdbc:hsqldb:mem:hsqldb
+ My\ Unmanaged\ DataSource.JdbcUrl = jdbc:hsqldb:mem:hsqldb
+ openejb.classloader.forced-load=org.apache.openejb.arquillian.tests.
+ </property>
+ </configuration>
+ </container>
+ <container qualifier="tomee-remote">
+ <configuration>
+ <property name="httpPort">-1</property>
+ <property name="ajpPort">-1</property>
+ <property name="stopPort">-1</property>
+ <property name="dir">target/apache-tomee-remote</property>
+ <property name="appWorkingDir">target/arquillian-test-working-dir</property>
+ <property name="properties">
+ My\ DataSource.JdbcUrl = jdbc:hsqldb:mem:hsqldb
+ My\ Unmanaged\ DataSource.JdbcUrl = jdbc:hsqldb:mem:hsqldb
+ openejb.classloader.forced-load=org.apache.openejb.arquillian.tests.
+ </property>
+ </configuration>
+ </container>
+ <container qualifier="tomee-webapp">
+ <configuration>
+ <property name="httpPort">-1</property>
+ <property name="ajpPort">-1</property>
+ <property name="stopPort">-1</property>
+ <property name="dir">target/apache-tomee-remote</property>
+ <property name="appWorkingDir">target/arquillian-test-working-dir</property>
+ <property name="properties">
+ My\ DataSource.JdbcUrl = jdbc:hsqldb:mem:hsqldb
+ My\ Unmanaged\ DataSource.JdbcUrl = jdbc:hsqldb:mem:hsqldb
+ openejb.classloader.forced-load=org.apache.openejb.arquillian.tests.
+ </property>
+ </configuration>
+ </container>
+</arquillian>