|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PortletTest
Interface for pluto portlet test classes.
| Method Summary | |
|---|---|
void |
doHeaders(PortletConfig config,
PortletContext context,
RenderRequest request,
RenderResponse response)
Called by TestPortlet.doHeaders() |
TestResults |
doTest(PortletConfig config,
PortletContext context,
PortletRequest request,
PortletResponse response)
Runs the test. |
TestConfig |
getConfig()
Returns the test configuration. |
java.util.Map<java.lang.String,java.lang.String[]> |
getRenderParameters(PortletRequest request)
Returns the render parameters. |
java.lang.String |
getTestSuiteName()
Returns the test suite name. |
void |
init(TestConfig config)
Initializes the portlet test using test configuration. |
| Method Detail |
|---|
java.lang.String getTestSuiteName()
void init(TestConfig config)
config - the test configuration.java.util.Map<java.lang.String,java.lang.String[]> getRenderParameters(PortletRequest request)
Portlet.processAction() method. All parameters returned
by this method will be set as render parameters.
request - the portlet request.
TestResults doTest(PortletConfig config,
PortletContext context,
PortletRequest request,
PortletResponse response)
config - the portlet config.context - the portlet context.request - the portlet request.response - the portlet response.
TestConfig getConfig()
void doHeaders(PortletConfig config,
PortletContext context,
RenderRequest request,
RenderResponse response)
config - context - request - response -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||