A B C D E F G H I M O P R S T U W

A

addColumn(Column) - Method in class org.unitils.dbunit.dataset.Row
Adds a column to the row.
addColumn(Column) - Method in class org.unitils.dbunit.dataset.Table
 
addColumn(Column) - Method in class org.unitils.dbunit.datasetfactory.impl.DbUnitTable
 
addColumn(Column) - Method in class org.unitils.dbunit.datasetfactory.impl.DbUnitTableMetaData
 
addColumnDifference(ColumnDifference) - Method in class org.unitils.dbunit.dataset.comparison.RowDifference
Adds a difference for a column
addColumns(Column[]) - Method in class org.unitils.dbunit.dataset.Table
 
addMissingColumn(Column) - Method in class org.unitils.dbunit.dataset.comparison.RowDifference
Adds a column that was not found in the actual row
addMissingRow(Row) - Method in class org.unitils.dbunit.dataset.comparison.TableDifference
Adds a rows for which no other row was found in the actual table.
addMissingTable(Table) - Method in class org.unitils.dbunit.dataset.comparison.SchemaDifference
Adds a table that was not found in the actual schema
addPrimaryKeyColumn(Column) - Method in class org.unitils.dbunit.dataset.Row
Adds a column to the row.
addRow(Row) - Method in class org.unitils.dbunit.dataset.Table
Adds a data set row
addRow(List<?>) - Method in class org.unitils.dbunit.datasetfactory.impl.DbUnitTable
 
addRow(Attributes, DbUnitTable) - Method in class org.unitils.dbunit.util.MultiSchemaXmlDataSetReader.DataSetContentHandler
Gets column names and row values from the given attribute and adds a new row to the given table.
addRows(ITable, Table, List<String>) - Method in class org.unitils.dbunit.dataset.SchemaFactory
Adds the rows of the DbUnit table to the given table.
addTable(Table) - Method in class org.unitils.dbunit.dataset.Schema
Adds a table to the schema.
addTable(DbUnitTable) - Method in class org.unitils.dbunit.datasetfactory.impl.DbUnitDataSet
 
addTableDifference(TableDifference) - Method in class org.unitils.dbunit.dataset.comparison.SchemaDifference
Adds a result of a table comparison
addTables(IDataSet, Schema) - Method in class org.unitils.dbunit.dataset.SchemaFactory
Adds the tables of the DbUnit dataset to the given schema.
afterInit() - Method in class org.unitils.dbunit.DbUnitModule
No after initialization needed for this module
afterTestMethod(Object, Method, Throwable) - Method in class org.unitils.dbunit.DbUnitModule.DbUnitListener
 
appendBestRowDifferences(TableDifference, StringBuilder) - Method in class org.unitils.dbunit.util.DataSetAssert
Appends the best matching row differences of the given table difference to the result
appendColumnNames(Row, StringBuilder) - Method in class org.unitils.dbunit.util.DataSetAssert
Appends the column names of the given row to the result
appendMissingRowDifferences(TableDifference, StringBuilder) - Method in class org.unitils.dbunit.util.DataSetAssert
Appends the missing rows of the given table difference to the result
appendMissingTableDifferences(SchemaDifference, StringBuilder) - Method in class org.unitils.dbunit.util.DataSetAssert
Appends the missing tables of the given schema difference to the result
appendRow(Row, StringBuilder) - Method in class org.unitils.dbunit.util.DataSetAssert
Appends the values of the given row to the result
appendSchemaContent(Schema, Schema, StringBuilder) - Method in class org.unitils.dbunit.util.DataSetAssert
Appends all rows and tables of the actual schema to the result.
appendTableDifferences(SchemaDifference, StringBuilder) - Method in class org.unitils.dbunit.util.DataSetAssert
Appends the table differences of the given schema difference to the result
appendTableName(Schema, Table, StringBuilder) - Method in class org.unitils.dbunit.util.DataSetAssert
Appends the schema and table name to the result
assertDbContentAsExpected(Method, Object) - Method in class org.unitils.dbunit.DbUnitModule
Compares the contents of the expected DbUnitDataSet with the contents of the database.
assertEqualDbUnitDataSets(String, IDataSet, IDataSet) - Method in class org.unitils.dbunit.util.DataSetAssert
Asserts that the given expected DbUnit data set is equal to the actual DbUnit data set.
assertEqualSchemas(Schema, Schema) - Method in class org.unitils.dbunit.util.DataSetAssert
Asserts that the given expected schema is equal to the actual schema.
assertExpectedDataSets(ExpectedDataSet, Object, Method) - Method in class org.unitils.dbunit.DbUnitModule
 
assertMultipleExpectedDataSets(ExpectedDataSets, Object, Method) - Method in class org.unitils.dbunit.DbUnitModule
 

B

BaseDataSetLoadStrategy - Class in org.unitils.dbunit.datasetloadstrategy.impl
Base implementation of DataSetLoadStrategy.
BaseDataSetLoadStrategy() - Constructor for class org.unitils.dbunit.datasetloadstrategy.impl.BaseDataSetLoadStrategy
 
beforeTestSetUp(Object, Method) - Method in class org.unitils.dbunit.DbUnitModule.DbUnitListener
 

C

CleanInsertLoadStrategy - Class in org.unitils.dbunit.datasetloadstrategy.impl
DataSetLoadStrategy that inserts a dataset, after removal of all data present in the tables specified in the dataset.
CleanInsertLoadStrategy() - Constructor for class org.unitils.dbunit.datasetloadstrategy.impl.CleanInsertLoadStrategy
 
close() - Method in class org.unitils.dbunit.util.DbUnitDatabaseConnection
Method that is invoked by DBUnit when the connection is no longer needed.
closeJdbcConnection() - Method in class org.unitils.dbunit.DbUnitModule
Closes (i.e. return to the pool) the JDBC Connection that is currently in use by the DbUnitDatabaseConnection
closeJdbcConnection() - Method in class org.unitils.dbunit.util.DbUnitDatabaseConnection
Closes the Connection that was last retrieved using the DbUnitDatabaseConnection.getConnection() method
Column - Class in org.unitils.dbunit.dataset
A column in a data set row
Column(String, DataType, Object) - Constructor for class org.unitils.dbunit.dataset.Column
Creates a value
ColumnDifference - Class in org.unitils.dbunit.dataset.comparison
The difference between 2 column values.
ColumnDifference(Column, Column) - Constructor for class org.unitils.dbunit.dataset.comparison.ColumnDifference
Creates a column difference.
columnNames - Variable in class org.unitils.dbunit.datasetfactory.impl.DbUnitTableMetaData
 
columns - Variable in class org.unitils.dbunit.datasetfactory.impl.DbUnitTableMetaData
 
compare(Column) - Method in class org.unitils.dbunit.dataset.Column
Compares the column with the given actual column.
compare(Row) - Method in class org.unitils.dbunit.dataset.Row
Compares the row with the given actual row.
compare(Schema) - Method in class org.unitils.dbunit.dataset.Schema
Compares the schema with the given actual schema.
compare(Table) - Method in class org.unitils.dbunit.dataset.Table
Compares the table with the given actual table.
compareColumns(List<Column>, Row, RowDifference) - Method in class org.unitils.dbunit.dataset.Row
Compares the given columns with the columns of the actual row.
compareRows(List<Row>, Table, TableDifference) - Method in class org.unitils.dbunit.dataset.Table
Compares the given rows with the columns of the actual table.
configuration - Variable in class org.unitils.dbunit.DbUnitModule
The unitils configuration
createDataSet(File...) - Method in interface org.unitils.dbunit.datasetfactory.DataSetFactory
Creates a MultiSchemaDataSet using the given file.
createDataSet(File...) - Method in class org.unitils.dbunit.datasetfactory.impl.MultiSchemaXmlDataSetFactory
Creates a MultiSchemaDataSet using the given file.
createDataSet(InputStream...) - Method in class org.unitils.dbunit.datasetfactory.impl.ResourceMultiSchemaXmlDataSetFactory
Creates a MultiSchemaDataSet
createDataSet(File...) - Method in class org.unitils.dbunit.datasetfactory.impl.ResourceMultiSchemaXmlDataSetFactory
The dataSetFiles are converted into inputstreams and than the MultiSchemaDataSet is created.
createDbUnitConnection(String) - Method in class org.unitils.dbunit.DbUnitModule
Creates a new instance of dbUnit's IDatabaseConnection
createIterator(boolean) - Method in class org.unitils.dbunit.datasetfactory.impl.DbUnitDataSet
 
createSchemaForDbUnitDataSet(String, IDataSet) - Method in class org.unitils.dbunit.dataset.SchemaFactory
Creates a data set schema for the given DbUnit dataset.
createSchemaForDbUnitDataSet(String, IDataSet, List<String>) - Method in class org.unitils.dbunit.dataset.SchemaFactory
Creates a data set schema for the given DbUnit dataset.
createTempFile(String) - Method in class org.unitils.dbunit.util.FileHandler
Create temporary files to store the XML.
createXMLReader() - Method in class org.unitils.dbunit.util.MultiSchemaXmlDataSetReader
Factory method for creating the SAX xml reader.

D

databaseName - Variable in class org.unitils.dbunit.DbUnitModule
 
DataSet - Annotation Type in org.unitils.dbunit.annotation
Annotation indicating that a data set should be loaded before the test run.
DataSetAssert - Class in org.unitils.dbunit.util
Assert class that offers assert methods for testing things that are specific to DbUnit.
DataSetAssert() - Constructor for class org.unitils.dbunit.util.DataSetAssert
 
DataSetFactory - Interface in org.unitils.dbunit.datasetfactory
Factory for creating DbUnit data sets.
DataSetLoadStrategy - Interface in org.unitils.dbunit.datasetloadstrategy
Defines the contract for implementations that specify an operation that needs to be executed on the database, given a DbUnit dataset.
DataSetResolver - Interface in org.unitils.dbunit.datasetfactory
Resolves the location for a data set with a certain name.
DataSets - Annotation Type in org.unitils.dbunit.annotation
Multiple DataSet.
DbUnitDatabaseConnection - Class in org.unitils.dbunit.util
Implementation of DBUnits IDatabaseConnection interface.
DbUnitDatabaseConnection(DataSource, String) - Constructor for class org.unitils.dbunit.util.DbUnitDatabaseConnection
Creates a new instance that wraps the given DataSource
dbUnitDatabaseConnections - Variable in class org.unitils.dbunit.DbUnitModule
Objects that D513 bUnit uses to connect to the database and to cache some database metadata.
DbUnitDataSet - Class in org.unitils.dbunit.datasetfactory.impl
 
DbUnitDataSet() - Constructor for class org.unitils.dbunit.datasetfactory.impl.DbUnitDataSet
 
dbUnitDataSetsPerSchemaName - Variable in class org.unitils.dbunit.util.MultiSchemaXmlDataSetReader.DataSetContentHandler
 
DbUnitModule - Class in org.unitils.dbunit
Module that provides support for managing database test data using DBUnit.
DbUnitModule() - Constructor for class org.unitils.dbunit.DbUnitModule
 
DbUnitModule.DbUnitListener - Class in org.unitils.dbunit
Test listener that is called while the test framework is running tests
DbUnitModule.DbUnitListener() - Constructor for class org.unitils.dbunit.DbUnitModule.DbUnitListener
 
DbUnitTable - Class in org.unitils.dbunit.datasetfactory.impl
 
DbUnitTable(String) - Constructor for class org.unitils.dbunit.datasetfactory.impl.DbUnitTable
 
DbUnitTableMetaData - Class in org.unitils.dbunit.datasetfactory.impl
 
DbUnitTableMetaData(String) - Constructor for class org.unitils.dbunit.datasetfactory.impl.DbUnitTableMetaData
 
DbUnitUnitils - Class in org.unitils.dbunit
Class providing access to the functionality of the dbunit module using static methods.
DbUnitUnitils() - Constructor for class org.unitils.dbunit.DbUnitUnitils
 
defaultAnnotationPropertyValues - Variable in class org.unitils.dbunit.DbUnitModule
Map holding the default configuration of the dbunit module annotations
DefaultDataSetResolver - Class in org.unitils.dbunit.datasetfactory.impl
Resolves the location for a data set with a certain name.
DefaultDataSetResolver() - Constructor for class org.unitils.dbunit.datasetfactory.impl.DefaultDataSetResolver
 
defaultSchemaName - Variable in class org.unitils.dbunit.datasetfactory.impl.MultiSchemaXmlDataSetFactory
The schema name to use when no name was explicitly specified.
defaultSchemaName - Variable in class org.unitils.dbunit.util.MultiSchemaXmlDataSetReader.DataSetContentHandler
 
deleteFiles(List<File>) - Method in class org.unitils.dbunit.util.FileHandler
Delete all the files
disableValidation(SAXParserFactory) - Method in class org.unitils.dbunit.util.MultiSchemaXmlDataSetReader
Disables validation on the given sax parser factory.
doExecute(DbUnitDatabaseConnection, IDataSet) - Method in class org.unitils.dbunit.datasetloadstrategy.impl.BaseDataSetLoadStrategy
Executes this DataSetLoadStrategy.
doExecute(DbUnitDatabaseConnection, IDataSet) - Method in class org.unitils.dbunit.datasetloadstrategy.impl.CleanInsertLoadStrategy
Executes this DataSetLoadStrategy.
doExecute(DbUnitDatabaseConnection, IDataSet) - Method in class org.unitils.dbunit.datasetloadstrategy.impl.InsertLoadStrategy
Executes this DataSetLoadStrategy.
doExecute(DbUnitDatabaseConnection, IDataSet) - Method in class org.unitils.dbunit.datasetloadstrategy.impl.RefreshLoadStrategy
Executes this DataSetLoadStrategy.
doExecute(DbUnitDatabaseConnection, IDataSet) - Method in class org.unitils.dbunit.datasetloadstrategy.impl.UpdateLoadStrategy
 

E

error(SAXParseException) - Method in class org.unitils.dbunit.util.MultiSchemaXmlDataSetReader.DataSetContentHandler
Overridden to rethrow exception.
execute(DbUnitDatabaseConnection, IDataSet) - Method in interface org.unitils.dbunit.datasetloadstrategy.DataSetLoadStrategy
Executes this DataSetLoadStrategy.
execute(DbUnitDatabaseConnection, IDataSet) - Method in class org.unitils.dbunit.datasetloadstrategy.impl.BaseDataSetLoadStrategy
Executes this DataSetLoadStrategy.
ExpectedDataSet - Annotation Type in org.unitils.dbunit.annotation
Annotation indicating that after having executed a test method, the contents of the unit test database should be equal to the contents of a data set.
ExpectedDataSets - Annotation Type in org.unitils.dbunit.annotation
Multiple ExpectedDataSet.

F

FileHandler - Class in org.unitils.dbunit.util
FileHandler: Util class for DbUnitModule..
FileHandler() - Constructor for class org.unitils.dbunit.util.FileHandler
 
fileResolver - Variable in class org.unitils.dbunit.datasetfactory.impl.DefaultDataSetResolver
 

G

generateErrorMessage(SchemaDifference) - Method in class org.unitils.dbunit.util.DataSetAssert
Formats the assertion failed message for the given difference.
getActualColumn() - Method in class org.unitils.dbunit.dataset.comparison.ColumnDifference
 
getActualDataSet(String) - Method in class org.unitils.dbunit.DbUnitModule
Gets the actual data set for the given schema.
getActualRow() - Method in class org.unitils.dbunit.dataset.comparison.RowDifference
 
getActualSchema() - Method in class org.unitils.dbunit.dataset.comparison.SchemaDifference
 
getActualTable() - Method in class org.unitils.dbunit.dataset.comparison.TableDifference
 
getBestRowDifference(Row) - Method in class org.unitils.dbunit.dataset.comparison.TableDifference
 
getBestRowDifferences() - Method in class org.unitils.dbunit.dataset.comparison.TableDifference
 
getCastedValue(DataType) - Method in class org.unitils.dbunit.dataset.Column
Gets the value casted to the given type.
getColumn() - Method in class org.unitils.dbunit.dataset.comparison.ColumnDifference
 
getColumn(String) - Method in class org.unitils.dbunit.dataset.Row
Gets the column for the given name.
getColumnDifference(String) - Method in class org.unitils.dbunit.dataset.comparison.RowDifference
 
getColumnDifferences() - Method in class org.unitils.dbunit.dataset.comparison.RowDifference
 
getColumnNames() - Method in class org.unitils.dbunit.datasetfactory.impl.DbUnitTable
 
getColumnNames() - Method in class org.unitils.dbunit.datasetfactory.impl.DbUnitTableMetaData
 
getColumns() - Method in class org.unitils.dbunit.dataset.Row
 
getColumns() - Method in class org.unitils.dbunit.dataset.Table
 
getColumns() - Method in class org.unitils.dbunit.datasetfactory.impl.DbUnitTableMetaData
 
getConnection() - Method in class org.unitils.dbunit.util.DbUnitDatabaseConnection
Returns a Connection that can be used by DBUnit.
getCorrectFileName(Class<?>, Method, String) - Method in class org.unitils.dbunit.DbUnitModule
 
getDatabaseModule() - Method in class org.unitils.dbunit.DbUnitModule
 
getDataSet(DataSet, Method, Class<?>) - Method in class org.unitils.dbunit.DbUnitModule
Using the values of the method-level or class-level DataSet annotations, returns the data set for the given test method.
getDataSet(Class<?>, String[], DataSetFactory) - Method in class org.unitils.dbunit.DbUnitModule
Creates the dataset for the given file.
getDataSetFactory(Class<? extends Annotation>, Method, Class<?>) - Method in class org.unitils.dbunit.DbUnitModule
Get the configured DataSetFactory for the given method
getDataSetFactory(Class<? extends DataSetFactory>) - Method in class org.unitils.dbunit.DbUnitModule
Creates and initializes a data set factory of the given type.
getDataSetFileExtension() - Method in interface org.unitils.dbunit.datasetfactory.DataSetFactory
 
getDataSetFileExtension() - Method in class org.unitils.dbunit.datasetfactory.impl.MultiSchemaXmlDataSetFactory
 
getDataSetForSchema(String) - Method in class org.unitils.dbunit.util.MultiSchemaDataSet
Returns the dbunit IDataSet for the given schema name, if any
getDataSetLoadStrategy(Method, Class<?>, DataSet) - Method in class org.unitils.dbunit.DbUnitModule
Creates the DbUnit dataset operation for loading a data set for the given method.
getDataSetResolver() - Method in class org.unitils.dbunit.DbUnitModule
 
getDataSetsSorted(DataSets) - Method in class org.unitils.dbunit.DbUnitModule
 
getDbUnitDatabaseConnection(String) - Method in class org.unitils.dbunit.DbUnitModule
Gets the DbUnit connection or creates one if it does not exist yet.
getDbUnitTable(String) - Method in class org.unitils.dbunit.datasetfactory.impl.DbUnitDataSet
 
getDefaultDatabaseMetaHandler() - Method in class org.unitils.dbunit.DbUnitModule
 
getDefaultDataSetFactory() - Method in class org.unitils.dbunit.DbUnitModule
 
getDefaultDataSetFileNameClassLevel(Class<?>, String) - Method in class org.unitils.dbunit.DbUnitModule
Gets the name of the default testdata file at class level The default name is constructed as follows: 'classname without packagename'.xml
getDefaultDataSetFileNameMethodLevel(Class<?>, Method, String) - Method in class org.unitils.dbunit.DbUnitModule
Gets the name of the default testdata file at class level The default name is constructed as follows: 'classname without packagename'-"testmethod".xml
getDefaultDataSetLoadStrategy() - Method in class org.unitils.dbunit.DbUnitModule
 
getDefaultDbSupport() - Method in class org.unitils.dbunit.DbUnitModule
 
getDefaultExpectedDataSetFileName(Method, Class<?>, String) - Method in class org.unitils.dbunit.DbUnitModule
Gets the name of the expected dataset file.
getDefaultSchemaName() - Method in class org.unitils.dbunit.util.MultiSchemaXmlDataSetReaderExtend
 
getExpectedDataSet(ExpectedDataSet, Method, Object) - Method in class org.unitils.dbunit.DbUnitModule
Returns the MultiSchemaDataSet that represents the state of a number of database tables after the given Method has been executed.
getMissingColumns() - Method in class org.unitils.dbunit.dataset.comparison.RowDifference
 
getMissingRows() - Method in class org.unitils.dbunit.dataset.comparison.TableDifference
 
getMissingTables() - Method in class org.unitils.dbunit.dataset.comparison.SchemaDifference
 
getMultiSchemaDataSet() - Method in class org.unitils.dbunit.util.MultiSchemaXmlDataSetReader.DataSetContentHandler
Gets the result data set.
getName() - Method in class org.unitils.dbunit.dataset.Column
 
getName() - Method in class org.unitils.dbunit.dataset.Schema
 
getName() - Method in class org.unitils.dbunit.dataset.Table
 
getNativeConnection(Connection) - Method in class org.unitils.dbunit.util.DbUnitDatabaseConnection
 
getPrimaryKeyColumnNames(ITable) - Method in class org.unitils.dbunit.dataset.SchemaFactory
Gets the primary key column names for the given DbUnit table.
getPrimaryKeyColumns() - Method in class org.unitils.dbunit.dataset.Row
 
getPrimaryKeys() - Method in class org.unitils.dbunit.datasetfactory.impl.DbUnitTableMetaData
 
getResourcePickingStrategie() - Method in class org.unitils.dbunit.DbUnitModule
use unitil property instead of hardcoding
getRow() - Method in class org.unitils.dbunit.dataset.comparison.RowDifference
 
getRowCount() - Method in class org.unitils.dbunit.datasetfactory.impl.DbUnitTable
 
getRows() - Method in class org.unitils.dbunit.dataset.Table
 
getSchema() - Method in class org.unitils.dbunit.dataset.comparison.SchemaDifference
 
getSchema() - Method in class org.unitils.dbunit.util.DbUnitDatabaseConnection
 
getSchemaNames() - Method in class org.unitils.dbunit.util.MultiSchemaDataSet
 
getTable() - Method in class org.unitils.dbunit.dataset.comparison.TableDifference
 
getTable(String) - Method in class org.unitils.dbunit.dataset.Schema
Gets the table for the given name.
getTable(String) - Method in class org.unitils.dbunit.datasetfactory.impl.DbUnitDataSet
 
getTableDifferences() - Method in class org.unitils.dbunit.dataset.comparison.SchemaDifference
 
getTableMetaData() - Method in class org.unitils.dbunit.datasetfactory.impl.DbUnitTable
 
getTableName() - Method in class org.unitils.dbunit.datasetfactory.impl.DbUnitTableMetaData
 
getTableNames() - Method in class org.unitils.dbunit.dataset.Schema
 
getTables() - Method in class org.unitils.dbunit.dataset.Schema
 
getTestListener() - Method in class org.unitils.dbunit.DbUnitModule
 
getType() - Method in class org.unitils.dbunit.dataset.Column
 
getValue() - Method in class org.unitils.dbunit.dataset.Column
 
getValue(int, String) - Method in class org.unitils.dbunit.datasetfactory.impl.DbUnitTable
 

H

handleDataSetResource(ClassPathDataLocator, String, ResourcePickingStrategie, Class<?>) - Method in class org.unitils.dbunit.DbUnitModule
 
hasDifferentPrimaryKeyColumns(Row) - Method in class org.unitils.dbunit.dataset.Row
 

I

init(Properties, String) - Method in interface org.unitils.dbunit.datasetfactory.DataSetFactory
Initializes this DataSetFactory
init(Properties) - Method in class org.unitils.dbunit.datasetfactory.impl.DefaultDataSetResolver
Initializes the resolver with the given configuration.
init(Properties, String) - Method in class org.unitils.dbunit.datasetfactory.impl.MultiSchemaXmlDataSetFactory
Initializes this DataSetFactory
init(Properties) - Method in class org.unitils.dbunit.DbUnitModule
Initializes the DbUnitModule using the given Configuration
insertDataSet(Method, Object) - Method in class org.unitils.dbunit.DbUnitModule
This method will first try to load a method level defined dataset.
insertDataSet(DataSet, Object, Method) - Method in class org.unitils.dbunit.DbUnitModule
 
insertDataSet(Class<?>, String...) - Method in class org.unitils.dbunit.DbUnitModule
Inserts the dataset consisting of the given list of files into the database
insertDataSet(File) - Method in class org.unitils.dbunit.DbUnitModule
Inserts the test data coming from the given DbUnit dataset file using the default DataSetLoadStrategy and DataSetFactory class.
insertDataSet(File, Class<? extends DataSetFactory>, Class<? extends DataSetLoadStrategy>) - Method in class org.unitils.dbunit.DbUnitModule
Inserts the test data coming from the given DbUnit dataset file.
insertDataSet(MultiSchemaDataSet, DataSetLoadStrategy) - Method in class org.unitils.dbunit.DbUnitModule
Loads the given multi schema dataset into the database, using the given loadstrategy
insertDataSet(String...) - Static method in class org.unitils.dbunit.DbUnitUnitils
Inserts the dataset consisting of the given list of files into the database
insertDataSet(File) - Static method in class org.unitils.dbunit.DbUnitUnitils
Inserts the test data coming from the given DbUnit dataset file, using the default DataSetLoadStrategy and DataSetFactory class.
insertDataSet(File, Class<? extends DataSetFactory>, Class<? extends DataSetLoadStrategy>) - Static method in class org.unitils.dbunit.DbUnitUnitils
Inserts the test data coming from the given DbUnit dataset file.
insertDataSets(DataSets, Object, Method) - Method in class org.unitils.dbunit.DbUnitModule
 
insertDefaultDataSet(Class<?>) - Method in class org.unitils.dbunit.DbUnitModule
Inserts the default dataset for the given test class into the database
insertDefaultDataSet() - Static method in class org.unitils.dbunit.DbUnitUnitils
Inserts the default dataset for the given test class into the database
InsertLoadStrategy - Class in org.unitils.dbunit.datasetloadstrategy.impl
DataSetLoadStrategy that inserts the contents of the dataset into the database.
InsertLoadStrategy() - Constructor for class org.unitils.dbunit.datasetloadstrategy.impl.InsertLoadStrategy
 
isBetterMatch(RowDifference) - Method in class org.unitils.dbunit.dataset.comparison.RowDifference
 
isEmpty() - Method in class org.unitils.dbunit.dataset.Table
 
isMatch() - Method in class org.unitils.dbunit.dataset.comparison.RowDifference
 
isMatch() - Method in class org.unitils.dbunit.dataset.comparison.SchemaDifference
 
isMatch() - Method in class org.unitils.dbunit.dataset.comparison.TableDifference
 

M

MultiSchemaDataSet - Class in org.unitils.dbunit.util
Represents a DbUnit dataset that may contain data for multiple database schema's.
MultiSchemaDataSet() - Constructor for class org.unitils.dbunit.util.MultiSchemaDataSet
 
MultiSchemaXmlDataSetFactory - Class in org.unitils.dbunit.datasetfactory.impl
A data set factory that can handle data set definitions for multiple database schemas.
MultiSchemaXmlDataSetFactory() - Constructor for class org.unitils.dbunit.datasetfactory.impl.MultiSchemaXmlDataSetFactory
 
MultiSchemaXmlDataSetReader - Class in org.unitils.dbunit.util
A reader for DbUnit xml datasets that creates a new ITable instance for each element (row).
MultiSchemaXmlDataSetReader(String) - Constructor for class org.unitils.dbunit.util.MultiSchemaXmlDataSetReader
Creates a data set reader.
MultiSchemaXmlDataSetReader.DataSetContentHandler - Class in org.unitils.dbunit.util
The xml content handler that is going to create the data sets.
MultiSchemaXmlDataSetReader.DataSetContentHandler(String) - Constructor for class org.unitils.dbunit.util.MultiSchemaXmlDataSetReader.DataSetContentHandler
Creates a data set SAX content handler
MultiSchemaXmlDataSetReaderExtend - Class in org.unitils.dbunit.util
A simple extension on th allowing to work with inputstreams instead of Files.
MultiSchemaXmlDataSetReaderExtend(String) - Constructor for class org.unitils.dbunit.util.MultiSchemaXmlDataSetReaderExtend
 

O

org.unitils.dbunit - package org.unitils.dbunit
 
org.unitils.dbunit.annotation - package org.unitils.dbunit.annotation
 
org.unitils.dbunit.dataset - package org.unitils.dbunit.dataset
 
org.unitils.dbunit.dataset.comparison - package org.unitils.dbunit.dataset.comparison
 
org.unitils.dbunit.datasetfactory - package org.unitils.dbunit.datasetfactory
 
org.unitils.dbunit.datasetfactory.impl - package org.unitils.dbunit.datasetfactory.impl
 
org.unitils.dbunit.datasetloadstrategy - package org.unitils.dbunit.datasetloadstrategy
 
org.unitils.dbunit.datasetloadstrategy.impl - package org.unitils.dbunit.datasetloadstrategy.impl
 
org.unitils.dbunit.util - package org.unitils.dbunit.util
 

P

PROPERTY_METAHANDLER - Static variable in class org.unitils.dbunit.DbUnitModule
 
PROPKEY_DATA_SET_PATH_PREFIX - Static variable in class org.unitils.dbunit.datasetfactory.impl.DefaultDataSetResolver
 
PROPKEY_PREFIX_WITH_PACKAGE_NAME - Static variable in class org.unitils.dbunit.datasetfactory.impl.DefaultDataSetResolver
 

R

readDataSetXml(File...) - Method in class org.unitils.dbunit.util.MultiSchemaXmlDataSetReader
Parses the datasets from the given files.
readDataSetXml(List<InputStream>) - Method in class org.unitils.dbunit.util.MultiSchemaXmlDataSetReaderExtend
Parses the datasets from the given inputStreams.
RefreshLoadStrategy - Class in org.unitils.dbunit.datasetloadstrategy.impl
DataSetLoadStrategy that 'refreshes' the contents of the database with the contents of the dataset.
RefreshLoadStrategy() - Constructor for class org.unitils.dbunit.datasetloadstrategy.impl.RefreshLoadStrategy
 
resolve(Class<?>, String) - Method in interface org.unitils.dbunit.datasetfactory.DataSetResolver
Resolves the location for a data set with a certain name.
resolve(Class<?>, String) - Method in class org.unitils.dbunit.datasetfactory.impl.DefaultDataSetResolver
Resolves the location for a data set with a certain name.
ResourceMultiSchemaXmlDataSetFactory - Class in org.unitils.dbunit.datasetfactory.impl
ResourceMultiSchemaXmlDataSetFactory - A factory to create datasets for ResourceDataSet and ExpectedResourceDataSet .
ResourceMultiSchemaXmlDataSetFactory() - Constructor for class org.unitils.dbunit.datasetfactory.impl.ResourceMultiSchemaXmlDataSetFactory
 
Row - Class in org.unitils.dbunit.dataset
A data set row
Row() - Constructor for class org.unitils.dbunit.dataset.Row
 
RowDifference - Class in org.unitils.dbunit.dataset.comparison
The difference between 2 data set rows.
RowDifference(Row, Row) - Constructor for class org.unitils.dbunit.dataset.comparison.RowDifference
Create a row difference.
rows - Variable in class org.unitils.dbunit.datasetfactory.impl.DbUnitTable
 

S

Schema - Class in org.unitils.dbunit.dataset
A data set schema
Schema(String) - Constructor for class org.unitils.dbunit.dataset.Schema
Creates a data set schema.
schemaDataSetMap - Variable in class org.unitils.dbunit.util.MultiSchemaDataSet
 
SchemaDifference - Class in org.unitils.dbunit.dataset.comparison
The differences between 2 data set schemas.
SchemaDifference(Schema, Schema) - Constructor for class org.unitils.dbunit.dataset.comparison.SchemaDifference
Create a schema difference.
SchemaFactory - Class in org.unitils.dbunit.dataset
A builder for creating data set schemas.
SchemaFactory() - Constructor for class org.unitils.dbunit.dataset.SchemaFactory
 
scriptExtension - Variable in class org.unitils.dbunit.DbUnitModule
 
setDataSetForSchema(String, IDataSet) - Method in class org.unitils.dbunit.util.MultiSchemaDataSet
Sets a dbunit IDataSet for the given schema.
setDefaultSchemaName(String) - Method in class org.unitils.dbunit.util.MultiSchemaXmlDataSetReaderExtend
 
setIfBestRowDifference(RowDifference) - Method in class org.unitils.dbunit.dataset.comparison.TableDifference
Sets the given difference as best row difference if it is better than the current best row difference.
setMatchingRow(Row, Row) - Method in class org.unitils.dbunit.dataset.comparison.TableDifference
Indicates a match for the given row.
shouldIgnoreTable(String, List<String>) - Method in class org.unitils.dbunit.dataset.SchemaFactory
 
startElement(String, String, String, Attributes) - Method in class org.unitils.dbunit.util.MultiSchemaXmlDataSetReader.DataSetContentHandler
Processes an xml element.

T

Table - Class in org.unitils.dbunit.dataset
A data set table
Table(String) - Constructor for class org.unitils.dbunit.dataset.Table
Creates a data set table.
TableDifference - Class in org.unitils.dbunit.dataset.comparison
The differences between 2 data set tables.
TableDifference(Table, Table) - Constructor for class org.unitils.dbunit.dataset.comparison.TableDifference
Creates a table difference.
tableMetaData - Variable in class org.unitils.dbunit.datasetfactory.impl.DbUnitTable
 
tableName - Variable in class org.unitils.dbunit.datasetfactory.impl.DbUnitTableMetaData
 
tablesPerName - Variable in class org.unitils.dbunit.datasetfactory.impl.DbUnitDataSet
 

U

UpdateLoadStrategy - Class in org.unitils.dbunit.datasetloadstrategy.impl
DataSetLoadStrategy that updates the contents of the database with the contents of the dataset.
UpdateLoadStrategy() - Constructor for class org.unitils.dbunit.datasetloadstrategy.impl.UpdateLoadStrategy
 

W

writeToFile(File, InputStream) - Method in class org.unitils.dbunit.util.FileHandler
Write InputStream to File

A B C D E F G H I M O P R S T U W

Copyright © 2014. All Rights Reserved.