| Package | Description |
|---|---|
| org.unitils.dbunit | |
| org.unitils.dbunit.datasetfactory | |
| org.unitils.dbunit.datasetfactory.impl | |
| org.unitils.dbunit.util |
| Modifier and Type | Method and Description |
|---|---|
protected MultiSchemaDataSet |
DbUnitModule.getDataSet(Class<?> testClass,
String[] dataSetFileNames,
DataSetFactory dataSetFactory)
Creates the dataset for the given file.
|
MultiSchemaDataSet |
DbUnitModule.getDataSet(DataSet dataSet,
Method testMethod,
Class<?> testClass)
Using the values of the method-level or class-level
DataSet annotations, returns the data set for the given test method. |
MultiSchemaDataSet |
DbUnitModule.getExpectedDataSet(ExpectedDataSet expectedDataSetAnnotation,
Method testMethod,
Object testObject)
Returns the
MultiSchemaDataSet that represents the state of a number of database tables after the given Method
has been executed. |
| Modifier and Type | Method and Description |
|---|---|
void |
DbUnitModule.assertExpectedDataSets(MultiSchemaDataSet multiSchemaExpectedDataSet,
Object testObject) |
protected void |
DbUnitModule.insertDataSet(MultiSchemaDataSet multiSchemaDataSet,
DataSetLoadStrategy dataSetLoadStrategy)
Loads the given multi schema dataset into the database, using the given loadstrategy
|
| Modifier and Type | Method and Description |
|---|---|
MultiSchemaDataSet |
DataSetFactory.createDataSet(File... dataSetFiles)
Creates a
MultiSchemaDataSet using the given file. |
| Modifier and Type | Method and Description |
|---|---|
MultiSchemaDataSet |
ResourceMultiSchemaXmlDataSetFactory.createDataSet(File... dataSetFiles)
The dataSetFiles are converted into inputstreams and than the
MultiSchemaDataSet is created. |
MultiSchemaDataSet |
MultiSchemaXmlDataSetFactory.createDataSet(File... dataSetFiles)
Creates a
MultiSchemaDataSet using the given file. |
MultiSchemaDataSet |
ResourceMultiSchemaXmlDataSetFactory.createDataSet(InputStream... inputStreams)
Creates a
MultiSchemaDataSet |
| Modifier and Type | Method and Description |
|---|---|
MultiSchemaDataSet |
MultiSchemaXmlDataSetReader.DataSetContentHandler.getMultiSchemaDataSet()
Gets the result data set.
|
MultiSchemaDataSet |
MultiSchemaXmlDataSetReader.readDataSetXml(File... dataSetFiles)
Parses the datasets from the given files.
|
MultiSchemaDataSet |
MultiSchemaXmlDataSetReaderExtend.readDataSetXml(List<InputStream> inputStreams)
Parses the datasets from the given inputStreams.
|
Copyright © 2016. All Rights Reserved.