portals-pluto-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msnickl...@apache.org
Subject [23/36] portals-pluto git commit: V2FilterTests - Replaced TestButton, TestSetupLink, TestSetup strings with Constants from tck beans.
Date Tue, 28 Jun 2016 15:31:27 GMT
V2FilterTests - 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/237fe491
Tree: http://git-wip-us.apache.org/repos/asf/portals-pluto/tree/237fe491
Diff: http://git-wip-us.apache.org/repos/asf/portals-pluto/diff/237fe491

Branch: refs/heads/master
Commit: 237fe4915e182329e515868854ba6ee10c91e073
Parents: 50b5e91
Author: ahmed <mahmedk91@gmail.com>
Authored: Tue Jun 28 12:02:10 2016 +0200
Committer: ahmed <mahmedk91@gmail.com>
Committed: Tue Jun 28 12:02:10 2016 +0200

----------------------------------------------------------------------
 ...ilterTests_ActionFilter_ApiActionFilter.java | 17 +++++++++-------
 ...lterTests_ActionFilter_ApiActionFilter2.java |  2 +-
 .../FilterTests_EventFilter_ApiEventFilter.java | 21 +++++++++++++-------
 ...FilterTests_FilterChain_ApiActionFilter.java |  5 +++--
 .../FilterTests_FilterChain_ApiEventFilter.java |  6 ++++--
 ...lterTests_PortletFilter_ApiActionFilter.java |  6 ++++--
 ...ilterTests_PortletFilter_ApiEventFilter.java |  6 ++++--
 7 files changed, 40 insertions(+), 23 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/237fe491/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_ActionFilter_ApiActionFilter.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_ActionFilter_ApiActionFilter.java
b/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_ActionFilter_ApiActionFilter.java
index 76cec79..b75f955 100644
--- a/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_ActionFilter_ApiActionFilter.java
+++ b/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_ActionFilter_ApiActionFilter.java
@@ -34,9 +34,12 @@ import javax.portlet.tck.beans.TestResult;
 import javax.portlet.tck.constants.Constants;
 import javax.portlet.tck.filters.FilterTests_ActionFilter_ApiActionFilter_filter2;
 
-import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2FILTERTESTS_ACTIONFILTER_APIACTIONFILTER_DOFILTEREXAMINE;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2FILTERTESTS_ACTIONFILTER_APIACTIONFILTER_CANBECONFIGURED1;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2FILTERTESTS_ACTIONFILTER_APIACTIONFILTER_CANBECONFIGURED2;
 import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2FILTERTESTS_ACTIONFILTER_APIACTIONFILTER_DOFILTERISCALLED;
 import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2FILTERTESTS_ACTIONFILTER_APIACTIONFILTER_DOFILTERPROCESSACTION1;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2FILTERTESTS_ACTIONFILTER_APIACTIONFILTER_DOFILTERPROCESSACTION2;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2FILTERTESTS_ACTIONFILTER_APIACTIONFILTER_DOFILTEREXAMINE;
 import static javax.portlet.tck.constants.Constants.RESULT_ATTR_PREFIX;
 import static javax.portlet.tck.constants.Constants.THREADID_ATTR;
 import static javax.portlet.PortletSession.APPLICATION_SCOPE;
@@ -132,7 +135,7 @@ public class FilterTests_ActionFilter_ApiActionFilter implements Portlet
{
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2FilterTests_ActionFilter_ApiActionFilter_canBeConfigured1", aurl);
+          new TestButton(V2FILTERTESTS_ACTIONFILTER_APIACTIONFILTER_CANBECONFIGURED1, aurl);
       tb.writeTo(writer);
     }
 
@@ -143,7 +146,7 @@ public class FilterTests_ActionFilter_ApiActionFilter implements Portlet
{
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2FilterTests_ActionFilter_ApiActionFilter_canBeConfigured2", aurl);
+          new TestButton(V2FILTERTESTS_ACTIONFILTER_APIACTIONFILTER_CANBECONFIGURED2, aurl);
       tb.writeTo(writer);
     }
 
@@ -155,7 +158,7 @@ public class FilterTests_ActionFilter_ApiActionFilter implements Portlet
{
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2FilterTests_ActionFilter_ApiActionFilter_doFilterIsCalled", aurl);
+          new TestButton(V2FILTERTESTS_ACTIONFILTER_APIACTIONFILTER_DOFILTERISCALLED, aurl);
       tb.writeTo(writer);
     }
 
@@ -167,7 +170,7 @@ public class FilterTests_ActionFilter_ApiActionFilter implements Portlet
{
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2FilterTests_ActionFilter_ApiActionFilter_doFilterProcessAction1",
aurl);
+          new TestButton(V2FILTERTESTS_ACTIONFILTER_APIACTIONFILTER_DOFILTERPROCESSACTION1,
aurl);
       tb.writeTo(writer);
     }
 
@@ -180,7 +183,7 @@ public class FilterTests_ActionFilter_ApiActionFilter implements Portlet
{
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2FilterTests_ActionFilter_ApiActionFilter_doFilterProcessAction2",
aurl);
+          new TestButton(V2FILTERTESTS_ACTIONFILTER_APIACTIONFILTER_DOFILTERPROCESSACTION2,
aurl);
       tb.writeTo(writer);
     }
 
@@ -197,7 +200,7 @@ public class FilterTests_ActionFilter_ApiActionFilter implements Portlet
{
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2FilterTests_ActionFilter_ApiActionFilter_doFilterExamine", aurl);
+          new TestButton(V2FILTERTESTS_ACTIONFILTER_APIACTIONFILTER_DOFILTEREXAMINE, aurl);
       tb.writeTo(writer);
     }
 

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/237fe491/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_ActionFilter_ApiActionFilter2.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_ActionFilter_ApiActionFilter2.java
b/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_ActionFilter_ApiActionFilter2.java
index 589781f..a0885c5 100644
--- a/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_ActionFilter_ApiActionFilter2.java
+++ b/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_ActionFilter_ApiActionFilter2.java
@@ -90,7 +90,7 @@ public class FilterTests_ActionFilter_ApiActionFilter2 implements Portlet
{
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2FilterTests_ActionFilter_ApiActionFilter_doFilterBlock", aurl);
+          new TestButton(V2FILTERTESTS_ACTIONFILTER_APIACTIONFILTER_DOFILTERBLOCK, aurl);
       tb.writeTo(writer);
     }
 

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/237fe491/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_EventFilter_ApiEventFilter.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_EventFilter_ApiEventFilter.java
b/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_EventFilter_ApiEventFilter.java
index 285239e..567cbeb 100644
--- a/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_EventFilter_ApiEventFilter.java
+++ b/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_EventFilter_ApiEventFilter.java
@@ -29,6 +29,13 @@ import javax.portlet.RenderResponse;
 import javax.portlet.tck.beans.TestButton;
 import javax.xml.namespace.QName;
 
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2FILTERTESTS_EVENTFILTER_APIEVENTFILTER_CANBECONFIGURED1;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2FILTERTESTS_EVENTFILTER_APIEVENTFILTER_CANBECONFIGURED2;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2FILTERTESTS_EVENTFILTER_APIEVENTFILTER_DOFILTERISCALLED;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2FILTERTESTS_EVENTFILTER_APIEVENTFILTER_DOFILTERPROCESSEVENT1;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2FILTERTESTS_EVENTFILTER_APIEVENTFILTER_DOFILTERPROCESSEVENT2;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2FILTERTESTS_EVENTFILTER_APIEVENTFILTER_DOFILTERBLOCK;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2FILTERTESTS_EVENTFILTER_APIEVENTFILTER_DOFILTEREXAMINE;
 import static javax.portlet.tck.constants.Constants.THREADID_ATTR;
 import static javax.portlet.tck.constants.Constants.TCKNAMESPACE;
 
@@ -85,7 +92,7 @@ public class FilterTests_EventFilter_ApiEventFilter implements Portlet {
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2FilterTests_EventFilter_ApiEventFilter_canBeConfigured1", aurl);
+          new TestButton(V2FILTERTESTS_EVENTFILTER_APIEVENTFILTER_CANBECONFIGURED1, aurl);
       tb.writeTo(writer);
     }
 
@@ -96,7 +103,7 @@ public class FilterTests_EventFilter_ApiEventFilter implements Portlet
{
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2FilterTests_EventFilter_ApiEventFilter_canBeConfigured2", aurl);
+          new TestButton(V2FILTERTESTS_EVENTFILTER_APIEVENTFILTER_CANBECONFIGURED2, aurl);
       tb.writeTo(writer);
     }
 
@@ -107,7 +114,7 @@ public class FilterTests_EventFilter_ApiEventFilter implements Portlet
{
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2FilterTests_EventFilter_ApiEventFilter_doFilterIsCalled", aurl);
+          new TestButton(V2FILTERTESTS_EVENTFILTER_APIEVENTFILTER_DOFILTERISCALLED, aurl);
       tb.writeTo(writer);
     }
 
@@ -119,7 +126,7 @@ public class FilterTests_EventFilter_ApiEventFilter implements Portlet
{
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2FilterTests_EventFilter_ApiEventFilter_doFilterProcessEvent1",
aurl);
+          new TestButton(V2FILTERTESTS_EVENTFILTER_APIEVENTFILTER_DOFILTERPROCESSEVENT1,
aurl);
       tb.writeTo(writer);
     }
 
@@ -132,7 +139,7 @@ public class FilterTests_EventFilter_ApiEventFilter implements Portlet
{
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2FilterTests_EventFilter_ApiEventFilter_doFilterProcessEvent2",
aurl);
+          new TestButton(V2FILTERTESTS_EVENTFILTER_APIEVENTFILTER_DOFILTERPROCESSEVENT2,
aurl);
       tb.writeTo(writer);
     }
 
@@ -144,7 +151,7 @@ public class FilterTests_EventFilter_ApiEventFilter implements Portlet
{
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2FilterTests_EventFilter_ApiEventFilter_doFilterBlock", aurl);
+          new TestButton(V2FILTERTESTS_EVENTFILTER_APIEVENTFILTER_DOFILTERBLOCK, aurl);
       tb.writeTo(writer);
     }
 
@@ -156,7 +163,7 @@ public class FilterTests_EventFilter_ApiEventFilter implements Portlet
{
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2FilterTests_EventFilter_ApiEventFilter_doFilterExamine", aurl);
+          new TestButton(V2FILTERTESTS_EVENTFILTER_APIEVENTFILTER_DOFILTEREXAMINE, aurl);
       tb.writeTo(writer);
     }
 

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/237fe491/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_FilterChain_ApiActionFilter.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_FilterChain_ApiActionFilter.java
b/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_FilterChain_ApiActionFilter.java
index 2ab85c1..6a45166 100644
--- a/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_FilterChain_ApiActionFilter.java
+++ b/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_FilterChain_ApiActionFilter.java
@@ -34,6 +34,7 @@ import javax.portlet.tck.beans.TestResult;
 import javax.portlet.tck.constants.Constants;
 import javax.portlet.tck.filters.FilterTests_FilterChain_ApiActionFilter_filter2;
 
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2FILTERTESTS_FILTERCHAIN_APIACTIONFILTER_INVOKEACTIONFILTER;
 import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2FILTERTESTS_FILTERCHAIN_APIACTIONFILTER_INVOKEACTIONFILTER2;
 import static javax.portlet.tck.constants.Constants.RESULT_ATTR_PREFIX;
 import static javax.portlet.tck.constants.Constants.THREADID_ATTR;
@@ -116,7 +117,7 @@ public class FilterTests_FilterChain_ApiActionFilter implements Portlet
{
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2FilterTests_FilterChain_ApiActionFilter_invokeActionFilter",
aurl);
+          new TestButton(V2FILTERTESTS_FILTERCHAIN_APIACTIONFILTER_INVOKEACTIONFILTER, aurl);
       tb.writeTo(writer);
     }
 
@@ -127,7 +128,7 @@ public class FilterTests_FilterChain_ApiActionFilter implements Portlet
{
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2FilterTests_FilterChain_ApiActionFilter_invokeActionFilter2",
aurl);
+          new TestButton(V2FILTERTESTS_FILTERCHAIN_APIACTIONFILTER_INVOKEACTIONFILTER2, aurl);
       tb.writeTo(writer);
     }
 

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/237fe491/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_FilterChain_ApiEventFilter.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_FilterChain_ApiEventFilter.java
b/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_FilterChain_ApiEventFilter.java
index f58d14c..02ced10 100644
--- a/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_FilterChain_ApiEventFilter.java
+++ b/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_FilterChain_ApiEventFilter.java
@@ -29,6 +29,8 @@ import javax.portlet.RenderResponse;
 import javax.portlet.tck.beans.TestButton;
 import javax.xml.namespace.QName;
 
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2FILTERTESTS_FILTERCHAIN_APIEVENTFILTER_INVOKEEVENTFILTER;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2FILTERTESTS_FILTERCHAIN_APIEVENTFILTER_INVOKEEVENTFILTER2;
 import static javax.portlet.tck.constants.Constants.THREADID_ATTR;
 import static javax.portlet.tck.constants.Constants.TCKNAMESPACE;
 
@@ -79,7 +81,7 @@ public class FilterTests_FilterChain_ApiEventFilter implements Portlet {
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2FilterTests_FilterChain_ApiEventFilter_invokeEventFilter", aurl);
+          new TestButton(V2FILTERTESTS_FILTERCHAIN_APIEVENTFILTER_INVOKEEVENTFILTER, aurl);
       tb.writeTo(writer);
     }
 
@@ -90,7 +92,7 @@ public class FilterTests_FilterChain_ApiEventFilter implements Portlet {
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2FilterTests_FilterChain_ApiEventFilter_invokeEventFilter2", aurl);
+          new TestButton(V2FILTERTESTS_FILTERCHAIN_APIEVENTFILTER_INVOKEEVENTFILTER2, aurl);
       tb.writeTo(writer);
     }
   }

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/237fe491/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_PortletFilter_ApiActionFilter.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_PortletFilter_ApiActionFilter.java
b/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_PortletFilter_ApiActionFilter.java
index e24b512..667f576 100644
--- a/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_PortletFilter_ApiActionFilter.java
+++ b/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_PortletFilter_ApiActionFilter.java
@@ -31,6 +31,8 @@ import javax.portlet.RenderResponse;
 import javax.portlet.tck.beans.TestButton;
 import javax.portlet.tck.constants.Constants;
 
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2FILTERTESTS_PORTLETFILTER_APIACTIONFILTER_INITACTION1;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2FILTERTESTS_PORTLETFILTER_APIACTIONFILTER_INITACTION2;
 import static javax.portlet.tck.constants.Constants.RESULT_ATTR_PREFIX;
 import static javax.portlet.tck.constants.Constants.THREADID_ATTR;
 import static javax.portlet.PortletSession.APPLICATION_SCOPE;
@@ -100,7 +102,7 @@ public class FilterTests_PortletFilter_ApiActionFilter implements Portlet
{
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2FilterTests_PortletFilter_ApiActionFilter_initAction1", aurl);
+          new TestButton(V2FILTERTESTS_PORTLETFILTER_APIACTIONFILTER_INITACTION1, aurl);
       tb.writeTo(writer);
     }
 
@@ -111,7 +113,7 @@ public class FilterTests_PortletFilter_ApiActionFilter implements Portlet
{
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
       TestButton tb =
-          new TestButton("V2FilterTests_PortletFilter_ApiActionFilter_initAction2", aurl);
+          new TestButton(V2FILTERTESTS_PORTLETFILTER_APIACTIONFILTER_INITACTION2, aurl);
       tb.writeTo(writer);
     }
 

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/237fe491/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_PortletFilter_ApiEventFilter.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_PortletFilter_ApiEventFilter.java
b/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_PortletFilter_ApiEventFilter.java
index 2fb8c70..e49653e 100644
--- a/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_PortletFilter_ApiEventFilter.java
+++ b/portlet-tck_3.0/V2FilterTests/src/main/java/javax/portlet/tck/portlets/FilterTests_PortletFilter_ApiEventFilter.java
@@ -29,6 +29,8 @@ import javax.portlet.RenderResponse;
 import javax.portlet.tck.beans.TestButton;
 import javax.xml.namespace.QName;
 
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2FILTERTESTS_PORTLETFILTER_APIEVENTFILTER_INITEVENT1;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.V2FILTERTESTS_PORTLETFILTER_APIEVENTFILTER_INITEVENT2;
 import static javax.portlet.tck.constants.Constants.THREADID_ATTR;
 import static javax.portlet.tck.constants.Constants.TCKNAMESPACE;
 
@@ -79,7 +81,7 @@ public class FilterTests_PortletFilter_ApiEventFilter implements Portlet
{
     {
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
-      TestButton tb = new TestButton("V2FilterTests_PortletFilter_ApiEventFilter_initEvent1",
aurl);
+      TestButton tb = new TestButton(V2FILTERTESTS_PORTLETFILTER_APIEVENTFILTER_INITEVENT1,
aurl);
       tb.writeTo(writer);
     }
 
@@ -89,7 +91,7 @@ public class FilterTests_PortletFilter_ApiEventFilter implements Portlet
{
     {
       PortletURL aurl = portletResp.createActionURL();
       aurl.setParameters(portletReq.getPrivateParameterMap());
-      TestButton tb = new TestButton("V2FilterTests_PortletFilter_ApiEventFilter_initEvent2",
aurl);
+      TestButton tb = new TestButton(V2FILTERTESTS_PORTLETFILTER_APIEVENTFILTER_INITEVENT2,
aurl);
       tb.writeTo(writer);
     }
 


Mime
View raw message