Package com.liferay.portal.test.rule
Class TransactionalTestRule
Object
com.liferay.portal.test.rule.TransactionalTestRule
- All Implemented Interfaces:
org.junit.rules.TestRule
- Author:
- Shuyang Zhou
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTransactionalTestRule
(com.liferay.portal.kernel.transaction.Propagation propagation) TransactionalTestRule
(com.liferay.portal.kernel.transaction.Propagation propagation, String originBundleSymbolicName) -
Method Summary
Modifier and TypeMethodDescriptionorg.junit.runners.model.Statement
apply
(org.junit.runners.model.Statement statement, org.junit.runner.Description description) com.liferay.portal.kernel.transaction.TransactionConfig
getTransactionConfig
(com.liferay.portal.kernel.transaction.Transactional transactional) protected void
replaceFrameworkMethods
(org.junit.runners.model.Statement statement, String name)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
TransactionalTestRule
public TransactionalTestRule(com.liferay.portal.kernel.transaction.Propagation propagation) -
TransactionalTestRule
public TransactionalTestRule(com.liferay.portal.kernel.transaction.Propagation propagation, String originBundleSymbolicName)
-
-
Method Details
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement statement, org.junit.runner.Description description) - Specified by:
apply
in interfaceorg.junit.rules.TestRule
-
getTransactionConfig
public com.liferay.portal.kernel.transaction.TransactionConfig getTransactionConfig(com.liferay.portal.kernel.transaction.Transactional transactional) -
replaceFrameworkMethods
-