com.atlassian.confluence.it.web
Class JsonAssertions

java.lang.Object
  extended by com.atlassian.confluence.it.web.JsonAssertions

public class JsonAssertions
extends Object

Assertions to compare JSON objects sensibly.


Constructor Summary
JsonAssertions()
           
 
Method Summary
static void assertJsonEquals(String message, org.codehaus.jackson.node.ArrayNode expected, org.codehaus.jackson.node.ArrayNode actual)
           
static void assertJsonEquals(String message, org.codehaus.jackson.JsonNode expected, org.codehaus.jackson.JsonNode actual)
           
static void assertJsonEquals(String message, org.codehaus.jackson.node.ObjectNode expected, org.codehaus.jackson.node.ObjectNode actual)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonAssertions

public JsonAssertions()
Method Detail

assertJsonEquals

public static void assertJsonEquals(String message,
                                    org.codehaus.jackson.node.ObjectNode expected,
                                    org.codehaus.jackson.node.ObjectNode actual)

assertJsonEquals

public static void assertJsonEquals(String message,
                                    org.codehaus.jackson.node.ArrayNode expected,
                                    org.codehaus.jackson.node.ArrayNode actual)

assertJsonEquals

public static void assertJsonEquals(String message,
                                    org.codehaus.jackson.JsonNode expected,
                                    org.codehaus.jackson.JsonNode actual)


Copyright © 2003–2015 Atlassian. All rights reserved.