Author: hardy.ferentschik
Date: 2009-09-11 12:21:07 -0400 (Fri, 11 Sep 2009)
New Revision: 17509
Modified:
beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/metadata/PropertyDescriptorTest.java
beanvalidation/trunk/validation-tck/src/main/resources/tck-audit.xml
Log:
added @SpecAssertion mapping for testPropertyName
Modified:
beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/metadata/PropertyDescriptorTest.java
===================================================================
---
beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/metadata/PropertyDescriptorTest.java 2009-09-11
16:15:06 UTC (rev 17508)
+++
beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/metadata/PropertyDescriptorTest.java 2009-09-11
16:21:07 UTC (rev 17509)
@@ -54,6 +54,7 @@
}
@Test
+ @SpecAssertion(section = "5.4", id = "b")
public void testPropertyName() {
String propertyName = "orderList";
PropertyDescriptor descriptor = getPropertyDescriptor( Customer.class, propertyName );
Modified: beanvalidation/trunk/validation-tck/src/main/resources/tck-audit.xml
===================================================================
--- beanvalidation/trunk/validation-tck/src/main/resources/tck-audit.xml 2009-09-11
16:15:06 UTC (rev 17508)
+++ beanvalidation/trunk/validation-tck/src/main/resources/tck-audit.xml 2009-09-11
16:21:07 UTC (rev 17509)
@@ -949,6 +949,9 @@
<assertion id="a">
<text>The isCascaded method returns true if the property is marked with
@Valid</text>
</assertion>
+ <assertion id="b">
+ <text>getPropertyName returns the property name</text>
+ </assertion>
</section>
<section id="5.5" title="ConstraintDescriptor">
<assertion id="a">
Show replies by date