| Package | Description |
|---|---|
| org.unitils.dbunit | |
| org.unitils.dbunit.datasetloadstrategy.impl |
| Modifier and Type | Method and Description |
|---|---|
protected DataSetLoadStrategy |
DbUnitModule.getDataSetLoadStrategy(Method testMethod,
Class<?> testClass,
DataSet dataSet)
Creates the DbUnit dataset operation for loading a data set for the given method.
|
protected DataSetLoadStrategy |
DbUnitModule.getDefaultDataSetLoadStrategy() |
| Modifier and Type | Method and Description |
|---|---|
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 |
|---|---|
static void |
DbUnitUnitils.insertDataSet(File dataSetFile,
Class<? extends DataSetFactory> dataSetFactoryClass,
Class<? extends DataSetLoadStrategy> dataSetLoadStrategyClass)
Inserts the test data coming from the given DbUnit dataset file.
|
void |
DbUnitModule.insertDataSet(File dataSetFile,
Class<? extends DataSetFactory> dataSetFactoryClass,
Class<? extends DataSetLoadStrategy> dataSetLoadStrategyClass)
Inserts the test data coming from the given DbUnit dataset file.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BaseDataSetLoadStrategy
Base implementation of
DataSetLoadStrategy. |
class |
CleanInsertLoadStrategy
DataSetLoadStrategy that inserts a dataset, after removal of all data present in the tables specified in the dataset. |
class |
InsertLoadStrategy
DataSetLoadStrategy that inserts the contents of the dataset into the database. |
class |
RefreshLoadStrategy
DataSetLoadStrategy that 'refreshes' the contents of the database with the contents of the dataset. |
class |
UpdateLoadStrategy
DataSetLoadStrategy that updates the contents of the database with the contents of the dataset. |
Copyright © 2016. All Rights Reserved.