I am failing this TCK test: 
    org.apache.jackrabbit.test.api.query.SaveTest.testSave

One of the checks is to insure that the query node is of type nt:query:

    assertEquals("Query node is not of type nt:query", 
                  ntQuery, queryNode.getPrimaryNodeType().getName());

I would like to suggest that it be:

    assertTrue("Query node is not of type nt:query",
                queryNode.isNodeType(ntQuery));

I fail this test because my node definition is not nt:query but instead has 
nt:query as a supertype. I would pass the suggested test.

Doug McComsey
Computer Associates
[EMAIL PROTECTED]
 


Reply via email to