public class HypersonicServerTestCallback extends com.liferay.portal.kernel.test.rule.callback.BaseTestCallback<org.hsqldb.server.Server,Object>
Modifier and Type | Field and Description |
---|---|
static String |
DATABASE_URL_BASE |
Constructor and Description |
---|
HypersonicServerTestCallback(String databaseName) |
Modifier and Type | Method and Description |
---|---|
void |
afterClass(org.junit.runner.Description description,
org.hsqldb.server.Server server) |
org.hsqldb.server.Server |
beforeClass(org.junit.runner.Description description) |
protected void |
copyFile(String fileName,
Path fromFolderPath,
Path toFolderPath) |
protected void |
deleteFolder(Path folderPath) |
public static final String DATABASE_URL_BASE
public HypersonicServerTestCallback(String databaseName)
public void afterClass(org.junit.runner.Description description, org.hsqldb.server.Server server) throws Exception
public org.hsqldb.server.Server beforeClass(org.junit.runner.Description description) throws Exception
protected void copyFile(String fileName, Path fromFolderPath, Path toFolderPath) throws IOException
IOException
protected void deleteFolder(Path folderPath) throws IOException
IOException