public class Compare extends AbstractStep
Compare
class is the step that compare the content of the
database against the specified dataset.DbUnitTaskStep
FORMAT_CSV, FORMAT_DTD, FORMAT_FLAT, FORMAT_XLS, FORMAT_XML
Constructor and Description |
---|
Compare() |
Modifier and Type | Method and Description |
---|---|
void |
addQuery(Query query) |
void |
addTable(Table table) |
void |
execute(IDatabaseConnection connection) |
String |
getFormat() |
String |
getLogMessage() |
File |
getSrc() |
List |
getTables() |
void |
setFormat(String format) |
void |
setSort(boolean sort) |
void |
setSrc(File src) |
String |
toString() |
checkDataFormat, getDatabaseDataSet, getInputSource, getSrcDataSet, isDataFormat, isOrdered, setOrdered
public File getSrc()
public void setSrc(File src)
public void setSort(boolean sort)
public String getFormat()
public void setFormat(String format)
public List getTables()
public void addTable(Table table)
public void addQuery(Query query)
public void execute(IDatabaseConnection connection) throws DatabaseUnitException
DatabaseUnitException
public String getLogMessage()
public String toString()
toString
in class AbstractStep
Copyright © 2002–2016. All rights reserved.