|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.skyscreamer.jsonassert.JSONCompareResult
public class JSONCompareResult
Bean for holding results from JSONCompare.
| Constructor Summary | |
|---|---|
JSONCompareResult()
Default constructor. |
|
| Method Summary | |
|---|---|
protected void |
fail(String message)
|
protected void |
fail(String field,
Object expected,
Object actual)
|
boolean |
failed()
Did the comparison fail? |
String |
getMessage()
Result message |
boolean |
passed()
Did the comparison pass? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JSONCompareResult()
| Method Detail |
|---|
public boolean passed()
public boolean failed()
public String getMessage()
protected void fail(String message)
protected void fail(String field,
Object expected,
Object actual)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||