List of usage examples for junit.framework Assert failNotEquals
static public void failNotEquals(String message, Object expected, Object actual)
From source file:com.facebook.TestUtils.java
@TargetApi(16) public static void assertEquals(final JSONObject expected, final JSONObject actual) { // JSONObject.equals does not do an order-independent comparison, so let's roll our own :( if (areEqual(expected, actual)) { return;/* w w w. j a va2 s .c om*/ } Assert.failNotEquals("", expected, actual); }
From source file:com.facebook.TestUtils.java
@TargetApi(16) public static void assertEquals(final JSONArray expected, final JSONArray actual) { // JSONObject.equals does not do an order-independent comparison, so let's roll our own :( if (areEqual(expected, actual)) { return;/* w w w.j a v a 2s . c o m*/ } Assert.failNotEquals("", expected, actual); }