Uses of Class
org.skyscreamer.jsonassert.JSONCompareResult

Packages that use JSONCompareResult
org.skyscreamer.jsonassert   
org.skyscreamer.jsonassert.comparator   
 

Uses of JSONCompareResult in org.skyscreamer.jsonassert
 

Methods in org.skyscreamer.jsonassert that return JSONCompareResult
static JSONCompareResult JSONCompare.compareJSON(org.json.JSONArray expected, org.json.JSONArray actual, JSONComparator comparator)
          Compares JSON object provided to the expected JSON object using provided comparator, and returns the results of the comparison.
static JSONCompareResult JSONCompare.compareJSON(org.json.JSONArray expected, org.json.JSONArray actual, JSONCompareMode mode)
          Compares JSONArray provided to the expected JSONArray, and returns the results of the comparison.
static JSONCompareResult JSONCompare.compareJSON(org.json.JSONObject expected, org.json.JSONObject actual, JSONComparator comparator)
          Compares JSON object provided to the expected JSON object using provided comparator, and returns the results of the comparison.
static JSONCompareResult JSONCompare.compareJSON(org.json.JSONObject expected, org.json.JSONObject actual, JSONCompareMode mode)
          Compares JSONObject provided to the expected JSONObject, and returns the results of the comparison.
static JSONCompareResult JSONCompare.compareJson(org.json.JSONString expected, org.json.JSONString actual)
          Compares JSONString provided to the expected JSONString, checking that the JSONString.toJSONString() are equal.
static JSONCompareResult JSONCompare.compareJSON(String expectedStr, String actualStr, JSONComparator comparator)
          Compares JSON string provided to the expected JSON string using provided comparator, and returns the results of the comparison.
static JSONCompareResult JSONCompare.compareJSON(String expectedStr, String actualStr, JSONCompareMode mode)
          Compares JSON string provided to the expected JSON string, and returns the results of the comparison.
 JSONCompareResult JSONCompareResult.fail(String field, Object expected, Object actual)
          Identify that the comparison failed
 JSONCompareResult JSONCompareResult.missing(String field, Object expected)
           
 JSONCompareResult JSONCompareResult.unexpected(String field, Object value)
           
 

Uses of JSONCompareResult in org.skyscreamer.jsonassert.comparator
 

Methods in org.skyscreamer.jsonassert.comparator that return JSONCompareResult
 JSONCompareResult JSONComparator.compareJSON(org.json.JSONArray expected, org.json.JSONArray actual)
           
 JSONCompareResult AbstractComparator.compareJSON(org.json.JSONArray expected, org.json.JSONArray actual)
          Compares JSONArray provided to the expected JSONArray, and returns the results of the comparison.
 JSONCompareResult JSONComparator.compareJSON(org.json.JSONObject expected, org.json.JSONObject actual)
           
 JSONCompareResult AbstractComparator.compareJSON(org.json.JSONObject expected, org.json.JSONObject actual)
          Compares JSONObject provided to the expected JSONObject, and returns the results of the comparison.
 

Methods in org.skyscreamer.jsonassert.comparator with parameters of type JSONCompareResult
protected  void AbstractComparator.checkJsonObjectKeysActualInExpected(String prefix, org.json.JSONObject expected, org.json.JSONObject actual, JSONCompareResult result)
           
protected  void AbstractComparator.checkJsonObjectKeysExpectedInActual(String prefix, org.json.JSONObject expected, org.json.JSONObject actual, JSONCompareResult result)
           
 void JSONComparator.compareJSON(String prefix, org.json.JSONObject expected, org.json.JSONObject actual, JSONCompareResult result)
           
 void DefaultComparator.compareJSON(String prefix, org.json.JSONObject expected, org.json.JSONObject actual, JSONCompareResult result)
           
 void JSONComparator.compareJSONArray(String prefix, org.json.JSONArray expected, org.json.JSONArray actual, JSONCompareResult result)
           
 void DefaultComparator.compareJSONArray(String prefix, org.json.JSONArray expected, org.json.JSONArray actual, JSONCompareResult result)
           
protected  void AbstractComparator.compareJSONArrayOfJsonObjects(String key, org.json.JSONArray expected, org.json.JSONArray actual, JSONCompareResult result)
           
protected  void AbstractComparator.compareJSONArrayOfSimpleValues(String key, org.json.JSONArray expected, org.json.JSONArray actual, JSONCompareResult result)
           
protected  void AbstractComparator.compareJSONArrayWithStrictOrder(String key, org.json.JSONArray expected, org.json.JSONArray actual, JSONCompareResult result)
           
 void JSONComparator.compareValues(String prefix, Object expectedValue, Object actualValue, JSONCompareResult result)
           
 void DefaultComparator.compareValues(String prefix, Object expectedValue, Object actualValue, JSONCompareResult result)
           
 void CustomComparator.compareValues(String prefix, Object expectedValue, Object actualValue, JSONCompareResult result)
           
protected  void AbstractComparator.recursivelyCompareJSONArray(String key, org.json.JSONArray expected, org.json.JSONArray actual, JSONCompareResult result)
           
 



Copyright © 2013. All Rights Reserved.