[hibernate-commits] Hibernate SVN: r16856 - in beanvalidation/trunk/validation-tck/src/main: resources and 1 other directory.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Mon Jun 22 10:21:28 EDT 2009


Author: hardy.ferentschik
Date: 2009-06-22 10:21:28 -0400 (Mon, 22 Jun 2009)
New Revision: 16856

Modified:
   beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/xmlconfiguration/ConsistentUserInformation.java
   beanvalidation/trunk/validation-tck/src/main/resources/tck-audit.xml
Log:
removed duplicate assertion

Modified: beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/xmlconfiguration/ConsistentUserInformation.java
===================================================================
--- beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/xmlconfiguration/ConsistentUserInformation.java	2009-06-22 14:15:57 UTC (rev 16855)
+++ beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/xmlconfiguration/ConsistentUserInformation.java	2009-06-22 14:21:28 UTC (rev 16856)
@@ -48,5 +48,5 @@
 
 	public abstract Pattern[] patterns();
 
-	//public abstract UserType userType() default UserType.BUYER;
+	public abstract UserType userType() default UserType.BUYER;
 }

Modified: beanvalidation/trunk/validation-tck/src/main/resources/tck-audit.xml
===================================================================
--- beanvalidation/trunk/validation-tck/src/main/resources/tck-audit.xml	2009-06-22 14:15:57 UTC (rev 16855)
+++ beanvalidation/trunk/validation-tck/src/main/resources/tck-audit.xml	2009-06-22 14:21:28 UTC (rev 16856)
@@ -243,20 +243,12 @@
         </assertion>
         <assertion id="d">
             <text>When a property is annotated with a constraint declaration, property access
-                strategy is used to access the state val- idated by such constraint</text>
+                strategy is used to access the state validated by such constraint</text>
         </assertion>
         <assertion id="e">
-            <text>When using field access strategy, the bean validation provider accesses the
-                instance variable directly</text>
-        </assertion>
-        <assertion id="f">
-            <text>When using the property access strategy, the bean validation provider accesses the
-                state via the property accessor method.</text>
-        </assertion>
-        <assertion id="g">
             <text>The fields or methods visibility are not constrained</text>
         </assertion>
-        <assertion id="h">
+        <assertion id="f">
             <text>Constraints on non getter methods are not supported</text>
         </assertion>
     </section>




More information about the hibernate-commits mailing list