Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16109

Update SolrTestCaseJ4 Abstract Base Class SolrDocument comparators to static

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 7.7.3
    • None
    • Tests
    • None

    Description

      I'd like to be able to simply compare two SolrInputDocuments in unit tests without absorbing all the overhead that comes with the JUnit test suite. Converting the prototype of the following methods to include the static modifier transforms them into functions I can use to this end:

      • compareSolrDocument
      • compareSolrDocumentList
      • compareSolrInputDocument
      • assertSolrInputFieldEquals

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              paulynomial Paul Kiernan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h