You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bval.apache.org by st...@apache.org on 2018/03/20 22:27:18 UTC
bval git commit: tweak testng suite.xml to switch to
continue-on-errors
Repository: bval
Updated Branches:
refs/heads/bv2 4737deefe -> 4ed419e52
tweak testng suite.xml to switch to continue-on-errors
Project: http://git-wip-us.apache.org/repos/asf/bval/repo
Commit: http://git-wip-us.apache.org/repos/asf/bval/commit/4ed419e5
Tree: http://git-wip-us.apache.org/repos/asf/bval/tree/4ed419e5
Diff: http://git-wip-us.apache.org/repos/asf/bval/diff/4ed419e5
Branch: refs/heads/bv2
Commit: 4ed419e520518285c36b5fd663caaf769e2154b0
Parents: 4737dee
Author: Mark Struberg <st...@apache.org>
Authored: Tue Mar 20 23:26:29 2018 +0100
Committer: Mark Struberg <st...@apache.org>
Committed: Tue Mar 20 23:26:29 2018 +0100
----------------------------------------------------------------------
bval-tck/pom.xml | 28 +--------------
.../src/test/beanvalidation-tck-tests-suite.xml | 36 ++++++++++++++++++++
2 files changed, 37 insertions(+), 27 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/bval/blob/4ed419e5/bval-tck/pom.xml
----------------------------------------------------------------------
diff --git a/bval-tck/pom.xml b/bval-tck/pom.xml
index b13d1f0..ecdb6b7 100644
--- a/bval-tck/pom.xml
+++ b/bval-tck/pom.xml
@@ -168,36 +168,10 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-tck-test-suite-file</id>
- <phase>generate-test-sources</phase>
- <goals>
- <goal>copy</goal>
- </goals>
- <configuration>
- <stripVersion>true</stripVersion>
- <artifactItems>
- <artifactItem>
- <groupId>org.hibernate.beanvalidation.tck</groupId>
- <artifactId>beanvalidation-tck-tests</artifactId>
- <type>xml</type>
- <classifier>suite</classifier>
- <overWrite>false</overWrite>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<suiteXmlFiles>
- <suiteXmlFile>${project.build.directory}/dependency/beanvalidation-tck-tests-suite.xml</suiteXmlFile>
+ <suiteXmlFile>${basedir}/src/test/beanvalidation-tck-tests-suite.xml</suiteXmlFile>
</suiteXmlFiles>
<systemProperties>
<property>
http://git-wip-us.apache.org/repos/asf/bval/blob/4ed419e5/bval-tck/src/test/beanvalidation-tck-tests-suite.xml
----------------------------------------------------------------------
diff --git a/bval-tck/src/test/beanvalidation-tck-tests-suite.xml b/bval-tck/src/test/beanvalidation-tck-tests-suite.xml
new file mode 100644
index 0000000..ce508a0
--- /dev/null
+++ b/bval-tck/src/test/beanvalidation-tck-tests-suite.xml
@@ -0,0 +1,36 @@
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
+<!--
+
+ 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.
+-->
+
+<suite name="JSR-380-TCK" verbose="2" configfailurepolicy="continue">
+ <test name="JSR-380-TCK">
+
+ <method-selectors>
+ <method-selector>
+ <selector-class name="org.hibernate.beanvalidation.tck.util.IntegrationTestsMethodSelector"/>
+ </method-selector>
+ <method-selector>
+ <selector-class name="org.hibernate.beanvalidation.tck.util.JavaFXTestsMethodSelector"/>
+ </method-selector>
+ </method-selectors>
+
+ <packages>
+ <package name="org.hibernate.beanvalidation.tck.tests"/>
+ </packages>
+ </test>
+</suite>