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 org.springframework.context.ConfigurableApplicationContext |
CONTEXT
The spring application context where the container utility will be loaded
in.
|
protected static String |
host
The host to test.
|
| Constructor and Description |
|---|
AbstractDefaultDeploymentTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
executeSQLCleanUpScripts()
Executes the SQL clean up scripts if they are defined.
|
void |
executeSQLScripts()
Executes the SQL scripts if they are defined.
|
static boolean |
isRunningOnLocalHost()
Determines if the tests are being run on localhost or not.
|
static void |
stop()
Stops the container utility..
|
countRowsInTable, countRowsInTableWhere, deleteFromTables, deleteFromTableWhere, dropTables, executeSqlScript, setDataSource, setSqlScriptEncodingprotected static ContainerUtil CONTAINER_UTIL
protected static org.springframework.context.ConfigurableApplicationContext CONTEXT
protected static String host
public static boolean isRunningOnLocalHost()
public static void stop()
public void executeSQLScripts()
public void executeSQLCleanUpScripts()
Copyright © 2014 Tranquilized Quality. All rights reserved.