com.liferay.portal.test
Class ResetDatabaseTestRule
java.lang.Object
com.liferay.portal.kernel.test.BaseTestRule<Object,org.apache.log4j.Level>
com.liferay.portal.test.ResetDatabaseTestRule
- All Implemented Interfaces:
- org.junit.rules.TestRule
public class ResetDatabaseTestRule
- extends BaseTestRule<Object,org.apache.log4j.Level>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final ResetDatabaseTestRule INSTANCE
afterMethod
protected void afterMethod(org.junit.runner.Description description,
org.apache.log4j.Level level)
- Overrides:
afterMethod in class BaseTestRule<Object,org.apache.log4j.Level>
backupDLStores
protected void backupDLStores(boolean initialize)
backupSearchIndices
protected void backupSearchIndices(boolean initialize)
beforeClass
protected Object beforeClass(org.junit.runner.Description description)
- Overrides:
beforeClass in class BaseTestRule<Object,org.apache.log4j.Level>
beforeMethod
protected org.apache.log4j.Level beforeMethod(org.junit.runner.Description description)
- Overrides:
beforeMethod in class BaseTestRule<Object,org.apache.log4j.Level>
restoreDLStores
protected void restoreDLStores(boolean initialize)
restoreSearchIndices
protected void restoreSearchIndices(boolean initialize)