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 TypeMethodDescriptionvoid
afterClass
(org.junit.runner.Description description, InjectTestBag injectTestBag) void
afterMethod
(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:
afterClass
in classAbstractTestRule<InjectTestBag,
InjectTestBag> - Throws:
Exception
-
afterMethod
public void afterMethod(org.junit.runner.Description description, InjectTestBag injectTestBag, Object target) throws Exception - Specified by:
afterMethod
in classAbstractTestRule<InjectTestBag,
InjectTestBag> - Throws:
Exception
-
beforeClass
- Specified by:
beforeClass
in classAbstractTestRule<InjectTestBag,
InjectTestBag> - Throws:
Exception
-
beforeMethod
public InjectTestBag beforeMethod(org.junit.runner.Description description, Object target) throws Exception - Specified by:
beforeMethod
in classAbstractTestRule<InjectTestBag,
InjectTestBag> - Throws:
Exception
-