Class SynchronousDestinationTestRule
Object
com.liferay.portal.kernel.test.rule.AbstractTestRule<SynchronousDestinationTestRule.SyncHandler,SynchronousDestinationTestRule.SyncHandler>
com.liferay.portal.kernel.test.rule.SynchronousDestinationTestRule
- All Implemented Interfaces:
org.junit.rules.TestRule
- Direct Known Subclasses:
SynchronousMailTestRule
public class SynchronousDestinationTestRule
extends AbstractTestRule<SynchronousDestinationTestRule.SyncHandler,SynchronousDestinationTestRule.SyncHandler>
- Author:
- Miguel Pastor, Shuyang Zhou
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterClass
(org.junit.runner.Description description, SynchronousDestinationTestRule.SyncHandler syncHandler) void
afterMethod
(org.junit.runner.Description description, SynchronousDestinationTestRule.SyncHandler syncHandler, 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
-
SynchronousDestinationTestRule
protected SynchronousDestinationTestRule()
-
-
Method Details
-
afterClass
public void afterClass(org.junit.runner.Description description, SynchronousDestinationTestRule.SyncHandler syncHandler) throws Exception - Specified by:
afterClass
in classAbstractTestRule<SynchronousDestinationTestRule.SyncHandler,
SynchronousDestinationTestRule.SyncHandler> - Throws:
Exception
-
afterMethod
public void afterMethod(org.junit.runner.Description description, SynchronousDestinationTestRule.SyncHandler syncHandler, Object target) -
beforeClass
public SynchronousDestinationTestRule.SyncHandler beforeClass(org.junit.runner.Description description) throws Throwable - Specified by:
beforeClass
in classAbstractTestRule<SynchronousDestinationTestRule.SyncHandler,
SynchronousDestinationTestRule.SyncHandler> - Throws:
Throwable
-
beforeMethod
public SynchronousDestinationTestRule.SyncHandler beforeMethod(org.junit.runner.Description description, Object target)
-