[ http://issues.apache.org/jira/browse/JCR-557?page=all ]

Marcel Reutegger resolved JCR-557.
----------------------------------

    Resolution: Invalid

If an implementation does not support SQL queries those test cases may simply 
fail in the TCK. A NotExecutableException is only appropriate for test cases 
that require content or a specific property type which might not be supported 
by the repository.

An implementation may still be Level 1 compliant even though the SQL tests 
failed.

> OPTION_QUERY_SQL_SUPPORTED Reposiotry descriptor not checked for SQL 
> testcases in query package
> -----------------------------------------------------------------------------------------------
>
>                 Key: JCR-557
>                 URL: http://issues.apache.org/jira/browse/JCR-557
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: test
>            Reporter: Melissa Stopponi
>
> For the SQL tests in the query package, the OPTION_QUERY_SQL_SUPPORTED 
> repository descriptor should be verified to return "true" prior to running 
> SQL testcases, and should throw an NotExecutableException if not.
> This bug causes the following (19) testcases to fail:
> SQLOrderByTest.testOrderByAscending()
> SQLOrderByTest.testOrderByDefault()
> SQLOrderByTest.testOrderByDescending()
> SQLJoinTest.testJoin()
> SQLJoinTest.testJoinFilterPrimaryType()
> SQLJoinTest.testJoinNtBase()
> SQLJoinTest.testJoinSNS()
> SQLJcrPathTest.testJcrPath()
> SQLPathTest.testChildAxisLeaf()
> SQLPathTest.testChildAxisRoot()
> SQLPathTest.testChildAxisTestRoot()
> SQLPathTest.testDescendantLeaf()
> SQLPathTest.testDescendantSelfTestRoot()
> SQLPathTest.testDescendantTestRoot()
> SQLQueryLevel2Test.testFullTextSearch()
> SQLQueryLevel2Test.testMultiValueSearch()
> SQLQueryLevel2Test.testPathColumn()
> SQLQueryLevel2Test.testRange()
> SQLQueryLevel2Test.testScoreColumn()

-- 
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

        

Reply via email to