[hibernate-commits] Hibernate SVN: r17494 - beanvalidation/trunk/validation-tck/src/main/resources.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Wed Sep 9 06:27:33 EDT 2009


Author: epbernard
Date: 2009-09-09 06:27:33 -0400 (Wed, 09 Sep 2009)
New Revision: 17494

Modified:
   beanvalidation/trunk/validation-tck/src/main/resources/tck-audit.xml
Log:
add assertion for payload being ignored in composing constraints

Modified: beanvalidation/trunk/validation-tck/src/main/resources/tck-audit.xml
===================================================================
--- beanvalidation/trunk/validation-tck/src/main/resources/tck-audit.xml	2009-09-08 16:07:18 UTC (rev 17493)
+++ beanvalidation/trunk/validation-tck/src/main/resources/tck-audit.xml	2009-09-09 10:27:33 UTC (rev 17494)
@@ -970,6 +970,13 @@
             <text>getPayload returns the payloads the constraint hosts or an empty set if
                 none</text>
         </assertion>
+        <assertion id="h">
+            <text>Likewise, payload from the main constraint annotation is inherited by the
+                composing annotations.</text>
+        </assertion>
+        <assertion id="i">
+            <text>Any payload definition on a composing annotation is ignored</text>
+        </assertion>
 
     </section>
 



More information about the hibernate-commits mailing list