Class SearchTestRule

java.lang.Object
com.liferay.portal.kernel.test.rule.AbstractTestRule<Void,M>
com.liferay.portal.kernel.test.rule.MethodTestRule<Void>
com.liferay.portal.search.test.rule.SearchTestRule
All Implemented Interfaces:
org.junit.rules.TestRule

public class SearchTestRule extends com.liferay.portal.kernel.test.rule.MethodTestRule<Void>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected com.liferay.portal.search.index.IndexStatusManager
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterMethod(org.junit.runner.Description description, Void c, Object target)
     
    beforeMethod(org.junit.runner.Description description, Object target)
     

    Methods inherited from class com.liferay.portal.kernel.test.rule.MethodTestRule

    afterClass, beforeClass, createClassStatement

    Methods inherited from class com.liferay.portal.kernel.test.rule.AbstractTestRule

    apply, createMethodStatement

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • indexStatusManager

      protected com.liferay.portal.search.index.IndexStatusManager indexStatusManager
  • Constructor Details

    • SearchTestRule

      public SearchTestRule()
  • Method Details

    • afterMethod

      public void afterMethod(org.junit.runner.Description description, Void c, Object target) throws Throwable
      Specified by:
      afterMethod in class com.liferay.portal.kernel.test.rule.AbstractTestRule<Void,Void>
      Throws:
      Throwable
    • beforeMethod

      public Void beforeMethod(org.junit.runner.Description description, Object target) throws Throwable
      Specified by:
      beforeMethod in class com.liferay.portal.kernel.test.rule.AbstractTestRule<Void,Void>
      Throws:
      Throwable