Modifier and Type | Method and Description |
---|---|
static void |
Assertion.assertEquals(IDataSet expectedDataSet,
IDataSet actualDataSet) |
static void |
Assertion.assertEquals(IDataSet expectedDataSet,
IDataSet actualDataSet,
FailureHandler failureHandler) |
static void |
Assertion.assertEquals(ITable expectedTable,
ITable actualTable) |
static void |
Assertion.assertEquals(ITable expectedTable,
ITable actualTable,
Column[] additionalColumnInfo) |
static void |
Assertion.assertEquals(ITable expectedTable,
ITable actualTable,
FailureHandler failureHandler) |
static void |
Assertion.assertEqualsByQuery(IDataSet expectedDataset,
IDatabaseConnection connection,
String sqlQuery,
String tableName,
String[] ignoreCols) |
static void |
Assertion.assertEqualsByQuery(ITable expectedTable,
IDatabaseConnection connection,
String tableName,
String sqlQuery,
String[] ignoreCols) |
static void |
Assertion.assertEqualsIgnoreCols(IDataSet expectedDataset,
IDataSet actualDataset,
String tableName,
String[] ignoreCols) |
static void |
Assertion.assertEqualsIgnoreCols(ITable expectedTable,
ITable actualTable,
String[] ignoreCols) |
Modifier and Type | Method and Description |
---|---|
void |
DbConfig.copyTo(DatabaseConfig config)
Copies the parameters set in this configuration via ant into the given
DatabaseConfig that is used by the dbunit connection. |
void |
Operation.execute(IDatabaseConnection connection) |
void |
DbUnitTaskStep.execute(IDatabaseConnection connection) |
void |
Compare.execute(IDatabaseConnection connection) |
void |
Export.execute(IDatabaseConnection connection) |
protected IDataSet |
AbstractStep.getDatabaseDataSet(IDatabaseConnection connection,
List tables,
boolean forwardonly) |
protected IDataSet |
Export.getExportDataSet(IDatabaseConnection connection)
Creates the dataset that is finally used for the export
|
protected IDataSet |
AbstractStep.getSrcDataSet(File src,
String format,
boolean forwardonly) |
Modifier and Type | Method and Description |
---|---|
void |
DbUnitAssert.assertEquals(IDataSet expectedDataSet,
IDataSet actualDataSet)
Asserts that the two specified dataset are equals.
|
void |
DbUnitAssert.assertEquals(IDataSet expectedDataSet,
IDataSet actualDataSet,
FailureHandler failureHandler)
Asserts that the two specified dataset are equals.
|
void |
DbUnitAssert.assertEquals(ITable expectedTable,
ITable actualTable)
Asserts that the two specified tables are equals.
|
void |
DbUnitAssert.assertEquals(ITable expectedTable,
ITable actualTable,
Column[] additionalColumnInfo)
Asserts that the two specified tables are equals.
|
void |
DbUnitAssert.assertEquals(ITable expectedTable,
ITable actualTable,
FailureHandler failureHandler)
Asserts that the two specified tables are equals.
|
void |
DbUnitAssert.assertEqualsByQuery(IDataSet expectedDataset,
IDatabaseConnection connection,
String sqlQuery,
String tableName,
String[] ignoreCols)
Compare a table from a dataset with a table generated from an sql query.
|
void |
DbUnitAssert.assertEqualsByQuery(ITable expectedTable,
IDatabaseConnection connection,
String tableName,
String sqlQuery,
String[] ignoreCols)
Compare a table with a table generated from an sql query.
|
void |
DbUnitAssert.assertEqualsIgnoreCols(IDataSet expectedDataset,
IDataSet actualDataset,
String tableName,
String[] ignoreCols)
Compare one table present in two datasets ignoring specified columns.
|
void |
DbUnitAssert.assertEqualsIgnoreCols(ITable expectedTable,
ITable actualTable,
String[] ignoreCols)
Compare the given tables ignoring specified columns.
|
Modifier and Type | Class and Description |
---|---|
class |
AmbiguousTableNameException
This exception is thrown by
IDataSet when multiple tables
having the same name are accessible. |
class |
CyclicTablesDependencyException |
Constructor and Description |
---|
DatabaseConnection(Connection connection)
Creates a new
DatabaseConnection . |
DatabaseConnection(Connection connection,
String schema)
Creates a new
DatabaseConnection using a specific schema. |
DatabaseConnection(Connection connection,
String schema,
boolean validate)
Creates a new
DatabaseConnection using a specific schema. |
Modifier and Type | Class and Description |
---|---|
class |
DataSetException
Thrown to indicate that a problem occurred with a dataset.
|
class |
NoPrimaryKeyException |
class |
NoSuchColumnException
Thrown to indicate that a database column has been accessed that does not
exist.
|
class |
NoSuchTableException |
class |
RowOutOfBoundsException |
Modifier and Type | Class and Description |
---|---|
class |
DataTypeException |
class |
TypeCastException |
Constructor and Description |
---|
Db2Connection(Connection connection,
String schema) |
Constructor and Description |
---|
H2Connection(Connection connection,
String schema) |
Constructor and Description |
---|
HsqldbConnection(Connection connection,
String schema) |
Modifier and Type | Method and Description |
---|---|
void |
InsertIdentityOperation.execute(IDatabaseConnection connection,
IDataSet dataSet) |
Constructor and Description |
---|
MsSqlConnection(Connection connection)
Creates a new
MsSqlConnection . |
MsSqlConnection(Connection connection,
String schema)
Creates a new
MsSqlConnection . |
Constructor and Description |
---|
MySqlConnection(Connection connection,
String schema) |
Constructor and Description |
---|
OracleConnection(Connection connection,
String schema)
Creates a oracle connection.
|
Modifier and Type | Class and Description |
---|---|
class |
ExclusiveTransactionException |
Modifier and Type | Method and Description |
---|---|
abstract void |
DatabaseOperation.execute(IDatabaseConnection connection,
IDataSet dataSet)
Executes this operation on the specified database using the specified
dataset contents.
|
void |
CompositeOperation.execute(IDatabaseConnection connection,
IDataSet dataSet) |
void |
CloseConnectionOperation.execute(IDatabaseConnection connection,
IDataSet dataSet) |
void |
DeleteAllOperation.execute(IDatabaseConnection connection,
IDataSet dataSet) |
void |
AbstractBatchOperation.execute(IDatabaseConnection connection,
IDataSet dataSet) |
void |
RefreshOperation.execute(IDatabaseConnection connection,
IDataSet dataSet) |
void |
TruncateTableOperation.execute(IDatabaseConnection connection,
IDataSet dataSet) |
void |
TransactionOperation.execute(IDatabaseConnection connection,
IDataSet dataSet) |
protected ITableIterator |
AbstractBatchOperation.iterator(IDataSet dataSet)
Returns list of tables this operation is applied to.
|
protected ITableIterator |
DeleteOperation.iterator(IDataSet dataSet) |
Modifier and Type | Class and Description |
---|---|
class |
SearchException
Base class for exceptions during the search.
|
Copyright © 2002-2012. All Rights Reserved.