Class SummaryFixture<T>

java.lang.Object
com.liferay.portal.search.test.util.SummaryFixture<T>

public class SummaryFixture<T> extends Object
  • Constructor Details

    • SummaryFixture

      public SummaryFixture(Class<T> clazz, com.liferay.portal.kernel.model.Group group, Locale defaultLocale, com.liferay.portal.kernel.model.User user)
  • Method Details

    • assertSummary

      public void assertSummary(String title, String content, com.liferay.portal.kernel.search.Document document) throws Exception
      Throws:
      Exception
    • assertSummary

      public void assertSummary(String title, String content, Locale locale, com.liferay.portal.kernel.search.Document document) throws Exception
      Throws:
      Exception
    • getSummary

      public com.liferay.portal.kernel.search.Summary getSummary(com.liferay.portal.kernel.search.Document document, Locale locale) throws Exception
      Throws:
      Exception
    • createHttpServletRequest

      protected javax.servlet.http.HttpServletRequest createHttpServletRequest(javax.portlet.PortletRequest portletRequest, Locale locale)
    • createHttpServletResponse

      protected javax.servlet.http.HttpServletResponse createHttpServletResponse()
    • createPortletRequest

      protected javax.portlet.PortletRequest createPortletRequest(Locale locale) throws Exception
      Throws:
      Exception
    • createPortletResponse

      protected javax.portlet.PortletResponse createPortletResponse()
    • createThemeDisplay

      protected com.liferay.portal.kernel.theme.ThemeDisplay createThemeDisplay(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, Locale locale) throws Exception
      Throws:
      Exception