portals-pluto-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msnickl...@apache.org
Subject [12/13] portals-pluto git commit: Cleaned up V2URLTests from extra logging and imports. Replaced TestButton, TestSetupLink, TestSetup strings with Constants from tck beans.
Date Wed, 29 Jun 2016 05:30:00 GMT
http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/b73428c2/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_BaseURL_ApiRenderActurl.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_BaseURL_ApiRenderActurl.java b/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_BaseURL_ApiRenderActurl.java
index 7d1b915..c2125e7 100644
--- a/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_BaseURL_ApiRenderActurl.java
+++ b/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_BaseURL_ApiRenderActurl.java
@@ -18,43 +18,79 @@
 
 package javax.portlet.tck.portlets;
 
-import java.io.*;
-import java.util.*;
-import java.util.logging.*;
-import static java.util.logging.Logger.*;
-import javax.xml.namespace.QName;
-import javax.portlet.*;
-import javax.portlet.filter.*;
-import javax.servlet.*;
-import javax.servlet.http.*;
-import javax.portlet.tck.beans.*;
-import javax.portlet.tck.constants.*;
-import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.*;
-import static javax.portlet.tck.constants.Constants.*;
-import static javax.portlet.PortletSession.*;
-import static javax.portlet.ResourceURL.*;
+import java.io.IOException;
+import java.io.PrintWriter;
+import java.io.StringWriter;
+import java.util.HashMap;
+import java.util.Map;
+
+import javax.portlet.ActionRequest;
+import javax.portlet.ActionResponse;
+import javax.portlet.Portlet;
+import javax.portlet.PortletConfig;
+import javax.portlet.PortletException;
+import javax.portlet.PortletSecurityException;
+import javax.portlet.PortletSession;
+import javax.portlet.PortletURL;
+import javax.portlet.RenderRequest;
+import javax.portlet.RenderResponse;
+import javax.portlet.tck.beans.CompareUtils;
+import javax.portlet.tck.beans.JSR286ApiTestCaseDetails;
+import javax.portlet.tck.beans.TestButton;
+import javax.portlet.tck.beans.TestResult;
+import javax.portlet.tck.beans.TestSetupLink;
+
+import static javax.portlet.tck.constants.Constants.THREADID_ATTR;
+import static javax.portlet.tck.constants.Constants.RESULT_ATTR_PREFIX;
+import static javax.portlet.tck.constants.Constants.BUTTON_PARAM_NAME;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERA1;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERA4;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERA6;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERA7;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERB1;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERB4;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERB6;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERB7;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS1;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS4;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS6;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS7;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS8;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_SETSECURE2;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_TOSTRING;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_WRITEA1;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_WRITEB1;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERA8;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERB8;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS9;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS10;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS12;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_GETPARAMETERMAP1;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_GETPARAMETERMAP3;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_GETPARAMETERMAP6;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_ADDPROPERTY1;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_ADDPROPERTY3;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_SETPROPERTY1;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2URLTESTS_BASEURL_APIRENDERACTURL_SETPROPERTY3;
+
 
 /**
- * This portlet implements several test cases for the JSR 362 TCK. The test case names
- * are defined in the /src/main/resources/xml-resources/additionalTCs.xml
- * file. The build process will integrate the test case names defined in the 
- * additionalTCs.xml file into the complete list of test case names for execution by the driver.
+ * This portlet implements several test cases for the JSR 362 TCK. The test case
+ * names are defined in the /src/main/resources/xml-resources/additionalTCs.xml
+ * file. The build process will integrate the test case names defined in the
+ * additionalTCs.xml file into the complete list of test case names for
+ * execution by the driver.
  *
- * This is the main portlet for the test cases. If the test cases call for events, this portlet
- * will initiate the events, but not process them. The processing is done in the companion 
- * portlet URLTests_BaseURL_ApiRenderActurl_event
+ * This is the main portlet for the test cases. If the test cases call for
+ * events, this portlet will initiate the events, but not process them. The
+ * processing is done in the companion portlet
+ * URLTests_BaseURL_ApiRenderActurl_event
  *
  */
-public class URLTests_BaseURL_ApiRenderActurl implements Portlet, ResourceServingPortlet {
-   private static final String LOG_CLASS = 
-         URLTests_BaseURL_ApiRenderActurl.class.getName();
-   private final Logger LOGGER = Logger.getLogger(LOG_CLASS);
-   
-   private PortletConfig portletConfig = null;
+public class URLTests_BaseURL_ApiRenderActurl implements Portlet {
 
    @Override
    public void init(PortletConfig config) throws PortletException {
-      this.portletConfig = config;
    }
 
    @Override
@@ -62,234 +98,327 @@ public class URLTests_BaseURL_ApiRenderActurl implements Portlet, ResourceServin
    }
 
    @Override
-   public void processAction(ActionRequest portletReq, ActionResponse portletResp)
-         throws PortletException, IOException {
-
+   public void processAction(ActionRequest portletReq,
+         ActionResponse portletResp) throws PortletException, IOException {
 
       portletResp.setRenderParameters(portletReq.getParameterMap());
       long tid = Thread.currentThread().getId();
       portletReq.setAttribute(THREADID_ATTR, tid);
 
-      StringWriter writer = new StringWriter();
-
-      // evaluate results for test case V2URLTests_BaseURL_ApiRenderActurl_setParameterA1
+      // evaluate results for test case
+      // V2URLTests_BaseURL_ApiRenderActurl_setParameterA1
       {
          JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
-         TestResult tr0 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERA1);
+         TestResult tr0 = tcd.getTestResultFailed(
+               V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERA1);
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't defined (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterA1")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterA1")) {
             String aval = portletReq.getParameter("parm1");
             String eval = "val1";
-            CompareUtils.stringsEqual("Request", aval, " expected: ", eval, tr0);
+            CompareUtils.stringsEqual("Request", aval, " expected: ", eval,
+                  tr0);
             PortletSession ps = portletReq.getPortletSession();
-            ps.setAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameterA1", tr0);
+            ps.setAttribute(
+                  RESULT_ATTR_PREFIX
+                        + "V2URLTests_BaseURL_ApiRenderActurl_setParameterA1",
+                  tr0);
          }
       }
 
-      // evaluate results for test case V2URLTests_BaseURL_ApiRenderActurl_setParameterA4
+      // evaluate results for test case
+      // V2URLTests_BaseURL_ApiRenderActurl_setParameterA4
       {
          JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
-         TestResult tr1 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERA4);
+         TestResult tr1 = tcd.getTestResultFailed(
+               V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERA4);
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't defined (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterA4")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterA4")) {
             String aval = portletReq.getParameter("parm1");
             String eval = "val1";
-            CompareUtils.stringsEqual("Request", aval, " expected: ", eval, tr1);
+            CompareUtils.stringsEqual("Request", aval, " expected: ", eval,
+                  tr1);
             PortletSession ps = portletReq.getPortletSession();
-            ps.setAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameterA4", tr1);
+            ps.setAttribute(
+                  RESULT_ATTR_PREFIX
+                        + "V2URLTests_BaseURL_ApiRenderActurl_setParameterA4",
+                  tr1);
          }
       }
 
-      // evaluate results for test case V2URLTests_BaseURL_ApiRenderActurl_setParameterA6
+      // evaluate results for test case
+      // V2URLTests_BaseURL_ApiRenderActurl_setParameterA6
       {
          JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
-         TestResult tr2 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERA6);
+         TestResult tr2 = tcd.getTestResultFailed(
+               V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERA6);
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't defined (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterA6")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterA6")) {
             String aval = portletReq.getParameter("parm1");
             String eval = "newVal";
-            CompareUtils.stringsEqual("Request", aval, " expected: ", eval, tr2);
+            CompareUtils.stringsEqual("Request", aval, " expected: ", eval,
+                  tr2);
             PortletSession ps = portletReq.getPortletSession();
-            ps.setAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameterA6", tr2);
+            ps.setAttribute(
+                  RESULT_ATTR_PREFIX
+                        + "V2URLTests_BaseURL_ApiRenderActurl_setParameterA6",
+                  tr2);
          }
       }
 
-      // evaluate results for test case V2URLTests_BaseURL_ApiRenderActurl_setParameterA7
+      // evaluate results for test case
+      // V2URLTests_BaseURL_ApiRenderActurl_setParameterA7
       {
          JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
-         TestResult tr3 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERA7);
+         TestResult tr3 = tcd.getTestResultFailed(
+               V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERA7);
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't defined (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterA7")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterA7")) {
             String aval = portletReq.getParameter("parm1");
             String eval = null;
-            CompareUtils.stringsEqual("Request", aval, " expected: ", eval, tr3);
+            CompareUtils.stringsEqual("Request", aval, " expected: ", eval,
+                  tr3);
             PortletSession ps = portletReq.getPortletSession();
-            ps.setAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameterA7", tr3);
+            ps.setAttribute(
+                  RESULT_ATTR_PREFIX
+                        + "V2URLTests_BaseURL_ApiRenderActurl_setParameterA7",
+                  tr3);
          }
       }
 
-      // evaluate results for test case V2URLTests_BaseURL_ApiRenderActurl_setParameterB1
+      // evaluate results for test case
+      // V2URLTests_BaseURL_ApiRenderActurl_setParameterB1
       {
          JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
-         TestResult tr5 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERB1);
+         TestResult tr5 = tcd.getTestResultFailed(
+               V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERB1);
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't defined (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterB1")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterB1")) {
             String[] aval = portletReq.getParameterValues("parm1");
-            String[] eval = new String[]{"val1", "val2"};
+            String[] eval = new String[] { "val1", "val2" };
             CompareUtils.arraysEqual("Request", aval, " expected: ", eval, tr5);
             PortletSession ps = portletReq.getPortletSession();
-            ps.setAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameterB1", tr5);
+            ps.setAttribute(
+                  RESULT_ATTR_PREFIX
+                        + "V2URLTests_BaseURL_ApiRenderActurl_setParameterB1",
+                  tr5);
          }
       }
 
-      // evaluate results for test case V2URLTests_BaseURL_ApiRenderActurl_setParameterB4
+      // evaluate results for test case
+      // V2URLTests_BaseURL_ApiRenderActurl_setParameterB4
       {
          JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
-         TestResult tr6 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERB4);
+         TestResult tr6 = tcd.getTestResultFailed(
+               V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERB4);
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't defined (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterB4")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterB4")) {
             String[] aval = portletReq.getParameterValues("parm1");
-            String[] eval = new String[]{"val1", "val2"};
+            String[] eval = new String[] { "val1", "val2" };
             CompareUtils.arraysEqual("Request", aval, " expected: ", eval, tr6);
             PortletSession ps = portletReq.getPortletSession();
-            ps.setAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameterB4", tr6);
+            ps.setAttribute(
+                  RESULT_ATTR_PREFIX
+                        + "V2URLTests_BaseURL_ApiRenderActurl_setParameterB4",
+                  tr6);
          }
       }
 
-      // evaluate results for test case V2URLTests_BaseURL_ApiRenderActurl_setParameterB6
+      // evaluate results for test case
+      // V2URLTests_BaseURL_ApiRenderActurl_setParameterB6
       {
          JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
-         TestResult tr7 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERB6);
+         TestResult tr7 = tcd.getTestResultFailed(
+               V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERB6);
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't defined (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterB6")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterB6")) {
             String[] aval = portletReq.getParameterValues("parm1");
-            String[] eval = new String[]{"newVal"};
+            String[] eval = new String[] { "newVal" };
             CompareUtils.arraysEqual("Request", aval, " expected: ", eval, tr7);
             PortletSession ps = portletReq.getPortletSession();
-            ps.setAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameterB6", tr7);
+            ps.setAttribute(
+                  RESULT_ATTR_PREFIX
+                        + "V2URLTests_BaseURL_ApiRenderActurl_setParameterB6",
+                  tr7);
          }
       }
 
-      // evaluate results for test case V2URLTests_BaseURL_ApiRenderActurl_setParameterB7
+      // evaluate results for test case
+      // V2URLTests_BaseURL_ApiRenderActurl_setParameterB7
       {
          JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
-         TestResult tr8 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERB7);
+         TestResult tr8 = tcd.getTestResultFailed(
+               V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERB7);
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't defined (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterB7")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterB7")) {
             String[] aval = portletReq.getParameterValues("parm1");
             String[] eval = null;
             CompareUtils.arraysEqual("Request", aval, " expected: ", eval, tr8);
             PortletSession ps = portletReq.getPortletSession();
-            ps.setAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameterB7", tr8);
+            ps.setAttribute(
+                  RESULT_ATTR_PREFIX
+                        + "V2URLTests_BaseURL_ApiRenderActurl_setParameterB7",
+                  tr8);
          }
       }
 
-      // evaluate results for test case V2URLTests_BaseURL_ApiRenderActurl_setParameters1
+      // evaluate results for test case
+      // V2URLTests_BaseURL_ApiRenderActurl_setParameters1
       {
          JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
-         TestResult tr10 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS1);
+         TestResult tr10 = tcd.getTestResultFailed(
+               V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS1);
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't defined (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setParameters1")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setParameters1")) {
             Map<String, String[]> aval = portletReq.getParameterMap();
             Map<String, String[]> eval = new HashMap<String, String[]>();
-            eval.put("tc", new String[]{"V2URLTests_BaseURL_ApiRenderActurl_setParameters1"});
-            eval.put("parm1", new String[]{"val1", "val2"});
-            eval.put(BUTTON_PARAM_NAME, new String[] {V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS1});
+            eval.put("tc", new String[] {
+                  "V2URLTests_BaseURL_ApiRenderActurl_setParameters1" });
+            eval.put("parm1", new String[] { "val1", "val2" });
+            eval.put(BUTTON_PARAM_NAME, new String[] {
+                  V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS1 });
             CompareUtils.mapsEqual("Request", aval, " expected: ", eval, tr10);
             PortletSession ps = portletReq.getPortletSession();
-            ps.setAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameters1", tr10);
+            ps.setAttribute(
+                  RESULT_ATTR_PREFIX
+                        + "V2URLTests_BaseURL_ApiRenderActurl_setParameters1",
+                  tr10);
          }
       }
 
-      // evaluate results for test case V2URLTests_BaseURL_ApiRenderActurl_setParameters4
+      // evaluate results for test case
+      // V2URLTests_BaseURL_ApiRenderActurl_setParameters4
       {
          JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
-         TestResult tr11 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS4);
+         TestResult tr11 = tcd.getTestResultFailed(
+               V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS4);
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't defined (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setParameters4")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setParameters4")) {
             Map<String, String[]> aval = portletReq.getParameterMap();
             Map<String, String[]> eval = new HashMap<String, String[]>();
-            eval.put("tc", new String[]{"V2URLTests_BaseURL_ApiRenderActurl_setParameters4"});
-            eval.put("parm1", new String[]{"val1", "val2"});
-            eval.put(BUTTON_PARAM_NAME, new String[] {V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS4});
+            eval.put("tc", new String[] {
+                  "V2URLTests_BaseURL_ApiRenderActurl_setParameters4" });
+            eval.put("parm1", new String[] { "val1", "val2" });
+            eval.put(BUTTON_PARAM_NAME, new String[] {
+                  V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS4 });
             CompareUtils.mapsEqual("Request", aval, " expected: ", eval, tr11);
             PortletSession ps = portletReq.getPortletSession();
-            ps.setAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameters4", tr11);
+            ps.setAttribute(
+                  RESULT_ATTR_PREFIX
+                        + "V2URLTests_BaseURL_ApiRenderActurl_setParameters4",
+                  tr11);
          }
       }
 
-      // evaluate results for test case V2URLTests_BaseURL_ApiRenderActurl_setParameters6
+      // evaluate results for test case
+      // V2URLTests_BaseURL_ApiRenderActurl_setParameters6
       {
          JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
-         TestResult tr12 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS6);
+         TestResult tr12 = tcd.getTestResultFailed(
+               V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS6);
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't defined (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setParameters6")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setParameters6")) {
             Map<String, String[]> aval = portletReq.getParameterMap();
             Map<String, String[]> eval = new HashMap<String, String[]>();
-            eval.put("tc", new String[]{"V2URLTests_BaseURL_ApiRenderActurl_setParameters6"});
-            eval.put("parm1", new String[]{"val1", "val2"});
-            eval.put(BUTTON_PARAM_NAME, new String[] {V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS6});
+            eval.put("tc", new String[] {
+                  "V2URLTests_BaseURL_ApiRenderActurl_setParameters6" });
+            eval.put("parm1", new String[] { "val1", "val2" });
+            eval.put(BUTTON_PARAM_NAME, new String[] {
+                  V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS6 });
             CompareUtils.mapsEqual("Request", aval, " expected: ", eval, tr12);
             PortletSession ps = portletReq.getPortletSession();
-            ps.setAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameters6", tr12);
+            ps.setAttribute(
+                  RESULT_ATTR_PREFIX
+                        + "V2URLTests_BaseURL_ApiRenderActurl_setParameters6",
+                  tr12);
          }
       }
 
-      // evaluate results for test case V2URLTests_BaseURL_ApiRenderActurl_setParameters7
+      // evaluate results for test case
+      // V2URLTests_BaseURL_ApiRenderActurl_setParameters7
       {
          JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
-         TestResult tr13 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS7);
+         TestResult tr13 = tcd.getTestResultFailed(
+               V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS7);
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't defined (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setParameters7")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setParameters7")) {
             Map<String, String[]> aval = portletReq.getParameterMap();
             Map<String, String[]> eval = new HashMap<String, String[]>();
-            eval.put("tc", new String[]{"V2URLTests_BaseURL_ApiRenderActurl_setParameters7"});
-            eval.put("parm1", new String[]{"val1", "val2"});
-            eval.put("tckPRP1", new String[]{"V2URLTests_BaseURL_ApiRenderActurl_setParameters7"});
-            eval.put(BUTTON_PARAM_NAME, new String[] {V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS7});
+            eval.put("tc", new String[] {
+                  "V2URLTests_BaseURL_ApiRenderActurl_setParameters7" });
+            eval.put("parm1", new String[] { "val1", "val2" });
+            eval.put("tckPRP1", new String[] {
+                  "V2URLTests_BaseURL_ApiRenderActurl_setParameters7" });
+            eval.put(BUTTON_PARAM_NAME, new String[] {
+                  V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS7 });
             CompareUtils.mapsEqual("Request", aval, " expected: ", eval, tr13);
             PortletSession ps = portletReq.getPortletSession();
-            ps.setAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameters7", tr13);
+            ps.setAttribute(
+                  RESULT_ATTR_PREFIX
+                        + "V2URLTests_BaseURL_ApiRenderActurl_setParameters7",
+                  tr13);
          }
       }
 
-      // evaluate results for test case V2URLTests_BaseURL_ApiRenderActurl_setParameters8
+      // evaluate results for test case
+      // V2URLTests_BaseURL_ApiRenderActurl_setParameters8
       {
          JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
-         TestResult tr14 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS8);
+         TestResult tr14 = tcd.getTestResultFailed(
+               V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS8);
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't defined (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setParameters8")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setParameters8")) {
             Map<String, String[]> aval = portletReq.getParameterMap();
             Map<String, String[]> eval = new HashMap<String, String[]>();
-            eval.put("tc", new String[]{"V2URLTests_BaseURL_ApiRenderActurl_setParameters8"});
-            eval.put("parm1", new String[]{"val1", "val2"});
-            eval.put(BUTTON_PARAM_NAME, new String[] {V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS8});
+            eval.put("tc", new String[] {
+                  "V2URLTests_BaseURL_ApiRenderActurl_setParameters8" });
+            eval.put("parm1", new String[] { "val1", "val2" });
+            eval.put(BUTTON_PARAM_NAME, new String[] {
+                  V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS8 });
             CompareUtils.mapsEqual("Request", aval, " expected: ", eval, tr14);
             PortletSession ps = portletReq.getPortletSession();
-            ps.setAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameters8", tr14);
+            ps.setAttribute(
+                  RESULT_ATTR_PREFIX
+                        + "V2URLTests_BaseURL_ApiRenderActurl_setParameters8",
+                  tr14);
          }
       }
 
-      // evaluate results for test case V2URLTests_BaseURL_ApiRenderActurl_setSecure2
+      // evaluate results for test case
+      // V2URLTests_BaseURL_ApiRenderActurl_setSecure2
       {
          JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
-         TestResult tr18 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETSECURE2);
+         TestResult tr18 = tcd.getTestResultFailed(
+               V2URLTESTS_BASEURL_APIRENDERACTURL_SETSECURE2);
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't defined (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setSecure2")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setSecure2")) {
             String val = portletReq.getParameter("setSecure");
             boolean ok = (val != null);
             if (ok) {
@@ -298,71 +427,73 @@ public class URLTests_BaseURL_ApiRenderActurl implements Portlet, ResourceServin
             ok = ok || portletReq.isSecure();
             tr18.setTcSuccess(ok);
             PortletSession ps = portletReq.getPortletSession();
-            ps.setAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setSecure2", tr18);
+            ps.setAttribute(
+                  RESULT_ATTR_PREFIX
+                        + "V2URLTests_BaseURL_ApiRenderActurl_setSecure2",
+                  tr18);
          }
       }
 
-      // evaluate results for test case V2URLTests_BaseURL_ApiRenderActurl_toString
+      // evaluate results for test case
+      // V2URLTests_BaseURL_ApiRenderActurl_toString
       {
          JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
-         TestResult tr19 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_TOSTRING);
+         TestResult tr19 = tcd.getTestResultFailed(
+               V2URLTESTS_BASEURL_APIRENDERACTURL_TOSTRING);
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't defined (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_toString")) {
+         if (tcval != null && tcval != null
+               && tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_toString")) {
             // If execution makes it to here, the test was successful
             tr19.setTcSuccess(true);
             PortletSession ps = portletReq.getPortletSession();
-            ps.setAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_toString", tr19);
+            ps.setAttribute(RESULT_ATTR_PREFIX
+                  + "V2URLTests_BaseURL_ApiRenderActurl_toString", tr19);
          }
       }
 
-      // evaluate results for test case V2URLTests_BaseURL_ApiRenderActurl_writeA1
+      // evaluate results for test case
+      // V2URLTests_BaseURL_ApiRenderActurl_writeA1
       {
          JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
-         TestResult tr23 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_WRITEA1);
+         TestResult tr23 = tcd
+               .getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_WRITEA1);
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't defined (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_writeA1")) {
+         if (tcval != null && tcval != null
+               && tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_writeA1")) {
             // If execution makes it to here, the test was successful
             tr23.setTcSuccess(true);
             PortletSession ps = portletReq.getPortletSession();
-            ps.setAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_writeA1", tr23);
+            ps.setAttribute(RESULT_ATTR_PREFIX
+                  + "V2URLTests_BaseURL_ApiRenderActurl_writeA1", tr23);
          }
       }
 
-      // evaluate results for test case V2URLTests_BaseURL_ApiRenderActurl_writeB1
+      // evaluate results for test case
+      // V2URLTests_BaseURL_ApiRenderActurl_writeB1
       {
          JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
-         TestResult tr24 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_WRITEB1);
+         TestResult tr24 = tcd
+               .getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_WRITEB1);
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't defined (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_writeB1")) {
+         if (tcval != null && tcval != null
+               && tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_writeB1")) {
             // If execution makes it to here, the test was successful
             tr24.setTcSuccess(true);
             PortletSession ps = portletReq.getPortletSession();
-            ps.setAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_writeB1", tr24);
+            ps.setAttribute(RESULT_ATTR_PREFIX
+                  + "V2URLTests_BaseURL_ApiRenderActurl_writeB1", tr24);
          }
       }
 
    }
 
    @Override
-   public void serveResource(ResourceRequest portletReq, ResourceResponse portletResp)
-         throws PortletException, IOException {
-
-
-      long tid = Thread.currentThread().getId();
-      portletReq.setAttribute(THREADID_ATTR, tid);
-
-      PrintWriter writer = portletResp.getWriter();
-
-   }
-
-   @Override
    public void render(RenderRequest portletReq, RenderResponse portletResp)
          throws PortletException, IOException {
 
-
       long tid = Thread.currentThread().getId();
       portletReq.setAttribute(THREADID_ATTR, tid);
 
@@ -372,125 +503,155 @@ public class URLTests_BaseURL_ApiRenderActurl implements Portlet, ResourceServin
 
       // Create result objects for the tests
 
-      PortletURL url = portletResp.createActionURL();
-      ClassChecker cc = new ClassChecker(url.getClass());
-
-      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameterA1          */
-      /* Details: "Method setParameter(String, String): Sets the parameter    */
-      /* value for the specified name"                                        */
-      TestResult tr0 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERA1);
+      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameterA1 */
+      /* Details: "Method setParameter(String, String): Sets the parameter */
+      /* value for the specified name" */
+      TestResult tr0 = tcd.getTestResultFailed(
+            V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERA1);
       try {
          PortletURL turl = portletResp.createActionURL();
-         turl.setParameter("tc", "V2URLTests_BaseURL_ApiRenderActurl_setParameterA1");
+         turl.setParameter("tc",
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameterA1");
          turl.setParameter("parm1", "val1");
-         
+
          // add the execution button for an action request
-         TestButton tb = new TestButton("V2URLTests_BaseURL_ApiRenderActurl_setParameterA1", turl);
+         TestButton tb = new TestButton(
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameterA1", turl);
          tb.writeTo(writer);
-         
+
          // display evaluated results
          String tcval = portletReq.getParameter("tc");
-         
+
          // let exception be thrown if tc parm isn't set (test case error)
-         if (tcval !=  null && tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterA1")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterA1")) {
             PortletSession ps = portletReq.getPortletSession();
-            TestResult tmp = (TestResult)ps.getAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameterA1");
+            TestResult tmp = (TestResult) ps.getAttribute(RESULT_ATTR_PREFIX
+                  + "V2URLTests_BaseURL_ApiRenderActurl_setParameterA1");
             if (tmp != null) {
                tr0 = tmp;
-               ps.removeAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameterA1");
+               ps.removeAttribute(RESULT_ATTR_PREFIX
+                     + "V2URLTests_BaseURL_ApiRenderActurl_setParameterA1");
             }
          }
-      } catch(Exception e) {tr0.appendTcDetail(e);}
+      } catch (Exception e) {
+         tr0.appendTcDetail(e);
+      }
       tr0.writeTo(writer);
 
-      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameterA4          */
-      /* Details: "Method setParameter(String, String): An action parameter   */
-      /* can be set"                                                          */
-      TestResult tr1 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERA4);
+      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameterA4 */
+      /* Details: "Method setParameter(String, String): An action parameter */
+      /* can be set" */
+      TestResult tr1 = tcd.getTestResultFailed(
+            V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERA4);
       try {
          PortletURL turl = portletResp.createActionURL();
-         turl.setParameter("tc", "V2URLTests_BaseURL_ApiRenderActurl_setParameterA4");
+         turl.setParameter("tc",
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameterA4");
          turl.setParameter("parm1", "val1");
-         
+
          // add the execution button for an action request
-         TestButton tb = new TestButton("V2URLTests_BaseURL_ApiRenderActurl_setParameterA4", turl);
+         TestButton tb = new TestButton(
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameterA4", turl);
          tb.writeTo(writer);
-         
+
          // display evaluated results
          String tcval = portletReq.getParameter("tc");
-         
+
          // let exception be thrown if tc parm isn't set (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterA4")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterA4")) {
             PortletSession ps = portletReq.getPortletSession();
-            TestResult tmp = (TestResult)ps.getAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameterA4");
+            TestResult tmp = (TestResult) ps.getAttribute(RESULT_ATTR_PREFIX
+                  + "V2URLTests_BaseURL_ApiRenderActurl_setParameterA4");
             if (tmp != null) {
                tr1 = tmp;
-               ps.removeAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameterA4");
+               ps.removeAttribute(RESULT_ATTR_PREFIX
+                     + "V2URLTests_BaseURL_ApiRenderActurl_setParameterA4");
             }
          }
-      } catch(Exception e) {tr1.appendTcDetail(e);}
+      } catch (Exception e) {
+         tr1.appendTcDetail(e);
+      }
       tr1.writeTo(writer);
 
-      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameterA6          */
-      /* Details: "Method setParameter(String, String): All previously        */
-      /* existing values for the specified key are removed"                   */
-      TestResult tr2 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERA6);
+      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameterA6 */
+      /* Details: "Method setParameter(String, String): All previously */
+      /* existing values for the specified key are removed" */
+      TestResult tr2 = tcd.getTestResultFailed(
+            V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERA6);
       try {
          PortletURL turl = portletResp.createActionURL();
-         turl.setParameter("tc", "V2URLTests_BaseURL_ApiRenderActurl_setParameterA6");
+         turl.setParameter("tc",
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameterA6");
          turl.setParameter("parm1", "oldVal");
          turl.setParameter("parm1", "newVal");
-         
+
          // add the execution button for an action request
-         TestButton tb = new TestButton("V2URLTests_BaseURL_ApiRenderActurl_setParameterA6", turl);
+         TestButton tb = new TestButton(
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameterA6", turl);
          tb.writeTo(writer);
-         
+
          // display evaluated results
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't set (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterA6")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterA6")) {
             PortletSession ps = portletReq.getPortletSession();
-            TestResult tmp = (TestResult)ps.getAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameterA6");
+            TestResult tmp = (TestResult) ps.getAttribute(RESULT_ATTR_PREFIX
+                  + "V2URLTests_BaseURL_ApiRenderActurl_setParameterA6");
             if (tmp != null) {
                tr2 = tmp;
-               ps.removeAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameterA6");
+               ps.removeAttribute(RESULT_ATTR_PREFIX
+                     + "V2URLTests_BaseURL_ApiRenderActurl_setParameterA6");
             }
          }
-      } catch(Exception e) {tr2.appendTcDetail(e);}
+      } catch (Exception e) {
+         tr2.appendTcDetail(e);
+      }
       tr2.writeTo(writer);
 
-      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameterA7          */
-      /* Details: "Method setParameter(String, String): If the value is       */
-      /* null, all values for the specified key are removed"                  */
-      TestResult tr3 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERA7);
+      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameterA7 */
+      /* Details: "Method setParameter(String, String): If the value is */
+      /* null, all values for the specified key are removed" */
+      TestResult tr3 = tcd.getTestResultFailed(
+            V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERA7);
       try {
          PortletURL turl = portletResp.createActionURL();
-         turl.setParameter("tc", "V2URLTests_BaseURL_ApiRenderActurl_setParameterA7");
+         turl.setParameter("tc",
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameterA7");
          turl.setParameter("parm1", "val1");
-         turl.setParameter("parm1", (String)null);
-         
+         turl.setParameter("parm1", (String) null);
+
          // add the execution button for an action request
-         TestButton tb = new TestButton("V2URLTests_BaseURL_ApiRenderActurl_setParameterA7", turl);
+         TestButton tb = new TestButton(
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameterA7", turl);
          tb.writeTo(writer);
-         
+
          // display evaluated results
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't set (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterA7")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterA7")) {
             PortletSession ps = portletReq.getPortletSession();
-            TestResult tmp = (TestResult)ps.getAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameterA7");
+            TestResult tmp = (TestResult) ps.getAttribute(RESULT_ATTR_PREFIX
+                  + "V2URLTests_BaseURL_ApiRenderActurl_setParameterA7");
             if (tmp != null) {
                tr3 = tmp;
-               ps.removeAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameterA7");
+               ps.removeAttribute(RESULT_ATTR_PREFIX
+                     + "V2URLTests_BaseURL_ApiRenderActurl_setParameterA7");
             }
          }
-      } catch(Exception e) {tr3.appendTcDetail(e);}
+      } catch (Exception e) {
+         tr3.appendTcDetail(e);
+      }
       tr3.writeTo(writer);
 
-      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameterA8          */
-      /* Details: "Method setParameter(String, String): Throws                */
-      /* IllegalArgumentException if the name is null"                        */
-      TestResult tr4 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERA8);
+      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameterA8 */
+      /* Details: "Method setParameter(String, String): Throws */
+      /* IllegalArgumentException if the name is null" */
+      TestResult tr4 = tcd.getTestResultFailed(
+            V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERA8);
       try {
          try {
             PortletURL turl = portletResp.createActionURL();
@@ -501,341 +662,428 @@ public class URLTests_BaseURL_ApiRenderActurl implements Portlet, ResourceServin
          } catch (Exception e) {
             tr4.appendTcDetail(e);
          }
-      } catch(Exception e) {tr4.appendTcDetail(e);}
+      } catch (Exception e) {
+         tr4.appendTcDetail(e);
+      }
       tr4.writeTo(writer);
 
-      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameterB1          */
-      /* Details: "Method setParameter(String, String[]): Sets the            */
-      /* parameter value array for the specified name"                        */
-      TestResult tr5 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERB1);
+      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameterB1 */
+      /* Details: "Method setParameter(String, String[]): Sets the */
+      /* parameter value array for the specified name" */
+      TestResult tr5 = tcd.getTestResultFailed(
+            V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERB1);
       try {
          PortletURL turl = portletResp.createActionURL();
-         turl.setParameter("tc", "V2URLTests_BaseURL_ApiRenderActurl_setParameterB1");
-         turl.setParameter("parm1", new String[]{"val1", "val2"});
-         
+         turl.setParameter("tc",
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameterB1");
+         turl.setParameter("parm1", new String[] { "val1", "val2" });
+
          // add the execution button for an action request
-         TestButton tb = new TestButton("V2URLTests_BaseURL_ApiRenderActurl_setParameterB1", turl);
+         TestButton tb = new TestButton(
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameterB1", turl);
          tb.writeTo(writer);
-         
+
          // display evaluated results
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't set (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterB1")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterB1")) {
             PortletSession ps = portletReq.getPortletSession();
-            TestResult tmp = (TestResult)ps.getAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameterB1");
+            TestResult tmp = (TestResult) ps.getAttribute(RESULT_ATTR_PREFIX
+                  + "V2URLTests_BaseURL_ApiRenderActurl_setParameterB1");
             if (tmp != null) {
                tr5 = tmp;
-               ps.removeAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameterB1");
+               ps.removeAttribute(RESULT_ATTR_PREFIX
+                     + "V2URLTests_BaseURL_ApiRenderActurl_setParameterB1");
             }
          }
-      } catch(Exception e) {tr5.appendTcDetail(e);}
+      } catch (Exception e) {
+         tr5.appendTcDetail(e);
+      }
       tr5.writeTo(writer);
 
-      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameterB4          */
-      /* Details: "Method setParameter(String, String[]): An action           */
-      /* parameter can be set"                                                */
-      TestResult tr6 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERB4);
+      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameterB4 */
+      /* Details: "Method setParameter(String, String[]): An action */
+      /* parameter can be set" */
+      TestResult tr6 = tcd.getTestResultFailed(
+            V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERB4);
       try {
          PortletURL turl = portletResp.createActionURL();
-         turl.setParameter("tc", "V2URLTests_BaseURL_ApiRenderActurl_setParameterB4");
-         turl.setParameter("parm1", new String[]{"val1", "val2"});
-         
+         turl.setParameter("tc",
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameterB4");
+         turl.setParameter("parm1", new String[] { "val1", "val2" });
+
          // add the execution button for an action request
-         TestButton tb = new TestButton("V2URLTests_BaseURL_ApiRenderActurl_setParameterB4", turl);
+         TestButton tb = new TestButton(
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameterB4", turl);
          tb.writeTo(writer);
-         
+
          // display evaluated results
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't set (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterB4")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterB4")) {
             PortletSession ps = portletReq.getPortletSession();
-            TestResult tmp = (TestResult)ps.getAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameterB4");
+            TestResult tmp = (TestResult) ps.getAttribute(RESULT_ATTR_PREFIX
+                  + "V2URLTests_BaseURL_ApiRenderActurl_setParameterB4");
             if (tmp != null) {
                tr6 = tmp;
-               ps.removeAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameterB4");
+               ps.removeAttribute(RESULT_ATTR_PREFIX
+                     + "V2URLTests_BaseURL_ApiRenderActurl_setParameterB4");
             }
          }
-      } catch(Exception e) {tr6.appendTcDetail(e);}
+      } catch (Exception e) {
+         tr6.appendTcDetail(e);
+      }
       tr6.writeTo(writer);
 
-      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameterB6          */
-      /* Details: "Method setParameter(String, String[]): All previously      */
-      /* existing values for the specified key are removed"                   */
-      TestResult tr7 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERB6);
+      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameterB6 */
+      /* Details: "Method setParameter(String, String[]): All previously */
+      /* existing values for the specified key are removed" */
+      TestResult tr7 = tcd.getTestResultFailed(
+            V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERB6);
       try {
          PortletURL turl = portletResp.createActionURL();
-         turl.setParameter("tc", "V2URLTests_BaseURL_ApiRenderActurl_setParameterB6");
-         turl.setParameter("parm1", new String[]{"val1", "val2", "val3"});
-         turl.setParameter("parm1", new String[]{"newVal"});
-         
+         turl.setParameter("tc",
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameterB6");
+         turl.setParameter("parm1", new String[] { "val1", "val2", "val3" });
+         turl.setParameter("parm1", new String[] { "newVal" });
+
          // add the execution button for an action request
-         TestButton tb = new TestButton("V2URLTests_BaseURL_ApiRenderActurl_setParameterB6", turl);
+         TestButton tb = new TestButton(
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameterB6", turl);
          tb.writeTo(writer);
-         
+
          // display evaluated results
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't set (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterB6")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterB6")) {
             PortletSession ps = portletReq.getPortletSession();
-            TestResult tmp = (TestResult)ps.getAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameterB6");
+            TestResult tmp = (TestResult) ps.getAttribute(RESULT_ATTR_PREFIX
+                  + "V2URLTests_BaseURL_ApiRenderActurl_setParameterB6");
             if (tmp != null) {
                tr7 = tmp;
-               ps.removeAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameterB6");
+               ps.removeAttribute(RESULT_ATTR_PREFIX
+                     + "V2URLTests_BaseURL_ApiRenderActurl_setParameterB6");
             }
          }
-      } catch(Exception e) {tr7.appendTcDetail(e);}
+      } catch (Exception e) {
+         tr7.appendTcDetail(e);
+      }
       tr7.writeTo(writer);
 
-      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameterB7          */
-      /* Details: "Method setParameter(String, String[]): If the value is     */
-      /* null, all values for the specified key are removed"                  */
-      TestResult tr8 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERB7);
+      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameterB7 */
+      /* Details: "Method setParameter(String, String[]): If the value is */
+      /* null, all values for the specified key are removed" */
+      TestResult tr8 = tcd.getTestResultFailed(
+            V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERB7);
       try {
          PortletURL turl = portletResp.createActionURL();
-         turl.setParameter("tc", "V2URLTests_BaseURL_ApiRenderActurl_setParameterB7");
-         turl.setParameter("parm1", new String[]{"val1", "val2", "val3"});
-         turl.setParameter("parm1", (String[])null);
-         
+         turl.setParameter("tc",
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameterB7");
+         turl.setParameter("parm1", new String[] { "val1", "val2", "val3" });
+         turl.setParameter("parm1", (String[]) null);
+
          // add the execution button for an action request
-         TestButton tb = new TestButton("V2URLTests_BaseURL_ApiRenderActurl_setParameterB7", turl);
+         TestButton tb = new TestButton(
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameterB7", turl);
          tb.writeTo(writer);
-         
+
          // display evaluated results
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't set (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterB7")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setParameterB7")) {
             PortletSession ps = portletReq.getPortletSession();
-            TestResult tmp = (TestResult)ps.getAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameterB7");
+            TestResult tmp = (TestResult) ps.getAttribute(RESULT_ATTR_PREFIX
+                  + "V2URLTests_BaseURL_ApiRenderActurl_setParameterB7");
             if (tmp != null) {
                tr8 = tmp;
-               ps.removeAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameterB7");
+               ps.removeAttribute(RESULT_ATTR_PREFIX
+                     + "V2URLTests_BaseURL_ApiRenderActurl_setParameterB7");
             }
          }
-      } catch(Exception e) {tr8.appendTcDetail(e);}
+      } catch (Exception e) {
+         tr8.appendTcDetail(e);
+      }
       tr8.writeTo(writer);
 
-      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameterB8          */
-      /* Details: "Method setParameter(String, String[]): Throws              */
-      /* IllegalArgumentException if the name is null"                        */
-      TestResult tr9 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERB8);
+      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameterB8 */
+      /* Details: "Method setParameter(String, String[]): Throws */
+      /* IllegalArgumentException if the name is null" */
+      TestResult tr9 = tcd.getTestResultFailed(
+            V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERB8);
       try {
          try {
             PortletURL turl = portletResp.createActionURL();
-            turl.setParameter(null, new String[]{"val1-1", "val1-2"});
+            turl.setParameter(null, new String[] { "val1-1", "val1-2" });
             tr9.appendTcDetail("Method did not throw an exception.");
          } catch (IllegalArgumentException iae) {
             tr9.setTcSuccess(true);
          } catch (Exception e) {
             tr9.appendTcDetail(e);
          }
-      } catch(Exception e) {tr9.appendTcDetail(e);}
+      } catch (Exception e) {
+         tr9.appendTcDetail(e);
+      }
       tr9.writeTo(writer);
 
-      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameters1          */
-      /* Details: "Method setParameters(java.util.Map): Sets the parameter    */
-      /* map to the specified value"                                          */
-      TestResult tr10 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS1);
+      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameters1 */
+      /* Details: "Method setParameters(java.util.Map): Sets the parameter */
+      /* map to the specified value" */
+      TestResult tr10 = tcd.getTestResultFailed(
+            V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS1);
       try {
          PortletURL turl = portletResp.createActionURL();
          Map<String, String[]> parms = new HashMap<String, String[]>();
-         parms.put("tc", new String[]{"V2URLTests_BaseURL_ApiRenderActurl_setParameters1"});
-         parms.put("parm1", new String[]{"val1", "val2"});
+         parms.put("tc", new String[] {
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameters1" });
+         parms.put("parm1", new String[] { "val1", "val2" });
          turl.setParameters(parms);
-         
+
          // Use setup link to set public render parameter to known value
          PortletURL rurl = portletResp.createRenderURL();
          rurl.removePublicRenderParameter("tckPRP1");
-         TestSetupLink tsl = new TestSetupLink("V2URLTests_BaseURL_ApiRenderActurl_setParameters1", rurl);
+         TestSetupLink tsl = new TestSetupLink(
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameters1", rurl);
          tsl.writeTo(writer);
-         
+
          // add the execution button for an action request
-         TestButton tb = new TestButton("V2URLTests_BaseURL_ApiRenderActurl_setParameters1", turl);
+         TestButton tb = new TestButton(
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameters1", turl);
          tb.writeTo(writer);
-         
+
          // display evaluated results
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't set (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setParameters1")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setParameters1")) {
             PortletSession ps = portletReq.getPortletSession();
-            TestResult tmp = (TestResult)ps.getAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameters1");
+            TestResult tmp = (TestResult) ps.getAttribute(RESULT_ATTR_PREFIX
+                  + "V2URLTests_BaseURL_ApiRenderActurl_setParameters1");
             if (tmp != null) {
                tr10 = tmp;
-               ps.removeAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameters1");
+               ps.removeAttribute(RESULT_ATTR_PREFIX
+                     + "V2URLTests_BaseURL_ApiRenderActurl_setParameters1");
             }
          }
-      } catch(Exception e) {tr10.appendTcDetail(e);}
+      } catch (Exception e) {
+         tr10.appendTcDetail(e);
+      }
       tr10.writeTo(writer);
 
-      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameters4          */
-      /* Details: "Method setParameters(java.util.Map): Action parameters     */
-      /* can be set through the map"                                          */
-      TestResult tr11 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS4);
+      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameters4 */
+      /* Details: "Method setParameters(java.util.Map): Action parameters */
+      /* can be set through the map" */
+      TestResult tr11 = tcd.getTestResultFailed(
+            V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS4);
       try {
          PortletURL turl = portletResp.createActionURL();
          Map<String, String[]> parms = new HashMap<String, String[]>();
-         parms.put("tc", new String[]{"V2URLTests_BaseURL_ApiRenderActurl_setParameters4"});
-         parms.put("parm1", new String[]{"val1", "val2"});
+         parms.put("tc", new String[] {
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameters4" });
+         parms.put("parm1", new String[] { "val1", "val2" });
          turl.setParameters(parms);
-         
+
          // Use setup link to set public render parameter to known value
          PortletURL rurl = portletResp.createRenderURL();
          rurl.removePublicRenderParameter("tckPRP1");
-         TestSetupLink tsl = new TestSetupLink("V2URLTests_BaseURL_ApiRenderActurl_setParameters4", rurl);
+         TestSetupLink tsl = new TestSetupLink(
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameters4", rurl);
          tsl.writeTo(writer);
-         
+
          // add the execution button for an action request
-         TestButton tb = new TestButton("V2URLTests_BaseURL_ApiRenderActurl_setParameters4", turl);
+         TestButton tb = new TestButton(
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameters4", turl);
          tb.writeTo(writer);
-         
+
          // display evaluated results
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't set (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setParameters4")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setParameters4")) {
             PortletSession ps = portletReq.getPortletSession();
-            TestResult tmp = (TestResult)ps.getAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameters4");
+            TestResult tmp = (TestResult) ps.getAttribute(RESULT_ATTR_PREFIX
+                  + "V2URLTests_BaseURL_ApiRenderActurl_setParameters4");
             if (tmp != null) {
                tr11 = tmp;
-               ps.removeAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameters4");
+               ps.removeAttribute(RESULT_ATTR_PREFIX
+                     + "V2URLTests_BaseURL_ApiRenderActurl_setParameters4");
             }
          }
-      } catch(Exception e) {tr11.appendTcDetail(e);}
+      } catch (Exception e) {
+         tr11.appendTcDetail(e);
+      }
       tr11.writeTo(writer);
 
-      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameters6          */
-      /* Details: "Method setParameters(java.util.Map): Previously existing   */
-      /* private parameters not contained in the specified input map are      */
-      /* removed"                                                             */
-      TestResult tr12 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS6);
+      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameters6 */
+      /* Details: "Method setParameters(java.util.Map): Previously existing */
+      /* private parameters not contained in the specified input map are */
+      /* removed" */
+      TestResult tr12 = tcd.getTestResultFailed(
+            V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS6);
       try {
          PortletURL turl = portletResp.createActionURL();
          Map<String, String[]> parms = new HashMap<String, String[]>();
-         parms.put("tc", new String[]{"V2URLTests_BaseURL_ApiRenderActurl_setParameters6"});
+         parms.put("tc", new String[] {
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameters6" });
          turl.setParameter("oldParm", "oldVal");
-         parms.put("parm1", new String[]{"val1", "val2"});
+         parms.put("parm1", new String[] { "val1", "val2" });
          turl.setParameters(parms);
-         
+
          // Use setup link to set public render parameter to known value
          PortletURL rurl = portletResp.createRenderURL();
          rurl.removePublicRenderParameter("tckPRP1");
-         TestSetupLink tsl = new TestSetupLink("V2URLTests_BaseURL_ApiRenderActurl_setParameters6", rurl);
+         TestSetupLink tsl = new TestSetupLink(
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameters6", rurl);
          tsl.writeTo(writer);
-         
+
          // add the execution button for an action request
-         TestButton tb = new TestButton("V2URLTests_BaseURL_ApiRenderActurl_setParameters6", turl);
+         TestButton tb = new TestButton(
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameters6", turl);
          tb.writeTo(writer);
-         
+
          // display evaluated results
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't set (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setParameters6")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setParameters6")) {
             PortletSession ps = portletReq.getPortletSession();
-            TestResult tmp = (TestResult)ps.getAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameters6");
+            TestResult tmp = (TestResult) ps.getAttribute(RESULT_ATTR_PREFIX
+                  + "V2URLTests_BaseURL_ApiRenderActurl_setParameters6");
             if (tmp != null) {
                tr12 = tmp;
-               ps.removeAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameters6");
+               ps.removeAttribute(RESULT_ATTR_PREFIX
+                     + "V2URLTests_BaseURL_ApiRenderActurl_setParameters6");
             }
          }
-      } catch(Exception e) {tr12.appendTcDetail(e);}
+      } catch (Exception e) {
+         tr12.appendTcDetail(e);
+      }
       tr12.writeTo(writer);
 
-      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameters7          */
-      /* Details: "Method setParameters(java.util.Map): Previously existing   */
-      /* public parameters not contained in the specified input map remain    */
-      /* unchanged"                                                           */
-      TestResult tr13 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS7);
+      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameters7 */
+      /* Details: "Method setParameters(java.util.Map): Previously existing */
+      /* public parameters not contained in the specified input map remain */
+      /* unchanged" */
+      TestResult tr13 = tcd.getTestResultFailed(
+            V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS7);
       try {
          PortletURL turl = portletResp.createActionURL();
          Map<String, String[]> parms = new HashMap<String, String[]>();
-         parms.put("tc", new String[]{"V2URLTests_BaseURL_ApiRenderActurl_setParameters7"});
-         parms.put("parm1", new String[]{"val1", "val2"});
+         parms.put("tc", new String[] {
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameters7" });
+         parms.put("parm1", new String[] { "val1", "val2" });
          turl.setParameters(parms);
-         
+
          // Use setup link to set public render parameter to known value
          PortletURL rurl = portletResp.createRenderURL();
-         rurl.setParameter("tckPRP1", "V2URLTests_BaseURL_ApiRenderActurl_setParameters7");
-         TestSetupLink tsl = new TestSetupLink("V2URLTests_BaseURL_ApiRenderActurl_setParameters7", rurl);
+         rurl.setParameter("tckPRP1",
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameters7");
+         TestSetupLink tsl = new TestSetupLink(
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameters7", rurl);
          tsl.writeTo(writer);
-         
+
          // add the execution button for an action request
-         TestButton tb = new TestButton("V2URLTests_BaseURL_ApiRenderActurl_setParameters7", turl);
+         TestButton tb = new TestButton(
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameters7", turl);
          tb.writeTo(writer);
-         
+
          // display evaluated results
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't set (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setParameters7")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setParameters7")) {
             PortletSession ps = portletReq.getPortletSession();
-            TestResult tmp = (TestResult)ps.getAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameters7");
+            TestResult tmp = (TestResult) ps.getAttribute(RESULT_ATTR_PREFIX
+                  + "V2URLTests_BaseURL_ApiRenderActurl_setParameters7");
             if (tmp != null) {
                tr13 = tmp;
-               ps.removeAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameters7");
+               ps.removeAttribute(RESULT_ATTR_PREFIX
+                     + "V2URLTests_BaseURL_ApiRenderActurl_setParameters7");
             }
          }
-      } catch(Exception e) {tr13.appendTcDetail(e);}
+      } catch (Exception e) {
+         tr13.appendTcDetail(e);
+      }
       tr13.writeTo(writer);
 
-      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameters8          */
-      /* Details: "Method setParameters(java.util.Map): Parameters that are   */
-      /* set are available in requests initiated through the URL"             */
-      TestResult tr14 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS8);
+      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameters8 */
+      /* Details: "Method setParameters(java.util.Map): Parameters that are */
+      /* set are available in requests initiated through the URL" */
+      TestResult tr14 = tcd.getTestResultFailed(
+            V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS8);
       try {
          PortletURL turl = portletResp.createActionURL();
          Map<String, String[]> parms = new HashMap<String, String[]>();
-         parms.put("tc", new String[]{"V2URLTests_BaseURL_ApiRenderActurl_setParameters8"});
-         parms.put("parm1", new String[]{"val1", "val2"});
+         parms.put("tc", new String[] {
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameters8" });
+         parms.put("parm1", new String[] { "val1", "val2" });
          turl.setParameters(parms);
-         
+
          // Use setup link to set public render parameter to known value
          PortletURL rurl = portletResp.createRenderURL();
          rurl.removePublicRenderParameter("tckPRP1");
-         TestSetupLink tsl = new TestSetupLink("V2URLTests_BaseURL_ApiRenderActurl_setParameters8", rurl);
+         TestSetupLink tsl = new TestSetupLink(
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameters8", rurl);
          tsl.writeTo(writer);
-         
+
          // add the execution button for an action request
-         TestButton tb = new TestButton("V2URLTests_BaseURL_ApiRenderActurl_setParameters8", turl);
+         TestButton tb = new TestButton(
+               "V2URLTests_BaseURL_ApiRenderActurl_setParameters8", turl);
          tb.writeTo(writer);
-         
+
          // display evaluated results
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't set (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setParameters8")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setParameters8")) {
             PortletSession ps = portletReq.getPortletSession();
-            TestResult tmp = (TestResult)ps.getAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameters8");
+            TestResult tmp = (TestResult) ps.getAttribute(RESULT_ATTR_PREFIX
+                  + "V2URLTests_BaseURL_ApiRenderActurl_setParameters8");
             if (tmp != null) {
                tr14 = tmp;
-               ps.removeAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setParameters8");
+               ps.removeAttribute(RESULT_ATTR_PREFIX
+                     + "V2URLTests_BaseURL_ApiRenderActurl_setParameters8");
             }
          }
-      } catch(Exception e) {tr14.appendTcDetail(e);}
+      } catch (Exception e) {
+         tr14.appendTcDetail(e);
+      }
       tr14.writeTo(writer);
 
-      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameters9          */
-      /* Details: "Method setParameters(java.util.Map): Throws                */
-      /* IllegalArgumentException if the input map is null"                   */
-      TestResult tr15 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS9);
+      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameters9 */
+      /* Details: "Method setParameters(java.util.Map): Throws */
+      /* IllegalArgumentException if the input map is null" */
+      TestResult tr15 = tcd.getTestResultFailed(
+            V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS9);
       try {
          try {
             PortletURL turl = portletResp.createActionURL();
-            turl.setParameters((Map<String, String[]>)null);
+            turl.setParameters((Map<String, String[]>) null);
             tr15.appendTcDetail("Method did not throw an exception.");
          } catch (IllegalArgumentException iae) {
             tr15.setTcSuccess(true);
          } catch (Exception e) {
             tr15.appendTcDetail(e);
          }
-      } catch(Exception e) {tr15.appendTcDetail(e);}
+      } catch (Exception e) {
+         tr15.appendTcDetail(e);
+      }
       tr15.writeTo(writer);
 
-      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameters10         */
-      /* Details: "Method setParameters(java.util.Map): Throws                */
-      /* IllegalArgumentException if any key in the map is null"              */
-      TestResult tr16 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS10);
+      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameters10 */
+      /* Details: "Method setParameters(java.util.Map): Throws */
+      /* IllegalArgumentException if any key in the map is null" */
+      TestResult tr16 = tcd.getTestResultFailed(
+            V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS10);
       try {
          try {
             PortletURL turl = portletResp.createActionURL();
             Map<String, String[]> parms = new HashMap<String, String[]>();
-            parms.put("parm1", new String[]{"val1-1", "val1-2"});
-            parms.put(null, new String[]{"val2-1", "val2-2"});
+            parms.put("parm1", new String[] { "val1-1", "val1-2" });
+            parms.put(null, new String[] { "val2-1", "val2-2" });
             turl.setParameters(parms);
             tr16.appendTcDetail("Method did not throw an exception.");
          } catch (IllegalArgumentException iae) {
@@ -843,18 +1091,21 @@ public class URLTests_BaseURL_ApiRenderActurl implements Portlet, ResourceServin
          } catch (Exception e) {
             tr16.appendTcDetail(e);
          }
-      } catch(Exception e) {tr16.appendTcDetail(e);}
+      } catch (Exception e) {
+         tr16.appendTcDetail(e);
+      }
       tr16.writeTo(writer);
 
-      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameters12         */
-      /* Details: "Method setParameters(java.util.Map): Throws                */
-      /* IllegalArgumentException if the values array for any key is null "   */
-      TestResult tr17 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS12);
+      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setParameters12 */
+      /* Details: "Method setParameters(java.util.Map): Throws */
+      /* IllegalArgumentException if the values array for any key is null " */
+      TestResult tr17 = tcd.getTestResultFailed(
+            V2URLTESTS_BASEURL_APIRENDERACTURL_SETPARAMETERS12);
       try {
          try {
             PortletURL turl = portletResp.createActionURL();
             Map<String, String[]> parms = new HashMap<String, String[]>();
-            parms.put("parm1", new String[]{"val1-1", "val1-2"});
+            parms.put("parm1", new String[] { "val1-1", "val1-2" });
             parms.put("parm2", null);
             turl.setParameters(parms);
             tr17.appendTcDetail("Method did not throw an exception.");
@@ -863,189 +1114,236 @@ public class URLTests_BaseURL_ApiRenderActurl implements Portlet, ResourceServin
          } catch (Exception e) {
             tr17.appendTcDetail(e);
          }
-      } catch(Exception e) {tr17.appendTcDetail(e);}
+      } catch (Exception e) {
+         tr17.appendTcDetail(e);
+      }
       tr17.writeTo(writer);
 
-      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setSecure2              */
-      /* Details: "Method setSecure(boolean): If the input parameter is       */
-      /* true, the resulting URL uses a secure connection (HTTPS)"            */
-      TestResult tr18 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETSECURE2);
+      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_setSecure2 */
+      /* Details: "Method setSecure(boolean): If the input parameter is */
+      /* true, the resulting URL uses a secure connection (HTTPS)" */
+      TestResult tr18 = tcd
+            .getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_SETSECURE2);
       try {
          PortletURL turl = portletResp.createActionURL();
-         turl.setParameter("tc", "V2URLTests_BaseURL_ApiRenderActurl_setSecure2");
+         turl.setParameter("tc",
+               "V2URLTests_BaseURL_ApiRenderActurl_setSecure2");
          try {
             turl.setSecure(true);
-         } catch(PortletSecurityException e) {
-            // handle as successful completion, since runtime does not support setting
+         } catch (PortletSecurityException e) {
+            // handle as successful completion, since runtime does not support
+            // setting
             turl.setParameter("setSecure", "not supported");
          }
-         
+
          // add the execution button for an action request
-         TestButton tb = new TestButton("V2URLTests_BaseURL_ApiRenderActurl_setSecure2", turl);
+         TestButton tb = new TestButton(
+               "V2URLTests_BaseURL_ApiRenderActurl_setSecure2", turl);
          tb.writeTo(writer);
-         
+
          // display evaluated results
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't set (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_setSecure2")) {
+         if (tcval != null && tcval != null && tcval
+               .equals("V2URLTests_BaseURL_ApiRenderActurl_setSecure2")) {
             PortletSession ps = portletReq.getPortletSession();
-            TestResult tmp = (TestResult)ps.getAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setSecure2");
+            TestResult tmp = (TestResult) ps.getAttribute(RESULT_ATTR_PREFIX
+                  + "V2URLTests_BaseURL_ApiRenderActurl_setSecure2");
             if (tmp != null) {
                tr18 = tmp;
-               ps.removeAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_setSecure2");
+               ps.removeAttribute(RESULT_ATTR_PREFIX
+                     + "V2URLTests_BaseURL_ApiRenderActurl_setSecure2");
             }
          }
-      } catch(Exception e) {tr18.appendTcDetail(e);}
+      } catch (Exception e) {
+         tr18.appendTcDetail(e);
+      }
       tr18.writeTo(writer);
 
-      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_toString                */
-      /* Details: "Method toString(): Returns a String containing the         */
-      /* portlet URL representation to be included in the markup"             */
-      TestResult tr19 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_TOSTRING);
+      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_toString */
+      /* Details: "Method toString(): Returns a String containing the */
+      /* portlet URL representation to be included in the markup" */
+      TestResult tr19 = tcd
+            .getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_TOSTRING);
       try {
          PortletURL turl = portletResp.createActionURL();
          turl.setParameter("tc", "V2URLTests_BaseURL_ApiRenderActurl_toString");
          String urlstr = turl.toString();
-         
+
          // add the execution button for an action request
-         TestButton tb = new TestButton("V2URLTests_BaseURL_ApiRenderActurl_toString", urlstr);
+         TestButton tb = new TestButton(
+               "V2URLTests_BaseURL_ApiRenderActurl_toString", urlstr);
          tb.writeTo(writer);
-         
+
          // display evaluated results
          String tcval = portletReq.getParameter("tc");
          // let exception be thrown if tc parm isn't set (test case error)
-         if (tcval !=  null &&  tcval !=  null &&  tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_toString")) {
+         if (tcval != null && tcval != null
+               && tcval.equals("V2URLTests_BaseURL_ApiRenderActurl_toString")) {
             PortletSession ps = portletReq.getPortletSession();
-            TestResult tmp = (TestResult)ps.getAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_toString");
+            TestResult tmp = (TestResult) ps.getAttribute(RESULT_ATTR_PREFIX
+                  + "V2URLTests_BaseURL_ApiRenderActurl_toString");
             if (tmp != null) {
                tr19 = tmp;
-               ps.removeAttribute(RESULT_ATTR_PREFIX + "V2URLTests_BaseURL_ApiRenderActurl_toString");
+               ps.removeAttribute(RESULT_ATTR_PREFIX
+                     + "V2URLTests_BaseURL_ApiRenderActurl_toString");
             }
          }
-      } catch(Exception e) {tr19.appendTcDetail(e);}
+      } catch (Exception e) {
+         tr19.appendTcDetail(e);
+      }
       tr19.writeTo(writer);
 
-      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_getParameterMap1        */
-      /* Details: "Method getParameterMap(): Returns an                       */
-      /* java.util.Map&lt;java.lang.String,java.lang.String[]&gt; object      */
-      /* for the parameter names and values if parameters are available"      */
-      TestResult tr20 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_GETPARAMETERMAP1);
+      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_getParameterMap1 */
+      /* Details: "Method getParameterMap(): Returns an */
+      /* java.util.Map&lt;java.lang.String,java.lang.String[]&gt; object */
+      /* for the parameter names and values if parameters are available" */
+      TestResult tr20 = tcd.getTestResultFailed(
+            V2URLTESTS_BASEURL_APIRENDERACTURL_GETPARAMETERMAP1);
       try {
          PortletURL turl = portletResp.createActionURL();
          Map<String, String[]> parms = turl.getParameterMap();
          if (parms == null) {
-            tr20.appendTcDetail("Returned map is null."); 
+            tr20.appendTcDetail("Returned map is null.");
          } else {
             tr20.setTcSuccess(true);
          }
-      } catch(Exception e) {tr20.appendTcDetail(e);}
+      } catch (Exception e) {
+         tr20.appendTcDetail(e);
+      }
       tr20.writeTo(writer);
 
-      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_getParameterMap3        */
-      /* Details: "Method getParameterMap(): For an action URL, the           */
-      /* returned map contains all action parameters for the request"         */
-      TestResult tr21 = tcd.getTestResultFailed(V2URLTESTS_BASEURL_APIRENDERACTURL_GETPARAMETERMAP3);
+      /* TestCase: V2URLTests_BaseURL_ApiRenderActurl_getParameterMap3 */
+      /* Details: "Method getParameterMap(): For an action URL, the */
+      /* returned map contains all action parameters for the request" */
+      TestResult tr21 = tcd.getTestResultFailed(
+            V2URLTESTS_BASEURL_APIRENDERACTURL_GETPARAMETERMAP3);
       try {
          PortletURL turl = portletResp.createActionURL();
          Map<String, String[]> testparms = new HashMap<String, String[]>();
          turl.setParameter("parm1", "val1");
-         testparms.put("parm1", new String[]{"val1"});
+         testparms.put("parm1", new String[] { "val1" });
          turl.setParameter("tckPRP1", "PRPval1");
-         testparms.put("tckPRP1", new String[]{"PRPval1

<TRUNCATED>

Mime
View raw message