Class TransactionalTestRule

Object
com.liferay.portal.test.rule.TransactionalTestRule
All Implemented Interfaces:
org.junit.rules.TestRule

public class TransactionalTestRule extends Object implements org.junit.rules.TestRule
Author:
Shuyang Zhou
  • Field Details

  • 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 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)