@Documented @Inherited @Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) public @interface DatabaseSetup
DatabaseTearDown,
ExpectedDatabase,
DbUnitConfiguration,
DbUnitTestExecutionListener| Modifier and Type | Required Element and Description |
|---|---|
String[] |
value
Provides the locations of the datasets that will be used to reset the database.
|
| Modifier and Type | Optional Element and Description |
|---|---|
DatabaseOperation |
type
Determines the type of
operation that will be used to reset the database. |
public abstract String[] value
configured locations are relative
to the class under test.DbUnitConfiguration.dataSetLoader()public abstract DatabaseOperation type
operation that will be used to reset the database.Copyright © 2014. All Rights Reserved.