[hibernate-commits] Hibernate SVN: r17335 - 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 Aug 17 10:40:15 EDT 2009


Author: hardy.ferentschik
Date: 2009-08-17 10:40:15 -0400 (Mon, 17 Aug 2009)
New Revision: 17335

Modified:
   beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/constraints/application/ValidationRequirementTest.java
   beanvalidation/trunk/validation-tck/src/main/resources/tck-audit.xml
Log:
HV-205
Disabled test


Modified: beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/constraints/application/ValidationRequirementTest.java
===================================================================
--- beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/constraints/application/ValidationRequirementTest.java	2009-08-17 14:28:29 UTC (rev 17334)
+++ beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/constraints/application/ValidationRequirementTest.java	2009-08-17 14:40:15 UTC (rev 17335)
@@ -125,7 +125,8 @@
 		assertCorrectConstraintViolationMessages( violations, expectedMessage, expectedMessage );
 	}
 
-	@Test
+	@Test(enabled = false)
+	// The spec is not clear about whether validation of static fields/properties should just be ignored or an exception should be thrown.
 	@SpecAssertion(section = "3.1", id = "b")
 	public void testIgnoreStaticFieldsAndProperties() {
 		StaticFieldsAndProperties entity = new StaticFieldsAndProperties();
@@ -137,7 +138,7 @@
 
 	@Test
 	@SpecAssertion(section = "3.1.2", id = "e")
-	public void testFieldAndPropertyVisiblityIsNotConstrainted() {
+	public void testFieldAndPropertyVisibilityIsNotConstrained() {
 		Visibility entity = new Visibility();
 
 		Validator validator = TestUtil.getValidatorUnderTest();

Modified: beanvalidation/trunk/validation-tck/src/main/resources/tck-audit.xml
===================================================================
--- beanvalidation/trunk/validation-tck/src/main/resources/tck-audit.xml	2009-08-17 14:28:29 UTC (rev 17334)
+++ beanvalidation/trunk/validation-tck/src/main/resources/tck-audit.xml	2009-08-17 14:40:15 UTC (rev 17335)
@@ -225,7 +225,9 @@
             <text>Properties to be validated must follow the method signature conventions for
                 JavaBeans read properties, as defined by the JavaBeans specification</text>
         </assertion>
-        <assertion id="b">
+        <assertion id="b" testable="false">
+            <!-- The spec is not clear about whether validation of static fields/properties should just be ignored or an
+            exception should be thrown. -->
             <text>Static fields and static methods are excluded from validation</text>
         </assertion>
         <assertion id="c">



More information about the hibernate-commits mailing list