You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Paul Kiernan (Jira)" <ji...@apache.org> on 2022/03/23 07:45:00 UTC

[jira] [Created] (SOLR-16109) Update SolrTestCaseJ4 Abstract Base Class SolrDocument comparators to static

Paul Kiernan created SOLR-16109:
-----------------------------------

             Summary: Update SolrTestCaseJ4 Abstract Base Class SolrDocument comparators to static
                 Key: SOLR-16109
                 URL: https://issues.apache.org/jira/browse/SOLR-16109
             Project: Solr
          Issue Type: Wish
      Security Level: Public (Default Security Level. Issues are Public)
          Components: Tests
    Affects Versions: 7.7.3
            Reporter: Paul Kiernan


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



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org