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 voidafterClass(org.junit.runner.Description description, Object object) voidafterMethod(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:
afterMethodin classAbstractTestRule<Object,Object>
-
beforeClass
- Specified by:
beforeClassin classAbstractTestRule<Object,Object>
-
beforeMethod
public Object beforeMethod(org.junit.runner.Description description, Object target) throws Exception - Specified by:
beforeMethodin classAbstractTestRule<Object,Object> - Throws:
Exception
-
afterClass
- Specified by:
afterClassin classAbstractTestRule<Object,Object>
-