View Javadoc
1   package org.dbunit.assertion.comparer.value;
2   
3   import org.dbunit.DatabaseUnitException;
4   import org.dbunit.dataset.ITable;
5   import org.dbunit.dataset.datatype.DataType;
6   
7   /**
8    * {@link ValueComparer} implementation that verifies nothing and never fails.
9    *
10   * @author jjensen
11   * @since 2.6.0
12   */
13  public class NeverFailsValueComparer extends ValueComparerTemplateBase
14  {
15      @Override
16      protected boolean isExpected(final ITable expectedTable,
17              final ITable actualTable, final int rowNum, final String columnName,
18              final DataType dataType, final Object expectedValue,
19              final Object actualValue) throws DatabaseUnitException
20      {
21          return true;
22      }
23  
24      @Override
25      protected String getFailPhrase()
26      {
27          return "";
28      }
29  }