Liferay 7.0-ce-m3

com.liferay.portal.test
Class PersistenceTestRule

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

public class PersistenceTestRule
extends BaseTestRule<Object,Object>


Nested Class Summary
 
Nested classes/interfaces inherited from class com.liferay.portal.kernel.test.BaseTestRule
BaseTestRule.StatementWrapper
 
Field Summary
static PersistenceTestRule INSTANCE
           
 
Method Summary
protected  void afterMethod(org.junit.runner.Description description, Object modelListeners)
           
protected  Object beforeMethod(org.junit.runner.Description description)
           
 
Methods inherited from class com.liferay.portal.kernel.test.BaseTestRule
afterClass, apply, beforeClass, 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 PersistenceTestRule INSTANCE
Method Detail

afterMethod

protected void afterMethod(org.junit.runner.Description description,
                           Object modelListeners)
Overrides:
afterMethod in class BaseTestRule<Object,Object>

beforeMethod

protected Object beforeMethod(org.junit.runner.Description description)
Overrides:
beforeMethod in class BaseTestRule<Object,Object>

Liferay 7.0-ce-m3