portals-pluto-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msnickl...@apache.org
Subject [27/50] [abbrv] Progress on dispatcher request / response tests
Date Wed, 20 Aug 2014 06:42:40 GMT
http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/fc96a5ea/portlet-tck_3.0/V2DispatcherReqRespTests2/src/main/java/javax/portlet/tck/servlets/DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_servlet.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2DispatcherReqRespTests2/src/main/java/javax/portlet/tck/servlets/DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_servlet.java b/portlet-tck_3.0/V2DispatcherReqRespTests2/src/main/java/javax/portlet/tck/servlets/DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_servlet.java
index 0c07505..e1b0a1f 100644
--- a/portlet-tck_3.0/V2DispatcherReqRespTests2/src/main/java/javax/portlet/tck/servlets/DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_servlet.java
+++ b/portlet-tck_3.0/V2DispatcherReqRespTests2/src/main/java/javax/portlet/tck/servlets/DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_servlet.java
@@ -79,9 +79,9 @@ public class DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_serv
       /* functionality as ResourceRequest.getAttribute"                       */
       TestResult tr0 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETATTRIBUTE);
       try {
-         String ha = (String)request.getAttribute(ATTR_PREFIX + "V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getAttribute");
-         String pa = (String)portletReq.getAttribute(ATTR_PREFIX + "V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getAttribute");
-         CompareUtils.stringsEqual(ha, pa, tr0);
+         String hval = (String)request.getAttribute(ATTR_PREFIX + "V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getAttribute");
+         String pval = (String)portletReq.getAttribute(ATTR_PREFIX + "V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getAttribute");
+         CompareUtils.stringsEqual("HttpServletRequest", hval, "ResourceRequest", pval, tr0);
       } catch(Exception e) {tr0.appendTcDetail(e.toString());}
       tr0.writeTo(writer);
 
@@ -102,8 +102,11 @@ public class DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_serv
       /* the method HttpServletRequest.getAuthType must provide the same      */
       /* functionality as ResourceRequest.getAuthType"                        */
       TestResult tr2 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETAUTHTYPE);
-      /* TODO: implement test */
-      tr2.appendTcDetail("Not implemented.");
+      try {
+         String hval = request.getAuthType();
+         String pval = ((ClientDataRequest)portletReq).getAuthType();
+         CompareUtils.stringsEqual("HttpServletRequest", hval, "ResourceRequest", pval, tr2);
+      } catch(Exception e) {tr2.appendTcDetail(e.toString());}
       tr2.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getCharacterEncoding */
@@ -111,8 +114,11 @@ public class DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_serv
       /* the method HttpServletRequest.getCharacterEncoding must provide      */
       /* the same functionality as ResourceRequest.getCharacterEncoding"      */
       TestResult tr3 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETCHARACTERENCODING);
-      /* TODO: implement test */
-      tr3.appendTcDetail("Not implemented.");
+      try {
+         String hval = request.getCharacterEncoding();
+         String pval = ((ClientDataRequest)portletReq).getCharacterEncoding();
+         CompareUtils.stringsEqual("HttpServletRequest", hval, "ResourceRequest", pval, tr3);
+      } catch(Exception e) {tr3.appendTcDetail(e.toString());}
       tr3.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getContentLength */
@@ -120,8 +126,15 @@ public class DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_serv
       /* the method HttpServletRequest.getContentLength must provide the      */
       /* same functionality as ResourceRequest.getContentLength"              */
       TestResult tr4 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETCONTENTLENGTH);
-      /* TODO: implement test */
-      tr4.appendTcDetail("Not implemented.");
+      try {
+         int hval = request.getContentLength();
+         int pval = ((ClientDataRequest)portletReq).getContentLength();
+         String str = "Value " + hval + " from " + "HttpServletRequest" + " does not equal value " + pval + " + ResourceRequest";
+         if (hval != pval) {
+            tr4.appendTcDetail(str);
+         }
+         tr4.setTcSuccess(hval == pval);
+      } catch(Exception e) {tr4.appendTcDetail(e.toString());}
       tr4.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getContentType */
@@ -129,8 +142,11 @@ public class DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_serv
       /* the method HttpServletRequest.getContentType must provide the same   */
       /* functionality as ResourceRequest.getContentType"                     */
       TestResult tr5 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETCONTENTTYPE);
-      /* TODO: implement test */
-      tr5.appendTcDetail("Not implemented.");
+      try {
+         String hval = request.getContentType();
+         String pval = ((ClientDataRequest)portletReq).getContentType();
+         CompareUtils.stringsEqual("HttpServletRequest", hval, "ResourceRequest", pval, tr5);
+      } catch(Exception e) {tr5.appendTcDetail(e.toString());}
       tr5.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getContextPath */
@@ -138,8 +154,11 @@ public class DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_serv
       /* the method HttpServletRequest.getContextPath must provide the same   */
       /* functionality as ResourceRequest.getContextPath"                     */
       TestResult tr6 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETCONTEXTPATH);
-      /* TODO: implement test */
-      tr6.appendTcDetail("Not implemented.");
+      try {
+         String hval = request.getContextPath();
+         String pval = ((ClientDataRequest)portletReq).getContextPath();
+         CompareUtils.stringsEqual("HttpServletRequest", hval, "ResourceRequest", pval, tr6);
+      } catch(Exception e) {tr6.appendTcDetail(e.toString());}
       tr6.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getCookies */
@@ -147,8 +166,13 @@ public class DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_serv
       /* the method HttpServletRequest.getCookies must provide the same       */
       /* functionality as ResourceRequest.getCookies"                         */
       TestResult tr7 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETCOOKIES);
-      /* TODO: implement test */
-      tr7.appendTcDetail("Not implemented.");
+      try {
+         Cookie[] hvals = request.getCookies();
+         Cookie[] pvals = ((ClientDataRequest)portletReq).getCookies();
+         HashSet<Cookie> hsc = new HashSet<Cookie>(Arrays.asList(hvals));
+         HashSet<Cookie> psc = new HashSet<Cookie>(Arrays.asList(pvals));
+         CompareUtils.setsEqual("cookies from HttpServletRequest", hsc, "cookies from from ResourceRequest", psc, tr7);
+      } catch(Exception e) {tr7.appendTcDetail(e.toString());}
       tr7.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getDateHeader */
@@ -249,7 +273,9 @@ public class DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_serv
       try {
          Locale hl = request.getLocale();
          Locale pl = portletReq.getLocale();
-         CompareUtils.stringsEqual(hl.getDisplayName(), pl.getDisplayName(), tr17);
+         String hval = hl.getDisplayName();
+         String pval = pl.getDisplayName();
+         CompareUtils.stringsEqual("HttpServletRequest", hval, "ResourceRequest", pval, tr17);
       } catch(Exception e) {tr17.appendTcDetail(e.toString());}
       tr17.writeTo(writer);
 
@@ -270,8 +296,11 @@ public class DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_serv
       /* the method HttpServletRequest.getMethod must provide the same        */
       /* functionality as ResourceRequest.getMethod"                          */
       TestResult tr19 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETMETHOD);
-      /* TODO: implement test */
-      tr19.appendTcDetail("Not implemented.");
+      try {
+         String hval = request.getMethod();
+         String pval = ((ClientDataRequest)portletReq).getMethod();
+         CompareUtils.stringsEqual("HttpServletRequest", hval, "ResourceRequest", pval, tr19);
+      } catch(Exception e) {tr19.appendTcDetail(e.toString());}
       tr19.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getParameter */
@@ -285,7 +314,7 @@ public class DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_serv
          if (val != null) {
             String hval = request.getParameter(PARM_NAME);
             String pval = portletReq.getParameter(PARM_NAME);
-            CompareUtils.stringsEqual(hval, pval, tr20);
+            CompareUtils.stringsEqual("HttpServletRequest", hval, "ResourceRequest", pval, tr20);
             tr20.writeTo(writer);
          }
       } catch(Exception e) {tr20.appendTcDetail(e.toString());}
@@ -333,7 +362,9 @@ public class DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_serv
          if (val != null) {
             String[] hvals = request.getParameterValues(PARM_NAME);
             String[] pvals = portletReq.getParameterValues(PARM_NAME);
-            CompareUtils.stringsEqual(hvals[0], pvals[0], tr23);
+            String hval = ((hvals==null) ? "null" : hvals[0]);
+            String pval = ((pvals==null) ? "null" : pvals[0]);
+            CompareUtils.stringsEqual("HttpServletRequest", hval, "ResourceRequest", pval, tr23);
             tr23.writeTo(writer);
          }
       } catch(Exception e) {tr23.appendTcDetail(e.toString());}
@@ -344,8 +375,12 @@ public class DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_serv
       /* corresponding to the path used to obtain the                         */
       /* PortletRequestDispatcher"                                            */
       TestResult tr24 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETPATHINFO);
-      /* TODO: implement test */
-      tr24.appendTcDetail("Not implemented.");
+      try {
+         String sname = SERVLET_PREFIX + "DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_servlet" + SERVLET_SUFFIX;
+         String hval = request.getPathInfo();
+         String pval = null;
+         CompareUtils.stringsEqual("HttpServletRequest", hval, " defined: ", pval, tr24);
+      } catch(Exception e) {tr24.appendTcDetail(e.toString());}
       tr24.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getPathTranslated */
@@ -354,8 +389,12 @@ public class DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_serv
       /* corresponding to the path used to obtain the                         */
       /* PortletRequestDispatcher"                                            */
       TestResult tr25 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETPATHTRANSLATED);
-      /* TODO: implement test */
-      tr25.appendTcDetail("Not implemented.");
+      try {
+         String sname = SERVLET_PREFIX + "DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_servlet" + SERVLET_SUFFIX;
+         String hval = request.getPathTranslated();
+         String pval = null;
+         CompareUtils.stringsEqual("HttpServletRequest", hval, " defined: ", pval, tr25);
+      } catch(Exception e) {tr25.appendTcDetail(e.toString());}
       tr25.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getProtocol */
@@ -375,245 +414,270 @@ public class DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_serv
       /* corresponding to the query string information used to obtain the     */
       /* PortletRequestDispatcher"                                            */
       TestResult tr27 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETQUERYSTRING);
-      /* TODO: implement test */
-      tr27.appendTcDetail("Not implemented.");
+      try {
+         String sname = SERVLET_PREFIX + "DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_servlet" + SERVLET_SUFFIX;
+         String hval = request.getQueryString();
+         String pval = QUERY_STRING;
+         CompareUtils.stringsEqual("HttpServletRequest", hval, " defined: ", pval, tr27);
+      } catch(Exception e) {tr27.appendTcDetail(e.toString());}
       tr27.writeTo(writer);
 
-      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getReader */
-      /* Details: "In a target servlet of a forward in the Resource phase,    */
-      /* the method HttpServletRequest.getReader must provide the same        */
-      /* functionality as ResourceRequest.getReader"                          */
-      TestResult tr28 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETREADER);
-      /* TODO: implement test */
-      tr28.appendTcDetail("Not implemented.");
-      tr28.writeTo(writer);
-
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getRealPath */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletRequest.getRealPath must return null"          */
-      TestResult tr29 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETREALPATH);
+      TestResult tr28 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETREALPATH);
       try {
          String isval = request.getRealPath("/WEB-INF/portlet.xml");
-         CompareUtils.stringsEqual(isval, null, tr29);
-      } catch(Exception e) {tr29.appendTcDetail(e.toString());}
-      tr29.writeTo(writer);
+         CompareUtils.stringsEqual(isval, null, tr28);
+      } catch(Exception e) {tr28.appendTcDetail(e.toString());}
+      tr28.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getRemoteAddr */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletRequest.getRemoteAddr must return null"        */
-      TestResult tr30 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETREMOTEADDR);
+      TestResult tr29 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETREMOTEADDR);
       try {
          String isval = request.getRemoteAddr();
-         CompareUtils.stringsEqual(isval, null, tr30);
-      } catch(Exception e) {tr30.appendTcDetail(e.toString());}
-      tr30.writeTo(writer);
+         CompareUtils.stringsEqual(isval, null, tr29);
+      } catch(Exception e) {tr29.appendTcDetail(e.toString());}
+      tr29.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getRemoteHost */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletRequest.getRemoteHost must return null"        */
-      TestResult tr31 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETREMOTEHOST);
+      TestResult tr30 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETREMOTEHOST);
       try {
          String isval = request.getRemoteHost();
-         CompareUtils.stringsEqual(isval, null, tr31);
-      } catch(Exception e) {tr31.appendTcDetail(e.toString());}
-      tr31.writeTo(writer);
+         CompareUtils.stringsEqual(isval, null, tr30);
+      } catch(Exception e) {tr30.appendTcDetail(e.toString());}
+      tr30.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getRemotePort */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletRequest.getRemotePort must return 0"           */
-      TestResult tr32 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETREMOTEPORT);
+      TestResult tr31 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETREMOTEPORT);
       try {
          int isval = request.getRemotePort();
-         if (isval != 0) tr32.appendTcDetail("Returned value was: " + isval);
-         tr32.setTcSuccess(isval == 0);
-      } catch(Exception e) {tr32.appendTcDetail(e.toString());}
-      tr32.writeTo(writer);
+         if (isval != 0) tr31.appendTcDetail("Returned value was: " + isval);
+         tr31.setTcSuccess(isval == 0);
+      } catch(Exception e) {tr31.appendTcDetail(e.toString());}
+      tr31.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getRemoteUser */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletRequest.getRemoteUser must provide the same    */
       /* functionality as ResourceRequest.getRemoteUser"                      */
-      TestResult tr33 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETREMOTEUSER);
-      /* TODO: implement test */
-      tr33.appendTcDetail("Not implemented.");
-      tr33.writeTo(writer);
+      TestResult tr32 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETREMOTEUSER);
+      try {
+         String hval = request.getRemoteUser();
+         String pval = ((ClientDataRequest)portletReq).getRemoteUser();
+         CompareUtils.stringsEqual("HttpServletRequest", hval, "ResourceRequest", pval, tr32);
+      } catch(Exception e) {tr32.appendTcDetail(e.toString());}
+      tr32.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getRequestDispatcher */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletRequest.getRequestDispatcher must provide      */
       /* functionality as defined in the servlet specification"               */
-      TestResult tr34 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETREQUESTDISPATCHER);
+      TestResult tr33 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETREQUESTDISPATCHER);
       /* TODO: implement test */
-      tr34.appendTcDetail("Not implemented.");
-      tr34.writeTo(writer);
+      tr33.appendTcDetail("Not implemented.");
+      tr33.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getRequestURI */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletRequest.getRequestURI must a value             */
       /* corresponding to the path and query string information used to       */
       /* obtain the PortletRequestDispatcher"                                 */
-      TestResult tr35 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETREQUESTURI);
-      /* TODO: implement test */
-      tr35.appendTcDetail("Not implemented.");
-      tr35.writeTo(writer);
+      TestResult tr34 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETREQUESTURI);
+      try {
+         String sname = SERVLET_PREFIX + "DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_servlet" + SERVLET_SUFFIX;
+         String hval = request.getRequestURI();
+         if (!hval.contains(sname)) {
+            tr34.appendTcDetail("Request URI " + hval + " does not contain " + sname);
+         }
+         tr34.setTcSuccess(hval.contains(sname));
+      } catch(Exception e) {tr34.appendTcDetail(e.toString());}
+      tr34.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getRequestURL */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletRequest.getRequestURL must return null"        */
-      TestResult tr36 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETREQUESTURL);
+      TestResult tr35 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETREQUESTURL);
       try {
          StringBuffer isval = request.getRequestURL();
-         if (isval != null) tr36.appendTcDetail("Request URL is " + isval.toString());
-         tr36.setTcSuccess(isval == null);
-      } catch(Exception e) {tr36.appendTcDetail(e.toString());}
-      tr36.writeTo(writer);
+         if (isval != null) tr35.appendTcDetail("Request URL is " + isval.toString());
+         tr35.setTcSuccess(isval == null);
+      } catch(Exception e) {tr35.appendTcDetail(e.toString());}
+      tr35.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getRequestedSessionId */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletRequest.getRequestedSessionId must provide     */
       /* the same functionality as ResourceRequest.getRequestedSessionId"     */
-      TestResult tr37 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETREQUESTEDSESSIONID);
-      /* TODO: implement test */
-      tr37.appendTcDetail("Not implemented.");
-      tr37.writeTo(writer);
+      TestResult tr36 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETREQUESTEDSESSIONID);
+      try {
+         String hval = request.getRequestedSessionId();
+         String pval = ((ClientDataRequest)portletReq).getRequestedSessionId();
+         CompareUtils.stringsEqual("HttpServletRequest", hval, "ResourceRequest", pval, tr36);
+      } catch(Exception e) {tr36.appendTcDetail(e.toString());}
+      tr36.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getScheme */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletRequest.getScheme must provide the same        */
       /* functionality as ResourceRequest.getScheme"                          */
-      TestResult tr38 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETSCHEME);
-      /* TODO: implement test */
-      tr38.appendTcDetail("Not implemented.");
-      tr38.writeTo(writer);
+      TestResult tr37 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETSCHEME);
+      try {
+         String hval = request.getScheme();
+         String pval = ((ClientDataRequest)portletReq).getScheme();
+         CompareUtils.stringsEqual("HttpServletRequest", hval, "ResourceRequest", pval, tr37);
+      } catch(Exception e) {tr37.appendTcDetail(e.toString());}
+      tr37.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getServerName */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletRequest.getServerName must provide the same    */
       /* functionality as ResourceRequest.getServerName"                      */
-      TestResult tr39 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETSERVERNAME);
-      /* TODO: implement test */
-      tr39.appendTcDetail("Not implemented.");
-      tr39.writeTo(writer);
+      TestResult tr38 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETSERVERNAME);
+      try {
+         String hval = request.getServerName();
+         String pval = ((ClientDataRequest)portletReq).getServerName();
+         CompareUtils.stringsEqual("HttpServletRequest", hval, "ResourceRequest", pval, tr38);
+      } catch(Exception e) {tr38.appendTcDetail(e.toString());}
+      tr38.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getServerPort */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletRequest.getServerPort must provide the same    */
       /* functionality as ResourceRequest.getServerPort"                      */
-      TestResult tr40 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETSERVERPORT);
-      /* TODO: implement test */
-      tr40.appendTcDetail("Not implemented.");
-      tr40.writeTo(writer);
+      TestResult tr39 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETSERVERPORT);
+      try {
+         int hval = request.getServerPort();
+         int pval = ((ClientDataRequest)portletReq).getServerPort();
+         String str = "Value " + hval + " from " + "HttpServletRequest" + " does not equal value " + pval + " + ResourceRequest";
+         if (hval != pval) {
+            tr39.appendTcDetail(str);
+         }
+         tr39.setTcSuccess(hval == pval);
+      } catch(Exception e) {tr39.appendTcDetail(e.toString());}
+      tr39.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getServletPath */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletRequest.getServletPath must a value            */
       /* corresponding to the path used to obtain the                         */
       /* PortletRequestDispatcher"                                            */
-      TestResult tr41 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETSERVLETPATH);
-      /* TODO: implement test */
-      tr41.appendTcDetail("Not implemented.");
-      tr41.writeTo(writer);
+      TestResult tr40 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETSERVLETPATH);
+      try {
+         String sname = SERVLET_PREFIX + "DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_servlet" + SERVLET_SUFFIX;
+         String hval = request.getServletPath();
+         String pval = sname;
+         CompareUtils.stringsEqual("HttpServletRequest", hval, " defined: ", pval, tr40);
+      } catch(Exception e) {tr40.appendTcDetail(e.toString());}
+      tr40.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getSession */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletRequest.getSession must provide the same       */
       /* functionality as                                                     */
       /* ResourceRequest.getPortletSession(APPLICATION_SCOPE)"                */
-      TestResult tr42 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETSESSION);
+      TestResult tr41 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETSESSION);
       /* TODO: implement test */
-      tr42.appendTcDetail("Not implemented.");
-      tr42.writeTo(writer);
+      tr41.appendTcDetail("Not implemented.");
+      tr41.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getUserPrincipal */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletRequest.getUserPrincipal must provide the      */
       /* same functionality as ResourceRequest.getUserPrincipal"              */
-      TestResult tr43 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETUSERPRINCIPAL);
-      /* TODO: implement test */
-      tr43.appendTcDetail("Not implemented.");
-      tr43.writeTo(writer);
-
-      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_isRequestedSessionIdFromCookie */
-      /* Details: "In a target servlet of a forward in the Resource phase,    */
-      /* the method HttpServletRequest.isRequestedSessionIdFromCookie must    */
-      /* provide functionality as defined in the servlet specification"       */
-      TestResult tr44 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_ISREQUESTEDSESSIONIDFROMCOOKIE);
-      /* TODO: implement test */
-      tr44.appendTcDetail("Not implemented.");
-      tr44.writeTo(writer);
-
-      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_isRequestedSessionIdFromURL1 */
-      /* Details: "In a target servlet of a forward in the Resource phase,    */
-      /* the method HttpServletRequest.isRequestedSessionIdFromURL must       */
-      /* provide functionality as defined in the servlet specification"       */
-      TestResult tr45 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_ISREQUESTEDSESSIONIDFROMURL1);
-      /* TODO: implement test */
-      tr45.appendTcDetail("Not implemented.");
-      tr45.writeTo(writer);
-
-      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_isRequestedSessionIdFromUrl */
-      /* Details: "In a target servlet of a forward in the Resource phase,    */
-      /* the method HttpServletRequest.isRequestedSessionIdFromUrl must       */
-      /* provide functionality as defined in the servlet specification"       */
-      TestResult tr46 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_ISREQUESTEDSESSIONIDFROMURL);
-      /* TODO: implement test */
-      tr46.appendTcDetail("Not implemented.");
-      tr46.writeTo(writer);
+      TestResult tr42 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_GETUSERPRINCIPAL);
+      try {
+         java.security.Principal hpal = request.getUserPrincipal();
+         java.security.Principal ppal = ((ClientDataRequest)portletReq).getUserPrincipal();
+         String str = "Value " + hpal.toString() + " from " + "HttpServletRequest" + " does not equal value " + ppal.toString() + " + ResourceRequest";
+         if (!hpal.equals(ppal)) {
+            tr42.appendTcDetail(str);
+         }
+         tr42.setTcSuccess(hpal.equals(ppal));
+      } catch(Exception e) {tr42.appendTcDetail(e.toString());}
+      tr42.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_isRequestedSessionIdValid */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletRequest.isRequestedSessionIdValid must         */
       /* provide the same functionality as                                    */
       /* ResourceRequest.isRequestedSessionIdValid"                           */
-      TestResult tr47 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_ISREQUESTEDSESSIONIDVALID);
-      /* TODO: implement test */
-      tr47.appendTcDetail("Not implemented.");
-      tr47.writeTo(writer);
+      TestResult tr43 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_ISREQUESTEDSESSIONIDVALID);
+      try {
+         boolean hval = request.isRequestedSessionIdValid();
+         boolean pval = ((ClientDataRequest)portletReq).isRequestedSessionIdValid();
+         String str = "Value " + hval + " from " + "HttpServletRequest" + " does not equal value " + pval + " + ResourceRequest";
+         if (hval != pval) {
+            tr43.appendTcDetail(str);
+         }
+         tr43.setTcSuccess(hval == pval);
+      } catch(Exception e) {tr43.appendTcDetail(e.toString());}
+      tr43.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_isSecure */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletRequest.isSecure must provide the same         */
       /* functionality as ResourceRequest.isSecure"                           */
-      TestResult tr48 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_ISSECURE);
-      /* TODO: implement test */
-      tr48.appendTcDetail("Not implemented.");
-      tr48.writeTo(writer);
+      TestResult tr44 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_ISSECURE);
+      try {
+         boolean hval = request.isSecure();
+         boolean pval = ((ClientDataRequest)portletReq).isSecure();
+         String str = "Value " + hval + " from " + "HttpServletRequest" + " does not equal value " + pval + " + ResourceRequest";
+         if (hval != pval) {
+            tr44.appendTcDetail(str);
+         }
+         tr44.setTcSuccess(hval == pval);
+      } catch(Exception e) {tr44.appendTcDetail(e.toString());}
+      tr44.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_isUserInRole */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletRequest.isUserInRole must provide the same     */
       /* functionality as ResourceRequest.isUserInRole"                       */
-      TestResult tr49 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_ISUSERINROLE);
-      /* TODO: implement test */
-      tr49.appendTcDetail("Not implemented.");
-      tr49.writeTo(writer);
+      TestResult tr45 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_ISUSERINROLE);
+      try {
+         boolean hval = request.isUserInRole(ROLE_NAME);
+         boolean pval = ((ClientDataRequest)portletReq).isUserInRole(ROLE_NAME);
+         String str = "Value " + hval + " from " + "HttpServletRequest" + " does not equal value " + pval + " + ResourceRequest";
+         if (hval != pval) {
+            tr45.appendTcDetail(str);
+         }
+         tr45.setTcSuccess(hval == pval);
+      } catch(Exception e) {tr45.appendTcDetail(e.toString());}
+      tr45.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_removeAttribute */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletRequest.removeAttribute must provide the       */
       /* same functionality as ResourceRequest.removeAttribute"               */
-      TestResult tr50 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_REMOVEATTRIBUTE);
+      TestResult tr46 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_REMOVEATTRIBUTE);
       /* TODO: implement test */
-      tr50.appendTcDetail("Not implemented.");
-      tr50.writeTo(writer);
+      tr46.appendTcDetail("Not implemented.");
+      tr46.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_setAttribute */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletRequest.setAttribute must provide the same     */
       /* functionality as ResourceRequest.setAttribute"                       */
-      TestResult tr51 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_SETATTRIBUTE);
+      TestResult tr47 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_SETATTRIBUTE);
       /* TODO: implement test */
-      tr51.appendTcDetail("Not implemented.");
-      tr51.writeTo(writer);
+      tr47.appendTcDetail("Not implemented.");
+      tr47.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_setCharacterEncoding */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletRequest.setCharacterEncoding must provide      */
       /* the same functionality as ResourceRequest.setCharacterEncoding"      */
-      TestResult tr52 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_SETCHARACTERENCODING);
+      TestResult tr48 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCEREQUEST_SETCHARACTERENCODING);
       /* TODO: implement test */
-      tr52.appendTcDetail("Not implemented.");
-      tr52.writeTo(writer);
+      tr48.appendTcDetail("Not implemented.");
+      tr48.writeTo(writer);
 
 
    }

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/fc96a5ea/portlet-tck_3.0/V2DispatcherReqRespTests2/src/main/java/javax/portlet/tck/servlets/DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_servlet.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2DispatcherReqRespTests2/src/main/java/javax/portlet/tck/servlets/DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_servlet.java b/portlet-tck_3.0/V2DispatcherReqRespTests2/src/main/java/javax/portlet/tck/servlets/DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_servlet.java
index 2642d56..2fb4b9e 100644
--- a/portlet-tck_3.0/V2DispatcherReqRespTests2/src/main/java/javax/portlet/tck/servlets/DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_servlet.java
+++ b/portlet-tck_3.0/V2DispatcherReqRespTests2/src/main/java/javax/portlet/tck/servlets/DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_servlet.java
@@ -135,8 +135,15 @@ public class DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_ser
       /* the method HttpServletResponse.getBufferSize must provide the same   */
       /* functionality as ResourceResponse.getBufferSize"                     */
       TestResult tr6 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCERESPONSE_GETBUFFERSIZE);
-      /* TODO: implement test */
-      tr6.appendTcDetail("Not implemented.");
+      try {
+         int hval = response.getBufferSize();
+         int pval = ((MimeResponse)portletResp).getBufferSize();
+         String str = "Value " + hval + " from " + "HttpServletResponse" + " does not equal value " + pval + " + ResourceResponse";
+         if (hval != pval) {
+            tr6.appendTcDetail(str);
+         }
+         tr6.setTcSuccess(hval == pval);
+      } catch(Exception e) {tr6.appendTcDetail(e.toString());}
       tr6.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_getCharacterEncoding */
@@ -144,8 +151,11 @@ public class DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_ser
       /* the method HttpServletResponse.getCharacterEncoding must provide     */
       /* the same functionality as ResourceResponse.getCharacterEncoding"     */
       TestResult tr7 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCERESPONSE_GETCHARACTERENCODING);
-      /* TODO: implement test */
-      tr7.appendTcDetail("Not implemented.");
+      try {
+         String hval = response.getCharacterEncoding();
+         String pval = ((MimeResponse)portletResp).getCharacterEncoding();
+         CompareUtils.stringsEqual("HttpServletResponse", hval, "ResourceResponse", pval, tr7);
+      } catch(Exception e) {tr7.appendTcDetail(e.toString());}
       tr7.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_getContentType */
@@ -153,8 +163,11 @@ public class DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_ser
       /* the method HttpServletResponse.getContentType must provide the       */
       /* same functionality as ResourceResponse.getContentType"               */
       TestResult tr8 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCERESPONSE_GETCONTENTTYPE);
-      /* TODO: implement test */
-      tr8.appendTcDetail("Not implemented.");
+      try {
+         String hval = response.getContentType();
+         String pval = ((MimeResponse)portletResp).getContentType();
+         CompareUtils.stringsEqual("HttpServletResponse", hval, "ResourceResponse", pval, tr8);
+      } catch(Exception e) {tr8.appendTcDetail(e.toString());}
       tr8.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_getLocale */
@@ -165,7 +178,9 @@ public class DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_ser
       try {
          Locale hl = response.getLocale();
          Locale pl = ((MimeResponse)portletResp).getLocale();
-         CompareUtils.stringsEqual(hl.getDisplayName(), pl.getDisplayName(), tr9);
+         String hval = hl.getDisplayName();
+         String pval = pl.getDisplayName();
+         CompareUtils.stringsEqual("HttpServletResponse", hval, "ResourceResponse", pval, tr9);
       } catch(Exception e) {tr9.appendTcDetail(e.toString());}
       tr9.writeTo(writer);
 
@@ -178,104 +193,102 @@ public class DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_ser
       tr10.appendTcDetail("Not implemented.");
       tr10.writeTo(writer);
 
-      /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_getWriter */
-      /* Details: "In a target servlet of a forward in the Resource phase,    */
-      /* the method HttpServletResponse.getWriter must provide the same       */
-      /* functionality as ResourceResponse.getWriter"                         */
-      TestResult tr11 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCERESPONSE_GETWRITER);
-      /* TODO: implement test */
-      tr11.appendTcDetail("Not implemented.");
-      tr11.writeTo(writer);
-
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_isCommitted */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletResponse.isCommitted must provide the same     */
       /* functionality as ResourceResponse.isCommitted"                       */
-      TestResult tr12 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCERESPONSE_ISCOMMITTED);
-      /* TODO: implement test */
-      tr12.appendTcDetail("Not implemented.");
-      tr12.writeTo(writer);
+      TestResult tr11 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCERESPONSE_ISCOMMITTED);
+      try {
+         boolean hval = response.isCommitted();
+         boolean pval = ((MimeResponse)portletResp).isCommitted();
+         String str = "Value " + hval + " from " + "HttpServletResponse" + " does not equal value " + pval + " + ResourceResponse";
+         if (hval != pval) {
+            tr11.appendTcDetail(str);
+         }
+         tr11.setTcSuccess(hval == pval);
+      } catch(Exception e) {tr11.appendTcDetail(e.toString());}
+      tr11.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_reset */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletResponse.reset must provide the same           */
       /* functionality as ResourceResponse.reset"                             */
-      TestResult tr13 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCERESPONSE_RESET);
+      TestResult tr12 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCERESPONSE_RESET);
       /* TODO: implement test */
-      tr13.appendTcDetail("Not implemented.");
-      tr13.writeTo(writer);
+      tr12.appendTcDetail("Not implemented.");
+      tr12.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_resetBuffer */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletResponse.resetBuffer must provide the same     */
       /* functionality as ResourceResponse.resetBuffer"                       */
-      TestResult tr14 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCERESPONSE_RESETBUFFER);
+      TestResult tr13 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCERESPONSE_RESETBUFFER);
       /* TODO: implement test */
-      tr14.appendTcDetail("Not implemented.");
-      tr14.writeTo(writer);
+      tr13.appendTcDetail("Not implemented.");
+      tr13.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_sendError */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletResponse.sendError does not perform any        */
       /* operation"                                                           */
-      TestResult tr15 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCERESPONSE_SENDERROR);
+      TestResult tr14 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCERESPONSE_SENDERROR);
       /* TODO: implement test */
-      tr15.appendTcDetail("Not implemented.");
-      tr15.writeTo(writer);
+      tr14.appendTcDetail("Not implemented.");
+      tr14.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_sendRedirect */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletResponse.sendRedirect does not perform any     */
       /* operation"                                                           */
-      TestResult tr16 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCERESPONSE_SENDREDIRECT);
+      TestResult tr15 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCERESPONSE_SENDREDIRECT);
       /* TODO: implement test */
-      tr16.appendTcDetail("Not implemented.");
-      tr16.writeTo(writer);
+      tr15.appendTcDetail("Not implemented.");
+      tr15.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_setBufferSize */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletResponse.setBufferSize must provide the same   */
       /* functionality as ResourceResponse.setBufferSize"                     */
-      TestResult tr17 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCERESPONSE_SETBUFFERSIZE);
+      TestResult tr16 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCERESPONSE_SETBUFFERSIZE);
       /* TODO: implement test */
-      tr17.appendTcDetail("Not implemented.");
-      tr17.writeTo(writer);
+      tr16.appendTcDetail("Not implemented.");
+      tr16.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_setCharacterEncoding */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletResponse.setCharacterEncoding must provide     */
       /* the same functionality as ResourceResponse.setCharacterEncoding"     */
-      TestResult tr18 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCERESPONSE_SETCHARACTERENCODING);
+      TestResult tr17 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCERESPONSE_SETCHARACTERENCODING);
       /* TODO: implement test */
-      tr18.appendTcDetail("Not implemented.");
-      tr18.writeTo(writer);
+      tr17.appendTcDetail("Not implemented.");
+      tr17.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_setContentLength */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletResponse.setContentLength must provide the     */
       /* same functionality as ResourceResponse.setContentLength"             */
-      TestResult tr19 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCERESPONSE_SETCONTENTLENGTH);
+      TestResult tr18 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCERESPONSE_SETCONTENTLENGTH);
       /* TODO: implement test */
-      tr19.appendTcDetail("Not implemented.");
-      tr19.writeTo(writer);
+      tr18.appendTcDetail("Not implemented.");
+      tr18.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_setContentType */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletResponse.setContentType must provide the       */
       /* same functionality as ResourceResponse.setContentType"               */
-      TestResult tr20 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCERESPONSE_SETCONTENTTYPE);
+      TestResult tr19 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCERESPONSE_SETCONTENTTYPE);
       /* TODO: implement test */
-      tr20.appendTcDetail("Not implemented.");
-      tr20.writeTo(writer);
+      tr19.appendTcDetail("Not implemented.");
+      tr19.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_setLocale */
       /* Details: "In a target servlet of a forward in the Resource phase,    */
       /* the method HttpServletResponse.setLocale must provide the same       */
       /* functionality as ResourceResponse.setLocale"                         */
-      TestResult tr21 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCERESPONSE_SETLOCALE);
+      TestResult tr20 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS2_SPEC2_19_FORWARDSERVLETRESOURCERESPONSE_SETLOCALE);
       /* TODO: implement test */
-      tr21.appendTcDetail("Not implemented.");
-      tr21.writeTo(writer);
+      tr20.appendTcDetail("Not implemented.");
+      tr20.writeTo(writer);
 
 
    }

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/fc96a5ea/portlet-tck_3.0/V2DispatcherReqRespTests2/src/main/resources/xml-resources/additionalTCs.xml
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2DispatcherReqRespTests2/src/main/resources/xml-resources/additionalTCs.xml b/portlet-tck_3.0/V2DispatcherReqRespTests2/src/main/resources/xml-resources/additionalTCs.xml
index 0fd4c79..6c9bc27 100644
--- a/portlet-tck_3.0/V2DispatcherReqRespTests2/src/main/resources/xml-resources/additionalTCs.xml
+++ b/portlet-tck_3.0/V2DispatcherReqRespTests2/src/main/resources/xml-resources/additionalTCs.xml
@@ -48,7 +48,6 @@
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getPathTranslated">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getProtocol">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getQueryString">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getReader">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRealPath">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRemoteAddr">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getRemoteHost">V2DispatcherReqRespTests2</entry>
@@ -64,44 +63,23 @@
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getServletPath">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getSession">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getUserPrincipal">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isRequestedSessionIdFromCookie">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isRequestedSessionIdFromURL1">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isRequestedSessionIdFromUrl">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isRequestedSessionIdValid">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isSecure">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_isUserInRole">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_removeAttribute">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_setAttribute">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_setCharacterEncoding">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_addDateHeader">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_addHeader">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_addIntHeader">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_containsHeader">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_encodeRedirectURL1">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_encodeRedirectUrl">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_encodeURL1">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_encodeUrl">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_flushBuffer">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_getBufferSize">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_getCharacterEncoding">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_getContentType">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_getLocale">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_getOutputStream">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_getWriter">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_isCommitted">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_reset">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_resetBuffer">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_sendError">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_sendRedirect">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_setBufferSize">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_setCharacterEncoding">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_setContentLength">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_setContentType">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_setDateHeader">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_setHeader">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_setIntHeader">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_setLocale">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionResponse_setStatus">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventRequest_getAttribute">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventRequest_getAttributeNames">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventRequest_getAuthType">V2DispatcherReqRespTests2</entry>
@@ -146,44 +124,21 @@
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventRequest_getServletPath">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventRequest_getSession">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventRequest_getUserPrincipal">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventRequest_isRequestedSessionIdFromCookie">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventRequest_isRequestedSessionIdFromURL1">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventRequest_isRequestedSessionIdFromUrl">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventRequest_isRequestedSessionIdValid">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventRequest_isSecure">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventRequest_isUserInRole">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventRequest_removeAttribute">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventRequest_setAttribute">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventRequest_setCharacterEncoding">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_addDateHeader">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_addHeader">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_addIntHeader">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_containsHeader">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_encodeRedirectURL1">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_encodeRedirectUrl">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_encodeURL1">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_encodeUrl">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_flushBuffer">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_getBufferSize">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_getCharacterEncoding">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_getContentType">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_getLocale">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_getOutputStream">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_getWriter">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_isCommitted">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_reset">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_resetBuffer">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_sendError">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_sendRedirect">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_setBufferSize">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_setCharacterEncoding">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_setContentLength">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_setContentType">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_setDateHeader">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_setHeader">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_setIntHeader">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_setLocale">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletEventResponse_setStatus">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletRenderRequest_getAttribute">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletRenderRequest_getAttributeNames">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletRenderRequest_getAuthType">V2DispatcherReqRespTests2</entry>
@@ -228,9 +183,6 @@
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletRenderRequest_getServletPath">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletRenderRequest_getSession">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletRenderRequest_getUserPrincipal">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletRenderRequest_isRequestedSessionIdFromCookie">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletRenderRequest_isRequestedSessionIdFromURL1">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletRenderRequest_isRequestedSessionIdFromUrl">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletRenderRequest_isRequestedSessionIdValid">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletRenderRequest_isSecure">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletRenderRequest_isUserInRole">V2DispatcherReqRespTests2</entry>
@@ -248,7 +200,6 @@
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletRenderResponse_getContentType">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletRenderResponse_getLocale">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletRenderResponse_getOutputStream">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletRenderResponse_getWriter">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletRenderResponse_isCommitted">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletRenderResponse_reset">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletRenderResponse_resetBuffer">V2DispatcherReqRespTests2</entry>
@@ -288,7 +239,6 @@
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getPathTranslated">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getProtocol">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getQueryString">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getReader">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getRealPath">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getRemoteAddr">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getRemoteHost">V2DispatcherReqRespTests2</entry>
@@ -304,9 +254,6 @@
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getServletPath">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getSession">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_getUserPrincipal">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_isRequestedSessionIdFromCookie">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_isRequestedSessionIdFromURL1">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_isRequestedSessionIdFromUrl">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_isRequestedSessionIdValid">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_isSecure">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceRequest_isUserInRole">V2DispatcherReqRespTests2</entry>
@@ -324,7 +271,6 @@
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_getContentType">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_getLocale">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_getOutputStream">V2DispatcherReqRespTests2</entry>
-<entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_getWriter">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_isCommitted">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_reset">V2DispatcherReqRespTests2</entry>
 <entry key="V2DispatcherReqRespTests2_SPEC2_19_ForwardServletResourceResponse_resetBuffer">V2DispatcherReqRespTests2</entry>

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/fc96a5ea/portlet-tck_3.0/V2DispatcherReqRespTests3/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests3_SPEC2_19_IncludeJSPActionRequest.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2DispatcherReqRespTests3/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests3_SPEC2_19_IncludeJSPActionRequest.java b/portlet-tck_3.0/V2DispatcherReqRespTests3/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests3_SPEC2_19_IncludeJSPActionRequest.java
index be8d179..b32847a 100644
--- a/portlet-tck_3.0/V2DispatcherReqRespTests3/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests3_SPEC2_19_IncludeJSPActionRequest.java
+++ b/portlet-tck_3.0/V2DispatcherReqRespTests3/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests3_SPEC2_19_IncludeJSPActionRequest.java
@@ -78,8 +78,9 @@ public class DispatcherReqRespTests3_SPEC2_19_IncludeJSPActionRequest implements
       // Prereq for: V2DispatcherReqRespTests3_SPEC2_19_IncludeJSPActionRequest_getAttributeNames
       portletReq.setAttribute(ATTR_PREFIX + "V2DispatcherReqRespTests3_SPEC2_19_IncludeJSPActionRequest_getAttributeNames", "Value1");
 
+      String target = JSP_PREFIX + "DispatcherReqRespTests3_SPEC2_19_IncludeJSPActionRequest" + JSP_SUFFIX + QUERY_STRING;
       PortletRequestDispatcher rd = portletConfig.getPortletContext()
-            .getRequestDispatcher("/WEB-INF/jsp/DispatcherReqRespTests3_SPEC2_19_IncludeJSPActionRequest.jsp?qparm1=qvalue1&qparm2=qvalue2");
+            .getRequestDispatcher(target);
       rd.include(portletReq, portletResp);
    }
 
@@ -423,17 +424,6 @@ public class DispatcherReqRespTests3_SPEC2_19_IncludeJSPActionRequest implements
          tb.writeTo(writer);
       }
 
-      /* TestCase: V2DispatcherReqRespTests3_SPEC2_19_IncludeJSPActionRequest_getReader */
-      /* Details: "In a target jsp of a include 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("V2DispatcherReqRespTests3_SPEC2_19_IncludeJSPActionRequest_getReader", aurl);
-         tb.writeTo(writer);
-      }
-
       /* TestCase: V2DispatcherReqRespTests3_SPEC2_19_IncludeJSPActionRequest_getRealPath */
       /* Details: "In a target jsp of a include in the Action phase, the      */
       /* method HttpServletRequest.getRealPath must return null"              */
@@ -597,39 +587,6 @@ public class DispatcherReqRespTests3_SPEC2_19_IncludeJSPActionRequest implements
          tb.writeTo(writer);
       }
 
-      /* TestCase: V2DispatcherReqRespTests3_SPEC2_19_IncludeJSPActionRequest_isRequestedSessionIdFromCookie */
-      /* Details: "In a target jsp of a include 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("V2DispatcherReqRespTests3_SPEC2_19_IncludeJSPActionRequest_isRequestedSessionIdFromCookie", aurl);
-         tb.writeTo(writer);
-      }
-
-      /* TestCase: V2DispatcherReqRespTests3_SPEC2_19_IncludeJSPActionRequest_isRequestedSessionIdFromURL1 */
-      /* Details: "In a target jsp of a include 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("V2DispatcherReqRespTests3_SPEC2_19_IncludeJSPActionRequest_isRequestedSessionIdFromURL1", aurl);
-         tb.writeTo(writer);
-      }
-
-      /* TestCase: V2DispatcherReqRespTests3_SPEC2_19_IncludeJSPActionRequest_isRequestedSessionIdFromUrl */
-      /* Details: "In a target jsp of a include 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("V2DispatcherReqRespTests3_SPEC2_19_IncludeJSPActionRequest_isRequestedSessionIdFromUrl", aurl);
-         tb.writeTo(writer);
-      }
-
       /* TestCase: V2DispatcherReqRespTests3_SPEC2_19_IncludeJSPActionRequest_isRequestedSessionIdValid */
       /* Details: "In a target jsp of a include in the Action phase, the      */
       /* method HttpServletRequest.isRequestedSessionIdValid must provide     */


Mime
View raw message