public final class JsonAssert extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
assertJsonArrayEquals(JSONArray expected,
JSONArray actual) |
static void |
assertJsonArrayEquals(String message,
JSONArray expected,
JSONArray actual) |
static void |
assertJsonEquals(String expected,
String actual) |
static void |
assertJsonEquals(String message,
String expected,
String actual) |
static void |
assertJsonObjectEquals(JSONObject expected,
JSONObject actual) |
static void |
assertJsonObjectEquals(String message,
JSONObject expected,
JSONObject actual) |
static void |
assertObjectEquals(Object expected,
Object actual) |
static void |
assertObjectEquals(String message,
Object expected,
Object actual) |
public static void assertJsonArrayEquals(JSONArray expected, JSONArray actual) throws Exception
Exceptionpublic static void assertJsonArrayEquals(String message, JSONArray expected, JSONArray actual) throws Exception
Exceptionpublic static void assertJsonObjectEquals(JSONObject expected, JSONObject actual) throws Exception
Exceptionpublic static void assertJsonObjectEquals(String message, JSONObject expected, JSONObject actual) throws Exception
Exceptionpublic static void assertJsonEquals(String expected, String actual) throws Exception
Exceptionpublic static void assertJsonEquals(String message, String expected, String actual) throws Exception
Exceptionpublic static void assertObjectEquals(Object expected, Object actual) throws Exception
ExceptionCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.