Author: rmannibucau
Date: Thu Jun 30 20:45:01 2011
New Revision: 1141709
URL: http://svn.apache.org/viewvc?rev=1141709&view=rev
Log:
adding bval embedded tck project
Added:
openejb/trunk/openejb3/tck/bval-embedded/
openejb/trunk/openejb3/tck/bval-embedded/pom.xml
openejb/trunk/openejb3/tck/bval-embedded/src/
openejb/trunk/openejb3/tck/bval-embedded/src/test/
openejb/trunk/openejb3/tck/bval-embedded/src/test/resources/
openejb/trunk/openejb3/tck/bval-embedded/src/test/resources/META-INF/
openejb/trunk/openejb3/tck/bval-embedded/src/test/resources/META-INF/jboss-test-harness.properties
openejb/trunk/openejb3/tck/bval-embedded/src/test/resources/jndi.properties
openejb/trunk/openejb3/tck/bval-embedded/src/test/resources/jsr303-tck-suite.xml
openejb/trunk/openejb3/tck/bval-embedded/src/test/resources/log4j.xml
Modified:
openejb/trunk/openejb3/tck/pom.xml
Added: openejb/trunk/openejb3/tck/bval-embedded/pom.xml
URL:
http://svn.apache.org/viewvc/openejb/trunk/openejb3/tck/bval-embedded/pom.xml?rev=1141709&view=auto
==============================================================================
--- openejb/trunk/openejb3/tck/bval-embedded/pom.xml (added)
+++ openejb/trunk/openejb3/tck/bval-embedded/pom.xml Thu Jun 30 20:45:01 2011
@@ -0,0 +1,92 @@
+<?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/maven-v4_0_0.xsd">
+ <parent>
+ <artifactId>tck</artifactId>
+ <groupId>org.apache.openejb</groupId>
+ <version>4.0.0-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+
+ <artifactId>bval-embedded</artifactId>
+ <name>OpenEJB :: TCK :: Bean Validation Embedded</name>
+ <description>Aggregates dependencies and runs the JSR-303 TCK</description>
+
+ <properties>
+
<validation.provider>org.apache.bval.jsr303.ApacheValidationProvider</validation.provider>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>openejb-core</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <version>1.6.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.testng</groupId>
+ <artifactId>testng</artifactId>
+ <version>6.0.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate.jsr303.tck</groupId>
+ <artifactId>jsr303-tck</artifactId>
+ <version>1.0.3.GA</version>
+ <scope>test</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>org.testng</groupId>
+ <artifactId>testng</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.8</version>
+ <configuration>
+ <suiteXmlFiles>
+
<suiteXmlFile>src/test/resources/jsr303-tck-suite.xml</suiteXmlFile>
+ </suiteXmlFiles>
+ <argLine>-Xmx512m</argLine>
+ <forkMode>once</forkMode>
+ <systemProperties>
+ <property>
+ <name>validation.provider</name>
+ <value>${validation.provider}</value>
+ </property>
+ </systemProperties>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Added:
openejb/trunk/openejb3/tck/bval-embedded/src/test/resources/META-INF/jboss-test-harness.properties
URL:
http://svn.apache.org/viewvc/openejb/trunk/openejb3/tck/bval-embedded/src/test/resources/META-INF/jboss-test-harness.properties?rev=1141709&view=auto
==============================================================================
---
openejb/trunk/openejb3/tck/bval-embedded/src/test/resources/META-INF/jboss-test-harness.properties
(added)
+++
openejb/trunk/openejb3/tck/bval-embedded/src/test/resources/META-INF/jboss-test-harness.properties
Thu Jun 30 20:45:01 2011
@@ -0,0 +1,19 @@
+# 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.
+org.jboss.testharness.spi.StandaloneContainers =
org.hibernate.jsr303.tck.util.StandaloneContainersImpl
+org.jboss.testharness.api.TestLauncher =
org.jboss.testharness.impl.runner.servlet.ServletTestLauncher
+org.jboss.testharness.testPackage = org.hibernate.jsr303.tck.tests
Added:
openejb/trunk/openejb3/tck/bval-embedded/src/test/resources/jndi.properties
URL:
http://svn.apache.org/viewvc/openejb/trunk/openejb3/tck/bval-embedded/src/test/resources/jndi.properties?rev=1141709&view=auto
==============================================================================
--- openejb/trunk/openejb3/tck/bval-embedded/src/test/resources/jndi.properties
(added)
+++ openejb/trunk/openejb3/tck/bval-embedded/src/test/resources/jndi.properties
Thu Jun 30 20:45:01 2011
@@ -0,0 +1,18 @@
+# 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.
+#jboss JNDI properties
+java.naming.factory.initial=org.apache.openejb.client.LocalInitialContextFactory
Added:
openejb/trunk/openejb3/tck/bval-embedded/src/test/resources/jsr303-tck-suite.xml
URL:
http://svn.apache.org/viewvc/openejb/trunk/openejb3/tck/bval-embedded/src/test/resources/jsr303-tck-suite.xml?rev=1141709&view=auto
==============================================================================
---
openejb/trunk/openejb3/tck/bval-embedded/src/test/resources/jsr303-tck-suite.xml
(added)
+++
openejb/trunk/openejb3/tck/bval-embedded/src/test/resources/jsr303-tck-suite.xml
Thu Jun 30 20:45:01 2011
@@ -0,0 +1,43 @@
+<?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.
+-->
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
+<suite name="JSR-303-TCK" verbose="1">
+ <test name="JSR-303-TCK">
+ <method-selectors>
+ <method-selector>
+ <selector-class
name="org.jboss.testharness.impl.testng.DisableIntegrationTestsMethodSelector"/>
+ </method-selector>
+ <method-selector>
+ <selector-class
name="org.jboss.testharness.impl.testng.ExcludeIncontainerUnderInvestigationMethodSelector"/>
+ </method-selector>
+ </method-selectors>
+ <groups>
+ <run>
+ <exclude name="underInvestigation"/>
+ <exclude name="ri-broken"/>
+ <exclude name="jboss-as-broken"/>
+ <exclude name="broken"/>
+ </run>
+ </groups>
+ <packages>
+ <package name="org.hibernate.jsr303.tck.tests"/>
+ </packages>
+ </test>
+</suite>
Added: openejb/trunk/openejb3/tck/bval-embedded/src/test/resources/log4j.xml
URL:
http://svn.apache.org/viewvc/openejb/trunk/openejb3/tck/bval-embedded/src/test/resources/log4j.xml?rev=1141709&view=auto
==============================================================================
--- openejb/trunk/openejb3/tck/bval-embedded/src/test/resources/log4j.xml
(added)
+++ openejb/trunk/openejb3/tck/bval-embedded/src/test/resources/log4j.xml Thu
Jun 30 20:45:01 2011
@@ -0,0 +1,33 @@
+<?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.
+-->
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"
debug="false">
+ <appender name="stdout" class="org.apache.log4j.ConsoleAppender">
+ <param name="Target" value="System.out"/>
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{2}]
%m%n"/>
+ </layout>
+ </appender>
+
+ <root>
+ <priority value="INFO"/>
+ <appender-ref ref="stdout"/>
+ </root>
+</log4j:configuration>
Modified: openejb/trunk/openejb3/tck/pom.xml
URL:
http://svn.apache.org/viewvc/openejb/trunk/openejb3/tck/pom.xml?rev=1141709&r1=1141708&r2=1141709&view=diff
==============================================================================
--- openejb/trunk/openejb3/tck/pom.xml (original)
+++ openejb/trunk/openejb3/tck/pom.xml Thu Jun 30 20:45:01 2011
@@ -29,5 +29,6 @@
<modules>
<module>cdi-embedded</module>
+ <module>bval-embedded</module>
</modules>
</project>