| java.lang.Object org.apache.pluto.testsuite.test.AbstractReflectivePortletTest
All known Subclasses: org.apache.pluto.testsuite.test.SessionTimeoutTest, org.apache.pluto.testsuite.test.RenderResponseNoContentTypeTest, org.apache.pluto.testsuite.test.RenderParameterTest, org.apache.pluto.testsuite.test.SimpleAttributeTest, org.apache.pluto.testsuite.test.ResourceBundleTest, org.apache.pluto.testsuite.test.ContextInitParameterTest, org.apache.pluto.testsuite.test.AppScopedSessionAttributeTest, org.apache.pluto.testsuite.test.ExternalAppScopedAttributeTest, org.apache.pluto.testsuite.test.PreferenceCommonTest, org.apache.pluto.testsuite.test.SecurityMappingTest, org.apache.pluto.testsuite.test.DispatcherRenderParameterTest, org.apache.pluto.testsuite.test.ActionParameterTest, org.apache.pluto.testsuite.test.DispatcherRequestTest, org.apache.pluto.testsuite.test.MiscTest,
AbstractReflectivePortletTest | abstract public class AbstractReflectivePortletTest implements PortletTest(Code) | | |
doTest | public TestResults doTest(PortletConfig config, PortletContext context, PortletRequest request, PortletResponse response)(Code) | | Invoke test methods using java reflection. All 'check*' methods are
invoked and test results are saved into TestResults object.
Parameters: config - the portlet config. Parameters: context - the portlet context. Parameters: request - the portlet request. Parameters: response - the portlet response. the test results including several TestResult instances. |
getInitParameters | protected Map getInitParameters()(Code) | | |
getRenderParameters | public Map getRenderParameters(PortletRequest request)(Code) | | Returns the render parameters that will be set into the render request.
The default implementation just returns an empty Map object. This method
may be overwritten by some concrete test to provide test-specific render
parameters.
Parameters: request - the portlet request. an empty Map object. |
getTestSuiteName | public String getTestSuiteName()(Code) | | Returns the test suite name. The test suite name is the portlet test
class name without package name prefix.
the test suite name. |
|
|