com.liferay.portal.kernel.test.rule
Class TransactionalTestRule
java.lang.Object
com.liferay.portal.kernel.test.rule.TransactionalTestRule
- All Implemented Interfaces:
- org.junit.rules.TestRule
public class TransactionalTestRule
- extends Object
- implements org.junit.rules.TestRule
|
Method Summary |
org.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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final TransactionalTestRule INSTANCE
TransactionalTestRule
public TransactionalTestRule()
TransactionalTestRule
public TransactionalTestRule(com.liferay.portal.kernel.transaction.Propagation propagation)
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement statement,
org.junit.runner.Description description)
- Specified by:
apply in interface org.junit.rules.TestRule
getTransactionConfig
public com.liferay.portal.kernel.transaction.TransactionConfig getTransactionConfig(com.liferay.portal.kernel.transaction.Transactional transactional)
replaceFrameworkMethods
protected void replaceFrameworkMethods(org.junit.runners.model.Statement statement,
String name)