Package com.liferay.portal.test.rule
Class PersistenceTestRule
Object
com.liferay.portal.kernel.test.rule.AbstractTestRule<Object,Object>
com.liferay.portal.test.rule.PersistenceTestRule
- All Implemented Interfaces:
org.junit.rules.TestRule
- Author:
- Shuyang Zhou
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionprotected void
afterClass
(org.junit.runner.Description description, Object object) void
afterMethod
(org.junit.runner.Description description, Object copiedServiceTrackerBuckets, Object target) beforeClass
(org.junit.runner.Description description) beforeMethod
(org.junit.runner.Description description, Object target) Methods inherited from class com.liferay.portal.kernel.test.rule.AbstractTestRule
apply, createClassStatement, createMethodStatement
-
Field Details
-
INSTANCE
-
-
Method Details
-
afterMethod
public void afterMethod(org.junit.runner.Description description, Object copiedServiceTrackerBuckets, Object target) - Specified by:
afterMethod
in classAbstractTestRule<Object,
Object>
-
beforeClass
- Specified by:
beforeClass
in classAbstractTestRule<Object,
Object>
-
beforeMethod
public Object beforeMethod(org.junit.runner.Description description, Object target) throws Exception - Specified by:
beforeMethod
in classAbstractTestRule<Object,
Object> - Throws:
Exception
-
afterClass
- Specified by:
afterClass
in classAbstractTestRule<Object,
Object>
-