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