FileDocCategorySizeDatePackage
ComparisonFailure.javaAPI DocAndroid 1.5 API1236Wed May 06 22:42:02 BST 2009android.test

ComparisonFailure

public 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.StringgetMessage()

        return mComparison.getMessage();