|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use JSONComparator | |
|---|---|
| org.skyscreamer.jsonassert | |
| org.skyscreamer.jsonassert.comparator | |
| Uses of JSONComparator in org.skyscreamer.jsonassert |
|---|
| Methods in org.skyscreamer.jsonassert with parameters of type JSONComparator | |
|---|---|
static void |
JSONAssert.assertEquals(String expectedStr,
String actualStr,
JSONComparator comparator)
Asserts that the json string provided matches the expected string. |
static void |
JSONAssert.assertNotEquals(String expectedStr,
String actualStr,
JSONComparator comparator)
Asserts that the json string provided does not match the expected string. |
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.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(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. |
| Constructors in org.skyscreamer.jsonassert with parameters of type JSONComparator | |
|---|---|
ArrayValueMatcher(JSONComparator comparator)
Create ArrayValueMatcher to match every element in actual array against elements taken in sequence from expected array, repeating from start of expected array if necessary. |
|
ArrayValueMatcher(JSONComparator comparator,
int index)
Create ArrayValueMatcher to match specified element in actual array against first element of expected array. |
|
ArrayValueMatcher(JSONComparator comparator,
int from,
int to)
Create ArrayValueMatcher to match every element in specified range (inclusive) from actual array against elements taken in sequence from expected array, repeating from start of expected array if necessary. |
|
| Uses of JSONComparator in org.skyscreamer.jsonassert.comparator |
|---|
| Classes in org.skyscreamer.jsonassert.comparator that implement JSONComparator | |
|---|---|
class |
AbstractComparator
This class provides a skeletal implementation of the JSONComparator
interface, to minimize the effort required to implement this interface. |
class |
ArraySizeComparator
A JSONAssert array size comparator. |
class |
CustomComparator
|
class |
DefaultComparator
This class is the default json comparator implementation. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||