jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Sanders <david_sande...@yahoo.com>
Subject TCK tests for optional predefined node types
Date Wed, 26 Jul 2006 05:48:14 GMT
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).


Mime
View raw message