Interface FailureHandler

All Superinterfaces:
DifferenceListener, FailureFactory
All Known Implementing Classes:
DefaultFailureHandler, DiffCollectingFailureHandler

public interface FailureHandler extends DifferenceListener, FailureFactory
Handles the failure of an assertion.
Since:
2.4.0
Version:
$Revision$ $Date$
Author:
gommma (gommma AT users.sourceforge.net), Last changed by: $Author$
  • Method Details

    • getAdditionalInfo

      String getAdditionalInfo(ITable expectedTable, ITable actualTable, int row, String columnName)
      Returns a string to be appended to the assertion failure message. Is used to provide some more information about a failure (for example to print out some PK columns for identifying the failed rows in the DB).
      Parameters:
      expectedTable -
      actualTable -
      row - The row for which the assertion failed
      columnName - The column for which the assertion failed
      Returns:
      A string that is appended to the assertion failure message