org.dbunit
Class Assertion

java.lang.Object
  extended byorg.dbunit.Assertion

public class Assertion
extends java.lang.Object

Since:
Mar 22, 2002
Version:
$Revision: 1.13 $
Author:
Manuel Laflamme

Method Summary
static void assertEquals(IDataSet expectedDataSet, IDataSet actualDataSet)
          Asserts that the two specified dataset are equals.
static void assertEquals(ITable expectedTable, ITable actualTable)
          Asserts that the two specified tables are equals.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

assertEquals

public static void assertEquals(IDataSet expectedDataSet,
                                IDataSet actualDataSet)
                         throws DatabaseUnitException
Asserts that the two specified dataset are equals. This method ignore the tables order.

Throws:
DatabaseUnitException

assertEquals

public static void assertEquals(ITable expectedTable,
                                ITable actualTable)
                         throws DatabaseUnitException
Asserts that the two specified tables are equals. This method ignore the table names, the columns order, the columns data type and which columns are composing the primary keys.

Throws:
DatabaseUnitException


Copyright © 2002-2004 DbUnit.org. All Rights Reserved.