public class SummaryFixture<T>
extends java.lang.Object
| Constructor and Description |
|---|
SummaryFixture(java.lang.Class<T> clazz,
Group group,
java.util.Locale defaultLocale,
User user) |
| Modifier and Type | Method and Description |
|---|---|
void |
assertSummary(java.lang.String title,
java.lang.String content,
Document document) |
void |
assertSummary(java.lang.String title,
java.lang.String content,
java.util.Locale locale,
Document document) |
protected javax.servlet.http.HttpServletRequest |
createHttpServletRequest(javax.portlet.PortletRequest portletRequest,
java.util.Locale locale) |
protected javax.servlet.http.HttpServletResponse |
createHttpServletResponse() |
protected javax.portlet.PortletRequest |
createPortletRequest(java.util.Locale locale) |
protected javax.portlet.PortletResponse |
createPortletResponse() |
protected ThemeDisplay |
createThemeDisplay(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
java.util.Locale locale) |
Summary |
getSummary(Document document,
java.util.Locale locale) |
public void assertSummary(java.lang.String title,
java.lang.String content,
Document document)
throws java.lang.Exception
java.lang.Exceptionpublic void assertSummary(java.lang.String title,
java.lang.String content,
java.util.Locale locale,
Document document)
throws java.lang.Exception
java.lang.Exceptionpublic Summary getSummary(Document document, java.util.Locale locale) throws java.lang.Exception
java.lang.Exceptionprotected javax.servlet.http.HttpServletRequest createHttpServletRequest(javax.portlet.PortletRequest portletRequest,
java.util.Locale locale)
protected javax.servlet.http.HttpServletResponse createHttpServletResponse()
protected javax.portlet.PortletRequest createPortletRequest(java.util.Locale locale)
throws java.lang.Exception
java.lang.Exceptionprotected javax.portlet.PortletResponse createPortletResponse()
protected ThemeDisplay createThemeDisplay(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, java.util.Locale locale) throws java.lang.Exception
java.lang.Exception