org.dbunit.ant
Class Compare

java.lang.Object
  extended byorg.dbunit.ant.AbstractStep
      extended byorg.dbunit.ant.Compare
All Implemented Interfaces:
DbUnitTaskStep

public class Compare
extends AbstractStep

The Compare class is the step that compare the content of the database against the specified dataset.

Since:
Apr 3, 2004
Version:
$Revision: 1.2 $
Author:
Manuel Laflamme
See Also:
DbUnitTaskStep

Field Summary
 
Fields inherited from class org.dbunit.ant.AbstractStep
FORMAT_CSV, FORMAT_DTD, FORMAT_FLAT, FORMAT_XML
 
Constructor Summary
Compare()
           
 
Method Summary
 void addQuery(Query query)
           
 void addTable(Table table)
           
 void execute(IDatabaseConnection connection)
           
 java.lang.String getFormat()
           
 java.lang.String getLogMessage()
           
 java.io.File getSrc()
           
 java.util.List getTables()
           
 void setFormat(java.lang.String format)
           
 void setSort(boolean sort)
           
 void setSrc(java.io.File src)
           
 java.lang.String toString()
           
 
Methods inherited from class org.dbunit.ant.AbstractStep
getDatabaseDataSet, getSrcDataSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Compare

public Compare()
Method Detail

getSrc

public java.io.File getSrc()

setSrc

public void setSrc(java.io.File src)

setSort

public void setSort(boolean sort)

getFormat

public java.lang.String getFormat()

setFormat

public void setFormat(java.lang.String format)

getTables

public java.util.List getTables()

addTable

public void addTable(Table table)

addQuery

public void addQuery(Query query)

execute

public void execute(IDatabaseConnection connection)
             throws DatabaseUnitException
Throws:
DatabaseUnitException

getLogMessage

public java.lang.String getLogMessage()

toString

public java.lang.String toString()


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