Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-10044

Clean up unit tests for TestDrillSideways

Details

    • Test
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 9.0
    • None
    • modules/facet
    • None
    • New

    Description

      All unit tests in TestDrillSideways currently do the same task for priming a DrillDownQuery and a DrillSidewaysResult. I would like to extract the common code here for the initialisation and capture it in DrillSidewaysInitialiser - a helper class for writing unit tests which would initialise a DrillSidewaysResult while retaining members like FacetsConfig for future access.

      Something similar has been implemented for Document creation in DocHelper.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sejalpawar Sejal Pawar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: