The JSR-170 Final Release TCK tests fail for optional predefined node types 
that a vendor may not support.
For example, a test fails when nt:unstructured is not supported even though the
1.0.1 spec says that node type is optional.   There are several other optional 
node types that the TCK tests
for, and whose nonexistence causes a test error.

junit.framework.AssertionFailedError: Node Type
nt:unstructured not found
        at junit.framework.Assert.fail(Assert.java:47)
        at
org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest.testPredefinedNodeType
(PredefinedNodeTypeTest.java(Compiled
Code))
        at
org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest.testUnstructured(PredefinedNodeTypeTest.java:119)


Maybe, the TCK should interpret such test results similar to the way 
unsupported features are handled (by throwing NotExecutableException).

Reply via email to