Liferay 7.0-ce-m3

com.liferay.portal.test
Class ResetDatabaseTestRule

java.lang.Object
  extended by com.liferay.portal.kernel.test.BaseTestRule<Object,org.apache.log4j.Level>
      extended by com.liferay.portal.test.ResetDatabaseTestRule
All Implemented Interfaces:
org.junit.rules.TestRule

public class ResetDatabaseTestRule
extends BaseTestRule<Object,org.apache.log4j.Level>


Nested Class Summary
 
Nested classes/interfaces inherited from class com.liferay.portal.kernel.test.BaseTestRule
BaseTestRule.StatementWrapper
 
Field Summary
static ResetDatabaseTestRule INSTANCE
           
 
Method Summary
protected  void afterMethod(org.junit.runner.Description description, org.apache.log4j.Level level)
           
protected  void backupDLStores(boolean initialize)
           
protected  void backupSearchIndices(boolean initialize)
           
protected  Object beforeClass(org.junit.runner.Description description)
           
protected  org.apache.log4j.Level beforeMethod(org.junit.runner.Description description)
           
protected  void restoreDLStores(boolean initialize)
           
protected  void restoreSearchIndices(boolean initialize)
           
 
Methods inherited from class com.liferay.portal.kernel.test.BaseTestRule
afterClass, apply, inspectTarget, invokeStatement, setInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final ResetDatabaseTestRule INSTANCE
Method Detail

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)

Liferay 7.0-ce-m3