OPENJPA-1282 Update bean validation RI provider and spec API level. Remove allow failure from test that passes due to provider update.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810645 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jeremy Bauer 2009-09-02 18:18:27 +00:00
parent 3c3c8082d3
commit 1f347633aa
2 changed files with 2 additions and 4 deletions

View File

@ -132,14 +132,14 @@
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>1.0.CR3</version>
<version>1.0.CR5</version>
<scope>test</scope>
</dependency>
<!-- Hibernate that implements 1.0.CR3 -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>4.0.0.Beta2</version>
<version>4.0.0.CR1</version>
<scope>test</scope>
<exclusions>
<!-- force usage of the geronimo-jpa_2.0_spec -->

View File

@ -36,8 +36,6 @@ public class TestMappedSuper extends PersistenceTestCase {
/*
* Verify constraints defined via XML on a mapped superclass are validated.
*/
@AllowFailure(message="This test currently fails with the CR3 version of" +
" the RI. See: https://forum.hibernate.org/viewtopic.php?f=26&t=998810")
public void testMappedSuperXMLConstraint() {
OpenJPAEntityManagerFactorySPI emf = (OpenJPAEntityManagerFactorySPI)
OpenJPAPersistence.createEntityManagerFactory(