com.liferay.portal.test.rule.callback
Class HypersonicServerTestCallback
java.lang.Object
com.liferay.portal.kernel.test.rule.callback.BaseTestCallback<org.hsqldb.server.Server,Object>
com.liferay.portal.test.rule.callback.HypersonicServerTestCallback
- All Implemented Interfaces:
- TestCallback<org.hsqldb.server.Server,Object>
public class HypersonicServerTestCallback
- extends BaseTestCallback<org.hsqldb.server.Server,Object>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DATABASE_URL_BASE
public static final String DATABASE_URL_BASE
- See Also:
- Constant Field Values
HypersonicServerTestCallback
public HypersonicServerTestCallback(String databaseName)
afterClass
public void afterClass(org.junit.runner.Description description,
org.hsqldb.server.Server server)
throws Exception
- Specified by:
afterClass in interface TestCallback<org.hsqldb.server.Server,Object>- Overrides:
afterClass in class BaseTestCallback<org.hsqldb.server.Server,Object>
- Throws:
Exception
beforeClass
public org.hsqldb.server.Server beforeClass(org.junit.runner.Description description)
throws Exception
- Specified by:
beforeClass in interface TestCallback<org.hsqldb.server.Server,Object>- Overrides:
beforeClass in class BaseTestCallback<org.hsqldb.server.Server,Object>
- Throws:
Exception
copyFile
protected void copyFile(String fileName,
java.nio.file.Path fromFolderPath,
java.nio.file.Path toFolderPath)
throws IOException
- Throws:
IOException
deleteFolder
protected void deleteFolder(java.nio.file.Path folderPath)
throws IOException
- Throws:
IOException