public abstract class AbstractDefaultDeploymentTest
extends org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests
| Modifier and Type | Field and Description |
|---|---|
protected static ContainerUtil |
CONTAINER_UTIL
The container utility for starting up a container.
|
protected static String |
host
The host to test.
|
protected static List<String> |
SQL_CLEAN_UP_SCRIPTS
List of SQL scripts that will be executed after every test.
|
protected static List<String> |
SQL_SCRIPTS
List of SQL scripts that will be executed before every test.
|
| Constructor and Description |
|---|
AbstractDefaultDeploymentTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
executeSQLCleanUpScripts() |
void |
executeSQLScripts() |
protected static org.springframework.context.ConfigurableApplicationContext |
loadContext(String[] locations)
Loads the application context of the container utility.
|
static void |
runOnce() |
static void |
stop() |
countRowsInTable, deleteFromTables, executeSqlScript, setDataSource, setSqlScriptEncodingprotected static ContainerUtil CONTAINER_UTIL
protected static List<String> SQL_SCRIPTS
protected static List<String> SQL_CLEAN_UP_SCRIPTS
protected static String host
protected static org.springframework.context.ConfigurableApplicationContext loadContext(String[] locations)
locations - A string array containing all the files that need to be loaded
in the application context.Copyright © 2014 Tranquilized Quality. All rights reserved.