Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3429

Make query tests (more) independent

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.5.3
    • jackrabbit-core
    • None

    Description

      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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            stillalex Alex Deparvu
            stillalex Alex Deparvu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment