public class IsActualEqualToExpectedWithEmptyFailMessageValueComparer extends ValueComparerTemplateBase
ValueComparer implementation that verifies actual value is equal to
expected value and sets fail message to empty String.
This is primarily for the original assertEquals(*) on
DbUnitAssert so the
Difference message stays the same.BASE_FAIL_MSG| Constructor and Description |
|---|
IsActualEqualToExpectedWithEmptyFailMessageValueComparer() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getFailPhrase() |
protected boolean |
isExpected(ITable expectedTable,
ITable actualTable,
int rowNum,
String columnName,
DataType dataType,
Object expectedValue,
Object actualValue) |
protected String |
makeFailMessage(Object expectedValue,
Object actualValue)
Makes the fail message using
ValueComparerTemplateBase.getFailPhrase(). |
doComparecompare, toStringpublic IsActualEqualToExpectedWithEmptyFailMessageValueComparer()
protected boolean isExpected(ITable expectedTable, ITable actualTable, int rowNum, String columnName, DataType dataType, Object expectedValue, Object actualValue) throws DatabaseUnitException
isExpected in class ValueComparerTemplateBaseDatabaseUnitExceptionprotected String makeFailMessage(Object expectedValue, Object actualValue)
ValueComparerTemplateBaseValueComparerTemplateBase.getFailPhrase().makeFailMessage in class ValueComparerTemplateBaseprotected String getFailPhrase()
getFailPhrase in class ValueComparerTemplateBaseValueComparerBase.BASE_FAIL_MSG.Copyright © 2002–2025. All rights reserved.