Liferay 7.0-ga1 portal-test

com.liferay.portal.kernel.test.rule
Class TransactionalTestRule

java.lang.Object
  extended by com.liferay.portal.kernel.test.rule.TransactionalTestRule
All Implemented Interfaces:
org.junit.rules.TestRule

public class TransactionalTestRule
extends Object
implements org.junit.rules.TestRule


Nested Class Summary
protected static class TransactionalTestRule.TransactionalFrameworkMethod
           
 
Field Summary
static TransactionalTestRule INSTANCE
           
 
Constructor Summary
TransactionalTestRule()
           
TransactionalTestRule(com.liferay.portal.kernel.transaction.Propagation propagation)
           
 
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
 

Field Detail

INSTANCE

public static final TransactionalTestRule INSTANCE
Constructor Detail

TransactionalTestRule

public TransactionalTestRule()

TransactionalTestRule

public TransactionalTestRule(com.liferay.portal.kernel.transaction.Propagation propagation)
Method Detail

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)

Liferay 7.0-ga1 portal-test