| Package | Description |
|---|---|
| org.unitils.dbunit | |
| org.unitils.dbunit.datasetfactory.impl |
| Modifier and Type | Method and Description |
|---|---|
protected DataSetFactory |
DbUnitModule.getDataSetFactory(Class<? extends Annotation> annotationClass,
Method testMethod,
Class<?> testClass)
Get the configured DataSetFactory for the given method
|
protected DataSetFactory |
DbUnitModule.getDataSetFactory(Class<? extends DataSetFactory> dataSetFactoryClass)
Creates and initializes a data set factory of the given type.
|
protected DataSetFactory |
DbUnitModule.getDefaultDataSetFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected MultiSchemaDataSet |
DbUnitModule.getDataSet(Class<?> testClass,
String[] dataSetFileNames,
DataSetFactory dataSetFactory)
Creates the dataset for the given file.
|
| Modifier and Type | Method and Description |
|---|---|
protected DataSetFactory |
DbUnitModule.getDataSetFactory(Class<? extends DataSetFactory> dataSetFactoryClass)
Creates and initializes a data set factory of the given type.
|
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 |
MultiSchemaXmlDataSetFactory
A data set factory that can handle data set definitions for multiple database schemas.
|
class |
ResourceMultiSchemaXmlDataSetFactory
ResourceMultiSchemaXmlDataSetFactory - A factory to create datasets for
ResourceDataSet and ExpectedResourceDataSet . |
Copyright © 2017. All rights reserved.