ComparisonFailurepublic class ComparisonFailure extends AssertionFailedError Thrown when an assert equals for Strings failed.
Note: Most users of this class should simply use junit.framework.ComparisonFailure,
which provides the same functionality at a lighter weight. |
Fields Summary |
---|
private ComparisonFailure | mComparison |
Constructors Summary |
---|
public ComparisonFailure(String message, String expected, String actual)
mComparison = new junit.framework.ComparisonFailure(message, expected, actual);
|
Methods Summary |
---|
public java.lang.String | getMessage()
return mComparison.getMessage();
|
|