jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-481) Checks for optional features in test cases are wrong
Date Fri, 14 Jul 2006 12:24:14 GMT
Checks for optional features in test cases are wrong

                 Key: JCR-481
                 URL: http://issues.apache.org/jira/browse/JCR-481
             Project: Jackrabbit
          Issue Type: Bug
          Components: test
            Reporter: Marcel Reutegger
         Assigned To: Marcel Reutegger

Reported by David Sanders:

The TCK for JSR-170 Final Release
checks for level 2 and optional features by comparing
Repository.getDescriptor to null.  According to the
spec and javadoc, getDescriptor must return either
"true" or "false" for the "capability" keys.

Example in AbsractJCRest.java:

        // setup custom namespaces
!= null) {
            NamespaceRegistry nsReg =

I think the above if statement should be:

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message