portals-pluto-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msnickl...@apache.org
Subject [43/48] git commit: Sorted out test cases to be implemented manually
Date Thu, 14 Aug 2014 13:24:18 GMT
Sorted out test cases to be implemented manually


Project: http://git-wip-us.apache.org/repos/asf/portals-pluto/repo
Commit: http://git-wip-us.apache.org/repos/asf/portals-pluto/commit/f6e56436
Tree: http://git-wip-us.apache.org/repos/asf/portals-pluto/tree/f6e56436
Diff: http://git-wip-us.apache.org/repos/asf/portals-pluto/diff/f6e56436

Branch: refs/heads/master
Commit: f6e56436e49738d4cce54a467e4349a75b7898f5
Parents: 334e3f4
Author: Scott Nicklous <msnicklous@apache.org>
Authored: Wed Aug 13 23:13:53 2014 +0200
Committer: Scott Nicklous <msnicklous@apache.org>
Committed: Wed Aug 13 23:13:53 2014 +0200

----------------------------------------------------------------------
 ...cherTests_SPEC2_19_ForwardServletAction.java |  21 +--
 ...tcherTests_SPEC2_19_ForwardServletEvent.java |  21 +--
 ...cherTests_SPEC2_19_IncludeServletAction.java |  28 ----
 ...tcherTests_SPEC2_19_IncludeServletEvent.java |  28 ----
 ...s_SPEC2_19_ForwardServletAction_servlet.java | 115 +++++++----------
 ...ts_SPEC2_19_ForwardServletEvent_servlet.java | 115 +++++++----------
 ...s_SPEC2_19_ForwardServletRender_servlet.java | 124 +++++++-----------
 ...SPEC2_19_ForwardServletResource_servlet.java | 124 +++++++-----------
 ...s_SPEC2_19_IncludeServletAction_servlet.java | 121 +++++++----------
 ...ts_SPEC2_19_IncludeServletEvent_servlet.java | 121 +++++++----------
 ...s_SPEC2_19_IncludeServletRender_servlet.java | 129 ++++++++-----------
 ...SPEC2_19_IncludeServletResource_servlet.java | 129 ++++++++-----------
 .../resources/xml-resources/additionalTCs.xml   |  22 ----
 ...patcherTests2_SPEC2_19_ForwardJSPAction.java |  21 +--
 ...spatcherTests2_SPEC2_19_ForwardJSPEvent.java |  21 +--
 ...patcherTests2_SPEC2_19_IncludeJSPAction.java |  28 ----
 ...spatcherTests2_SPEC2_19_IncludeJSPEvent.java |  28 ----
 .../resources/xml-resources/additionalTCs.xml   |  22 ----
 ...spatcherTests2_SPEC2_19_ForwardJSPAction.jsp | 115 +++++++----------
 ...ispatcherTests2_SPEC2_19_ForwardJSPEvent.jsp | 115 +++++++----------
 ...spatcherTests2_SPEC2_19_ForwardJSPRender.jsp | 124 +++++++-----------
 ...atcherTests2_SPEC2_19_ForwardJSPResource.jsp | 124 +++++++-----------
 ...spatcherTests2_SPEC2_19_IncludeJSPAction.jsp | 121 +++++++----------
 ...ispatcherTests2_SPEC2_19_IncludeJSPEvent.jsp | 121 +++++++----------
 ...spatcherTests2_SPEC2_19_IncludeJSPRender.jsp | 129 ++++++++-----------
 ...atcherTests2_SPEC2_19_IncludeJSPResource.jsp | 129 ++++++++-----------
 .../beans/JSR286DispatcherTestCaseDetails.java  | 104 ++-------------
 27 files changed, 804 insertions(+), 1496 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/f6e56436/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/portlets/DispatcherTests_SPEC2_19_ForwardServletAction.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/portlets/DispatcherTests_SPEC2_19_ForwardServletAction.java b/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/portlets/DispatcherTests_SPEC2_19_ForwardServletAction.java
index ac08691..9c06018 100644
--- a/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/portlets/DispatcherTests_SPEC2_19_ForwardServletAction.java
+++ b/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/portlets/DispatcherTests_SPEC2_19_ForwardServletAction.java
@@ -149,15 +149,6 @@ public class DispatcherTests_SPEC2_19_ForwardServletAction implements Portlet, R
             tb.writeTo(writer);
          }
 
-         /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletAction_dispatch4  */
-         /* Details: "The parameters associated with a request dispatcher are    */
-         /* scoped only for the duration of the forward or forward call"         */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherTests_SPEC2_19_ForwardServletAction_dispatch4", aurl);
-            tb.writeTo(writer);
-         }
-
          /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletAction_invoke1    */
          /* Details: "The PortletRequestDispatcher forward method can target a   */
          /* servlet "                                                            */
@@ -168,7 +159,7 @@ public class DispatcherTests_SPEC2_19_ForwardServletAction implements Portlet, R
          }
 
          /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletAction_invoke2    */
-         /* Details: "Parameters to the include method for a target servlet      */
+         /* Details: "Parameters to the forward method for a target servlet      */
          /* can be the request and response classes from the portlet lifecyle    */
          /* method initiating the include"                                       */
          {
@@ -177,16 +168,6 @@ public class DispatcherTests_SPEC2_19_ForwardServletAction implements Portlet, R
             tb.writeTo(writer);
          }
 
-         /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletAction_invoke3    */
-         /* Details: "Parameters to the include method for a target servlet      */
-         /* can be wrapped request and response classes from the portlet         */
-         /* lifecyle method initiating the include"                              */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherTests_SPEC2_19_ForwardServletAction_invoke3", aurl);
-            tb.writeTo(writer);
-         }
-
          /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletAction_invoke4    */
          /* Details: "The portlet container must invoke the target servlet in    */
          /* the same thread as the PortletRequestDispatcher include              */

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/f6e56436/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/portlets/DispatcherTests_SPEC2_19_ForwardServletEvent.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/portlets/DispatcherTests_SPEC2_19_ForwardServletEvent.java b/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/portlets/DispatcherTests_SPEC2_19_ForwardServletEvent.java
index 85e498b..8cde049 100644
--- a/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/portlets/DispatcherTests_SPEC2_19_ForwardServletEvent.java
+++ b/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/portlets/DispatcherTests_SPEC2_19_ForwardServletEvent.java
@@ -142,15 +142,6 @@ public class DispatcherTests_SPEC2_19_ForwardServletEvent implements Portlet, Re
          tb.writeTo(writer);
       }
 
-      /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletEvent_dispatch4   */
-      /* Details: "The parameters associated with a request dispatcher are    */
-      /* scoped only for the duration of the forward or forward call"         */
-      {
-         PortletURL aurl = portletResp.createActionURL();
-         TestButton tb = new TestButton("V2DispatcherTests_SPEC2_19_ForwardServletEvent_dispatch4", aurl);
-         tb.writeTo(writer);
-      }
-
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletEvent_invoke1     */
       /* Details: "The PortletRequestDispatcher forward method can target a   */
       /* servlet "                                                            */
@@ -161,7 +152,7 @@ public class DispatcherTests_SPEC2_19_ForwardServletEvent implements Portlet, Re
       }
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletEvent_invoke2     */
-      /* Details: "Parameters to the include method for a target servlet      */
+      /* Details: "Parameters to the forward method for a target servlet      */
       /* can be the request and response classes from the portlet lifecyle    */
       /* method initiating the include"                                       */
       {
@@ -170,16 +161,6 @@ public class DispatcherTests_SPEC2_19_ForwardServletEvent implements Portlet, Re
          tb.writeTo(writer);
       }
 
-      /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletEvent_invoke3     */
-      /* Details: "Parameters to the include method for a target servlet      */
-      /* can be wrapped request and response classes from the portlet         */
-      /* lifecyle method initiating the include"                              */
-      {
-         PortletURL aurl = portletResp.createActionURL();
-         TestButton tb = new TestButton("V2DispatcherTests_SPEC2_19_ForwardServletEvent_invoke3", aurl);
-         tb.writeTo(writer);
-      }
-
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletEvent_invoke4     */
       /* Details: "The portlet container must invoke the target servlet in    */
       /* the same thread as the PortletRequestDispatcher include              */

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/f6e56436/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/portlets/DispatcherTests_SPEC2_19_IncludeServletAction.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/portlets/DispatcherTests_SPEC2_19_IncludeServletAction.java b/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/portlets/DispatcherTests_SPEC2_19_IncludeServletAction.java
index 2b4374f..65ac0a2 100644
--- a/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/portlets/DispatcherTests_SPEC2_19_IncludeServletAction.java
+++ b/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/portlets/DispatcherTests_SPEC2_19_IncludeServletAction.java
@@ -149,15 +149,6 @@ public class DispatcherTests_SPEC2_19_IncludeServletAction implements Portlet, R
             tb.writeTo(writer);
          }
 
-         /* TestCase: V2DispatcherTests_SPEC2_19_IncludeServletAction_dispatch4  */
-         /* Details: "The parameters associated with a request dispatcher are    */
-         /* scoped only for the duration of the include or forward call"         */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherTests_SPEC2_19_IncludeServletAction_dispatch4", aurl);
-            tb.writeTo(writer);
-         }
-
          /* TestCase: V2DispatcherTests_SPEC2_19_IncludeServletAction_invoke1    */
          /* Details: "The PortletRequestDispatcher include method can target a   */
          /* servlet "                                                            */
@@ -177,16 +168,6 @@ public class DispatcherTests_SPEC2_19_IncludeServletAction implements Portlet, R
             tb.writeTo(writer);
          }
 
-         /* TestCase: V2DispatcherTests_SPEC2_19_IncludeServletAction_invoke3    */
-         /* Details: "Parameters to the include method for a target servlet      */
-         /* can be wrapped request and response classes from the portlet         */
-         /* lifecyle method initiating the include"                              */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherTests_SPEC2_19_IncludeServletAction_invoke3", aurl);
-            tb.writeTo(writer);
-         }
-
          /* TestCase: V2DispatcherTests_SPEC2_19_IncludeServletAction_invoke4    */
          /* Details: "The portlet container must invoke the target servlet in    */
          /* the same thread as the PortletRequestDispatcher include              */
@@ -207,15 +188,6 @@ public class DispatcherTests_SPEC2_19_IncludeServletAction implements Portlet, R
             tb.writeTo(writer);
          }
 
-         /* TestCase: V2DispatcherTests_SPEC2_19_IncludeServletAction_invoke8    */
-         /* Details: "The portlet can include multiple servlets during the       */
-         /* same lifecycle method"                                               */
-         {
-            PortletURL aurl = portletResp.createActionURL();
-            TestButton tb = new TestButton("V2DispatcherTests_SPEC2_19_IncludeServletAction_invoke8", aurl);
-            tb.writeTo(writer);
-         }
-
          /* TestCase: V2DispatcherTests_SPEC2_19_IncludeServletAction_attributes1 */
          /* Details: "If the request dispatcher is obtained through the          */
          /* getRequestDispatcher method, the request attribute                   */

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/f6e56436/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/portlets/DispatcherTests_SPEC2_19_IncludeServletEvent.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/portlets/DispatcherTests_SPEC2_19_IncludeServletEvent.java b/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/portlets/DispatcherTests_SPEC2_19_IncludeServletEvent.java
index b8e6bd6..5d056f4 100644
--- a/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/portlets/DispatcherTests_SPEC2_19_IncludeServletEvent.java
+++ b/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/portlets/DispatcherTests_SPEC2_19_IncludeServletEvent.java
@@ -142,15 +142,6 @@ public class DispatcherTests_SPEC2_19_IncludeServletEvent implements Portlet, Re
          tb.writeTo(writer);
       }
 
-      /* TestCase: V2DispatcherTests_SPEC2_19_IncludeServletEvent_dispatch4   */
-      /* Details: "The parameters associated with a request dispatcher are    */
-      /* scoped only for the duration of the include or forward call"         */
-      {
-         PortletURL aurl = portletResp.createActionURL();
-         TestButton tb = new TestButton("V2DispatcherTests_SPEC2_19_IncludeServletEvent_dispatch4", aurl);
-         tb.writeTo(writer);
-      }
-
       /* TestCase: V2DispatcherTests_SPEC2_19_IncludeServletEvent_invoke1     */
       /* Details: "The PortletRequestDispatcher include method can target a   */
       /* servlet "                                                            */
@@ -170,16 +161,6 @@ public class DispatcherTests_SPEC2_19_IncludeServletEvent implements Portlet, Re
          tb.writeTo(writer);
       }
 
-      /* TestCase: V2DispatcherTests_SPEC2_19_IncludeServletEvent_invoke3     */
-      /* Details: "Parameters to the include method for a target servlet      */
-      /* can be wrapped request and response classes from the portlet         */
-      /* lifecyle method initiating the include"                              */
-      {
-         PortletURL aurl = portletResp.createActionURL();
-         TestButton tb = new TestButton("V2DispatcherTests_SPEC2_19_IncludeServletEvent_invoke3", aurl);
-         tb.writeTo(writer);
-      }
-
       /* TestCase: V2DispatcherTests_SPEC2_19_IncludeServletEvent_invoke4     */
       /* Details: "The portlet container must invoke the target servlet in    */
       /* the same thread as the PortletRequestDispatcher include              */
@@ -200,15 +181,6 @@ public class DispatcherTests_SPEC2_19_IncludeServletEvent implements Portlet, Re
          tb.writeTo(writer);
       }
 
-      /* TestCase: V2DispatcherTests_SPEC2_19_IncludeServletEvent_invoke8     */
-      /* Details: "The portlet can include multiple servlets during the       */
-      /* same lifecycle method"                                               */
-      {
-         PortletURL aurl = portletResp.createActionURL();
-         TestButton tb = new TestButton("V2DispatcherTests_SPEC2_19_IncludeServletEvent_invoke8", aurl);
-         tb.writeTo(writer);
-      }
-
       /* TestCase: V2DispatcherTests_SPEC2_19_IncludeServletEvent_attributes1 */
       /* Details: "If the request dispatcher is obtained through the          */
       /* getRequestDispatcher method, the request attribute                   */

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/f6e56436/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/servlets/DispatcherTests_SPEC2_19_ForwardServletAction_servlet.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/servlets/DispatcherTests_SPEC2_19_ForwardServletAction_servlet.java b/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/servlets/DispatcherTests_SPEC2_19_ForwardServletAction_servlet.java
index e51418b..8239c1d 100644
--- a/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/servlets/DispatcherTests_SPEC2_19_ForwardServletAction_servlet.java
+++ b/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/servlets/DispatcherTests_SPEC2_19_ForwardServletAction_servlet.java
@@ -116,64 +116,47 @@ public class DispatcherTests_SPEC2_19_ForwardServletAction_servlet extends HttpS
       } catch(Exception e) {tr2.appendTcDetail(e.toString());}
       tr2.writeTo(writer);
 
-      /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletAction_dispatch4  */
-      /* Details: "The parameters associated with a request dispatcher are    */
-      /* scoped only for the duration of the forward or forward call"         */
-      TestResult tr3 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETACTION_DISPATCH4);
-      /* TODO: implement test */
-      tr3.appendTcDetail("Not implemented.");
-      tr3.writeTo(writer);
-
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletAction_invoke1    */
       /* Details: "The PortletRequestDispatcher forward method can target a   */
       /* servlet "                                                            */
-      TestResult tr4 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETACTION_INVOKE1);
+      TestResult tr3 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETACTION_INVOKE1);
       try {
          // If this gets executed, include worked.
-         tr4.setTcSuccess(true);
-      } catch(Exception e) {tr4.appendTcDetail(e.toString());}
-      tr4.writeTo(writer);
+         tr3.setTcSuccess(true);
+      } catch(Exception e) {tr3.appendTcDetail(e.toString());}
+      tr3.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletAction_invoke2    */
-      /* Details: "Parameters to the include method for a target servlet      */
+      /* Details: "Parameters to the forward method for a target servlet      */
       /* can be the request and response classes from the portlet lifecyle    */
       /* method initiating the include"                                       */
-      TestResult tr5 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETACTION_INVOKE2);
+      TestResult tr4 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETACTION_INVOKE2);
       try {
          // If this gets executed, include worked.
-         tr5.setTcSuccess(true);
-      } catch(Exception e) {tr5.appendTcDetail(e.toString());}
-      tr5.writeTo(writer);
-
-      /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletAction_invoke3    */
-      /* Details: "Parameters to the include method for a target servlet      */
-      /* can be wrapped request and response classes from the portlet         */
-      /* lifecyle method initiating the include"                              */
-      TestResult tr6 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETACTION_INVOKE3);
-      /* TODO: implement test */
-      tr6.appendTcDetail("Not implemented.");
-      tr6.writeTo(writer);
+         tr4.setTcSuccess(true);
+      } catch(Exception e) {tr4.appendTcDetail(e.toString());}
+      tr4.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletAction_invoke4    */
       /* Details: "The portlet container must invoke the target servlet in    */
       /* the same thread as the PortletRequestDispatcher include              */
       /* invocation"                                                          */
-      TestResult tr7 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETACTION_INVOKE4);
+      TestResult tr5 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETACTION_INVOKE4);
       try {
-         tr7.setTcSuccess(reqTid == svtTid);
-      } catch(Exception e) {tr7.appendTcDetail(e.toString());}
-      tr7.writeTo(writer);
+         tr5.setTcSuccess(reqTid == svtTid);
+      } catch(Exception e) {tr5.appendTcDetail(e.toString());}
+      tr5.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletAction_invoke7    */
       /* Details: "The path elements of the request object exposed to the     */
       /* target servlet must reflect the path used to obtain the              */
       /* RequestDispatcher"                                                   */
-      TestResult tr8 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETACTION_INVOKE7);
+      TestResult tr6 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETACTION_INVOKE7);
       try {
          String ctxPath= request.getContextPath();
-         CompareUtils.stringsEqual(ctxPath, "/DispatcherTests_SPEC2_19_ForwardServletAction_servlet", tr8);
-      } catch(Exception e) {tr8.appendTcDetail(e.toString());}
-      tr8.writeTo(writer);
+         CompareUtils.stringsEqual(ctxPath, "/DispatcherTests_SPEC2_19_ForwardServletAction_servlet", tr6);
+      } catch(Exception e) {tr6.appendTcDetail(e.toString());}
+      tr6.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletAction_attributes1 */
       /* Details: "If the request dispatcher is obtained through the          */
@@ -181,14 +164,14 @@ public class DispatcherTests_SPEC2_19_ForwardServletAction_servlet extends HttpS
       /* javax.servlet.forward.request_uri will be set, and equals the        */
       /* value from HTTPServletRequest.getRequestURI for the first servlet    */
       /* in the forward chain"                                                */
-      TestResult tr9 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETACTION_ATTRIBUTES1);
+      TestResult tr7 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETACTION_ATTRIBUTES1);
       try {
          String name = "javax.servlet.forward.req.uri";
          String attrVal = (String) portletReq.getAttribute(name);
          String currVal =  request.getRequestURI();
-         CompareUtils.stringsEqual(attrVal, currVal, tr9);
-      } catch(Exception e) {tr9.appendTcDetail(e.toString());}
-      tr9.writeTo(writer);
+         CompareUtils.stringsEqual(attrVal, currVal, tr7);
+      } catch(Exception e) {tr7.appendTcDetail(e.toString());}
+      tr7.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletAction_attributes2 */
       /* Details: "If the request dispatcher is obtained through the          */
@@ -196,14 +179,14 @@ public class DispatcherTests_SPEC2_19_ForwardServletAction_servlet extends HttpS
       /* javax.servlet.forward.context_path will be set, and equals the       */
       /* value from HTTPServletRequest.getContestPath for the first servlet   */
       /* in the forward chain"                                                */
-      TestResult tr10 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETACTION_ATTRIBUTES2);
+      TestResult tr8 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETACTION_ATTRIBUTES2);
       try {
          String name = "javax.servlet.forward.context_path";
          String attrVal = (String) portletReq.getAttribute(name);
          String currVal =  request.getContextPath();
-         CompareUtils.stringsEqual(attrVal, currVal, tr10);
-      } catch(Exception e) {tr10.appendTcDetail(e.toString());}
-      tr10.writeTo(writer);
+         CompareUtils.stringsEqual(attrVal, currVal, tr8);
+      } catch(Exception e) {tr8.appendTcDetail(e.toString());}
+      tr8.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletAction_attributes3 */
       /* Details: "If the request dispatcher is obtained through the          */
@@ -211,14 +194,14 @@ public class DispatcherTests_SPEC2_19_ForwardServletAction_servlet extends HttpS
       /* javax.servlet.forward.servlet_path will be set, and equals the       */
       /* value from HTTPServletRequest.getServletPath for the first servlet   */
       /* in the forward chain"                                                */
-      TestResult tr11 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETACTION_ATTRIBUTES3);
+      TestResult tr9 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETACTION_ATTRIBUTES3);
       try {
          String name = "javax.servlet.forward.servlet_path";
          String attrVal = (String) portletReq.getAttribute(name);
          String currVal =  request.getServletPath();
-         CompareUtils.stringsEqual(attrVal, currVal, tr11);
-      } catch(Exception e) {tr11.appendTcDetail(e.toString());}
-      tr11.writeTo(writer);
+         CompareUtils.stringsEqual(attrVal, currVal, tr9);
+      } catch(Exception e) {tr9.appendTcDetail(e.toString());}
+      tr9.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletAction_attributes4 */
       /* Details: "If the request dispatcher is obtained through the          */
@@ -226,14 +209,14 @@ public class DispatcherTests_SPEC2_19_ForwardServletAction_servlet extends HttpS
       /* javax.servlet.forward.path_info will be set, and equals the value    */
       /* from HTTPServletRequest.getPathInfo for the first servlet in the     */
       /* forward chain"                                                       */
-      TestResult tr12 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETACTION_ATTRIBUTES4);
+      TestResult tr10 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETACTION_ATTRIBUTES4);
       try {
          String name = "javax.servlet.forward.path_info";
          String attrVal = (String) portletReq.getAttribute(name);
          String currVal =  request.getPathInfo();
-         CompareUtils.stringsEqual(attrVal, currVal, tr12);
-      } catch(Exception e) {tr12.appendTcDetail(e.toString());}
-      tr12.writeTo(writer);
+         CompareUtils.stringsEqual(attrVal, currVal, tr10);
+      } catch(Exception e) {tr10.appendTcDetail(e.toString());}
+      tr10.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletAction_attributes5 */
       /* Details: "If the request dispatcher is obtained through the          */
@@ -241,49 +224,49 @@ public class DispatcherTests_SPEC2_19_ForwardServletAction_servlet extends HttpS
       /* javax.servlet.forward.query_string will be set, and equals the       */
       /* value from HTTPServletRequest.getQueryString for the first servlet   */
       /* in the forward chain"                                                */
-      TestResult tr13 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETACTION_ATTRIBUTES5);
+      TestResult tr11 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETACTION_ATTRIBUTES5);
       try {
          String name = "javax.servlet.forward.query_string";
          String attrVal = (String) portletReq.getAttribute(name);
          String currVal =  request.getQueryString();
-         CompareUtils.stringsEqual(attrVal, currVal, tr13);
-      } catch(Exception e) {tr13.appendTcDetail(e.toString());}
-      tr13.writeTo(writer);
+         CompareUtils.stringsEqual(attrVal, currVal, tr11);
+      } catch(Exception e) {tr11.appendTcDetail(e.toString());}
+      tr11.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletAction_attributes6 */
       /* Details: "The request attribute javax.portlet.config must be set     */
       /* to the javax.portlet.PortletConfig object"                           */
-      TestResult tr14 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETACTION_ATTRIBUTES6);
+      TestResult tr12 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETACTION_ATTRIBUTES6);
       try {
          ClassChecker cc = new ClassChecker(portletConfig.getClass());
          boolean ok = cc.implementsInterface(PortletConfig.class);
-         tr14.setTcSuccess(ok);
-      } catch(Exception e) {tr14.appendTcDetail(e.toString());}
-      tr14.writeTo(writer);
+         tr12.setTcSuccess(ok);
+      } catch(Exception e) {tr12.appendTcDetail(e.toString());}
+      tr12.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletAction_attributes7 */
       /* Details: "For forwards from the processAction method, The request    */
       /* attribute javax.portlet.request must be set to the                   */
       /* javax.portlet.ActionRequest object"                                  */
-      TestResult tr15 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETACTION_ATTRIBUTES7);
+      TestResult tr13 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETACTION_ATTRIBUTES7);
       try {
          ClassChecker cc = new ClassChecker(portletReq.getClass());
          boolean ok = cc.implementsInterface(ActionRequest.class);
-         tr15.setTcSuccess(ok);
-      } catch(Exception e) {tr15.appendTcDetail(e.toString());}
-      tr15.writeTo(writer);
+         tr13.setTcSuccess(ok);
+      } catch(Exception e) {tr13.appendTcDetail(e.toString());}
+      tr13.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletAction_attributes8 */
       /* Details: "For forwards from the processAction method, The request    */
       /* attribute javax.portlet.response must be set to the                  */
       /* javax.portlet.ActionResponse object"                                 */
-      TestResult tr16 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETACTION_ATTRIBUTES8);
+      TestResult tr14 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETACTION_ATTRIBUTES8);
       try {
          ClassChecker cc = new ClassChecker(portletResp.getClass());
          boolean ok = cc.implementsInterface(ActionResponse.class);
-         tr16.setTcSuccess(ok);
-      } catch(Exception e) {tr16.appendTcDetail(e.toString());}
-      tr16.writeTo(writer);
+         tr14.setTcSuccess(ok);
+      } catch(Exception e) {tr14.appendTcDetail(e.toString());}
+      tr14.writeTo(writer);
 
       request.getSession().setAttribute(
                    Constants.RESULT_ATTR_PREFIX + "DispatcherTests_SPEC2_19_ForwardServletAction",

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/f6e56436/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/servlets/DispatcherTests_SPEC2_19_ForwardServletEvent_servlet.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/servlets/DispatcherTests_SPEC2_19_ForwardServletEvent_servlet.java b/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/servlets/DispatcherTests_SPEC2_19_ForwardServletEvent_servlet.java
index 8015511..8b29341 100644
--- a/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/servlets/DispatcherTests_SPEC2_19_ForwardServletEvent_servlet.java
+++ b/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/servlets/DispatcherTests_SPEC2_19_ForwardServletEvent_servlet.java
@@ -116,64 +116,47 @@ public class DispatcherTests_SPEC2_19_ForwardServletEvent_servlet extends HttpSe
       } catch(Exception e) {tr2.appendTcDetail(e.toString());}
       tr2.writeTo(writer);
 
-      /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletEvent_dispatch4   */
-      /* Details: "The parameters associated with a request dispatcher are    */
-      /* scoped only for the duration of the forward or forward call"         */
-      TestResult tr3 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETEVENT_DISPATCH4);
-      /* TODO: implement test */
-      tr3.appendTcDetail("Not implemented.");
-      tr3.writeTo(writer);
-
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletEvent_invoke1     */
       /* Details: "The PortletRequestDispatcher forward method can target a   */
       /* servlet "                                                            */
-      TestResult tr4 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETEVENT_INVOKE1);
+      TestResult tr3 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETEVENT_INVOKE1);
       try {
          // If this gets executed, include worked.
-         tr4.setTcSuccess(true);
-      } catch(Exception e) {tr4.appendTcDetail(e.toString());}
-      tr4.writeTo(writer);
+         tr3.setTcSuccess(true);
+      } catch(Exception e) {tr3.appendTcDetail(e.toString());}
+      tr3.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletEvent_invoke2     */
-      /* Details: "Parameters to the include method for a target servlet      */
+      /* Details: "Parameters to the forward method for a target servlet      */
       /* can be the request and response classes from the portlet lifecyle    */
       /* method initiating the include"                                       */
-      TestResult tr5 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETEVENT_INVOKE2);
+      TestResult tr4 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETEVENT_INVOKE2);
       try {
          // If this gets executed, include worked.
-         tr5.setTcSuccess(true);
-      } catch(Exception e) {tr5.appendTcDetail(e.toString());}
-      tr5.writeTo(writer);
-
-      /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletEvent_invoke3     */
-      /* Details: "Parameters to the include method for a target servlet      */
-      /* can be wrapped request and response classes from the portlet         */
-      /* lifecyle method initiating the include"                              */
-      TestResult tr6 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETEVENT_INVOKE3);
-      /* TODO: implement test */
-      tr6.appendTcDetail("Not implemented.");
-      tr6.writeTo(writer);
+         tr4.setTcSuccess(true);
+      } catch(Exception e) {tr4.appendTcDetail(e.toString());}
+      tr4.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletEvent_invoke4     */
       /* Details: "The portlet container must invoke the target servlet in    */
       /* the same thread as the PortletRequestDispatcher include              */
       /* invocation"                                                          */
-      TestResult tr7 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETEVENT_INVOKE4);
+      TestResult tr5 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETEVENT_INVOKE4);
       try {
-         tr7.setTcSuccess(reqTid == svtTid);
-      } catch(Exception e) {tr7.appendTcDetail(e.toString());}
-      tr7.writeTo(writer);
+         tr5.setTcSuccess(reqTid == svtTid);
+      } catch(Exception e) {tr5.appendTcDetail(e.toString());}
+      tr5.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletEvent_invoke7     */
       /* Details: "The path elements of the request object exposed to the     */
       /* target servlet must reflect the path used to obtain the              */
       /* RequestDispatcher"                                                   */
-      TestResult tr8 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETEVENT_INVOKE7);
+      TestResult tr6 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETEVENT_INVOKE7);
       try {
          String ctxPath= request.getContextPath();
-         CompareUtils.stringsEqual(ctxPath, "/DispatcherTests_SPEC2_19_ForwardServletEvent_servlet", tr8);
-      } catch(Exception e) {tr8.appendTcDetail(e.toString());}
-      tr8.writeTo(writer);
+         CompareUtils.stringsEqual(ctxPath, "/DispatcherTests_SPEC2_19_ForwardServletEvent_servlet", tr6);
+      } catch(Exception e) {tr6.appendTcDetail(e.toString());}
+      tr6.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletEvent_attributes1 */
       /* Details: "If the request dispatcher is obtained through the          */
@@ -181,14 +164,14 @@ public class DispatcherTests_SPEC2_19_ForwardServletEvent_servlet extends HttpSe
       /* javax.servlet.forward.request_uri will be set, and equals the        */
       /* value from HTTPServletRequest.getRequestURI for the first servlet    */
       /* in the forward chain"                                                */
-      TestResult tr9 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETEVENT_ATTRIBUTES1);
+      TestResult tr7 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETEVENT_ATTRIBUTES1);
       try {
          String name = "javax.servlet.forward.req.uri";
          String attrVal = (String) portletReq.getAttribute(name);
          String currVal =  request.getRequestURI();
-         CompareUtils.stringsEqual(attrVal, currVal, tr9);
-      } catch(Exception e) {tr9.appendTcDetail(e.toString());}
-      tr9.writeTo(writer);
+         CompareUtils.stringsEqual(attrVal, currVal, tr7);
+      } catch(Exception e) {tr7.appendTcDetail(e.toString());}
+      tr7.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletEvent_attributes2 */
       /* Details: "If the request dispatcher is obtained through the          */
@@ -196,14 +179,14 @@ public class DispatcherTests_SPEC2_19_ForwardServletEvent_servlet extends HttpSe
       /* javax.servlet.forward.context_path will be set, and equals the       */
       /* value from HTTPServletRequest.getContestPath for the first servlet   */
       /* in the forward chain"                                                */
-      TestResult tr10 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETEVENT_ATTRIBUTES2);
+      TestResult tr8 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETEVENT_ATTRIBUTES2);
       try {
          String name = "javax.servlet.forward.context_path";
          String attrVal = (String) portletReq.getAttribute(name);
          String currVal =  request.getContextPath();
-         CompareUtils.stringsEqual(attrVal, currVal, tr10);
-      } catch(Exception e) {tr10.appendTcDetail(e.toString());}
-      tr10.writeTo(writer);
+         CompareUtils.stringsEqual(attrVal, currVal, tr8);
+      } catch(Exception e) {tr8.appendTcDetail(e.toString());}
+      tr8.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletEvent_attributes3 */
       /* Details: "If the request dispatcher is obtained through the          */
@@ -211,14 +194,14 @@ public class DispatcherTests_SPEC2_19_ForwardServletEvent_servlet extends HttpSe
       /* javax.servlet.forward.servlet_path will be set, and equals the       */
       /* value from HTTPServletRequest.getServletPath for the first servlet   */
       /* in the forward chain"                                                */
-      TestResult tr11 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETEVENT_ATTRIBUTES3);
+      TestResult tr9 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETEVENT_ATTRIBUTES3);
       try {
          String name = "javax.servlet.forward.servlet_path";
          String attrVal = (String) portletReq.getAttribute(name);
          String currVal =  request.getServletPath();
-         CompareUtils.stringsEqual(attrVal, currVal, tr11);
-      } catch(Exception e) {tr11.appendTcDetail(e.toString());}
-      tr11.writeTo(writer);
+         CompareUtils.stringsEqual(attrVal, currVal, tr9);
+      } catch(Exception e) {tr9.appendTcDetail(e.toString());}
+      tr9.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletEvent_attributes4 */
       /* Details: "If the request dispatcher is obtained through the          */
@@ -226,14 +209,14 @@ public class DispatcherTests_SPEC2_19_ForwardServletEvent_servlet extends HttpSe
       /* javax.servlet.forward.path_info will be set, and equals the value    */
       /* from HTTPServletRequest.getPathInfo for the first servlet in the     */
       /* forward chain"                                                       */
-      TestResult tr12 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETEVENT_ATTRIBUTES4);
+      TestResult tr10 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETEVENT_ATTRIBUTES4);
       try {
          String name = "javax.servlet.forward.path_info";
          String attrVal = (String) portletReq.getAttribute(name);
          String currVal =  request.getPathInfo();
-         CompareUtils.stringsEqual(attrVal, currVal, tr12);
-      } catch(Exception e) {tr12.appendTcDetail(e.toString());}
-      tr12.writeTo(writer);
+         CompareUtils.stringsEqual(attrVal, currVal, tr10);
+      } catch(Exception e) {tr10.appendTcDetail(e.toString());}
+      tr10.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletEvent_attributes5 */
       /* Details: "If the request dispatcher is obtained through the          */
@@ -241,49 +224,49 @@ public class DispatcherTests_SPEC2_19_ForwardServletEvent_servlet extends HttpSe
       /* javax.servlet.forward.query_string will be set, and equals the       */
       /* value from HTTPServletRequest.getQueryString for the first servlet   */
       /* in the forward chain"                                                */
-      TestResult tr13 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETEVENT_ATTRIBUTES5);
+      TestResult tr11 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETEVENT_ATTRIBUTES5);
       try {
          String name = "javax.servlet.forward.query_string";
          String attrVal = (String) portletReq.getAttribute(name);
          String currVal =  request.getQueryString();
-         CompareUtils.stringsEqual(attrVal, currVal, tr13);
-      } catch(Exception e) {tr13.appendTcDetail(e.toString());}
-      tr13.writeTo(writer);
+         CompareUtils.stringsEqual(attrVal, currVal, tr11);
+      } catch(Exception e) {tr11.appendTcDetail(e.toString());}
+      tr11.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletEvent_attributes6 */
       /* Details: "The request attribute javax.portlet.config must be set     */
       /* to the javax.portlet.PortletConfig object"                           */
-      TestResult tr14 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETEVENT_ATTRIBUTES6);
+      TestResult tr12 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETEVENT_ATTRIBUTES6);
       try {
          ClassChecker cc = new ClassChecker(portletConfig.getClass());
          boolean ok = cc.implementsInterface(PortletConfig.class);
-         tr14.setTcSuccess(ok);
-      } catch(Exception e) {tr14.appendTcDetail(e.toString());}
-      tr14.writeTo(writer);
+         tr12.setTcSuccess(ok);
+      } catch(Exception e) {tr12.appendTcDetail(e.toString());}
+      tr12.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletEvent_attributes7 */
       /* Details: "For forwards from the processEvent method, The request     */
       /* attribute javax.portlet.request must be set to the                   */
       /* javax.portlet.EventRequest object"                                   */
-      TestResult tr15 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETEVENT_ATTRIBUTES7);
+      TestResult tr13 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETEVENT_ATTRIBUTES7);
       try {
          ClassChecker cc = new ClassChecker(portletReq.getClass());
          boolean ok = cc.implementsInterface(EventRequest.class);
-         tr15.setTcSuccess(ok);
-      } catch(Exception e) {tr15.appendTcDetail(e.toString());}
-      tr15.writeTo(writer);
+         tr13.setTcSuccess(ok);
+      } catch(Exception e) {tr13.appendTcDetail(e.toString());}
+      tr13.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletEvent_attributes8 */
       /* Details: "For forwards from the processEvent method, The request     */
       /* attribute javax.portlet.response must be set to the                  */
       /* javax.portlet.EventResponse object"                                  */
-      TestResult tr16 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETEVENT_ATTRIBUTES8);
+      TestResult tr14 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETEVENT_ATTRIBUTES8);
       try {
          ClassChecker cc = new ClassChecker(portletResp.getClass());
          boolean ok = cc.implementsInterface(EventResponse.class);
-         tr16.setTcSuccess(ok);
-      } catch(Exception e) {tr16.appendTcDetail(e.toString());}
-      tr16.writeTo(writer);
+         tr14.setTcSuccess(ok);
+      } catch(Exception e) {tr14.appendTcDetail(e.toString());}
+      tr14.writeTo(writer);
 
       request.getSession().setAttribute(
                    Constants.RESULT_ATTR_PREFIX + "DispatcherTests_SPEC2_19_ForwardServletEvent",

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/f6e56436/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/servlets/DispatcherTests_SPEC2_19_ForwardServletRender_servlet.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/servlets/DispatcherTests_SPEC2_19_ForwardServletRender_servlet.java b/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/servlets/DispatcherTests_SPEC2_19_ForwardServletRender_servlet.java
index ba642b7..a9b63fd 100644
--- a/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/servlets/DispatcherTests_SPEC2_19_ForwardServletRender_servlet.java
+++ b/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/servlets/DispatcherTests_SPEC2_19_ForwardServletRender_servlet.java
@@ -116,73 +116,47 @@ public class DispatcherTests_SPEC2_19_ForwardServletRender_servlet extends HttpS
       } catch(Exception e) {tr2.appendTcDetail(e.toString());}
       tr2.writeTo(writer);
 
-      /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletRender_dispatch4  */
-      /* Details: "The parameters associated with a request dispatcher are    */
-      /* scoped only for the duration of the forward or forward call"         */
-      TestResult tr3 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRENDER_DISPATCH4);
-      /* TODO: implement test */
-      tr3.appendTcDetail("Not implemented.");
-      tr3.writeTo(writer);
-
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletRender_invoke1    */
       /* Details: "The PortletRequestDispatcher forward method can target a   */
       /* servlet "                                                            */
-      TestResult tr4 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRENDER_INVOKE1);
+      TestResult tr3 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRENDER_INVOKE1);
       try {
          // If this gets executed, include worked.
-         tr4.setTcSuccess(true);
-      } catch(Exception e) {tr4.appendTcDetail(e.toString());}
-      tr4.writeTo(writer);
+         tr3.setTcSuccess(true);
+      } catch(Exception e) {tr3.appendTcDetail(e.toString());}
+      tr3.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletRender_invoke2    */
-      /* Details: "Parameters to the include method for a target servlet      */
+      /* Details: "Parameters to the forward method for a target servlet      */
       /* can be the request and response classes from the portlet lifecyle    */
       /* method initiating the include"                                       */
-      TestResult tr5 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRENDER_INVOKE2);
+      TestResult tr4 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRENDER_INVOKE2);
       try {
          // If this gets executed, include worked.
-         tr5.setTcSuccess(true);
-      } catch(Exception e) {tr5.appendTcDetail(e.toString());}
-      tr5.writeTo(writer);
-
-      /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletRender_invoke3    */
-      /* Details: "Parameters to the include method for a target servlet      */
-      /* can be wrapped request and response classes from the portlet         */
-      /* lifecyle method initiating the include"                              */
-      TestResult tr6 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRENDER_INVOKE3);
-      /* TODO: implement test */
-      tr6.appendTcDetail("Not implemented.");
-      tr6.writeTo(writer);
+         tr4.setTcSuccess(true);
+      } catch(Exception e) {tr4.appendTcDetail(e.toString());}
+      tr4.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletRender_invoke4    */
       /* Details: "The portlet container must invoke the target servlet in    */
       /* the same thread as the PortletRequestDispatcher include              */
       /* invocation"                                                          */
-      TestResult tr7 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRENDER_INVOKE4);
+      TestResult tr5 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRENDER_INVOKE4);
       try {
-         tr7.setTcSuccess(reqTid == svtTid);
-      } catch(Exception e) {tr7.appendTcDetail(e.toString());}
-      tr7.writeTo(writer);
+         tr5.setTcSuccess(reqTid == svtTid);
+      } catch(Exception e) {tr5.appendTcDetail(e.toString());}
+      tr5.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletRender_invoke7    */
       /* Details: "The path elements of the request object exposed to the     */
       /* target servlet must reflect the path used to obtain the              */
       /* RequestDispatcher"                                                   */
-      TestResult tr8 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRENDER_INVOKE7);
+      TestResult tr6 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRENDER_INVOKE7);
       try {
          String ctxPath= request.getContextPath();
-         CompareUtils.stringsEqual(ctxPath, "/DispatcherTests_SPEC2_19_ForwardServletRender_servlet", tr8);
-      } catch(Exception e) {tr8.appendTcDetail(e.toString());}
-      tr8.writeTo(writer);
-
-      /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletRender_commit1    */
-      /* Details: "Before the forward method of the RequestDispatcher         */
-      /* interface returns, the response content must be sent and             */
-      /* committed, and closed by the portlet container"                      */
-      TestResult tr9 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRENDER_COMMIT1);
-      /* TODO: implement test */
-      tr9.appendTcDetail("Not implemented.");
-      tr9.writeTo(writer);
+         CompareUtils.stringsEqual(ctxPath, "/DispatcherTests_SPEC2_19_ForwardServletRender_servlet", tr6);
+      } catch(Exception e) {tr6.appendTcDetail(e.toString());}
+      tr6.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletRender_attributes1 */
       /* Details: "If the request dispatcher is obtained through the          */
@@ -190,14 +164,14 @@ public class DispatcherTests_SPEC2_19_ForwardServletRender_servlet extends HttpS
       /* javax.servlet.forward.request_uri will be set, and equals the        */
       /* value from HTTPServletRequest.getRequestURI for the first servlet    */
       /* in the forward chain"                                                */
-      TestResult tr10 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRENDER_ATTRIBUTES1);
+      TestResult tr7 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRENDER_ATTRIBUTES1);
       try {
          String name = "javax.servlet.forward.req.uri";
          String attrVal = (String) portletReq.getAttribute(name);
          String currVal =  request.getRequestURI();
-         CompareUtils.stringsEqual(attrVal, currVal, tr10);
-      } catch(Exception e) {tr10.appendTcDetail(e.toString());}
-      tr10.writeTo(writer);
+         CompareUtils.stringsEqual(attrVal, currVal, tr7);
+      } catch(Exception e) {tr7.appendTcDetail(e.toString());}
+      tr7.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletRender_attributes2 */
       /* Details: "If the request dispatcher is obtained through the          */
@@ -205,14 +179,14 @@ public class DispatcherTests_SPEC2_19_ForwardServletRender_servlet extends HttpS
       /* javax.servlet.forward.context_path will be set, and equals the       */
       /* value from HTTPServletRequest.getContestPath for the first servlet   */
       /* in the forward chain"                                                */
-      TestResult tr11 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRENDER_ATTRIBUTES2);
+      TestResult tr8 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRENDER_ATTRIBUTES2);
       try {
          String name = "javax.servlet.forward.context_path";
          String attrVal = (String) portletReq.getAttribute(name);
          String currVal =  request.getContextPath();
-         CompareUtils.stringsEqual(attrVal, currVal, tr11);
-      } catch(Exception e) {tr11.appendTcDetail(e.toString());}
-      tr11.writeTo(writer);
+         CompareUtils.stringsEqual(attrVal, currVal, tr8);
+      } catch(Exception e) {tr8.appendTcDetail(e.toString());}
+      tr8.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletRender_attributes3 */
       /* Details: "If the request dispatcher is obtained through the          */
@@ -220,14 +194,14 @@ public class DispatcherTests_SPEC2_19_ForwardServletRender_servlet extends HttpS
       /* javax.servlet.forward.servlet_path will be set, and equals the       */
       /* value from HTTPServletRequest.getServletPath for the first servlet   */
       /* in the forward chain"                                                */
-      TestResult tr12 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRENDER_ATTRIBUTES3);
+      TestResult tr9 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRENDER_ATTRIBUTES3);
       try {
          String name = "javax.servlet.forward.servlet_path";
          String attrVal = (String) portletReq.getAttribute(name);
          String currVal =  request.getServletPath();
-         CompareUtils.stringsEqual(attrVal, currVal, tr12);
-      } catch(Exception e) {tr12.appendTcDetail(e.toString());}
-      tr12.writeTo(writer);
+         CompareUtils.stringsEqual(attrVal, currVal, tr9);
+      } catch(Exception e) {tr9.appendTcDetail(e.toString());}
+      tr9.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletRender_attributes4 */
       /* Details: "If the request dispatcher is obtained through the          */
@@ -235,14 +209,14 @@ public class DispatcherTests_SPEC2_19_ForwardServletRender_servlet extends HttpS
       /* javax.servlet.forward.path_info will be set, and equals the value    */
       /* from HTTPServletRequest.getPathInfo for the first servlet in the     */
       /* forward chain"                                                       */
-      TestResult tr13 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRENDER_ATTRIBUTES4);
+      TestResult tr10 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRENDER_ATTRIBUTES4);
       try {
          String name = "javax.servlet.forward.path_info";
          String attrVal = (String) portletReq.getAttribute(name);
          String currVal =  request.getPathInfo();
-         CompareUtils.stringsEqual(attrVal, currVal, tr13);
-      } catch(Exception e) {tr13.appendTcDetail(e.toString());}
-      tr13.writeTo(writer);
+         CompareUtils.stringsEqual(attrVal, currVal, tr10);
+      } catch(Exception e) {tr10.appendTcDetail(e.toString());}
+      tr10.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletRender_attributes5 */
       /* Details: "If the request dispatcher is obtained through the          */
@@ -250,49 +224,49 @@ public class DispatcherTests_SPEC2_19_ForwardServletRender_servlet extends HttpS
       /* javax.servlet.forward.query_string will be set, and equals the       */
       /* value from HTTPServletRequest.getQueryString for the first servlet   */
       /* in the forward chain"                                                */
-      TestResult tr14 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRENDER_ATTRIBUTES5);
+      TestResult tr11 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRENDER_ATTRIBUTES5);
       try {
          String name = "javax.servlet.forward.query_string";
          String attrVal = (String) portletReq.getAttribute(name);
          String currVal =  request.getQueryString();
-         CompareUtils.stringsEqual(attrVal, currVal, tr14);
-      } catch(Exception e) {tr14.appendTcDetail(e.toString());}
-      tr14.writeTo(writer);
+         CompareUtils.stringsEqual(attrVal, currVal, tr11);
+      } catch(Exception e) {tr11.appendTcDetail(e.toString());}
+      tr11.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletRender_attributes6 */
       /* Details: "The request attribute javax.portlet.config must be set     */
       /* to the javax.portlet.PortletConfig object"                           */
-      TestResult tr15 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRENDER_ATTRIBUTES6);
+      TestResult tr12 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRENDER_ATTRIBUTES6);
       try {
          ClassChecker cc = new ClassChecker(portletConfig.getClass());
          boolean ok = cc.implementsInterface(PortletConfig.class);
-         tr15.setTcSuccess(ok);
-      } catch(Exception e) {tr15.appendTcDetail(e.toString());}
-      tr15.writeTo(writer);
+         tr12.setTcSuccess(ok);
+      } catch(Exception e) {tr12.appendTcDetail(e.toString());}
+      tr12.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletRender_attributes7 */
       /* Details: "For forwards from the render method, The request           */
       /* attribute javax.portlet.request must be set to the                   */
       /* javax.portlet.RenderRequest object"                                  */
-      TestResult tr16 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRENDER_ATTRIBUTES7);
+      TestResult tr13 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRENDER_ATTRIBUTES7);
       try {
          ClassChecker cc = new ClassChecker(portletReq.getClass());
          boolean ok = cc.implementsInterface(RenderRequest.class);
-         tr16.setTcSuccess(ok);
-      } catch(Exception e) {tr16.appendTcDetail(e.toString());}
-      tr16.writeTo(writer);
+         tr13.setTcSuccess(ok);
+      } catch(Exception e) {tr13.appendTcDetail(e.toString());}
+      tr13.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletRender_attributes8 */
       /* Details: "For forwards from the render method, The request           */
       /* attribute javax.portlet.response must be set to the                  */
       /* javax.portlet.RenderResponse object"                                 */
-      TestResult tr17 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRENDER_ATTRIBUTES8);
+      TestResult tr14 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRENDER_ATTRIBUTES8);
       try {
          ClassChecker cc = new ClassChecker(portletResp.getClass());
          boolean ok = cc.implementsInterface(RenderResponse.class);
-         tr17.setTcSuccess(ok);
-      } catch(Exception e) {tr17.appendTcDetail(e.toString());}
-      tr17.writeTo(writer);
+         tr14.setTcSuccess(ok);
+      } catch(Exception e) {tr14.appendTcDetail(e.toString());}
+      tr14.writeTo(writer);
 
 
    }

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/f6e56436/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/servlets/DispatcherTests_SPEC2_19_ForwardServletResource_servlet.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/servlets/DispatcherTests_SPEC2_19_ForwardServletResource_servlet.java b/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/servlets/DispatcherTests_SPEC2_19_ForwardServletResource_servlet.java
index 73e2e4b..323d74a 100644
--- a/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/servlets/DispatcherTests_SPEC2_19_ForwardServletResource_servlet.java
+++ b/portlet-tck_3.0/V2DispatcherTests/src/main/java/javax/portlet/tck/servlets/DispatcherTests_SPEC2_19_ForwardServletResource_servlet.java
@@ -116,73 +116,47 @@ public class DispatcherTests_SPEC2_19_ForwardServletResource_servlet extends Htt
       } catch(Exception e) {tr2.appendTcDetail(e.toString());}
       tr2.writeTo(writer);
 
-      /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletResource_dispatch4 */
-      /* Details: "The parameters associated with a request dispatcher are    */
-      /* scoped only for the duration of the forward or forward call"         */
-      TestResult tr3 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRESOURCE_DISPATCH4);
-      /* TODO: implement test */
-      tr3.appendTcDetail("Not implemented.");
-      tr3.writeTo(writer);
-
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletResource_invoke1  */
       /* Details: "The PortletRequestDispatcher forward method can target a   */
       /* servlet "                                                            */
-      TestResult tr4 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRESOURCE_INVOKE1);
+      TestResult tr3 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRESOURCE_INVOKE1);
       try {
          // If this gets executed, include worked.
-         tr4.setTcSuccess(true);
-      } catch(Exception e) {tr4.appendTcDetail(e.toString());}
-      tr4.writeTo(writer);
+         tr3.setTcSuccess(true);
+      } catch(Exception e) {tr3.appendTcDetail(e.toString());}
+      tr3.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletResource_invoke2  */
-      /* Details: "Parameters to the include method for a target servlet      */
+      /* Details: "Parameters to the forward method for a target servlet      */
       /* can be the request and response classes from the portlet lifecyle    */
       /* method initiating the include"                                       */
-      TestResult tr5 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRESOURCE_INVOKE2);
+      TestResult tr4 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRESOURCE_INVOKE2);
       try {
          // If this gets executed, include worked.
-         tr5.setTcSuccess(true);
-      } catch(Exception e) {tr5.appendTcDetail(e.toString());}
-      tr5.writeTo(writer);
-
-      /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletResource_invoke3  */
-      /* Details: "Parameters to the include method for a target servlet      */
-      /* can be wrapped request and response classes from the portlet         */
-      /* lifecyle method initiating the include"                              */
-      TestResult tr6 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRESOURCE_INVOKE3);
-      /* TODO: implement test */
-      tr6.appendTcDetail("Not implemented.");
-      tr6.writeTo(writer);
+         tr4.setTcSuccess(true);
+      } catch(Exception e) {tr4.appendTcDetail(e.toString());}
+      tr4.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletResource_invoke4  */
       /* Details: "The portlet container must invoke the target servlet in    */
       /* the same thread as the PortletRequestDispatcher include              */
       /* invocation"                                                          */
-      TestResult tr7 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRESOURCE_INVOKE4);
+      TestResult tr5 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRESOURCE_INVOKE4);
       try {
-         tr7.setTcSuccess(reqTid == svtTid);
-      } catch(Exception e) {tr7.appendTcDetail(e.toString());}
-      tr7.writeTo(writer);
+         tr5.setTcSuccess(reqTid == svtTid);
+      } catch(Exception e) {tr5.appendTcDetail(e.toString());}
+      tr5.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletResource_invoke7  */
       /* Details: "The path elements of the request object exposed to the     */
       /* target servlet must reflect the path used to obtain the              */
       /* RequestDispatcher"                                                   */
-      TestResult tr8 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRESOURCE_INVOKE7);
+      TestResult tr6 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRESOURCE_INVOKE7);
       try {
          String ctxPath= request.getContextPath();
-         CompareUtils.stringsEqual(ctxPath, "/DispatcherTests_SPEC2_19_ForwardServletResource_servlet", tr8);
-      } catch(Exception e) {tr8.appendTcDetail(e.toString());}
-      tr8.writeTo(writer);
-
-      /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletResource_commit1  */
-      /* Details: "Before the forward method of the RequestDispatcher         */
-      /* interface returns, the response content must be sent and             */
-      /* committed, and closed by the portlet container"                      */
-      TestResult tr9 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRESOURCE_COMMIT1);
-      /* TODO: implement test */
-      tr9.appendTcDetail("Not implemented.");
-      tr9.writeTo(writer);
+         CompareUtils.stringsEqual(ctxPath, "/DispatcherTests_SPEC2_19_ForwardServletResource_servlet", tr6);
+      } catch(Exception e) {tr6.appendTcDetail(e.toString());}
+      tr6.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletResource_attributes1 */
       /* Details: "If the request dispatcher is obtained through the          */
@@ -190,14 +164,14 @@ public class DispatcherTests_SPEC2_19_ForwardServletResource_servlet extends Htt
       /* javax.servlet.forward.request_uri will be set, and equals the        */
       /* value from HTTPServletRequest.getRequestURI for the first servlet    */
       /* in the forward chain"                                                */
-      TestResult tr10 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRESOURCE_ATTRIBUTES1);
+      TestResult tr7 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRESOURCE_ATTRIBUTES1);
       try {
          String name = "javax.servlet.forward.req.uri";
          String attrVal = (String) portletReq.getAttribute(name);
          String currVal =  request.getRequestURI();
-         CompareUtils.stringsEqual(attrVal, currVal, tr10);
-      } catch(Exception e) {tr10.appendTcDetail(e.toString());}
-      tr10.writeTo(writer);
+         CompareUtils.stringsEqual(attrVal, currVal, tr7);
+      } catch(Exception e) {tr7.appendTcDetail(e.toString());}
+      tr7.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletResource_attributes2 */
       /* Details: "If the request dispatcher is obtained through the          */
@@ -205,14 +179,14 @@ public class DispatcherTests_SPEC2_19_ForwardServletResource_servlet extends Htt
       /* javax.servlet.forward.context_path will be set, and equals the       */
       /* value from HTTPServletRequest.getContestPath for the first servlet   */
       /* in the forward chain"                                                */
-      TestResult tr11 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRESOURCE_ATTRIBUTES2);
+      TestResult tr8 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRESOURCE_ATTRIBUTES2);
       try {
          String name = "javax.servlet.forward.context_path";
          String attrVal = (String) portletReq.getAttribute(name);
          String currVal =  request.getContextPath();
-         CompareUtils.stringsEqual(attrVal, currVal, tr11);
-      } catch(Exception e) {tr11.appendTcDetail(e.toString());}
-      tr11.writeTo(writer);
+         CompareUtils.stringsEqual(attrVal, currVal, tr8);
+      } catch(Exception e) {tr8.appendTcDetail(e.toString());}
+      tr8.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletResource_attributes3 */
       /* Details: "If the request dispatcher is obtained through the          */
@@ -220,14 +194,14 @@ public class DispatcherTests_SPEC2_19_ForwardServletResource_servlet extends Htt
       /* javax.servlet.forward.servlet_path will be set, and equals the       */
       /* value from HTTPServletRequest.getServletPath for the first servlet   */
       /* in the forward chain"                                                */
-      TestResult tr12 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRESOURCE_ATTRIBUTES3);
+      TestResult tr9 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRESOURCE_ATTRIBUTES3);
       try {
          String name = "javax.servlet.forward.servlet_path";
          String attrVal = (String) portletReq.getAttribute(name);
          String currVal =  request.getServletPath();
-         CompareUtils.stringsEqual(attrVal, currVal, tr12);
-      } catch(Exception e) {tr12.appendTcDetail(e.toString());}
-      tr12.writeTo(writer);
+         CompareUtils.stringsEqual(attrVal, currVal, tr9);
+      } catch(Exception e) {tr9.appendTcDetail(e.toString());}
+      tr9.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletResource_attributes4 */
       /* Details: "If the request dispatcher is obtained through the          */
@@ -235,14 +209,14 @@ public class DispatcherTests_SPEC2_19_ForwardServletResource_servlet extends Htt
       /* javax.servlet.forward.path_info will be set, and equals the value    */
       /* from HTTPServletRequest.getPathInfo for the first servlet in the     */
       /* forward chain"                                                       */
-      TestResult tr13 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRESOURCE_ATTRIBUTES4);
+      TestResult tr10 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRESOURCE_ATTRIBUTES4);
       try {
          String name = "javax.servlet.forward.path_info";
          String attrVal = (String) portletReq.getAttribute(name);
          String currVal =  request.getPathInfo();
-         CompareUtils.stringsEqual(attrVal, currVal, tr13);
-      } catch(Exception e) {tr13.appendTcDetail(e.toString());}
-      tr13.writeTo(writer);
+         CompareUtils.stringsEqual(attrVal, currVal, tr10);
+      } catch(Exception e) {tr10.appendTcDetail(e.toString());}
+      tr10.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletResource_attributes5 */
       /* Details: "If the request dispatcher is obtained through the          */
@@ -250,49 +224,49 @@ public class DispatcherTests_SPEC2_19_ForwardServletResource_servlet extends Htt
       /* javax.servlet.forward.query_string will be set, and equals the       */
       /* value from HTTPServletRequest.getQueryString for the first servlet   */
       /* in the forward chain"                                                */
-      TestResult tr14 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRESOURCE_ATTRIBUTES5);
+      TestResult tr11 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRESOURCE_ATTRIBUTES5);
       try {
          String name = "javax.servlet.forward.query_string";
          String attrVal = (String) portletReq.getAttribute(name);
          String currVal =  request.getQueryString();
-         CompareUtils.stringsEqual(attrVal, currVal, tr14);
-      } catch(Exception e) {tr14.appendTcDetail(e.toString());}
-      tr14.writeTo(writer);
+         CompareUtils.stringsEqual(attrVal, currVal, tr11);
+      } catch(Exception e) {tr11.appendTcDetail(e.toString());}
+      tr11.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletResource_attributes6 */
       /* Details: "The request attribute javax.portlet.config must be set     */
       /* to the javax.portlet.PortletConfig object"                           */
-      TestResult tr15 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRESOURCE_ATTRIBUTES6);
+      TestResult tr12 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRESOURCE_ATTRIBUTES6);
       try {
          ClassChecker cc = new ClassChecker(portletConfig.getClass());
          boolean ok = cc.implementsInterface(PortletConfig.class);
-         tr15.setTcSuccess(ok);
-      } catch(Exception e) {tr15.appendTcDetail(e.toString());}
-      tr15.writeTo(writer);
+         tr12.setTcSuccess(ok);
+      } catch(Exception e) {tr12.appendTcDetail(e.toString());}
+      tr12.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletResource_attributes7 */
       /* Details: "For forwards from the serveResource method, The request    */
       /* attribute javax.portlet.request must be set to the                   */
       /* javax.portlet.ResourceRequest object"                                */
-      TestResult tr16 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRESOURCE_ATTRIBUTES7);
+      TestResult tr13 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRESOURCE_ATTRIBUTES7);
       try {
          ClassChecker cc = new ClassChecker(portletReq.getClass());
          boolean ok = cc.implementsInterface(ResourceRequest.class);
-         tr16.setTcSuccess(ok);
-      } catch(Exception e) {tr16.appendTcDetail(e.toString());}
-      tr16.writeTo(writer);
+         tr13.setTcSuccess(ok);
+      } catch(Exception e) {tr13.appendTcDetail(e.toString());}
+      tr13.writeTo(writer);
 
       /* TestCase: V2DispatcherTests_SPEC2_19_ForwardServletResource_attributes8 */
       /* Details: "For forwards from the serveResource method, The request    */
       /* attribute javax.portlet.response must be set to the                  */
       /* javax.portlet.ResourceResponse object"                               */
-      TestResult tr17 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRESOURCE_ATTRIBUTES8);
+      TestResult tr14 = tcd.getTestResultFailed(V2DISPATCHERTESTS_SPEC2_19_FORWARDSERVLETRESOURCE_ATTRIBUTES8);
       try {
          ClassChecker cc = new ClassChecker(portletResp.getClass());
          boolean ok = cc.implementsInterface(ResourceResponse.class);
-         tr17.setTcSuccess(ok);
-      } catch(Exception e) {tr17.appendTcDetail(e.toString());}
-      tr17.writeTo(writer);
+         tr14.setTcSuccess(ok);
+      } catch(Exception e) {tr14.appendTcDetail(e.toString());}
+      tr14.writeTo(writer);
 
 
    }


Mime
View raw message