jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r801909 - /jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/nodetype/NodeTypeCreationTest.java
Date Fri, 07 Aug 2009 08:38:14 GMT
Author: angela
Date: Fri Aug  7 08:38:14 2009
New Revision: 801909

URL: http://svn.apache.org/viewvc?rev=801909&view=rev
Log:
JCR-2192: handling of expanded-form jcr names by node type *Template classes

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

Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/nodetype/NodeTypeCreationTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/nodetype/NodeTypeCreationTest.java?rev=801909&r1=801908&r2=801909&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/nodetype/NodeTypeCreationTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/nodetype/NodeTypeCreationTest.java
Fri Aug  7 08:38:14 2009
@@ -80,10 +80,10 @@
         assertFalse(ntt.isMixin());
         assertFalse(ntt.isAbstract());
         assertFalse(ntt.hasOrderableChildNodes());
-        // TODO: see https://jsr-283.dev.java.net/issues/show_bug.cgi?id=798
-        assertTrue(ntt.isQueryable());
+        
+        // note: isQueryable cannot be tested as defautl value is defined
+        // by the implementation
 
-        // TODO see https://jsr-283.dev.java.net/issues/show_bug.cgi?id=797        
         assertNotNull(ntt.getDeclaredSupertypeNames());
         assertEquals(0, ntt.getDeclaredSupertypeNames().length);
 
@@ -222,10 +222,11 @@
         assertNull(pdt.getValueConstraints());
         assertNull(pdt.getDefaultValues());
 
-        // TODO: add tests for default values of (missing definition in API)
-        // getAvailableQueryOperators
-        // isFullTextSearchable
-        // isQueryOrderable
+        // the following methods cannot be tested as default value is
+        // implementation specific:
+        // - getAvailableQueryOperators
+        // - isFullTextSearchable
+        // - isQueryOrderable
 
     }
 
@@ -275,13 +276,6 @@
         assertEquals(PropertyType.LONG, pdt.getDefaultValues()[0].getType());
     }
 
-    public void testSetValueConstraints() throws Exception {
-
-        // TODO: PropertyDefinitionTemplate: test setting value constraints
-        // TODO: PropertyDefinitionTemplate: test setting name/path constraints
-        // see  https://jsr-283.dev.java.net/issues/show_bug.cgi?id=794
-    }
-
     public void testEmptyNodeDefinitionTemplate() throws Exception {
         NodeDefinitionTemplate ndt = ntm.createNodeDefinitionTemplate();
 



Mime
View raw message