Package com.liferay.portal.test.rule
Class InjectTestRule
Object
com.liferay.portal.kernel.test.rule.AbstractTestRule<InjectTestBag,InjectTestBag>
com.liferay.portal.test.rule.InjectTestRule
- All Implemented Interfaces:
org.junit.rules.TestRule
- Author:
- Preston Crary
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterClass(org.junit.runner.Description description, InjectTestBag injectTestBag) voidafterMethod(org.junit.runner.Description description, InjectTestBag injectTestBag, 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
-
-
Constructor Details
-
InjectTestRule
public InjectTestRule()
-
-
Method Details
-
afterClass
public void afterClass(org.junit.runner.Description description, InjectTestBag injectTestBag) throws Exception - Specified by:
afterClassin classAbstractTestRule<InjectTestBag,InjectTestBag> - Throws:
Exception
-
afterMethod
public void afterMethod(org.junit.runner.Description description, InjectTestBag injectTestBag, Object target) throws Exception - Specified by:
afterMethodin classAbstractTestRule<InjectTestBag,InjectTestBag> - Throws:
Exception
-
beforeClass
- Specified by:
beforeClassin classAbstractTestRule<InjectTestBag,InjectTestBag> - Throws:
Exception
-
beforeMethod
public InjectTestBag beforeMethod(org.junit.runner.Description description, Object target) throws Exception - Specified by:
beforeMethodin classAbstractTestRule<InjectTestBag,InjectTestBag> - Throws:
Exception
-