portals-pluto-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msnickl...@apache.org
Subject [30/36] portals-pluto git commit: Cleaned up V2ResponseTests from extraneous logging and imports. Also, replaced TestButton, TestSetupLink, TestSetup strings with Constants from tck beans.
Date Tue, 28 Jun 2016 15:31:34 GMT
http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/35346423/portlet-tck_3.0/V2ResponseTests/src/main/java/javax/portlet/tck/portlets/ResponseTests_StateAwareResponse_ApiEvent.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2ResponseTests/src/main/java/javax/portlet/tck/portlets/ResponseTests_StateAwareResponse_ApiEvent.java
b/portlet-tck_3.0/V2ResponseTests/src/main/java/javax/portlet/tck/portlets/ResponseTests_StateAwareResponse_ApiEvent.java
index e31e7a1..adf67bf 100644
--- a/portlet-tck_3.0/V2ResponseTests/src/main/java/javax/portlet/tck/portlets/ResponseTests_StateAwareResponse_ApiEvent.java
+++ b/portlet-tck_3.0/V2ResponseTests/src/main/java/javax/portlet/tck/portlets/ResponseTests_StateAwareResponse_ApiEvent.java
@@ -18,21 +18,73 @@
 
 package javax.portlet.tck.portlets;
 
-import java.io.*;
-import java.util.*;
-import java.util.logging.*;
-import static java.util.logging.Logger.*;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETWINDOWSTATE1;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETWINDOWSTATE2;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETWINDOWSTATE3;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETPORTLETMODE1;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETPORTLETMODE2;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETPORTLETMODE3;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERS1;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERS2;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERS3;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERS4;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERS5;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERS6;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERS7;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERS8;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERS10;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERS11;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERS12;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERA1;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERA2;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERA3;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERA4;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERA5;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERA6;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERA7;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERA8;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERB1;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERB2;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERB3;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERB4;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERB5;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERB6;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETEVENTA1;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETEVENTA2;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETEVENTA3;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETEVENTA4;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETEVENTA5;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETEVENTB1;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETEVENTB2;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETEVENTB3;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETEVENTB4;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETEVENTB5;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_GETRENDERPARAMETERMAP1;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_GETRENDERPARAMETERMAP2;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_GETRENDERPARAMETERMAP3;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_GETRENDERPARAMETERMAP4;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_GETPORTLETMODE1;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_GETPORTLETMODE2;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_GETWINDOWSTATE1;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_GETWINDOWSTATE2;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_REMOVEPUBLICRENDERPARAMETER1;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_REMOVEPUBLICRENDERPARAMETER2;
+import static javax.portlet.tck.constants.Constants.THREADID_ATTR;
+import static javax.portlet.tck.constants.Constants.TCKNAMESPACE;
+
+import java.io.IOException;
+import java.io.PrintWriter;
+
+import javax.portlet.ActionRequest;
+import javax.portlet.ActionResponse;
+import javax.portlet.Portlet;
+import javax.portlet.PortletConfig;
+import javax.portlet.PortletException;
+import javax.portlet.PortletURL;
+import javax.portlet.RenderRequest;
+import javax.portlet.RenderResponse;
+import javax.portlet.tck.beans.TestButton;
 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.*;
 
 /**
  * This portlet implements several test cases for the JSR 362 TCK. The test case names
@@ -45,16 +97,10 @@ import static javax.portlet.ResourceURL.*;
  * portlet ResponseTests_StateAwareResponse_ApiEvent_event
  *
  */
-public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet, ResourceServingPortlet
{
-   private static final String LOG_CLASS = 
-         ResponseTests_StateAwareResponse_ApiEvent.class.getName();
-   private final Logger LOGGER = Logger.getLogger(LOG_CLASS);
-   
-   private PortletConfig portletConfig = null;
+public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet {
 
    @Override
    public void init(PortletConfig config) throws PortletException {
-      this.portletConfig = config;
    }
 
    @Override
@@ -69,25 +115,12 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       long tid = Thread.currentThread().getId();
       portletReq.setAttribute(THREADID_ATTR, tid);
 
-      StringWriter writer = new StringWriter();
-
       QName eventQName = new QName(TCKNAMESPACE,
              "ResponseTests_StateAwareResponse_ApiEvent");
       portletResp.setEvent(eventQName, "Hi!");
    }
 
    @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 {
 
@@ -102,7 +135,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setWindowState1",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETWINDOWSTATE1,
aurl);
          tb.writeTo(writer);
       }
 
@@ -113,7 +146,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setWindowState2",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETWINDOWSTATE2,
aurl);
          tb.writeTo(writer);
       }
 
@@ -124,7 +157,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setWindowState3",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETWINDOWSTATE3,
aurl);
          tb.writeTo(writer);
       }
 
@@ -134,7 +167,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setPortletMode1",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETPORTLETMODE1,
aurl);
          tb.writeTo(writer);
       }
 
@@ -145,7 +178,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setPortletMode2",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETPORTLETMODE2,
aurl);
          tb.writeTo(writer);
       }
 
@@ -156,7 +189,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setPortletMode3",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETPORTLETMODE3,
aurl);
          tb.writeTo(writer);
       }
 
@@ -166,7 +199,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setRenderParameters1",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERS1,
aurl);
          tb.writeTo(writer);
       }
 
@@ -176,7 +209,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setRenderParameters2",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERS2,
aurl);
          tb.writeTo(writer);
       }
 
@@ -186,7 +219,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setRenderParameters3",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERS3,
aurl);
          tb.writeTo(writer);
       }
 
@@ -197,7 +230,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setRenderParameters4",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERS4,
aurl);
          tb.writeTo(writer);
       }
 
@@ -208,7 +241,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setRenderParameters5",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERS5,
aurl);
          tb.writeTo(writer);
       }
 
@@ -218,7 +251,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setRenderParameters6",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERS6,
aurl);
          tb.writeTo(writer);
       }
 
@@ -228,7 +261,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setRenderParameters7",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERS7,
aurl);
          tb.writeTo(writer);
       }
 
@@ -238,7 +271,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setRenderParameters8",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERS8,
aurl);
          tb.writeTo(writer);
       }
 
@@ -248,7 +281,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setRenderParameters10",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERS10,
aurl);
          tb.writeTo(writer);
       }
 
@@ -259,7 +292,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setRenderParameters11",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERS11,
aurl);
          tb.writeTo(writer);
       }
 
@@ -270,7 +303,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setRenderParameters12",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERS12,
aurl);
          tb.writeTo(writer);
       }
 
@@ -280,7 +313,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setRenderParameterA1",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERA1,
aurl);
          tb.writeTo(writer);
       }
 
@@ -290,7 +323,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setRenderParameterA2",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERA2,
aurl);
          tb.writeTo(writer);
       }
 
@@ -300,7 +333,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setRenderParameterA3",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERA3,
aurl);
          tb.writeTo(writer);
       }
 
@@ -310,7 +343,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setRenderParameterA4",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERA4,
aurl);
          tb.writeTo(writer);
       }
 
@@ -320,7 +353,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setRenderParameterA5",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERA5,
aurl);
          tb.writeTo(writer);
       }
 
@@ -330,7 +363,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setRenderParameterA6",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERA6,
aurl);
          tb.writeTo(writer);
       }
 
@@ -340,7 +373,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setRenderParameterA7",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERA7,
aurl);
          tb.writeTo(writer);
       }
 
@@ -351,7 +384,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setRenderParameterA8",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERA8,
aurl);
          tb.writeTo(writer);
       }
 
@@ -361,7 +394,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setRenderParameterB1",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERB1,
aurl);
          tb.writeTo(writer);
       }
 
@@ -371,7 +404,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setRenderParameterB2",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERB2,
aurl);
          tb.writeTo(writer);
       }
 
@@ -381,7 +414,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setRenderParameterB3",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERB3,
aurl);
          tb.writeTo(writer);
       }
 
@@ -391,7 +424,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setRenderParameterB4",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERB4,
aurl);
          tb.writeTo(writer);
       }
 
@@ -401,7 +434,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setRenderParameterB5",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERB5,
aurl);
          tb.writeTo(writer);
       }
 
@@ -412,7 +445,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setRenderParameterB6",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETRENDERPARAMETERB6,
aurl);
          tb.writeTo(writer);
       }
 
@@ -423,7 +456,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setEventA1",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETEVENTA1,
aurl);
          tb.writeTo(writer);
       }
 
@@ -434,7 +467,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setEventA2",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETEVENTA2,
aurl);
          tb.writeTo(writer);
       }
 
@@ -445,7 +478,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setEventA3",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETEVENTA3,
aurl);
          tb.writeTo(writer);
       }
 
@@ -456,7 +489,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setEventA4",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETEVENTA4,
aurl);
          tb.writeTo(writer);
       }
 
@@ -468,7 +501,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setEventA5",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETEVENTA5,
aurl);
          tb.writeTo(writer);
       }
 
@@ -478,7 +511,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setEventB1",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETEVENTB1,
aurl);
          tb.writeTo(writer);
       }
 
@@ -488,7 +521,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setEventB2",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETEVENTB2,
aurl);
          tb.writeTo(writer);
       }
 
@@ -498,7 +531,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setEventB3",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETEVENTB3,
aurl);
          tb.writeTo(writer);
       }
 
@@ -509,7 +542,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setEventB4",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETEVENTB4,
aurl);
          tb.writeTo(writer);
       }
 
@@ -520,7 +553,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_setEventB5",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_SETEVENTB5,
aurl);
          tb.writeTo(writer);
       }
 
@@ -530,7 +563,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_getRenderParameterMap1",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_GETRENDERPARAMETERMAP1,
aurl);
          tb.writeTo(writer);
       }
 
@@ -540,7 +573,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_getRenderParameterMap2",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_GETRENDERPARAMETERMAP2,
aurl);
          tb.writeTo(writer);
       }
 
@@ -550,7 +583,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_getRenderParameterMap3",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_GETRENDERPARAMETERMAP3,
aurl);
          tb.writeTo(writer);
       }
 
@@ -560,7 +593,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_getRenderParameterMap4",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_GETRENDERPARAMETERMAP4,
aurl);
          tb.writeTo(writer);
       }
 
@@ -570,7 +603,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_getPortletMode1",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_GETPORTLETMODE1,
aurl);
          tb.writeTo(writer);
       }
 
@@ -580,7 +613,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_getPortletMode2",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_GETPORTLETMODE2,
aurl);
          tb.writeTo(writer);
       }
 
@@ -590,7 +623,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_getWindowState1",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_GETWINDOWSTATE1,
aurl);
          tb.writeTo(writer);
       }
 
@@ -600,7 +633,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_getWindowState2",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_GETWINDOWSTATE2,
aurl);
          tb.writeTo(writer);
       }
 
@@ -610,7 +643,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_removePublicRenderParameter1",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_REMOVEPUBLICRENDERPARAMETER1,
aurl);
          tb.writeTo(writer);
       }
 
@@ -620,7 +653,7 @@ public class ResponseTests_StateAwareResponse_ApiEvent implements Portlet,
Resou
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2ResponseTests_StateAwareResponse_ApiEvent_removePublicRenderParameter2",
aurl);
+         TestButton tb = new TestButton(V2RESPONSETESTS_STATEAWARERESPONSE_APIEVENT_REMOVEPUBLICRENDERPARAMETER2,
aurl);
          tb.writeTo(writer);
       }
 


Mime
View raw message