@Documented @Inherited @Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) public @interface ExpectedDatabase
DbUnitTestExecutionListener| Modifier and Type | Required Element and Description |
|---|---|
String |
value
Provides the location of the dataset that will be used to test the database.
|
| Modifier and Type | Optional Element and Description |
|---|---|
DatabaseAssertionMode |
assertionMode
Database assertion mode to use.
|
String |
query
Optional SQL to retrieve the actual subset of the table rows from the database.
|
String |
table
Optional table name that can be used to limit the comparison to a specific table.
|
public abstract String value
DbUnitConfiguration.dataSetLoader()public abstract DatabaseAssertionMode assertionMode
DatabaseAssertionMode.DEFAULT.public abstract String table
public abstract String query
table
name must also be specified when using a query.Copyright © 2014. All Rights Reserved.