Package | Description |
---|---|
org.dbunit | |
org.dbunit.ant | |
org.dbunit.ext.mssql | |
org.dbunit.operation |
Modifier and Type | Method and Description |
---|---|
protected DatabaseOperation |
DatabaseTestCase.getSetUpOperation()
Returns the database operation executed in test setup.
|
protected DatabaseOperation |
AbstractDatabaseTester.getSetUpOperation()
Returns the DatabaseOperation to call when starting the test.
|
protected DatabaseOperation |
DatabaseTestCase.getTearDownOperation()
Returns the database operation executed in test cleanup.
|
protected DatabaseOperation |
AbstractDatabaseTester.getTearDownOperation()
Returns the DatabaseOperation to call when ending the test.
|
Modifier and Type | Method and Description |
---|---|
void |
IDatabaseTester.setSetUpOperation(DatabaseOperation setUpOperation)
Sets the DatabaseOperation to call when starting the test.
|
void |
AbstractDatabaseTester.setSetUpOperation(DatabaseOperation setUpOperation) |
void |
IDatabaseTester.setTearDownOperation(DatabaseOperation tearDownOperation)
Sets the DatabaseOperation to call when ending the test.
|
void |
AbstractDatabaseTester.setTearDownOperation(DatabaseOperation tearDownOperation) |
Modifier and Type | Method and Description |
---|---|
DatabaseOperation |
Operation.getDbOperation() |
Modifier and Type | Class and Description |
---|---|
class |
InsertIdentityOperation
This class disable the MS SQL Server automatic identifier generation for
the execution of inserts.
|
Modifier and Type | Field and Description |
---|---|
static DatabaseOperation |
InsertIdentityOperation.CLEAN_INSERT |
static DatabaseOperation |
InsertIdentityOperation.INSERT |
static DatabaseOperation |
InsertIdentityOperation.REFRESH |
Constructor and Description |
---|
InsertIdentityOperation(DatabaseOperation operation)
Creates a new InsertIdentityOperation object that decorates the
specified operation.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractBatchOperation
Base implementation for database operation that are executed in batch.
|
class |
AbstractOperation |
class |
CloseConnectionOperation
Decorates an operation and close the database connection after executing it.
|
class |
CompositeOperation
This class is a composite that combines multiple database operation in a
single one.
|
class |
DeleteAllOperation
Deletes all rows of tables present in the specified dataset.
|
class |
DeleteOperation
Deletes only the dataset contents from the database.
|
class |
InsertOperation
Inserts the dataset contents into the database.
|
class |
RefreshOperation
This operation literally refreshes dataset contents into the database.
|
class |
TransactionOperation
Decorates an operation and executes within the context of a transaction.
|
class |
TruncateTableOperation
Truncate tables present in the specified dataset.
|
class |
UpdateOperation
Updates the database from the dataset contents.
|
Modifier and Type | Field and Description |
---|---|
static DatabaseOperation |
DatabaseOperation.CLEAN_INSERT |
static DatabaseOperation |
DatabaseOperation.DELETE |
static DatabaseOperation |
DatabaseOperation.DELETE_ALL |
static DatabaseOperation |
DatabaseOperation.INSERT |
static DatabaseOperation |
DatabaseOperation.NONE |
static DatabaseOperation |
DatabaseOperation.REFRESH |
static DatabaseOperation |
DatabaseOperation.TRUNCATE_TABLE |
static DatabaseOperation |
DatabaseOperation.UPDATE |
Modifier and Type | Method and Description |
---|---|
static DatabaseOperation |
DatabaseOperation.CLOSE_CONNECTION(DatabaseOperation operation) |
static DatabaseOperation |
DatabaseOperation.TRANSACTION(DatabaseOperation operation) |
Modifier and Type | Method and Description |
---|---|
static DatabaseOperation |
DatabaseOperation.CLOSE_CONNECTION(DatabaseOperation operation) |
static DatabaseOperation |
DatabaseOperation.TRANSACTION(DatabaseOperation operation) |
Constructor and Description |
---|
CloseConnectionOperation(DatabaseOperation operation)
Creates a CloseConnectionOperation object that decorates the specified
operation.
|
CompositeOperation(DatabaseOperation[] actions)
Creates a new composite operation combining the specified operations.
|
CompositeOperation(DatabaseOperation action1,
DatabaseOperation action2)
Creates a new composite operation combining the two specified operations.
|
TransactionOperation(DatabaseOperation operation)
Creates a TransactionOperation that decorates the specified operation.
|
Copyright © 2002–2017. All rights reserved.