portals-pluto-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msnickl...@apache.org
Subject [24/36] portals-pluto git commit: V2PortletLibraryTests - Replaced TestButton, TestSetupLink, TestSetup strings with Constants from tck beans.
Date Tue, 28 Jun 2016 15:31:28 GMT
V2PortletLibraryTests - Replaced TestButton, TestSetupLink, TestSetup strings with Constants
from tck beans.


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

Branch: refs/heads/master
Commit: e47edf9086d9864109dccbc6fae6c165eae94380
Parents: 237fe49
Author: ahmed <mahmedk91@gmail.com>
Authored: Tue Jun 28 12:05:15 2016 +0200
Committer: ahmed <mahmedk91@gmail.com>
Committed: Tue Jun 28 12:05:15 2016 +0200

----------------------------------------------------------------------
 ...gLibraryTests_SPEC2_26_IncludeJSPAction.java | 27 +++++++++-----
 ...agLibraryTests_SPEC2_26_IncludeJSPEvent.java | 39 +++++++++++++-------
 2 files changed, 44 insertions(+), 22 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/e47edf90/portlet-tck_3.0/V2PortletTagLibraryTests/src/main/java/javax/portlet/tck/portlets/PortletTagLibraryTests_SPEC2_26_IncludeJSPAction.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2PortletTagLibraryTests/src/main/java/javax/portlet/tck/portlets/PortletTagLibraryTests_SPEC2_26_IncludeJSPAction.java
b/portlet-tck_3.0/V2PortletTagLibraryTests/src/main/java/javax/portlet/tck/portlets/PortletTagLibraryTests_SPEC2_26_IncludeJSPAction.java
index 9f81780..60ccae9 100644
--- a/portlet-tck_3.0/V2PortletTagLibraryTests/src/main/java/javax/portlet/tck/portlets/PortletTagLibraryTests_SPEC2_26_IncludeJSPAction.java
+++ b/portlet-tck_3.0/V2PortletTagLibraryTests/src/main/java/javax/portlet/tck/portlets/PortletTagLibraryTests_SPEC2_26_IncludeJSPAction.java
@@ -30,6 +30,15 @@ import javax.portlet.RenderRequest;
 import javax.portlet.RenderResponse;
 import javax.portlet.tck.beans.TestButton;
 
+import static javax.portlet.tck.beans.JSR286SpecTestCaseDetails.V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPACTION_DEFINEOBJECTS1;
+import static javax.portlet.tck.beans.JSR286SpecTestCaseDetails.V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPACTION_DEFINEOBJECTS2;
+import static javax.portlet.tck.beans.JSR286SpecTestCaseDetails.V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPACTION_DEFINEOBJECTS3;
+import static javax.portlet.tck.beans.JSR286SpecTestCaseDetails.V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPACTION_DEFINEOBJECTS4;
+import static javax.portlet.tck.beans.JSR286SpecTestCaseDetails.V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPACTION_DEFINEOBJECTS5;
+import static javax.portlet.tck.beans.JSR286SpecTestCaseDetails.V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPACTION_DEFINEOBJECTS6;
+import static javax.portlet.tck.beans.JSR286SpecTestCaseDetails.V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPACTION_DEFINEOBJECTS7;
+import static javax.portlet.tck.beans.JSR286SpecTestCaseDetails.V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPACTION_DEFINEOBJECTS8;
+import static javax.portlet.tck.beans.JSR286SpecTestCaseDetails.V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPACTION_DEFINEOBJECTS9;
 import static javax.portlet.PortletSession.APPLICATION_SCOPE;
 import static javax.portlet.tck.constants.Constants.THREADID_ATTR;
 import static javax.portlet.tck.constants.Constants.RESULT_ATTR_PREFIX;
@@ -102,7 +111,7 @@ public class PortletTagLibraryTests_SPEC2_26_IncludeJSPAction implements
Portlet
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2PortletTagLibraryTests_SPEC2_26_IncludeJSPAction_defineObjects1",
aurl);
+          new TestButton(V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPACTION_DEFINEOBJECTS1,
aurl);
       tb.writeTo(writer);
     }
 
@@ -114,7 +123,7 @@ public class PortletTagLibraryTests_SPEC2_26_IncludeJSPAction implements
Portlet
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2PortletTagLibraryTests_SPEC2_26_IncludeJSPAction_defineObjects2",
aurl);
+          new TestButton(V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPACTION_DEFINEOBJECTS2,
aurl);
       tb.writeTo(writer);
     }
 
@@ -126,7 +135,7 @@ public class PortletTagLibraryTests_SPEC2_26_IncludeJSPAction implements
Portlet
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2PortletTagLibraryTests_SPEC2_26_IncludeJSPAction_defineObjects3",
aurl);
+          new TestButton(V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPACTION_DEFINEOBJECTS3,
aurl);
       tb.writeTo(writer);
     }
 
@@ -138,7 +147,7 @@ public class PortletTagLibraryTests_SPEC2_26_IncludeJSPAction implements
Portlet
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2PortletTagLibraryTests_SPEC2_26_IncludeJSPAction_defineObjects4",
aurl);
+          new TestButton(V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPACTION_DEFINEOBJECTS4,
aurl);
       tb.writeTo(writer);
     }
 
@@ -150,7 +159,7 @@ public class PortletTagLibraryTests_SPEC2_26_IncludeJSPAction implements
Portlet
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2PortletTagLibraryTests_SPEC2_26_IncludeJSPAction_defineObjects5",
aurl);
+          new TestButton(V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPACTION_DEFINEOBJECTS5,
aurl);
       tb.writeTo(writer);
     }
 
@@ -162,7 +171,7 @@ public class PortletTagLibraryTests_SPEC2_26_IncludeJSPAction implements
Portlet
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2PortletTagLibraryTests_SPEC2_26_IncludeJSPAction_defineObjects6",
aurl);
+          new TestButton(V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPACTION_DEFINEOBJECTS6,
aurl);
       tb.writeTo(writer);
     }
 
@@ -174,7 +183,7 @@ public class PortletTagLibraryTests_SPEC2_26_IncludeJSPAction implements
Portlet
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2PortletTagLibraryTests_SPEC2_26_IncludeJSPAction_defineObjects7",
aurl);
+          new TestButton(V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPACTION_DEFINEOBJECTS7,
aurl);
       tb.writeTo(writer);
     }
 
@@ -186,7 +195,7 @@ public class PortletTagLibraryTests_SPEC2_26_IncludeJSPAction implements
Portlet
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2PortletTagLibraryTests_SPEC2_26_IncludeJSPAction_defineObjects8",
aurl);
+          new TestButton(V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPACTION_DEFINEOBJECTS8,
aurl);
       tb.writeTo(writer);
     }
 
@@ -197,7 +206,7 @@ public class PortletTagLibraryTests_SPEC2_26_IncludeJSPAction implements
Portlet
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2PortletTagLibraryTests_SPEC2_26_IncludeJSPAction_defineObjects9",
aurl);
+          new TestButton(V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPACTION_DEFINEOBJECTS9,
aurl);
       tb.writeTo(writer);
     }
 

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/e47edf90/portlet-tck_3.0/V2PortletTagLibraryTests/src/main/java/javax/portlet/tck/portlets/PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2PortletTagLibraryTests/src/main/java/javax/portlet/tck/portlets/PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent.java
b/portlet-tck_3.0/V2PortletTagLibraryTests/src/main/java/javax/portlet/tck/portlets/PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent.java
index 265adb8..45f248d 100644
--- a/portlet-tck_3.0/V2PortletTagLibraryTests/src/main/java/javax/portlet/tck/portlets/PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent.java
+++ b/portlet-tck_3.0/V2PortletTagLibraryTests/src/main/java/javax/portlet/tck/portlets/PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent.java
@@ -29,6 +29,19 @@ import javax.portlet.RenderResponse;
 import javax.portlet.tck.beans.TestButton;
 import javax.xml.namespace.QName;
 
+import static javax.portlet.tck.beans.JSR286SpecTestCaseDetails.V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPEVENT_DEFINEOBJECTS1;
+import static javax.portlet.tck.beans.JSR286SpecTestCaseDetails.V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPEVENT_DEFINEOBJECTS2;
+import static javax.portlet.tck.beans.JSR286SpecTestCaseDetails.V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPEVENT_DEFINEOBJECTS3;
+import static javax.portlet.tck.beans.JSR286SpecTestCaseDetails.V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPEVENT_DEFINEOBJECTS4;
+import static javax.portlet.tck.beans.JSR286SpecTestCaseDetails.V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPEVENT_DEFINEOBJECTS5;
+import static javax.portlet.tck.beans.JSR286SpecTestCaseDetails.V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPEVENT_DEFINEOBJECTS6;
+import static javax.portlet.tck.beans.JSR286SpecTestCaseDetails.V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPEVENT_DEFINEOBJECTS7;
+import static javax.portlet.tck.beans.JSR286SpecTestCaseDetails.V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPEVENT_DEFINEOBJECTS8;
+import static javax.portlet.tck.beans.JSR286SpecTestCaseDetails.V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPEVENT_DEFINEOBJECTS9;
+import static javax.portlet.tck.beans.JSR286SpecTestCaseDetails.V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPEVENT_DEFINEOBJECTS10;
+import static javax.portlet.tck.beans.JSR286SpecTestCaseDetails.V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPEVENT_DEFINEOBJECTS11;
+import static javax.portlet.tck.beans.JSR286SpecTestCaseDetails.V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPEVENT_DEFINEOBJECTS12;
+import static javax.portlet.tck.beans.JSR286SpecTestCaseDetails.V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPEVENT_DEFINEOBJECTS13;
 import static javax.portlet.tck.constants.Constants.THREADID_ATTR;
 import static javax.portlet.tck.constants.Constants.TCKNAMESPACE;
 
@@ -81,7 +94,7 @@ public class PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent implements
Portlet
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent_defineObjects1",
aurl);
+          new TestButton(V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPEVENT_DEFINEOBJECTS1,
aurl);
       tb.writeTo(writer);
     }
 
@@ -93,7 +106,7 @@ public class PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent implements
Portlet
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent_defineObjects2",
aurl);
+          new TestButton(V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPEVENT_DEFINEOBJECTS2,
aurl);
       tb.writeTo(writer);
     }
 
@@ -105,7 +118,7 @@ public class PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent implements
Portlet
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent_defineObjects3",
aurl);
+          new TestButton(V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPEVENT_DEFINEOBJECTS3,
aurl);
       tb.writeTo(writer);
     }
 
@@ -117,7 +130,7 @@ public class PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent implements
Portlet
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent_defineObjects4",
aurl);
+          new TestButton(V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPEVENT_DEFINEOBJECTS4,
aurl);
       tb.writeTo(writer);
     }
 
@@ -129,7 +142,7 @@ public class PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent implements
Portlet
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent_defineObjects5",
aurl);
+          new TestButton(V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPEVENT_DEFINEOBJECTS5,
aurl);
       tb.writeTo(writer);
     }
 
@@ -141,7 +154,7 @@ public class PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent implements
Portlet
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent_defineObjects6",
aurl);
+          new TestButton(V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPEVENT_DEFINEOBJECTS6,
aurl);
       tb.writeTo(writer);
     }
 
@@ -153,7 +166,7 @@ public class PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent implements
Portlet
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent_defineObjects7",
aurl);
+          new TestButton(V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPEVENT_DEFINEOBJECTS7,
aurl);
       tb.writeTo(writer);
     }
 
@@ -165,7 +178,7 @@ public class PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent implements
Portlet
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent_defineObjects8",
aurl);
+          new TestButton(V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPEVENT_DEFINEOBJECTS8,
aurl);
       tb.writeTo(writer);
     }
 
@@ -176,7 +189,7 @@ public class PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent implements
Portlet
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent_defineObjects9",
aurl);
+          new TestButton(V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPEVENT_DEFINEOBJECTS9,
aurl);
       tb.writeTo(writer);
     }
 
@@ -189,7 +202,7 @@ public class PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent implements
Portlet
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent_defineObjects10",
aurl);
+          new TestButton(V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPEVENT_DEFINEOBJECTS10,
aurl);
       tb.writeTo(writer);
     }
 
@@ -205,7 +218,7 @@ public class PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent implements
Portlet
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent_defineObjects11",
aurl);
+          new TestButton(V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPEVENT_DEFINEOBJECTS11,
aurl);
       tb.writeTo(writer);
     }
 
@@ -217,7 +230,7 @@ public class PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent implements
Portlet
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent_defineObjects12",
aurl);
+          new TestButton(V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPEVENT_DEFINEOBJECTS12,
aurl);
       tb.writeTo(writer);
     }
 
@@ -232,7 +245,7 @@ public class PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent implements
Portlet
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2PortletTagLibraryTests_SPEC2_26_IncludeJSPEvent_defineObjects13",
aurl);
+          new TestButton(V2PORTLETTAGLIBRARYTESTS_SPEC2_26_INCLUDEJSPEVENT_DEFINEOBJECTS13,
aurl);
       tb.writeTo(writer);
     }
 


Mime
View raw message