org.dbunit.assertion
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: 872 $ $Date: 2008-11-08 16:45:52 +0100 (sab, 08 nov 2008) $
- Author:
- gommma (gommma AT users.sourceforge.net), Last changed by: $Author: gommma $
|
Method Summary |
java.lang.String |
getAdditionalInfo(ITable expectedTable,
ITable actualTable,
int row,
java.lang.String columnName)
Returns a string to be appended to the assertion failure message. |
getAdditionalInfo
java.lang.String getAdditionalInfo(ITable expectedTable,
ITable actualTable,
int row,
java.lang.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 failedcolumnName - The column for which the assertion failed
- Returns:
- A string that is appended to the assertion failure message
Copyright © 2002-2009. All Rights Reserved.