@Inherited @Retention(value=RUNTIME) @Target(value={METHOD,TYPE}) public @interface JUnitTemporaryDatabase
Modifier and Type | Optional Element and Description |
---|---|
boolean |
createSchema
Create the standard OpenNMS schema in the test database.
|
boolean |
dirtiesContext
Mark the ApplicationContext dirty after a test method executes.
|
boolean |
poolConnections
Whether to use a connection pool or not.
|
boolean |
reuseDatabase
Reuse the database for all tests in a class.
|
Class<? extends TemporaryDatabase> |
tempDbClass
Use a specific class for creating temporary databases.
|
String |
useExistingDatabase
Use the specified database instead of a temporary database.
|
public abstract boolean createSchema
public abstract String useExistingDatabase
public abstract Class<? extends TemporaryDatabase> tempDbClass
public abstract boolean reuseDatabase
Copyright © 2020. All rights reserved.