|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pluto.testsuite.test.AbstractReflectivePortletTest
public abstract class AbstractReflectivePortletTest
| Constructor Summary | |
|---|---|
AbstractReflectivePortletTest()
|
|
| 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)
Invoke test methods using java reflection. |
TestConfig |
getConfig()
Returns the test configuration. |
protected java.util.Map<java.lang.String,java.lang.String> |
getInitParameters()
|
java.util.Map<java.lang.String,java.lang.String[]> |
getRenderParameters(PortletRequest request)
Returns the render parameters that will be set into the render request. |
java.lang.String |
getTestSuiteName()
Returns the test suite name. |
void |
init(TestConfig config)
Initializes the portlet test using test configuration. |
java.lang.String |
toString()
Override of toString() that prints out names and values of variables. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractReflectivePortletTest()
| Method Detail |
|---|
public void init(TestConfig config)
PortletTest
init in interface PortletTestconfig - the test configuration.public java.util.Map<java.lang.String,java.lang.String[]> getRenderParameters(PortletRequest request)
getRenderParameters in interface PortletTestrequest - the portlet request.
public TestConfig getConfig()
PortletTest
getConfig in interface PortletTestpublic java.lang.String getTestSuiteName()
getTestSuiteName in interface PortletTest
public TestResults doTest(PortletConfig config,
PortletContext context,
PortletRequest request,
PortletResponse response)
TestResults object.
doTest in interface PortletTestconfig - the portlet config.context - the portlet context.request - the portlet request.response - the portlet response.
protected java.util.Map<java.lang.String,java.lang.String> getInitParameters()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
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 | |||||||||