You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by fg...@apache.org on 2010/01/06 16:40:16 UTC

svn commit: r896488 - /incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/test/spec/FolderChildrenTest.java

Author: fguillaume
Date: Wed Jan  6 15:40:16 2010
New Revision: 896488

URL: http://svn.apache.org/viewvc?rev=896488&view=rev
Log:
CMIS-89: don't be too strict when checking for returned properties

Modified:
    incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/test/spec/FolderChildrenTest.java

Modified: incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/test/spec/FolderChildrenTest.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/test/spec/FolderChildrenTest.java?rev=896488&r1=896487&r2=896488&view=diff
==============================================================================
--- incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/test/spec/FolderChildrenTest.java (original)
+++ incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/test/spec/FolderChildrenTest.java Wed Jan  6 15:40:16 2010
@@ -144,7 +144,10 @@
             CMISObject object = entry.getExtension(CMISConstants.OBJECT);
             Assert.assertNotNull(object.getObjectId().getStringValue());
             Assert.assertNotNull(object.getObjectTypeId());
-            Assert.assertNull(object.getBaseTypeId());
+            // Implementations aren't required to return ONLY the specified
+            // properties. In particular, the base type id is often useful to
+            // clients and systematically returned by servers.
+            // Assert.assertNull(object.getBaseTypeId());
         }
     }