[ 
https://issues.apache.org/jira/browse/JCR-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13431713#comment-13431713
 ] 

Alex Parvulescu commented on JCR-3408:
--------------------------------------

changed the OrderByTest class to no extend AbstractIndexingTest in rev 1371132.
                
> Query tests should avoid casting to QueryManagerImpl
> ----------------------------------------------------
>
>                 Key: JCR-3408
>                 URL: https://issues.apache.org/jira/browse/JCR-3408
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>            Reporter: Alex Parvulescu
>            Assignee: Alex Parvulescu
>
> A lot of query tests flush the search index before to ensure consistency.
> Getting the SearchIndex instance happens via casting the QueryManager to the 
> jackrabbit QueryManagerImpl: 
>   ((QueryManagerImpl) qm)
> I'd like to change this direct casting into a instanceof verification. 
> This doesn't fix everything but at least it will allow other projects (like 
> oak) to run most of the query tests, without running into 
> ClassCastException(s).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to