in portlet-tck_3.0/V2RequestTests/src/main/java/javax/portlet/tck/portlets/RequestTests_PortletRequest_ApiAction.java [1288:2292]
public void render(RenderRequest portletReq, RenderResponse portletResp)
throws PortletException, IOException {
LOGGER.trace("main portlet render entry");
long tid = Thread.currentThread().getId();
portletReq.setAttribute(THREADID_ATTR, tid);
PrintWriter writer = portletResp.getWriter();
PortletSession ps = portletReq.getPortletSession();
String msg = (String) ps.getAttribute(RESULT_ATTR_PREFIX + "RequestTests_PortletRequest_ApiAction", APPLICATION_SCOPE);
if (msg != null) {
writer.write("<p>" + msg + "</p><br/>\n");
ps.removeAttribute(RESULT_ATTR_PREFIX + "RequestTests_PortletRequest_ApiAction", APPLICATION_SCOPE);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_fieldUSER_INFO */
/* Details: "Has String field USER_INFO with value of */
/* \"javax.portlet.userinfo\" " */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_FIELDUSER_INFO, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_fieldCCPP_PROFILE */
/* Details: "Has String field CCPP_PROFILE with value of */
/* \"javax.portlet.ccpp\" " */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_FIELDCCPP_PROFILE, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_fieldBASIC_AUTH */
/* Details: "Has String field BASIC_AUTH with value of \"BASIC\" " */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_FIELDBASIC_AUTH, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_fieldFORM_AUTH */
/* Details: "Has String field FORM_AUTH with value of \"FORM\" " */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_FIELDFORM_AUTH, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_fieldCLIENT_CERT_AUTH */
/* Details: "Has String field CLIENT_CERT_AUTH with value of */
/* \"CLIENT_CERT\" " */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_FIELDCLIENT_CERT_AUTH, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_fieldDIGEST_AUTH */
/* Details: "Has String field DIGEST_AUTH with value of \"DIGEST\" " */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_FIELDDIGEST_AUTH, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_fieldACTION_PHASE */
/* Details: "Has String field ACTION_PHASE with value of */
/* \"ACTION_PHASE\" " */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_FIELDACTION_PHASE, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_fieldEVENT_PHASE */
/* Details: "Has String field EVENT_PHASE with value of */
/* \"EVENT_PHASE\" " */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_FIELDEVENT_PHASE, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_fieldRENDER_PHASE */
/* Details: "Has String field RENDER_PHASE with value of */
/* \"RENDER_PHASE\" " */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_FIELDRENDER_PHASE, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_fieldRESOURCE_PHASE */
/* Details: "Has String field RESOURCE_PHASE with value of */
/* \"RESOURCE_PHASE\" " */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_FIELDRESOURCE_PHASE, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_fieldLIFECYCLE_PHASE */
/* Details: "Has String field LIFECYCLE_PHASE with value of */
/* \"javax.portlet.lifecycle_phase\" " */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_FIELDLIFECYCLE_PHASE, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_fieldRENDER_PART */
/* Details: "Has String field RENDER_PART with value of */
/* \"javax.portlet.render_part\" " */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_FIELDRENDER_PART, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_fieldRENDER_HEADERS */
/* Details: "Has String field RENDER_HEADERS with value of */
/* \"RENDER_HEADERS\" " */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_FIELDRENDER_HEADERS, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_fieldRENDER_MARKUP */
/* Details: "Has String field RENDER_MARKUP with value of */
/* \"RENDER_MARKUP\" " */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_FIELDRENDER_MARKUP, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_fieldACTION_SCOPE_ID */
/* Details: "Has String field ACTION_SCOPE_ID with value of */
/* \"javax.portlet.as\" " */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_FIELDACTION_SCOPE_ID, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_isWindowStateAllowed1 */
/* Details: "Method isWindowStateAllowed(WindowState): Returns true */
/* if the specified WindowState is allowed" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_ISWINDOWSTATEALLOWED1, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_isWindowStateAllowed2 */
/* Details: "Method isWindowStateAllowed(WindowState): Returns false */
/* if the specified WindowState is not allowed" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_ISWINDOWSTATEALLOWED2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_isPortletModeAllowed1 */
/* Details: "Method isPortletModeAllowed(PortletMode): Returns true */
/* if the specified PortletMode is allowed" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_ISPORTLETMODEALLOWED1, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_isPortletModeAllowed2 */
/* Details: "Method isPortletModeAllowed(PortletMode): Returns false */
/* if the specified PortletMode is not allowed" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_ISPORTLETMODEALLOWED2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getPortletMode */
/* Details: "Method getPortletMode(): Returns current PortletMode " */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPORTLETMODE, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getWindowState */
/* Details: "Method getWindowState(): Returns current WindowState" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETWINDOWSTATE, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getPreferences */
/* Details: "Method getPreferences(): Returns the PortletPreferences */
/* object associated with the portlet" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPREFERENCES, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getPortletSessionA1 */
/* Details: "Method getPortletSession(): Returns current */
/* PortletSession if one already exists" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPORTLETSESSIONA1, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getPortletSessionA2 */
/* Details: "Method getPortletSession(): Returns new PortletSession */
/* if one does not already exist" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPORTLETSESSIONA2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getPortletSessionB1 */
/* Details: "Method getPortletSession(boolean): If input flag is */
/* true, returns current PortletSession if one already exists" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPORTLETSESSIONB1, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getPortletSessionB2 */
/* Details: "Method getPortletSession(boolean): If input flag is */
/* true, returns new PortletSession if one does not already exist" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPORTLETSESSIONB2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getPortletSessionB3 */
/* Details: "Method getPortletSession(boolean): If input flag is */
/* false, returns current PortletSession if one already exists" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPORTLETSESSIONB3, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getPortletSessionB4 */
/* Details: "Method getPortletSession(boolean): If input flag is */
/* false, returns null if one does not already exist" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPORTLETSESSIONB4, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getProperty1 */
/* Details: "Method getProperty(String): If specified request */
/* property exists, returns its value " */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPROPERTY1, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getProperty2 */
/* Details: "Method getProperty(String): If specified request */
/* property does not exist, returns null" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPROPERTY2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getProperty3 */
/* Details: "Method getProperty(String): Throws */
/* IllegalArgumentException if the name is null" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPROPERTY3, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getProperties1 */
/* Details: "Method getProperties(String): If specified request */
/* property exists, returns its values as an Enumeration " */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPROPERTIES1, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getProperties2 */
/* Details: "Method getProperties(String): If specified request */
/* property does not exist, returns an empty Enumeration" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPROPERTIES2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getProperties3 */
/* Details: "Method getProperties(String): Throws */
/* IllegalArgumentException if the name is null" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPROPERTIES3, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getPropertyNames1 */
/* Details: "Method getPropertyNames(): Returns an Enumeration of all */
/* request property names" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPROPERTYNAMES1, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getPropertyNames2 */
/* Details: "Method getPropertyNames(): Returns an empty Enumeration */
/* if there are no request properties defined" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPROPERTYNAMES2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getPortalContext */
/* Details: "Method getPortalContext(): Returns the context of the */
/* portal" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPORTALCONTEXT, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getAuthType1 */
/* Details: "Method getAuthType(): Returns a String indicating the */
/* authentication type if the request was authenticated" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETAUTHTYPE1, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getAuthType2 */
/* Details: "Method getAuthType(): Returns null if the request was */
/* not authenticated" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETAUTHTYPE2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getContextPath1 */
/* Details: "Method getContextPath(): Returns a String representing */
/* the context path associated with the portlet" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETCONTEXTPATH1, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getContextPath2 */
/* Details: "Method getContextPath(): Returns an empty String if the */
/* portlet is deployed in the default context" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETCONTEXTPATH2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getContextPath3 */
/* Details: "Method getContextPath(): If the context path is not */
/* empty, it must start with \"/\" and may not end with \"/\"" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETCONTEXTPATH3, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getRemoteUser1 */
/* Details: "Method getRemoteUser(): Returns a String representing */
/* the login of the user if the request is authenticated" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETREMOTEUSER1, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getRemoteUser2 */
/* Details: "Method getRemoteUser(): Returns null if the request has */
/* not been authenticated" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETREMOTEUSER2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getUserPrincipal1 */
/* Details: "Method getUserPrincipal(): Returns a */
/* java.security.Principal object representing the user if the */
/* request has been authenticated" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETUSERPRINCIPAL1, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getUserPrincipal2 */
/* Details: "Method getUserPrincipal(): Returns null if the request */
/* has not been authenticated" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETUSERPRINCIPAL2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_isUserInRole1 */
/* Details: "Method isUserInRole(): Returns true if the authenticated */
/* user is in the specified role" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_ISUSERINROLE1, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_isUserInRole2 */
/* Details: "Method isUserInRole(): Returns false if the */
/* authenticated user is not in the specified role" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_ISUSERINROLE2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_isUserInRole3 */
/* Details: "Method isUserInRole(): Returns false if the user is not */
/* authenticated" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_ISUSERINROLE3, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getAttribute1 */
/* Details: "Method getAttribute(String): Returns a java.lang.Object */
/* for the specified attribute name" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETATTRIBUTE1, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getAttribute2 */
/* Details: "Method getAttribute(String): Returns null if no */
/* attribute with the specified name exists" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETATTRIBUTE2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getAttribute3 */
/* Details: "Method getAttribute(String): Throws */
/* IllegalArgumentException if the name is null" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETATTRIBUTE3, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getAttributeNames1 */
/* Details: "Method getAttributeNames(): Returns a */
/* java.util.Enumeration<java.lang.String> of the available */
/* attribute names" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETATTRIBUTENAMES1, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getAttributeNames2 */
/* Details: "Method getAttributeNames(): Returns an empty Enumeration */
/* if there are no attributes available" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETATTRIBUTENAMES2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getParameter1 */
/* Details: "Method getParameter(String): Returns String value of */
/* parameter specified by the name" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameter(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPARAMETER1,"TestValue");
TestLink tl = new TestLink(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPARAMETER1, aurl);
tl.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getParameter2 */
/* Details: "Method getParameter(String): Returns String value of a */
/* public render parameter specified by the name" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameter("tckPRP1","TestValue2");
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPARAMETER2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getParameter3 */
/* Details: "Method getParameter(String): Returns null if no */
/* parameter exists for the specified name" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPARAMETER3, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getParameter4 */
/* Details: "Method getParameter(String): Returns first String value */
/* from values array if use with a multivalued parameter" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameter(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPARAMETER4,new String[] {"TestValue1","TestValue2"});
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPARAMETER4, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getParameter5 */
/* Details: "Method getParameter(String): Throws */
/* IllegalArgumentException if the name is null" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPARAMETER5, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getParameterNames1 */
/* Details: "Method getParameterNames(): Returns a */
/* java.util.Enumeration<java.lang.String> of the available */
/* parameter names" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPARAMETERNAMES1, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getParameterNames2 */
/* Details: "Method getParameterNames(): Returns an empty Enumeration */
/* if there are no parameters available" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPARAMETERNAMES2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getParameterValues1 */
/* Details: "Method getParameterValues(String): Returns String[] */
/* value of parameter specified by the name" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameter(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPARAMETERVALUES1,new String[] {"Value1","Value2","Value3"});
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPARAMETERVALUES1, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getParameterValues2 */
/* Details: "Method getParameterValues(String): Returns String[] */
/* value of a public render parameter specified by the name" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameter("tckPRP1",new String[] {"Value1","Value2","Value3"});
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPARAMETERVALUES2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getParameterValues3 */
/* Details: "Method getParameterValues(String): Returns null if no */
/* parameter exists for the specified name" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameter(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPARAMETERVALUES3,new String[] {});
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPARAMETERVALUES3, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getParameterValues4 */
/* Details: "Method getParameterValues(String): Throws */
/* IllegalArgumentException if the name is null" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPARAMETERVALUES4, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getParameterMap1 */
/* Details: "Method getParameterMap(): Returns an */
/* java.util.Map<java.lang.String,java.lang.String[]> object */
/* for the parameter names and values if parameters are available" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPARAMETERMAP1, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getParameterMap2 */
/* Details: "Method getParameterMap(): The returned map contains all */
/* public and private parameters for the request" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPARAMETERMAP2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getParameterMap3 */
/* Details: "Method getParameterMap(): Returns an empty map if no */
/* parameters exist" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPARAMETERMAP3, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_isSecure1 */
/* Details: "Method isSecure(): Returns true if the request was made */
/* through a secure channel" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_ISSECURE1, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_isSecure2 */
/* Details: "Method isSecure(): Returns false if the request was not */
/* made through a secure channel" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_ISSECURE2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_setAttribute1 */
/* Details: "Method setAttribute(String, Object): Stores an attribute */
/* object under the specified name in the request" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_SETATTRIBUTE1, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_setAttribute2 */
/* Details: "Method setAttribute(String, Object): Removes the */
/* attribute by the specified name if the object is null" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_SETATTRIBUTE2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_setAttribute3 */
/* Details: "Method setAttribute(String, Object): Throws */
/* IllegalArgumentException if the name is null" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_SETATTRIBUTE3, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_removeAttribute1 */
/* Details: "Method removeAttribute(String): Removes the attribute */
/* specified by the name from the request" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_REMOVEATTRIBUTE1, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_removeAttribute2 */
/* Details: "Method removeAttribute(String): Throws */
/* IllegalArgumentException if the name is null" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_REMOVEATTRIBUTE2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getRequestedSessionId1 */
/* Details: "Method getRequestedSessionId(): Returns the session ID */
/* indicated in the client request" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETREQUESTEDSESSIONID1, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getRequestedSessionId2 */
/* Details: "Method getRequestedSessionId(): Returns null if no */
/* session ID was indicated in the client request" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETREQUESTEDSESSIONID2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_isRequestedSessionIdValid1 */
/* Details: "Method isRequestedSessionIdValid(): Returns true if the */
/* session ID is valid" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_ISREQUESTEDSESSIONIDVALID1, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_isRequestedSessionIdValid2 */
/* Details: "Method isRequestedSessionIdValid(): Returns false if the */
/* session ID is not valid" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_ISREQUESTEDSESSIONIDVALID2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getResponseContentType1 */
/* Details: "Method getResponseContentType(): Returns a String */
/* representing the portal preferred content type for the response if */
/* the content type is defined in the portlet descriptor " */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETRESPONSECONTENTTYPE1, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getResponseContentType2 */
/* Details: "Method getResponseContentType(): Returns an empty */
/* Enumeration if the content type is not defined in the portlet */
/* descriptor" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETRESPONSECONTENTTYPE2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getResponseContentTypes1 */
/* Details: "Method getResponseContentTypes(): Returns an */
/* java.util.Enumeration<java.lang.String> object representing */
/* the portal preferred content types for the response if the content */
/* types are defined in the portlet descriptor" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETRESPONSECONTENTTYPES1, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getResponseContentTypes2 */
/* Details: "Method getResponseContentTypes(): Returns an empty */
/* Enumeration if the content types are not defined in the portlet */
/* descriptor" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETRESPONSECONTENTTYPES2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getLocale */
/* Details: "Method getLocale(): Returns an java.util.Locale object */
/* representing the preferred Locale for the response" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETLOCALE, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getLocales */
/* Details: "Method getLocales(): Returns an */
/* java.util.Enumeration<java.util.Locale> of the Locales in */
/* which the portal will accept content" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETLOCALES, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getScheme */
/* Details: "Method getScheme(): Returns a String value representing */
/* the scheme name for the request" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETSCHEME, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getServerName */
/* Details: "Method getServerName(): Returns a String value */
/* representing the host name for the request" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETSERVERNAME, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getServerPort */
/* Details: "Method getServerPort(): Returns an int value */
/* representing the port number for the request" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETSERVERPORT, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getWindowID */
/* Details: "Method getWindowID(): Returns a String value */
/* representing the portlet window ID" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETWINDOWID, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getCookies1 */
/* Details: "Method getCookies(): Returns a */
/* javax.servlet.http.Cookie[] array containing the cookies for this */
/* request" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETCOOKIES1, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getCookies2 */
/* Details: "Method getCookies(): Returns null if no cookies are */
/* present" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETCOOKIES2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getPrivateParameterMap1 */
/* Details: "Method getPrivateParameterMap(): Returns an */
/* java.util.Map<java.lang.String,java.lang.String[]> object */
/* for the private parameter names and values if available" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPRIVATEPARAMETERMAP1, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getPrivateParameterMap2 */
/* Details: "Method getPrivateParameterMap(): The returned map is */
/* immutable" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPRIVATEPARAMETERMAP2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getPrivateParameterMap3 */
/* Details: "Method getPrivateParameterMap(): Returns an empty map if */
/* no private parameters exist" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPRIVATEPARAMETERMAP3, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getPublicParameterMap1 */
/* Details: "Method getPublicParameterMap(): Returns an */
/* java.util.Map<java.lang.String,java.lang.String[]> object */
/* for the public parameter names and values if available" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPUBLICPARAMETERMAP1, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getPublicParameterMap2 */
/* Details: "Method getPublicParameterMap(): The returned map is */
/* immutable" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPUBLICPARAMETERMAP2, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_getPublicParameterMap3 */
/* Details: "Method getPublicParameterMap(): Returns an empty map if */
/* no public parameters exist" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_GETPUBLICPARAMETERMAP3, aurl);
tb.writeTo(writer);
}
/* TestCase: V2RequestTests_PortletRequest_ApiAction_exists */
/* Details: "Method exists(): The P3PUserInfos exist as a public */
/* static enum" */
{
PortletURL aurl = portletResp.createActionURL();
aurl.setParameters(portletReq.getPrivateParameterMap());
TestButton tb = new TestButton(V2REQUESTTESTS_PORTLETREQUEST_APIACTION_EXISTS, aurl);
tb.writeTo(writer);
}
}