junit.framework
public class ComparisonFailure extends AssertionFailedError
| Constructor Summary | |
|---|---|
| ComparisonFailure(String message, String expected, String actual)
Constructs a comparison failure. | |
| Method Summary | |
|---|---|
| String | getActual()
Gets the actual string value |
| String | getExpected()
Gets the expected string value |
Parameters: message the identifying message or null expected the expected string value actual the actual string value
Returns: the actual string value
Returns: the expected string value