Class ComparisonFailure

All Implemented Interfaces:
Serializable

Thrown when an assert equals for Strings failed. Inspired by a patch from Alex Chaffee mailto:alex@purpletech.com
See Also:
  • Constructor Details

    • ComparisonFailure

      public ComparisonFailure(String message, String expected, String actual)
      Constructs a comparison failure.
      Parameters:
      message - the identifying message or null
      expected - the expected string value
      actual - the actual string value
  • Method Details