jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r783345 - /jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/PropertyReadMethodsTest.java
Date Wed, 10 Jun 2009 13:06:47 GMT
Author: mreutegg
Date: Wed Jun 10 13:06:46 2009
New Revision: 783345

URL: http://svn.apache.org/viewvc?rev=783345&view=rev
Log:
JCR-2085: test case (TCK) maintenance for JCR 2.0
- Property.isMultiple()

Modified:
    jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/PropertyReadMethodsTest.java

Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/PropertyReadMethodsTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/PropertyReadMethodsTest.java?rev=783345&r1=783344&r2=783345&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/PropertyReadMethodsTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/PropertyReadMethodsTest.java
Wed Jun 10 13:06:46 2009
@@ -176,6 +176,14 @@
     }
 
     /**
+     * Tests if isMultiple() is consistent with PropertyDefinition.isMultiple().
+     */
+    public void testIsMultiple() throws RepositoryException {
+        assertEquals("Property.isMultiple() must be consistent with PropertyDefinition.isMultiple()",
+                property.isMultiple(), property.getDefinition().isMultiple());
+    }
+
+    /**
      * Tests if isNode() returns false
      */
     public void testIsNode() {



Mime
View raw message