portals-pluto-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msnickl...@apache.org
Subject [05/36] portals-pluto git commit: V2DispathcerResRespTests1 - Replaced TestButton, TestSetupLink, TestSetup strings with Constants from tck beans.
Date Tue, 28 Jun 2016 15:31:09 GMT
http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/67b750dc/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse.java
b/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse.java
index 3328642..712754f 100644
--- a/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse.java
+++ b/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse.java
@@ -18,6 +18,16 @@
 
 package javax.portlet.tck.portlets;
 
+import static javax.portlet.tck.beans.JSR286DispatcherReqRespTestCaseDetails.V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTRESPONSE_CONTAINSHEADER;
+import static javax.portlet.tck.beans.JSR286DispatcherReqRespTestCaseDetails.V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTRESPONSE_ENCODEREDIRECTURL1;
+import static javax.portlet.tck.beans.JSR286DispatcherReqRespTestCaseDetails.V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTRESPONSE_ENCODEREDIRECTURL;
+import static javax.portlet.tck.beans.JSR286DispatcherReqRespTestCaseDetails.V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTRESPONSE_ENCODEURL1;
+import static javax.portlet.tck.beans.JSR286DispatcherReqRespTestCaseDetails.V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTRESPONSE_ENCODEURL;
+import static javax.portlet.tck.beans.JSR286DispatcherReqRespTestCaseDetails.V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTRESPONSE_GETBUFFERSIZE;
+import static javax.portlet.tck.beans.JSR286DispatcherReqRespTestCaseDetails.V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTRESPONSE_GETCHARACTERENCODING;
+import static javax.portlet.tck.beans.JSR286DispatcherReqRespTestCaseDetails.V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTRESPONSE_GETCONTENTTYPE;
+import static javax.portlet.tck.beans.JSR286DispatcherReqRespTestCaseDetails.V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTRESPONSE_GETLOCALE;
+import static javax.portlet.tck.beans.JSR286DispatcherReqRespTestCaseDetails.V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTRESPONSE_ISCOMMITTED;
 import static javax.portlet.tck.constants.Constants.TCKNAMESPACE;
 import static javax.portlet.tck.constants.Constants.THREADID_ATTR;
 
@@ -96,7 +106,7 @@ public class DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse implements
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse_containsHeader",
aurl);
+         TestButton tb = new TestButton(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTRESPONSE_CONTAINSHEADER,
aurl);
          tb.writeTo(writer);
       }
 
@@ -106,7 +116,7 @@ public class DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse
implements
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse_encodeRedirectURL1",
aurl);
+         TestButton tb = new TestButton(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTRESPONSE_ENCODEREDIRECTURL1,
aurl);
          tb.writeTo(writer);
       }
 
@@ -116,7 +126,7 @@ public class DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse
implements
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse_encodeRedirectUrl",
aurl);
+         TestButton tb = new TestButton(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTRESPONSE_ENCODEREDIRECTURL,
aurl);
          tb.writeTo(writer);
       }
 
@@ -127,7 +137,7 @@ public class DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse
implements
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse_encodeURL1",
aurl);
+         TestButton tb = new TestButton(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTRESPONSE_ENCODEURL1,
aurl);
          tb.writeTo(writer);
       }
 
@@ -138,7 +148,7 @@ public class DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse
implements
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse_encodeUrl",
aurl);
+         TestButton tb = new TestButton(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTRESPONSE_ENCODEURL,
aurl);
          tb.writeTo(writer);
       }
 
@@ -148,7 +158,7 @@ public class DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse
implements
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse_getBufferSize",
aurl);
+         TestButton tb = new TestButton(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTRESPONSE_GETBUFFERSIZE,
aurl);
          tb.writeTo(writer);
       }
 
@@ -158,7 +168,7 @@ public class DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse
implements
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse_getCharacterEncoding",
aurl);
+         TestButton tb = new TestButton(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTRESPONSE_GETCHARACTERENCODING,
aurl);
          tb.writeTo(writer);
       }
 
@@ -168,7 +178,7 @@ public class DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse
implements
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse_getContentType",
aurl);
+         TestButton tb = new TestButton(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTRESPONSE_GETCONTENTTYPE,
aurl);
          tb.writeTo(writer);
       }
 
@@ -178,7 +188,7 @@ public class DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse
implements
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse_getLocale",
aurl);
+         TestButton tb = new TestButton(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTRESPONSE_GETLOCALE,
aurl);
          tb.writeTo(writer);
       }
 
@@ -188,7 +198,7 @@ public class DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse
implements
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse_isCommitted",
aurl);
+         TestButton tb = new TestButton(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTRESPONSE_ISCOMMITTED,
aurl);
          tb.writeTo(writer);
       }
 

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/67b750dc/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceRequest.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceRequest.java
b/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceRequest.java
index 6198110..df014ee 100644
--- a/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceRequest.java
+++ b/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceRequest.java
@@ -18,6 +18,10 @@
 
 package javax.portlet.tck.portlets;
 
+import static javax.portlet.tck.beans.JSR286DispatcherReqRespTestCaseDetails.V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPRESOURCEREQUEST_GETPARAMETER;
+import static javax.portlet.tck.beans.JSR286DispatcherReqRespTestCaseDetails.V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPRESOURCEREQUEST_GETPARAMETERMAP;
+import static javax.portlet.tck.beans.JSR286DispatcherReqRespTestCaseDetails.V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPRESOURCEREQUEST_GETPARAMETERNAMES;
+import static javax.portlet.tck.beans.JSR286DispatcherReqRespTestCaseDetails.V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPRESOURCEREQUEST_GETPARAMETERVALUES;
 import static javax.portlet.ResourceURL.PAGE;
 import static javax.portlet.tck.constants.Constants.ATTR_PREFIX;
 import static javax.portlet.tck.constants.Constants.JSP_PREFIX;
@@ -130,7 +134,7 @@ public class DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceRequest
implemen
             PortletURL rurl = ((RenderResponse)portletResp).createRenderURL();
             rurl.setParameters(portletReq.getPrivateParameterMap());
             rurl.setParameter(PARM_NAME, PARM_VALUE);
-            TestSetupLink tl = new TestSetupLink("V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceRequest_getParameter",
rurl);
+            TestSetupLink tl = new TestSetupLink(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPRESOURCEREQUEST_GETPARAMETER,
rurl);
             tl.writeTo(writer);
          }
       }
@@ -142,7 +146,7 @@ public class DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceRequest
implemen
             PortletURL rurl = ((RenderResponse)portletResp).createRenderURL();
             rurl.setParameters(portletReq.getPrivateParameterMap());
             rurl.setParameter(PARM_NAME, PARM_VALUE);
-            TestSetupLink tl = new TestSetupLink("V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceRequest_getParameterMap",
rurl);
+            TestSetupLink tl = new TestSetupLink(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPRESOURCEREQUEST_GETPARAMETERMAP,
rurl);
             tl.writeTo(writer);
          }
       }
@@ -154,7 +158,7 @@ public class DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceRequest
implemen
             PortletURL rurl = ((RenderResponse)portletResp).createRenderURL();
             rurl.setParameters(portletReq.getPrivateParameterMap());
             rurl.setParameter(PARM_NAME, PARM_VALUE);
-            TestSetupLink tl = new TestSetupLink("V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceRequest_getParameterNames",
rurl);
+            TestSetupLink tl = new TestSetupLink(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPRESOURCEREQUEST_GETPARAMETERNAMES,
rurl);
             tl.writeTo(writer);
          }
       }
@@ -166,7 +170,7 @@ public class DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceRequest
implemen
             PortletURL rurl = ((RenderResponse)portletResp).createRenderURL();
             rurl.setParameters(portletReq.getPrivateParameterMap());
             rurl.setParameter(PARM_NAME, PARM_VALUE);
-            TestSetupLink tl = new TestSetupLink("V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceRequest_getParameterValues",
rurl);
+            TestSetupLink tl = new TestSetupLink(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPRESOURCEREQUEST_GETPARAMETERVALUES,
rurl);
             tl.writeTo(writer);
          }
       }


Mime
View raw message