Package com.liferay.portal.test.rule
Class FeatureFlagTestRule
- All Implemented Interfaces:
org.junit.rules.TestRule
- Author:
- Alejandro TardÃn
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
afterClass
(org.junit.runner.Description description, Map<String, String> previousValues) protected void
afterMethod
(org.junit.runner.Description description, Map<String, String> previousValues, 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
-
FeatureFlagTestRule
public FeatureFlagTestRule()
-
-
Method Details
-
afterClass
protected void afterClass(org.junit.runner.Description description, Map<String, String> previousValues) throws Throwable- Specified by:
afterClass
in classAbstractTestRule<Map<String,
String>, Map<String, String>> - Throws:
Throwable
-
afterMethod
protected void afterMethod(org.junit.runner.Description description, Map<String, String> previousValues, Object target) throws Throwable- Specified by:
afterMethod
in classAbstractTestRule<Map<String,
String>, Map<String, String>> - Throws:
Throwable
-
beforeClass
- Specified by:
beforeClass
in classAbstractTestRule<Map<String,
String>, Map<String, String>> - Throws:
Throwable
-
beforeMethod
protected Map<String,String> beforeMethod(org.junit.runner.Description description, Object target) throws Throwable - Specified by:
beforeMethod
in classAbstractTestRule<Map<String,
String>, Map<String, String>> - Throws:
Throwable
-