|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pluto.testsuite.NoOpTest
public class NoOpTest
Constructor Summary | |
---|---|
NoOpTest()
Default no-arg constructor. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoOpTest()
Method Detail |
---|
public java.lang.String getTestSuiteName()
PortletTest
getTestSuiteName
in interface PortletTest
public java.util.Map<java.lang.String,java.lang.String[]> getRenderParameters(PortletRequest request)
PortletTest
Portlet.processAction()
method. All parameters returned
by this method will be set as render parameters.
getRenderParameters
in interface PortletTest
request
- the portlet request.
public TestResults doTest(PortletConfig config, PortletContext context, PortletRequest request, PortletResponse response)
PortletTest
doTest
in interface PortletTest
config
- the portlet config.context
- the portlet context.request
- the portlet request.response
- the portlet response.
public void init(TestConfig config)
PortletTest
init
in interface PortletTest
config
- the test configuration.public TestConfig getConfig()
PortletTest
getConfig
in interface PortletTest
public void doHeaders(PortletConfig config, PortletContext context, RenderRequest request, RenderResponse response)
PortletTest
doHeaders
in interface PortletTest
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |