public class HypersonicServerClassTestRule
extends com.liferay.portal.kernel.test.rule.ClassTestRule<org.hsqldb.server.Server>
Modifier and Type | Field and Description |
---|---|
static String |
DATABASE_URL_BASE |
static HypersonicServerClassTestRule |
INSTANCE |
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 org.junit.runners.model.Statement |
createClassStatement(org.junit.runners.model.Statement statement,
org.junit.runner.Description description) |
protected void |
deleteFolder(Path folderPath) |
List<String> |
getJdbcProperties() |
public static final String DATABASE_URL_BASE
public static final HypersonicServerClassTestRule INSTANCE
public void afterClass(org.junit.runner.Description description, org.hsqldb.server.Server server) throws Exception
afterClass
in class com.liferay.portal.kernel.test.rule.AbstractTestRule<org.hsqldb.server.Server,Void>
Exception
public org.hsqldb.server.Server beforeClass(org.junit.runner.Description description) throws Exception
beforeClass
in class com.liferay.portal.kernel.test.rule.AbstractTestRule<org.hsqldb.server.Server,Void>
Exception
public List<String> getJdbcProperties()
protected void copyFile(String fileName, Path fromFolderPath, Path toFolderPath) throws IOException
IOException
protected org.junit.runners.model.Statement createClassStatement(org.junit.runners.model.Statement statement, org.junit.runner.Description description)
createClassStatement
in class com.liferay.portal.kernel.test.rule.AbstractTestRule<org.hsqldb.server.Server,Void>
protected void deleteFolder(Path folderPath) throws IOException
IOException