ComparisonFailure |
ComparisonFailure (see Figure B-3) is a specialized subclass of AssertionFailedError . It is thrown only by the versions of assertEquals( ) that compare String s.
public class ComparisonFailure extends AssertionFailedError
The constructor for ComparisonFailure .
Returns the failure description message. The redundant parts of the compared String s are replaced with " .. ." so that only the parts that differ are reported .
None.
The private attributes containing copies of the strings being compared.