You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2012/09/19 17:29:07 UTC

[jira] [Commented] (JCR-3429) Make query tests (more) independent

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

Alex Parvulescu commented on JCR-3429:
--------------------------------------

First changes in with revision 1387639 and 1387640.
I also removed the #flushSearchIndex() calls so I'm curious to see if that breaks a few tests on account of timing issues.
                
> Make query tests (more) independent
> -----------------------------------
>
>                 Key: JCR-3429
>                 URL: https://issues.apache.org/jira/browse/JCR-3429
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>            Reporter: Alex Parvulescu
>            Priority: Minor
>
> This issue serves mainly as support for OAK-237.
> There are some unneeded casts in the jr query tests that we can remove, allowing us to run the better part of the query tests from the oak test suite.
> I plan on cleaning up as much as possible the tests from the o.a.j.c.query package so that in the end they will only depend on JCR apis.
> This means:
>  - moving some jackrabbit indexing specific tests to o.a.j.c.query.lucene
>  - adding a AbstractQueryTest#isJackrabbitImpl that will help with some cases where a cast cannot be avoided
>  - other cosmetics

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira