Interface FileComparisonTestAssertionFailure

All Superinterfaces:
Failure, TestAssertionFailure, TestFailure

@Incubating public interface FileComparisonTestAssertionFailure extends TestAssertionFailure
Represent a test assertion failure where the test fails due to a broken assertion.
Since:
8.3
  • Method Details

    • getExpectedContent

      @Nullable byte[] getExpectedContent()
      Returns the string representation of the expected value.
      Returns:
      the expected value or null if the test framework doesn't supply detailed information on assertion failures
    • getActualContent

      @Nullable byte[] getActualContent()
      Returns the string representation of the actual value.
      Returns:
      the actual value or null if the test framework doesn't supply detailed information on assertion failures