Liferay 7.0-ce-b4

com.liferay.portal.test.rule.callback
Class PersistenceTestCallback

java.lang.Object
  extended by com.liferay.portal.kernel.test.rule.callback.BaseTestCallback<Object,Object>
      extended by com.liferay.portal.test.rule.callback.PersistenceTestCallback
All Implemented Interfaces:
TestCallback<Object,Object>

public class PersistenceTestCallback
extends BaseTestCallback<Object,Object>


Field Summary
static PersistenceTestCallback INSTANCE
           
 
Method Summary
 void afterMethod(org.junit.runner.Description description, Object modelListeners, Object target)
           
 Object beforeMethod(org.junit.runner.Description description, Object target)
           
 
Methods inherited from class com.liferay.portal.kernel.test.rule.callback.BaseTestCallback
afterClass, beforeClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final PersistenceTestCallback INSTANCE
Method Detail

afterMethod

public void afterMethod(org.junit.runner.Description description,
                        Object modelListeners,
                        Object target)
Specified by:
afterMethod in interface TestCallback<Object,Object>
Overrides:
afterMethod in class BaseTestCallback<Object,Object>

beforeMethod

public Object beforeMethod(org.junit.runner.Description description,
                           Object target)
Specified by:
beforeMethod in interface TestCallback<Object,Object>
Overrides:
beforeMethod in class BaseTestCallback<Object,Object>

Liferay 7.0-ce-b4