public class PersistenceTestCallback
extends com.liferay.portal.kernel.test.rule.callback.BaseTestCallback<Object,Object>
Modifier and Type | Field and Description |
---|---|
static PersistenceTestCallback |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
void |
afterMethod(org.junit.runner.Description description,
Object modelListeners,
Object target) |
Object |
beforeClass(org.junit.runner.Description description) |
Object |
beforeMethod(org.junit.runner.Description description,
Object target) |
public static final PersistenceTestCallback INSTANCE
public void afterMethod(org.junit.runner.Description description, Object modelListeners, Object target)
afterMethod
in interface com.liferay.portal.kernel.test.rule.callback.TestCallback<Object,Object>
afterMethod
in class com.liferay.portal.kernel.test.rule.callback.BaseTestCallback<Object,Object>
public Object beforeClass(org.junit.runner.Description description)
beforeClass
in interface com.liferay.portal.kernel.test.rule.callback.TestCallback<Object,Object>
beforeClass
in class com.liferay.portal.kernel.test.rule.callback.BaseTestCallback<Object,Object>
public Object beforeMethod(org.junit.runner.Description description, Object target) throws Exception
beforeMethod
in interface com.liferay.portal.kernel.test.rule.callback.TestCallback<Object,Object>
beforeMethod
in class com.liferay.portal.kernel.test.rule.callback.BaseTestCallback<Object,Object>
Exception