Package org.dbunit.ant
Class Compare
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.dbunit.ant.AbstractStep
org.dbunit.ant.Compare
- All Implemented Interfaces:
Cloneable,DbUnitTaskStep
The
Compare class is the step that compare the content of the
database against the specified dataset.- Since:
- Apr 3, 2004
- Version:
- $Revision$
- Author:
- Manuel Laflamme
- See Also:
-
Field Summary
Fields inherited from class org.dbunit.ant.AbstractStep
FORMAT_CSV, FORMAT_DTD, FORMAT_FLAT, FORMAT_XLS, FORMAT_XML, FORMAT_YMLFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidexecute(IDatabaseConnection connection) getSrc()voidvoidsetSort(boolean sort) voidtoString()Methods inherited from class org.dbunit.ant.AbstractStep
checkDataFormat, getDatabaseDataSet, getInputSource, getSrcDataSet, isDataFormat, isOrdered, setOrderedMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
-
Constructor Details
-
Compare
public Compare()
-
-
Method Details
-
getSrc
-
setSrc
-
setSort
public void setSort(boolean sort) -
getFormat
-
setFormat
-
getTables
-
addTable
-
addQuery
-
execute
- Throws:
DatabaseUnitException
-
getLogMessage
-
toString
- Overrides:
toStringin classAbstractStep
-