You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "dsmiley (via GitHub)" <gi...@apache.org> on 2023/03/15 02:35:40 UTC

[GitHub] [solr] dsmiley commented on a diff in pull request #1440: SOLR-16691 : Use Jackson for JSON serialization

dsmiley commented on code in PR #1440:
URL: https://github.com/apache/solr/pull/1440#discussion_r1136469584


##########
solr/test-framework/src/java/org/apache/solr/SolrTestCase.java:
##########
@@ -183,4 +186,11 @@ public void checkSyspropForceBeforeAssumptionFailure() {
     final String PROP = "tests.force.assumption.failure.before";
     assumeFalse(PROP + " == true", systemPropertyAsBoolean(PROP, false));
   }
+
+  public static void jsonAssert(String expected, String actual) {

Review Comment:
   Without looking at the code, the method's name alone gives no hint as to what is being asserted.  Perhaps renaming to assertJsonEquals instead?  And javadocs of course.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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