portals-pluto-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msnickl...@apache.org
Subject [09/50] [abbrv] worked on dispatcher request / response tests
Date Wed, 20 Aug 2014 06:42:22 GMT
http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/f3bdabcd/portlet-tck_3.0/V2DispatcherReqRespTests2/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2DispatcherReqRespTests2/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest.java b/portlet-tck_3.0/V2DispatcherReqRespTests2/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest.java
index b194e35..7c8e266 100644
--- a/portlet-tck_3.0/V2DispatcherReqRespTests2/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest.java
+++ b/portlet-tck_3.0/V2DispatcherReqRespTests2/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest.java
@@ -66,23 +66,12 @@ public class DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest implem
          throws PortletException, IOException {
       LOGGER.entering(LOG_CLASS, "main portlet processAction entry");
 
+      portletResp.setRenderParameters(portletReq.getParameterMap());
       long tid = Thread.currentThread().getId();
       portletReq.setAttribute(THREADID_ATTR, tid);
 
       StringWriter writer = new StringWriter();
 
-      // Set parameter for: DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest
-      portletResp.setRenderParameter(PARM_PREFIX + "V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameter", "Value");
-
-      // Set parameter for: DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest
-      portletResp.setRenderParameter(PARM_PREFIX + "V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameterMap", "Value");
-
-      // Set parameter for: DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest
-      portletResp.setRenderParameter(PARM_PREFIX + "V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameterNames", "Value");
-
-      // Set parameter for: DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest
-      portletResp.setRenderParameter(PARM_PREFIX + "V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameterValues", "Value");
-
       // Prereq for: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getAttribute
       portletReq.setAttribute(ATTR_PREFIX +"V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getAttribute", "Value1");
 
@@ -119,545 +108,645 @@ public class DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest implem
       PortletSession ps = portletReq.getPortletSession();
       String msg = (String) ps.getAttribute(RESULT_ATTR_PREFIX + "DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest", APPLICATION_SCOPE);
       if (msg != null) {
-         writer.write("<p>" + msg + "</p>\n");
+         writer.write("<p>" + msg + "</p><br/>\n");
          ps.removeAttribute(RESULT_ATTR_PREFIX + "DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest", APPLICATION_SCOPE);
-      } else {
-
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getAttribute */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getAttribute must provide the same     */
-         /* functionality as ActionRequest.getAttribute"                         */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getAttribute", aurl);
-            tb.writeTo(writer);
-         }
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getAttributeNames */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getAttributeNames must provide the     */
-         /* same functionality as ActionRequest.getAttributeNames"               */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getAttributeNames", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getAttribute */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getAttribute must provide the same     */
+      /* functionality as ActionRequest.getAttribute"                         */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getAttribute", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getAuthType */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getAuthType must provide the same      */
-         /* functionality as ActionRequest.getAuthType"                          */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getAuthType", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getAttributeNames */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getAttributeNames must provide the     */
+      /* same functionality as ActionRequest.getAttributeNames"               */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getAttributeNames", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getCharacterEncoding */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getCharacterEncoding must provide      */
-         /* the same functionality as ActionRequest.getCharacterEncoding"        */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getCharacterEncoding", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getAuthType */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getAuthType must provide the same      */
+      /* functionality as ActionRequest.getAuthType"                          */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getAuthType", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getContentLength */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getContentLength must provide the      */
-         /* same functionality as ActionRequest.getContentLength"                */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getContentLength", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getCharacterEncoding */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getCharacterEncoding must provide      */
+      /* the same functionality as ActionRequest.getCharacterEncoding"        */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getCharacterEncoding", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getContentType */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getContentType must provide the same   */
-         /* functionality as ActionRequest.getContentType"                       */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getContentType", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getContentLength */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getContentLength must provide the      */
+      /* same functionality as ActionRequest.getContentLength"                */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getContentLength", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getContextPath */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getContextPath must provide the same   */
-         /* functionality as ActionRequest.getContextPath"                       */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getContextPath", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getContentType */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getContentType must provide the same   */
+      /* functionality as ActionRequest.getContentType"                       */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getContentType", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getCookies */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getCookies must provide the same       */
-         /* functionality as ActionRequest.getCookies"                           */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getCookies", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getContextPath */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getContextPath must provide the same   */
+      /* functionality as ActionRequest.getContextPath"                       */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getContextPath", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getDateHeader */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getDateHeader must return a value      */
-         /* corresponding to that returned by ActionRequest.getProperty for      */
-         /* the corresponding header name"                                       */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getDateHeader", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getCookies */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getCookies must provide the same       */
+      /* functionality as ActionRequest.getCookies"                           */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getCookies", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getHeader */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getHeader must return a value          */
-         /* corresponding to that returned by ActionRequest.getProperty for      */
-         /* the corresponding header name"                                       */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getHeader", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getDateHeader */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getDateHeader must return a value      */
+      /* corresponding to that returned by ActionRequest.getProperty for      */
+      /* the corresponding header name"                                       */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getDateHeader", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getHeaderNames */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the Enumeration returned by HttpServletRequest.getHeaderNames must   */
-         /* be contained in the Enumeration returned by                          */
-         /* ActionRequest.getPropertyNames"                                      */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getHeaderNames", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getHeader */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getHeader must return a value          */
+      /* corresponding to that returned by ActionRequest.getProperty for      */
+      /* the corresponding header name"                                       */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getHeader", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getHeaders */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getHeaders must return a value         */
-         /* corresponding to that returned by ActionRequest.getProperty for      */
-         /* the corresponding header name"                                       */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getHeaders", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getHeaderNames */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the Enumeration returned by HttpServletRequest.getHeaderNames must   */
+      /* be contained in the Enumeration returned by                          */
+      /* ActionRequest.getPropertyNames"                                      */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getHeaderNames", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getInputStream */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getInputStream must provide the same   */
-         /* functionality as ActionRequest.getPortletInputStream"                */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getInputStream", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getHeaders */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getHeaders must return a value         */
+      /* corresponding to that returned by ActionRequest.getProperty for      */
+      /* the corresponding header name"                                       */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getHeaders", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getIntHeader */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getIntHeader must return a value       */
-         /* corresponding to that returned by ActionRequest.getProperty for      */
-         /* the corresponding header name"                                       */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getIntHeader", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getInputStream */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getInputStream must provide the same   */
+      /* functionality as ActionRequest.getPortletInputStream"                */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getInputStream", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getLocalAddr */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getLocalAddr must return null"         */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getLocalAddr", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getIntHeader */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getIntHeader must return a value       */
+      /* corresponding to that returned by ActionRequest.getProperty for      */
+      /* the corresponding header name"                                       */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getIntHeader", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getLocalName */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getLocalName must return null"         */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getLocalName", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getLocalAddr */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getLocalAddr must return null"         */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getLocalAddr", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getLocalPort */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getLocalPort must return 0"            */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getLocalPort", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getLocalName */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getLocalName must return null"         */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getLocalName", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getLocale */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getLocale must provide the same        */
-         /* functionality as ActionRequest.getLocale"                            */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getLocale", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getLocalPort */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getLocalPort must return 0"            */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getLocalPort", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getLocales */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getLocales must provide the same       */
-         /* functionality as ActionRequest.getLocales"                           */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getLocales", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getLocale */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getLocale must provide the same        */
+      /* functionality as ActionRequest.getLocale"                            */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getLocale", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getMethod */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getMethod must provide the same        */
-         /* functionality as ActionRequest.getMethod"                            */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getMethod", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getLocales */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getLocales must provide the same       */
+      /* functionality as ActionRequest.getLocales"                           */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getLocales", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameter */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getParameter must provide the same     */
-         /* functionality as ActionRequest.getParameter"                         */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameter", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getMethod */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getMethod must provide the same        */
+      /* functionality as ActionRequest.getMethod"                            */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getMethod", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameterMap */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getParameterMap must provide the       */
-         /* same functionality as ActionRequest.getParameterMap"                 */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameterMap", aurl);
-            tb.writeTo(writer);
+      // TestSetupLink for: DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest
+      {
+         String val = portletReq.getParameter(PARM_PREFIX + "V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameter");
+         if (val == null) {
+            PortletURL rurl = ((RenderResponse)portletResp).createRenderURL();
+            rurl.setParameters(portletReq.getPrivateParameterMap());
+            rurl.setParameter(PARM_PREFIX + "V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameter", "Value");
+            TestSetupLink tl = new TestSetupLink("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameter", rurl);
+            tl.writeTo(writer);
          }
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameterNames */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getParameterNames must provide the     */
-         /* same functionality as ActionRequest.getParameterNames"               */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameterNames", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameter */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getParameter must provide the same     */
+      /* functionality as ActionRequest.getParameter"                         */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameter", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameterValues */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getParameterValues must provide the    */
-         /* same functionality as ActionRequest.getParameterValues"              */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameterValues", aurl);
-            tb.writeTo(writer);
+      // TestSetupLink for: DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest
+      {
+         String val = portletReq.getParameter(PARM_PREFIX + "V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameterMap");
+         if (val == null) {
+            PortletURL rurl = ((RenderResponse)portletResp).createRenderURL();
+            rurl.setParameters(portletReq.getPrivateParameterMap());
+            rurl.setParameter(PARM_PREFIX + "V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameterMap", "Value");
+            TestSetupLink tl = new TestSetupLink("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameterMap", rurl);
+            tl.writeTo(writer);
          }
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getPathInfo */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getPathInfo must a value               */
-         /* corresponding to the path used to obtain the                         */
-         /* PortletRequestDispatcher"                                            */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getPathInfo", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameterMap */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getParameterMap must provide the       */
+      /* same functionality as ActionRequest.getParameterMap"                 */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameterMap", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getPathTranslated */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getPathTranslated must a value         */
-         /* corresponding to the path used to obtain the                         */
-         /* PortletRequestDispatcher"                                            */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getPathTranslated", aurl);
-            tb.writeTo(writer);
+      // TestSetupLink for: DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest
+      {
+         String val = portletReq.getParameter(PARM_PREFIX + "V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameterNames");
+         if (val == null) {
+            PortletURL rurl = ((RenderResponse)portletResp).createRenderURL();
+            rurl.setParameters(portletReq.getPrivateParameterMap());
+            rurl.setParameter(PARM_PREFIX + "V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameterNames", "Value");
+            TestSetupLink tl = new TestSetupLink("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameterNames", rurl);
+            tl.writeTo(writer);
          }
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getProtocol */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getProtocol must return                */
-         /* \"HTTP/1.1\""                                                        */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getProtocol", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameterNames */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getParameterNames must provide the     */
+      /* same functionality as ActionRequest.getParameterNames"               */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameterNames", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getQueryString */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getQueryString must a value            */
-         /* corresponding to the query string information used to obtain the     */
-         /* PortletRequestDispatcher"                                            */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getQueryString", aurl);
-            tb.writeTo(writer);
+      // TestSetupLink for: DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest
+      {
+         String val = portletReq.getParameter(PARM_PREFIX + "V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameterValues");
+         if (val == null) {
+            PortletURL rurl = ((RenderResponse)portletResp).createRenderURL();
+            rurl.setParameters(portletReq.getPrivateParameterMap());
+            rurl.setParameter(PARM_PREFIX + "V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameterValues", "Value");
+            TestSetupLink tl = new TestSetupLink("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameterValues", rurl);
+            tl.writeTo(writer);
          }
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getReader */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getReader must provide the same        */
-         /* functionality as ActionRequest.getReader"                            */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getReader", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameterValues */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getParameterValues must provide the    */
+      /* same functionality as ActionRequest.getParameterValues"              */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getParameterValues", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRealPath */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getRealPath must return null"          */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRealPath", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getPathInfo */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getPathInfo must a value               */
+      /* corresponding to the path used to obtain the                         */
+      /* PortletRequestDispatcher"                                            */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getPathInfo", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRemoteAddr */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getRemoteAddr must return null"        */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRemoteAddr", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getPathTranslated */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getPathTranslated must a value         */
+      /* corresponding to the path used to obtain the                         */
+      /* PortletRequestDispatcher"                                            */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getPathTranslated", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRemoteHost */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getRemoteHost must return null"        */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRemoteHost", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getProtocol */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getProtocol must return                */
+      /* \"HTTP/1.1\""                                                        */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getProtocol", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRemotePort */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getRemotePort must return 0"           */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRemotePort", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getQueryString */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getQueryString must a value            */
+      /* corresponding to the query string information used to obtain the     */
+      /* PortletRequestDispatcher"                                            */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getQueryString", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRemoteUser */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getRemoteUser must provide the same    */
-         /* functionality as ActionRequest.getRemoteUser"                        */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRemoteUser", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getReader */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getReader must provide the same        */
+      /* functionality as ActionRequest.getReader"                            */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getReader", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRequestDispatcher */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getRequestDispatcher must provide      */
-         /* functionality as defined in the servlet specification"               */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRequestDispatcher", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRealPath */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getRealPath must return null"          */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRealPath", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRequestURI */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getRequestURI must a value             */
-         /* corresponding to the path and query string information used to       */
-         /* obtain the PortletRequestDispatcher"                                 */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRequestURI", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRemoteAddr */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getRemoteAddr must return null"        */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRemoteAddr", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRequestURL */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getRequestURL must return null"        */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRequestURL", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRemoteHost */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getRemoteHost must return null"        */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRemoteHost", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRequestedSessionId */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getRequestedSessionId must provide     */
-         /* the same functionality as ActionRequest.getRequestedSessionId"       */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRequestedSessionId", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRemotePort */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getRemotePort must return 0"           */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRemotePort", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getScheme */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getScheme must provide the same        */
-         /* functionality as ActionRequest.getScheme"                            */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getScheme", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRemoteUser */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getRemoteUser must provide the same    */
+      /* functionality as ActionRequest.getRemoteUser"                        */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRemoteUser", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getServerName */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getServerName must provide the same    */
-         /* functionality as ActionRequest.getServerName"                        */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getServerName", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRequestDispatcher */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getRequestDispatcher must provide      */
+      /* functionality as defined in the servlet specification"               */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRequestDispatcher", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getServerPort */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getServerPort must provide the same    */
-         /* functionality as ActionRequest.getServerPort"                        */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getServerPort", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRequestURI */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getRequestURI must a value             */
+      /* corresponding to the path and query string information used to       */
+      /* obtain the PortletRequestDispatcher"                                 */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRequestURI", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getServletPath */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getServletPath must a value            */
-         /* corresponding to the path used to obtain the                         */
-         /* PortletRequestDispatcher"                                            */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getServletPath", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRequestURL */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getRequestURL must return null"        */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRequestURL", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getSession */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getSession must provide the same       */
-         /* functionality as                                                     */
-         /* ActionRequest.getPortletSession(APPLICATION_SCOPE)"                  */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getSession", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRequestedSessionId */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getRequestedSessionId must provide     */
+      /* the same functionality as ActionRequest.getRequestedSessionId"       */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRequestedSessionId", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getUserPrincipal */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.getUserPrincipal must provide the      */
-         /* same functionality as ActionRequest.getUserPrincipal"                */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getUserPrincipal", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getScheme */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getScheme must provide the same        */
+      /* functionality as ActionRequest.getScheme"                            */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getScheme", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isRequestedSessionIdFromCookie */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.isRequestedSessionIdFromCookie must    */
-         /* provide functionality as defined in the servlet specification"       */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isRequestedSessionIdFromCookie", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getServerName */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getServerName must provide the same    */
+      /* functionality as ActionRequest.getServerName"                        */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getServerName", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isRequestedSessionIdFromURL1 */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.isRequestedSessionIdFromURL must       */
-         /* provide functionality as defined in the servlet specification"       */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isRequestedSessionIdFromURL1", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getServerPort */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getServerPort must provide the same    */
+      /* functionality as ActionRequest.getServerPort"                        */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getServerPort", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isRequestedSessionIdFromUrl */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.isRequestedSessionIdFromUrl must       */
-         /* provide functionality as defined in the servlet specification"       */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isRequestedSessionIdFromUrl", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getServletPath */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getServletPath must a value            */
+      /* corresponding to the path used to obtain the                         */
+      /* PortletRequestDispatcher"                                            */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getServletPath", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isRequestedSessionIdValid */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.isRequestedSessionIdValid must         */
-         /* provide the same functionality as                                    */
-         /* ActionRequest.isRequestedSessionIdValid"                             */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isRequestedSessionIdValid", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getSession */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getSession must provide the same       */
+      /* functionality as                                                     */
+      /* ActionRequest.getPortletSession(APPLICATION_SCOPE)"                  */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getSession", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isSecure */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.isSecure must provide the same         */
-         /* functionality as ActionRequest.isSecure"                             */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isSecure", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getUserPrincipal */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.getUserPrincipal must provide the      */
+      /* same functionality as ActionRequest.getUserPrincipal"                */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getUserPrincipal", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isUserInRole */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.isUserInRole must provide the same     */
-         /* functionality as ActionRequest.isUserInRole"                         */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isUserInRole", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isRequestedSessionIdFromCookie */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.isRequestedSessionIdFromCookie must    */
+      /* provide functionality as defined in the servlet specification"       */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isRequestedSessionIdFromCookie", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_removeAttribute */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.removeAttribute must provide the       */
-         /* same functionality as ActionRequest.removeAttribute"                 */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_removeAttribute", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isRequestedSessionIdFromURL1 */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.isRequestedSessionIdFromURL must       */
+      /* provide functionality as defined in the servlet specification"       */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isRequestedSessionIdFromURL1", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_setAttribute */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.setAttribute must provide the same     */
-         /* functionality as ActionRequest.setAttribute"                         */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_setAttribute", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isRequestedSessionIdFromUrl */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.isRequestedSessionIdFromUrl must       */
+      /* provide functionality as defined in the servlet specification"       */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isRequestedSessionIdFromUrl", aurl);
+         tb.writeTo(writer);
+      }
 
-         /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_setCharacterEncoding */
-         /* Details: "In a target servlet of a forward in the Action phase,      */
-         /* the method HttpServletRequest.setCharacterEncoding must provide      */
-         /* the same functionality as ActionRequest.setCharacterEncoding"        */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_setCharacterEncoding", aurl);
-            tb.writeTo(writer);
-         }
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isRequestedSessionIdValid */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.isRequestedSessionIdValid must         */
+      /* provide the same functionality as                                    */
+      /* ActionRequest.isRequestedSessionIdValid"                             */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isRequestedSessionIdValid", aurl);
+         tb.writeTo(writer);
+      }
+
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isSecure */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.isSecure must provide the same         */
+      /* functionality as ActionRequest.isSecure"                             */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isSecure", aurl);
+         tb.writeTo(writer);
+      }
 
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isUserInRole */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.isUserInRole must provide the same     */
+      /* functionality as ActionRequest.isUserInRole"                         */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isUserInRole", aurl);
+         tb.writeTo(writer);
       }
+
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_removeAttribute */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.removeAttribute must provide the       */
+      /* same functionality as ActionRequest.removeAttribute"                 */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_removeAttribute", aurl);
+         tb.writeTo(writer);
+      }
+
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_setAttribute */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.setAttribute must provide the same     */
+      /* functionality as ActionRequest.setAttribute"                         */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_setAttribute", aurl);
+         tb.writeTo(writer);
+      }
+
+      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_setCharacterEncoding */
+      /* Details: "In a target servlet of a forward in the Action phase,      */
+      /* the method HttpServletRequest.setCharacterEncoding must provide      */
+      /* the same functionality as ActionRequest.setCharacterEncoding"        */
+      {
+         PortletURL aurl = portletResp.createActionURL();
+         aurl.setParameters(portletReq.getPrivateParameterMap());
+         TestButton tb = new TestButton("V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_setCharacterEncoding", aurl);
+         tb.writeTo(writer);
+      }
+
    }
 
 }


Mime
View raw message