Package org.dbunit.assertion
Interface FailureHandler
- All Superinterfaces:
DifferenceListener,FailureFactory
- All Known Implementing Classes:
DefaultFailureHandler,DiffCollectingFailureHandler
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 Summary
Modifier and TypeMethodDescriptiongetAdditionalInfo(ITable expectedTable, ITable actualTable, int row, String columnName) Returns a string to be appended to the assertion failure message.Methods inherited from interface org.dbunit.assertion.DifferenceListener
handleMethods inherited from interface org.dbunit.assertion.FailureFactory
createFailure, createFailure
-
Method Details
-
getAdditionalInfo
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 failedcolumnName- The column for which the assertion failed- Returns:
- A string that is appended to the assertion failure message
-