portals-pluto-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msnickl...@apache.org
Subject [06/63] [abbrv] Moved filter test cases to proper filter method. Added keyword "Api" to test case names whose definitions were derived from the API documentation to allow targeted test runs for that group of tests.
Date Mon, 01 Sep 2014 13:29:14 GMT
http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/db1071e7/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_PortletURLGenerationListener_ApiRender.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_PortletURLGenerationListener_ApiRender.java b/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_PortletURLGenerationListener_ApiRender.java
new file mode 100644
index 0000000..974dc9d
--- /dev/null
+++ b/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_PortletURLGenerationListener_ApiRender.java
@@ -0,0 +1,233 @@
+/*  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+
+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.*;
+
+/**
+ * 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_PortletURLGenerationListener_ApiRender_event
+ *
+ */
+public class URLTests_PortletURLGenerationListener_ApiRender implements Portlet, ResourceServingPortlet {
+   private static final String LOG_CLASS = 
+         URLTests_PortletURLGenerationListener_ApiRender.class.getName();
+   private final Logger LOGGER = Logger.getLogger(LOG_CLASS);
+   
+   private PortletConfig portletConfig = null;
+
+   @Override
+   public void init(PortletConfig config) throws PortletException {
+      this.portletConfig = config;
+   }
+
+   @Override
+   public void destroy() {
+   }
+
+   @Override
+   public void processAction(ActionRequest portletReq, ActionResponse portletResp)
+         throws PortletException, IOException {
+      LOGGER.entering(LOG_CLASS, "main portlet processAction entry");
+
+      portletResp.setRenderParameters(portletReq.getParameterMap());
+      long tid = Thread.currentThread().getId();
+      portletReq.setAttribute(THREADID_ATTR, tid);
+
+      StringWriter writer = new StringWriter();
+
+   }
+
+   @Override
+   public void serveResource(ResourceRequest portletReq, ResourceResponse portletResp)
+         throws PortletException, IOException {
+      LOGGER.entering(LOG_CLASS, "main portlet serveResource entry");
+
+      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 {
+      LOGGER.entering(LOG_CLASS, "main portlet render entry");
+
+      long tid = Thread.currentThread().getId();
+      portletReq.setAttribute(THREADID_ATTR, tid);
+
+      PrintWriter writer = portletResp.getWriter();
+
+      JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
+
+      // Create result objects for the tests
+
+      /* TestCase: V2URLTests_PortletURLGenerationListener_ApiRender_configuration */
+      /* Details: "A PortletURLGenerationListener can be configured in the    */
+      /* portlet deployment descriptor"                                       */
+      TestResult tr0 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_APIRENDER_CONFIGURATION);
+      /* TODO: implement test */
+      tr0.appendTcDetail("Not implemented.");
+      tr0.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURLGenerationListener_ApiRender_filterActionURL1 */
+      /* Details: "Method filterActionURL(PortletURL): The                    */
+      /* filterActionURL(PortletURL): method is called before the toString    */
+      /* or write methods are executed on an action URL"                      */
+      TestResult tr1 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_APIRENDER_FILTERACTIONURL1);
+      /* TODO: implement test */
+      tr1.appendTcDetail("Not implemented.");
+      tr1.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURLGenerationListener_ApiRender_filterActionURL2 */
+      /* Details: "Method filterActionURL(PortletURL): The filterActionURL    */
+      /* method is passed the PortletURL object representing the action       */
+      /* URL"                                                                 */
+      TestResult tr2 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_APIRENDER_FILTERACTIONURL2);
+      /* TODO: implement test */
+      tr2.appendTcDetail("Not implemented.");
+      tr2.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURLGenerationListener_ApiRender_filterActionURL3 */
+      /* Details: "Method filterActionURL(PortletURL): The input action URL   */
+      /* object can be modified by setting a parameter and the modified URL   */
+      /* object is processed by the PortletURL toString or write method"      */
+      TestResult tr3 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_APIRENDER_FILTERACTIONURL3);
+      /* TODO: implement test */
+      tr3.appendTcDetail("Not implemented.");
+      tr3.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURLGenerationListener_ApiRender_filterActionURL4 */
+      /* Details: "Method filterActionURL(PortletURL): The input action URL   */
+      /* object can be modified by setting a property and the modified URL    */
+      /* object is processed by the PortletURL toString or write method"      */
+      TestResult tr4 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_APIRENDER_FILTERACTIONURL4);
+      /* TODO: implement test */
+      tr4.appendTcDetail("Not implemented.");
+      tr4.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURLGenerationListener_ApiRender_filterRenderURL5 */
+      /* Details: "Method filterRenderURL(PortletURL): The                    */
+      /* filterRenderURL(PortletURL): method is called before the toString    */
+      /* or write methods are executed on an action URL"                      */
+      TestResult tr5 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_APIRENDER_FILTERRENDERURL5);
+      /* TODO: implement test */
+      tr5.appendTcDetail("Not implemented.");
+      tr5.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURLGenerationListener_ApiRender_filterRenderURL6 */
+      /* Details: "Method filterRenderURL(PortletURL): The filterRenderURL    */
+      /* method is passed the PortletURL object representing the action       */
+      /* URL"                                                                 */
+      TestResult tr6 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_APIRENDER_FILTERRENDERURL6);
+      /* TODO: implement test */
+      tr6.appendTcDetail("Not implemented.");
+      tr6.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURLGenerationListener_ApiRender_filterRenderURL7 */
+      /* Details: "Method filterRenderURL(PortletURL): The input action URL   */
+      /* object can be modified by setting a parameter and the modified URL   */
+      /* object is processed by the PortletURL toString or write method"      */
+      TestResult tr7 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_APIRENDER_FILTERRENDERURL7);
+      /* TODO: implement test */
+      tr7.appendTcDetail("Not implemented.");
+      tr7.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURLGenerationListener_ApiRender_filterRenderURL8 */
+      /* Details: "Method filterRenderURL(PortletURL): The input action URL   */
+      /* object can be modified by setting a property and the modified URL    */
+      /* object is processed by the PortletURL toString or write method"      */
+      TestResult tr8 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_APIRENDER_FILTERRENDERURL8);
+      /* TODO: implement test */
+      tr8.appendTcDetail("Not implemented.");
+      tr8.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURLGenerationListener_ApiRender_filterResourceURL1 */
+      /* Details: "Method filterResourceURL(ResourceURL): The                 */
+      /* filterResourceURL(PortletURL): method is called before the           */
+      /* toString or write methods are executed on an action URL"             */
+      TestResult tr9 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_APIRENDER_FILTERRESOURCEURL1);
+      /* TODO: implement test */
+      tr9.appendTcDetail("Not implemented.");
+      tr9.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURLGenerationListener_ApiRender_filterResourceURL2 */
+      /* Details: "Method filterResourceURL(ResourceURL): The                 */
+      /* filterResourceURL method is passed the PortletURL object             */
+      /* representing the action URL"                                         */
+      TestResult tr10 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_APIRENDER_FILTERRESOURCEURL2);
+      /* TODO: implement test */
+      tr10.appendTcDetail("Not implemented.");
+      tr10.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURLGenerationListener_ApiRender_filterResourceURL3 */
+      /* Details: "Method filterResourceURL(ResourceURL): The input action    */
+      /* URL object can be modified by setting a parameter and the modified   */
+      /* URL object is processed by the PortletURL toString or write          */
+      /* method"                                                              */
+      TestResult tr11 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_APIRENDER_FILTERRESOURCEURL3);
+      /* TODO: implement test */
+      tr11.appendTcDetail("Not implemented.");
+      tr11.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURLGenerationListener_ApiRender_filterResourceURL4 */
+      /* Details: "Method filterResourceURL(ResourceURL): The input action    */
+      /* URL object can be modified by setting a property and the modified    */
+      /* URL object is processed by the PortletURL toString or write          */
+      /* method"                                                              */
+      TestResult tr12 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_APIRENDER_FILTERRESOURCEURL4);
+      /* TODO: implement test */
+      tr12.appendTcDetail("Not implemented.");
+      tr12.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURLGenerationListener_ApiRender_filterResourceURL5 */
+      /* Details: "Method filterResourceURL(ResourceURL): The input action    */
+      /* URL object can be modified by setting the resource ID and the        */
+      /* modified URL object is processed by the PortletURL toString or       */
+      /* write method"                                                        */
+      TestResult tr13 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_APIRENDER_FILTERRESOURCEURL5);
+      /* TODO: implement test */
+      tr13.appendTcDetail("Not implemented.");
+      tr13.writeTo(writer);
+
+   }
+
+}

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/db1071e7/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_PortletURLGenerationListener_Render.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_PortletURLGenerationListener_Render.java b/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_PortletURLGenerationListener_Render.java
deleted file mode 100644
index 1166b3b..0000000
--- a/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_PortletURLGenerationListener_Render.java
+++ /dev/null
@@ -1,233 +0,0 @@
-/*  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-
-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.*;
-
-/**
- * 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_PortletURLGenerationListener_Render_event
- *
- */
-public class URLTests_PortletURLGenerationListener_Render implements Portlet, ResourceServingPortlet {
-   private static final String LOG_CLASS = 
-         URLTests_PortletURLGenerationListener_Render.class.getName();
-   private final Logger LOGGER = Logger.getLogger(LOG_CLASS);
-   
-   private PortletConfig portletConfig = null;
-
-   @Override
-   public void init(PortletConfig config) throws PortletException {
-      this.portletConfig = config;
-   }
-
-   @Override
-   public void destroy() {
-   }
-
-   @Override
-   public void processAction(ActionRequest portletReq, ActionResponse portletResp)
-         throws PortletException, IOException {
-      LOGGER.entering(LOG_CLASS, "main portlet processAction entry");
-
-      portletResp.setRenderParameters(portletReq.getParameterMap());
-      long tid = Thread.currentThread().getId();
-      portletReq.setAttribute(THREADID_ATTR, tid);
-
-      StringWriter writer = new StringWriter();
-
-   }
-
-   @Override
-   public void serveResource(ResourceRequest portletReq, ResourceResponse portletResp)
-         throws PortletException, IOException {
-      LOGGER.entering(LOG_CLASS, "main portlet serveResource entry");
-
-      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 {
-      LOGGER.entering(LOG_CLASS, "main portlet render entry");
-
-      long tid = Thread.currentThread().getId();
-      portletReq.setAttribute(THREADID_ATTR, tid);
-
-      PrintWriter writer = portletResp.getWriter();
-
-      JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
-
-      // Create result objects for the tests
-
-      /* TestCase: V2URLTests_PortletURLGenerationListener_Render_configuration */
-      /* Details: "A PortletURLGenerationListener can be configured in the    */
-      /* portlet deployment descriptor"                                       */
-      TestResult tr0 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_RENDER_CONFIGURATION);
-      /* TODO: implement test */
-      tr0.appendTcDetail("Not implemented.");
-      tr0.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURLGenerationListener_Render_filterActionURL1 */
-      /* Details: "Method filterActionURL(PortletURL): The                    */
-      /* filterActionURL(PortletURL): method is called before the toString    */
-      /* or write methods are executed on an action URL"                      */
-      TestResult tr1 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_RENDER_FILTERACTIONURL1);
-      /* TODO: implement test */
-      tr1.appendTcDetail("Not implemented.");
-      tr1.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURLGenerationListener_Render_filterActionURL2 */
-      /* Details: "Method filterActionURL(PortletURL): The filterActionURL    */
-      /* method is passed the PortletURL object representing the action       */
-      /* URL"                                                                 */
-      TestResult tr2 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_RENDER_FILTERACTIONURL2);
-      /* TODO: implement test */
-      tr2.appendTcDetail("Not implemented.");
-      tr2.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURLGenerationListener_Render_filterActionURL3 */
-      /* Details: "Method filterActionURL(PortletURL): The input action URL   */
-      /* object can be modified by setting a parameter and the modified URL   */
-      /* object is processed by the PortletURL toString or write method"      */
-      TestResult tr3 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_RENDER_FILTERACTIONURL3);
-      /* TODO: implement test */
-      tr3.appendTcDetail("Not implemented.");
-      tr3.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURLGenerationListener_Render_filterActionURL4 */
-      /* Details: "Method filterActionURL(PortletURL): The input action URL   */
-      /* object can be modified by setting a property and the modified URL    */
-      /* object is processed by the PortletURL toString or write method"      */
-      TestResult tr4 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_RENDER_FILTERACTIONURL4);
-      /* TODO: implement test */
-      tr4.appendTcDetail("Not implemented.");
-      tr4.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURLGenerationListener_Render_filterRenderURL5 */
-      /* Details: "Method filterRenderURL(PortletURL): The                    */
-      /* filterRenderURL(PortletURL): method is called before the toString    */
-      /* or write methods are executed on an action URL"                      */
-      TestResult tr5 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_RENDER_FILTERRENDERURL5);
-      /* TODO: implement test */
-      tr5.appendTcDetail("Not implemented.");
-      tr5.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURLGenerationListener_Render_filterRenderURL6 */
-      /* Details: "Method filterRenderURL(PortletURL): The filterRenderURL    */
-      /* method is passed the PortletURL object representing the action       */
-      /* URL"                                                                 */
-      TestResult tr6 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_RENDER_FILTERRENDERURL6);
-      /* TODO: implement test */
-      tr6.appendTcDetail("Not implemented.");
-      tr6.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURLGenerationListener_Render_filterRenderURL7 */
-      /* Details: "Method filterRenderURL(PortletURL): The input action URL   */
-      /* object can be modified by setting a parameter and the modified URL   */
-      /* object is processed by the PortletURL toString or write method"      */
-      TestResult tr7 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_RENDER_FILTERRENDERURL7);
-      /* TODO: implement test */
-      tr7.appendTcDetail("Not implemented.");
-      tr7.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURLGenerationListener_Render_filterRenderURL8 */
-      /* Details: "Method filterRenderURL(PortletURL): The input action URL   */
-      /* object can be modified by setting a property and the modified URL    */
-      /* object is processed by the PortletURL toString or write method"      */
-      TestResult tr8 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_RENDER_FILTERRENDERURL8);
-      /* TODO: implement test */
-      tr8.appendTcDetail("Not implemented.");
-      tr8.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURLGenerationListener_Render_filterResourceURL1 */
-      /* Details: "Method filterResourceURL(ResourceURL): The                 */
-      /* filterResourceURL(PortletURL): method is called before the           */
-      /* toString or write methods are executed on an action URL"             */
-      TestResult tr9 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_RENDER_FILTERRESOURCEURL1);
-      /* TODO: implement test */
-      tr9.appendTcDetail("Not implemented.");
-      tr9.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURLGenerationListener_Render_filterResourceURL2 */
-      /* Details: "Method filterResourceURL(ResourceURL): The                 */
-      /* filterResourceURL method is passed the PortletURL object             */
-      /* representing the action URL"                                         */
-      TestResult tr10 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_RENDER_FILTERRESOURCEURL2);
-      /* TODO: implement test */
-      tr10.appendTcDetail("Not implemented.");
-      tr10.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURLGenerationListener_Render_filterResourceURL3 */
-      /* Details: "Method filterResourceURL(ResourceURL): The input action    */
-      /* URL object can be modified by setting a parameter and the modified   */
-      /* URL object is processed by the PortletURL toString or write          */
-      /* method"                                                              */
-      TestResult tr11 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_RENDER_FILTERRESOURCEURL3);
-      /* TODO: implement test */
-      tr11.appendTcDetail("Not implemented.");
-      tr11.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURLGenerationListener_Render_filterResourceURL4 */
-      /* Details: "Method filterResourceURL(ResourceURL): The input action    */
-      /* URL object can be modified by setting a property and the modified    */
-      /* URL object is processed by the PortletURL toString or write          */
-      /* method"                                                              */
-      TestResult tr12 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_RENDER_FILTERRESOURCEURL4);
-      /* TODO: implement test */
-      tr12.appendTcDetail("Not implemented.");
-      tr12.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURLGenerationListener_Render_filterResourceURL5 */
-      /* Details: "Method filterResourceURL(ResourceURL): The input action    */
-      /* URL object can be modified by setting the resource ID and the        */
-      /* modified URL object is processed by the PortletURL toString or       */
-      /* write method"                                                        */
-      TestResult tr13 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURLGENERATIONLISTENER_RENDER_FILTERRESOURCEURL5);
-      /* TODO: implement test */
-      tr13.appendTcDetail("Not implemented.");
-      tr13.writeTo(writer);
-
-   }
-
-}

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/db1071e7/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_PortletURL_ApiRenderActurl.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_PortletURL_ApiRenderActurl.java b/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_PortletURL_ApiRenderActurl.java
new file mode 100644
index 0000000..036a9fa
--- /dev/null
+++ b/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_PortletURL_ApiRenderActurl.java
@@ -0,0 +1,223 @@
+/*  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+
+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.*;
+
+/**
+ * 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_PortletURL_ApiRenderActurl_event
+ *
+ */
+public class URLTests_PortletURL_ApiRenderActurl implements Portlet, ResourceServingPortlet {
+   private static final String LOG_CLASS = 
+         URLTests_PortletURL_ApiRenderActurl.class.getName();
+   private final Logger LOGGER = Logger.getLogger(LOG_CLASS);
+   
+   private PortletConfig portletConfig = null;
+
+   @Override
+   public void init(PortletConfig config) throws PortletException {
+      this.portletConfig = config;
+   }
+
+   @Override
+   public void destroy() {
+   }
+
+   @Override
+   public void processAction(ActionRequest portletReq, ActionResponse portletResp)
+         throws PortletException, IOException {
+      LOGGER.entering(LOG_CLASS, "main portlet processAction entry");
+
+      portletResp.setRenderParameters(portletReq.getParameterMap());
+      long tid = Thread.currentThread().getId();
+      portletReq.setAttribute(THREADID_ATTR, tid);
+
+      StringWriter writer = new StringWriter();
+
+   }
+
+   @Override
+   public void serveResource(ResourceRequest portletReq, ResourceResponse portletResp)
+         throws PortletException, IOException {
+      LOGGER.entering(LOG_CLASS, "main portlet serveResource entry");
+
+      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 {
+      LOGGER.entering(LOG_CLASS, "main portlet render entry");
+
+      long tid = Thread.currentThread().getId();
+      portletReq.setAttribute(THREADID_ATTR, tid);
+
+      PrintWriter writer = portletResp.getWriter();
+
+      JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
+
+      // Create result objects for the tests
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderActurl_setWindowState1      */
+      /* Details: "Method setWindowState(WindowState): Sets the WindowState   */
+      /* to be used when the URL is activated"                                */
+      TestResult tr0 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERACTURL_SETWINDOWSTATE1);
+      /* TODO: implement test */
+      tr0.appendTcDetail("Not implemented.");
+      tr0.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderActurl_setWindowState2      */
+      /* Details: "Method setWindowState(WindowState): Throws                 */
+      /* WindowStateException if the portal does not support the specified    */
+      /* Window State"                                                        */
+      TestResult tr1 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERACTURL_SETWINDOWSTATE2);
+      /* TODO: implement test */
+      tr1.appendTcDetail("Not implemented.");
+      tr1.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderActurl_setWindowState3      */
+      /* Details: "Method setWindowState(WindowState): Throws                 */
+      /* WindowStateException if the specified WindowState is not declared    */
+      /* in the deployment descriptor"                                        */
+      TestResult tr2 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERACTURL_SETWINDOWSTATE3);
+      /* TODO: implement test */
+      tr2.appendTcDetail("Not implemented.");
+      tr2.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderActurl_setWindowState4      */
+      /* Details: "Method setWindowState(WindowState): Throws                 */
+      /* WindowStateException if the user is not allowed to switch to the     */
+      /* specified WindowState"                                               */
+      TestResult tr3 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERACTURL_SETWINDOWSTATE4);
+      /* TODO: implement test */
+      tr3.appendTcDetail("Not implemented.");
+      tr3.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderActurl_setPortletMode1      */
+      /* Details: "Method setPortletMode(PortletMode): Sets the PortletMode   */
+      /* to be used when the URL is activated"                                */
+      TestResult tr4 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERACTURL_SETPORTLETMODE1);
+      /* TODO: implement test */
+      tr4.appendTcDetail("Not implemented.");
+      tr4.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderActurl_setPortletMode2      */
+      /* Details: "Method setPortletMode(PortletMode): Throws                 */
+      /* PortletModeException if the portal does not support the specified    */
+      /* Window State"                                                        */
+      TestResult tr5 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERACTURL_SETPORTLETMODE2);
+      /* TODO: implement test */
+      tr5.appendTcDetail("Not implemented.");
+      tr5.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderActurl_setPortletMode3      */
+      /* Details: "Method setPortletMode(PortletMode): Throws                 */
+      /* PortletModeException if the specified PortletMode is not declared    */
+      /* in the deployment descriptor"                                        */
+      TestResult tr6 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERACTURL_SETPORTLETMODE3);
+      /* TODO: implement test */
+      tr6.appendTcDetail("Not implemented.");
+      tr6.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderActurl_setPortletMode4      */
+      /* Details: "Method setPortletMode(PortletMode): Throws                 */
+      /* PortletModeException if the user is not allowed to switch to the     */
+      /* specified PortletMode"                                               */
+      TestResult tr7 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERACTURL_SETPORTLETMODE4);
+      /* TODO: implement test */
+      tr7.appendTcDetail("Not implemented.");
+      tr7.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderActurl_getPortletMode1      */
+      /* Details: "Method getPortletMode(): Returns the PortletMode object    */
+      /* set on the URL"                                                      */
+      TestResult tr8 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERACTURL_GETPORTLETMODE1);
+      /* TODO: implement test */
+      tr8.appendTcDetail("Not implemented.");
+      tr8.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderActurl_getPortletMode2      */
+      /* Details: "Method getPortletMode(): Returns null if the PortletMode   */
+      /* has not been set"                                                    */
+      TestResult tr9 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERACTURL_GETPORTLETMODE2);
+      /* TODO: implement test */
+      tr9.appendTcDetail("Not implemented.");
+      tr9.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderActurl_getWindowState1      */
+      /* Details: "Method getWindowState(): Returns the WindowState object    */
+      /* set on the URL"                                                      */
+      TestResult tr10 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERACTURL_GETWINDOWSTATE1);
+      /* TODO: implement test */
+      tr10.appendTcDetail("Not implemented.");
+      tr10.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderActurl_getWindowState2      */
+      /* Details: "Method getWindowState(): Returns null if the Window        */
+      /* State has not been set"                                              */
+      TestResult tr11 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERACTURL_GETWINDOWSTATE2);
+      /* TODO: implement test */
+      tr11.appendTcDetail("Not implemented.");
+      tr11.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderActurl_removePublicRenderParameter1 */
+      /* Details: "Method removePublicRenderParameter(String): Removes the    */
+      /* specified public render parameter"                                   */
+      TestResult tr12 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERACTURL_REMOVEPUBLICRENDERPARAMETER1);
+      /* TODO: implement test */
+      tr12.appendTcDetail("Not implemented.");
+      tr12.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderActurl_removePublicRenderParameter2 */
+      /* Details: "Method removePublicRenderParameter(String): Throws         */
+      /* IllegalArgumentException if the name is null"                        */
+      TestResult tr13 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERACTURL_REMOVEPUBLICRENDERPARAMETER2);
+      /* TODO: implement test */
+      tr13.appendTcDetail("Not implemented.");
+      tr13.writeTo(writer);
+
+   }
+
+}

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/db1071e7/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_PortletURL_ApiRenderRenurl.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_PortletURL_ApiRenderRenurl.java b/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_PortletURL_ApiRenderRenurl.java
new file mode 100644
index 0000000..dceef9d
--- /dev/null
+++ b/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_PortletURL_ApiRenderRenurl.java
@@ -0,0 +1,223 @@
+/*  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+
+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.*;
+
+/**
+ * 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_PortletURL_ApiRenderRenurl_event
+ *
+ */
+public class URLTests_PortletURL_ApiRenderRenurl implements Portlet, ResourceServingPortlet {
+   private static final String LOG_CLASS = 
+         URLTests_PortletURL_ApiRenderRenurl.class.getName();
+   private final Logger LOGGER = Logger.getLogger(LOG_CLASS);
+   
+   private PortletConfig portletConfig = null;
+
+   @Override
+   public void init(PortletConfig config) throws PortletException {
+      this.portletConfig = config;
+   }
+
+   @Override
+   public void destroy() {
+   }
+
+   @Override
+   public void processAction(ActionRequest portletReq, ActionResponse portletResp)
+         throws PortletException, IOException {
+      LOGGER.entering(LOG_CLASS, "main portlet processAction entry");
+
+      portletResp.setRenderParameters(portletReq.getParameterMap());
+      long tid = Thread.currentThread().getId();
+      portletReq.setAttribute(THREADID_ATTR, tid);
+
+      StringWriter writer = new StringWriter();
+
+   }
+
+   @Override
+   public void serveResource(ResourceRequest portletReq, ResourceResponse portletResp)
+         throws PortletException, IOException {
+      LOGGER.entering(LOG_CLASS, "main portlet serveResource entry");
+
+      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 {
+      LOGGER.entering(LOG_CLASS, "main portlet render entry");
+
+      long tid = Thread.currentThread().getId();
+      portletReq.setAttribute(THREADID_ATTR, tid);
+
+      PrintWriter writer = portletResp.getWriter();
+
+      JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
+
+      // Create result objects for the tests
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderRenurl_setWindowState1      */
+      /* Details: "Method setWindowState(WindowState): Sets the WindowState   */
+      /* to be used when the URL is activated"                                */
+      TestResult tr0 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERRENURL_SETWINDOWSTATE1);
+      /* TODO: implement test */
+      tr0.appendTcDetail("Not implemented.");
+      tr0.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderRenurl_setWindowState2      */
+      /* Details: "Method setWindowState(WindowState): Throws                 */
+      /* WindowStateException if the portal does not support the specified    */
+      /* Window State"                                                        */
+      TestResult tr1 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERRENURL_SETWINDOWSTATE2);
+      /* TODO: implement test */
+      tr1.appendTcDetail("Not implemented.");
+      tr1.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderRenurl_setWindowState3      */
+      /* Details: "Method setWindowState(WindowState): Throws                 */
+      /* WindowStateException if the specified WindowState is not declared    */
+      /* in the deployment descriptor"                                        */
+      TestResult tr2 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERRENURL_SETWINDOWSTATE3);
+      /* TODO: implement test */
+      tr2.appendTcDetail("Not implemented.");
+      tr2.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderRenurl_setWindowState4      */
+      /* Details: "Method setWindowState(WindowState): Throws                 */
+      /* WindowStateException if the user is not allowed to switch to the     */
+      /* specified WindowState"                                               */
+      TestResult tr3 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERRENURL_SETWINDOWSTATE4);
+      /* TODO: implement test */
+      tr3.appendTcDetail("Not implemented.");
+      tr3.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderRenurl_setPortletMode1      */
+      /* Details: "Method setPortletMode(PortletMode): Sets the PortletMode   */
+      /* to be used when the URL is activated"                                */
+      TestResult tr4 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERRENURL_SETPORTLETMODE1);
+      /* TODO: implement test */
+      tr4.appendTcDetail("Not implemented.");
+      tr4.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderRenurl_setPortletMode2      */
+      /* Details: "Method setPortletMode(PortletMode): Throws                 */
+      /* PortletModeException if the portal does not support the specified    */
+      /* Window State"                                                        */
+      TestResult tr5 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERRENURL_SETPORTLETMODE2);
+      /* TODO: implement test */
+      tr5.appendTcDetail("Not implemented.");
+      tr5.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderRenurl_setPortletMode3      */
+      /* Details: "Method setPortletMode(PortletMode): Throws                 */
+      /* PortletModeException if the specified PortletMode is not declared    */
+      /* in the deployment descriptor"                                        */
+      TestResult tr6 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERRENURL_SETPORTLETMODE3);
+      /* TODO: implement test */
+      tr6.appendTcDetail("Not implemented.");
+      tr6.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderRenurl_setPortletMode4      */
+      /* Details: "Method setPortletMode(PortletMode): Throws                 */
+      /* PortletModeException if the user is not allowed to switch to the     */
+      /* specified PortletMode"                                               */
+      TestResult tr7 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERRENURL_SETPORTLETMODE4);
+      /* TODO: implement test */
+      tr7.appendTcDetail("Not implemented.");
+      tr7.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderRenurl_getPortletMode1      */
+      /* Details: "Method getPortletMode(): Returns the PortletMode object    */
+      /* set on the URL"                                                      */
+      TestResult tr8 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERRENURL_GETPORTLETMODE1);
+      /* TODO: implement test */
+      tr8.appendTcDetail("Not implemented.");
+      tr8.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderRenurl_getPortletMode2      */
+      /* Details: "Method getPortletMode(): Returns null if the PortletMode   */
+      /* has not been set"                                                    */
+      TestResult tr9 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERRENURL_GETPORTLETMODE2);
+      /* TODO: implement test */
+      tr9.appendTcDetail("Not implemented.");
+      tr9.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderRenurl_getWindowState1      */
+      /* Details: "Method getWindowState(): Returns the WindowState object    */
+      /* set on the URL"                                                      */
+      TestResult tr10 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERRENURL_GETWINDOWSTATE1);
+      /* TODO: implement test */
+      tr10.appendTcDetail("Not implemented.");
+      tr10.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderRenurl_getWindowState2      */
+      /* Details: "Method getWindowState(): Returns null if the Window        */
+      /* State has not been set"                                              */
+      TestResult tr11 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERRENURL_GETWINDOWSTATE2);
+      /* TODO: implement test */
+      tr11.appendTcDetail("Not implemented.");
+      tr11.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderRenurl_removePublicRenderParameter1 */
+      /* Details: "Method removePublicRenderParameter(String): Removes the    */
+      /* specified public render parameter"                                   */
+      TestResult tr12 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERRENURL_REMOVEPUBLICRENDERPARAMETER1);
+      /* TODO: implement test */
+      tr12.appendTcDetail("Not implemented.");
+      tr12.writeTo(writer);
+
+      /* TestCase: V2URLTests_PortletURL_ApiRenderRenurl_removePublicRenderParameter2 */
+      /* Details: "Method removePublicRenderParameter(String): Throws         */
+      /* IllegalArgumentException if the name is null"                        */
+      TestResult tr13 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_APIRENDERRENURL_REMOVEPUBLICRENDERPARAMETER2);
+      /* TODO: implement test */
+      tr13.appendTcDetail("Not implemented.");
+      tr13.writeTo(writer);
+
+   }
+
+}

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/db1071e7/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_PortletURL_RenderActurl.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_PortletURL_RenderActurl.java b/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_PortletURL_RenderActurl.java
deleted file mode 100644
index 5e43074..0000000
--- a/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_PortletURL_RenderActurl.java
+++ /dev/null
@@ -1,223 +0,0 @@
-/*  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-
-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.*;
-
-/**
- * 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_PortletURL_RenderActurl_event
- *
- */
-public class URLTests_PortletURL_RenderActurl implements Portlet, ResourceServingPortlet {
-   private static final String LOG_CLASS = 
-         URLTests_PortletURL_RenderActurl.class.getName();
-   private final Logger LOGGER = Logger.getLogger(LOG_CLASS);
-   
-   private PortletConfig portletConfig = null;
-
-   @Override
-   public void init(PortletConfig config) throws PortletException {
-      this.portletConfig = config;
-   }
-
-   @Override
-   public void destroy() {
-   }
-
-   @Override
-   public void processAction(ActionRequest portletReq, ActionResponse portletResp)
-         throws PortletException, IOException {
-      LOGGER.entering(LOG_CLASS, "main portlet processAction entry");
-
-      portletResp.setRenderParameters(portletReq.getParameterMap());
-      long tid = Thread.currentThread().getId();
-      portletReq.setAttribute(THREADID_ATTR, tid);
-
-      StringWriter writer = new StringWriter();
-
-   }
-
-   @Override
-   public void serveResource(ResourceRequest portletReq, ResourceResponse portletResp)
-         throws PortletException, IOException {
-      LOGGER.entering(LOG_CLASS, "main portlet serveResource entry");
-
-      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 {
-      LOGGER.entering(LOG_CLASS, "main portlet render entry");
-
-      long tid = Thread.currentThread().getId();
-      portletReq.setAttribute(THREADID_ATTR, tid);
-
-      PrintWriter writer = portletResp.getWriter();
-
-      JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
-
-      // Create result objects for the tests
-
-      /* TestCase: V2URLTests_PortletURL_RenderActurl_setWindowState1         */
-      /* Details: "Method setWindowState(WindowState): Sets the WindowState   */
-      /* to be used when the URL is activated"                                */
-      TestResult tr0 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERACTURL_SETWINDOWSTATE1);
-      /* TODO: implement test */
-      tr0.appendTcDetail("Not implemented.");
-      tr0.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURL_RenderActurl_setWindowState2         */
-      /* Details: "Method setWindowState(WindowState): Throws                 */
-      /* WindowStateException if the portal does not support the specified    */
-      /* Window State"                                                        */
-      TestResult tr1 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERACTURL_SETWINDOWSTATE2);
-      /* TODO: implement test */
-      tr1.appendTcDetail("Not implemented.");
-      tr1.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURL_RenderActurl_setWindowState3         */
-      /* Details: "Method setWindowState(WindowState): Throws                 */
-      /* WindowStateException if the specified WindowState is not declared    */
-      /* in the deployment descriptor"                                        */
-      TestResult tr2 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERACTURL_SETWINDOWSTATE3);
-      /* TODO: implement test */
-      tr2.appendTcDetail("Not implemented.");
-      tr2.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURL_RenderActurl_setWindowState4         */
-      /* Details: "Method setWindowState(WindowState): Throws                 */
-      /* WindowStateException if the user is not allowed to switch to the     */
-      /* specified WindowState"                                               */
-      TestResult tr3 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERACTURL_SETWINDOWSTATE4);
-      /* TODO: implement test */
-      tr3.appendTcDetail("Not implemented.");
-      tr3.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURL_RenderActurl_setPortletMode1         */
-      /* Details: "Method setPortletMode(PortletMode): Sets the PortletMode   */
-      /* to be used when the URL is activated"                                */
-      TestResult tr4 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERACTURL_SETPORTLETMODE1);
-      /* TODO: implement test */
-      tr4.appendTcDetail("Not implemented.");
-      tr4.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURL_RenderActurl_setPortletMode2         */
-      /* Details: "Method setPortletMode(PortletMode): Throws                 */
-      /* PortletModeException if the portal does not support the specified    */
-      /* Window State"                                                        */
-      TestResult tr5 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERACTURL_SETPORTLETMODE2);
-      /* TODO: implement test */
-      tr5.appendTcDetail("Not implemented.");
-      tr5.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURL_RenderActurl_setPortletMode3         */
-      /* Details: "Method setPortletMode(PortletMode): Throws                 */
-      /* PortletModeException if the specified PortletMode is not declared    */
-      /* in the deployment descriptor"                                        */
-      TestResult tr6 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERACTURL_SETPORTLETMODE3);
-      /* TODO: implement test */
-      tr6.appendTcDetail("Not implemented.");
-      tr6.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURL_RenderActurl_setPortletMode4         */
-      /* Details: "Method setPortletMode(PortletMode): Throws                 */
-      /* PortletModeException if the user is not allowed to switch to the     */
-      /* specified PortletMode"                                               */
-      TestResult tr7 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERACTURL_SETPORTLETMODE4);
-      /* TODO: implement test */
-      tr7.appendTcDetail("Not implemented.");
-      tr7.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURL_RenderActurl_getPortletMode1         */
-      /* Details: "Method getPortletMode(): Returns the PortletMode object    */
-      /* set on the URL"                                                      */
-      TestResult tr8 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERACTURL_GETPORTLETMODE1);
-      /* TODO: implement test */
-      tr8.appendTcDetail("Not implemented.");
-      tr8.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURL_RenderActurl_getPortletMode2         */
-      /* Details: "Method getPortletMode(): Returns null if the PortletMode   */
-      /* has not been set"                                                    */
-      TestResult tr9 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERACTURL_GETPORTLETMODE2);
-      /* TODO: implement test */
-      tr9.appendTcDetail("Not implemented.");
-      tr9.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURL_RenderActurl_getWindowState1         */
-      /* Details: "Method getWindowState(): Returns the WindowState object    */
-      /* set on the URL"                                                      */
-      TestResult tr10 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERACTURL_GETWINDOWSTATE1);
-      /* TODO: implement test */
-      tr10.appendTcDetail("Not implemented.");
-      tr10.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURL_RenderActurl_getWindowState2         */
-      /* Details: "Method getWindowState(): Returns null if the Window        */
-      /* State has not been set"                                              */
-      TestResult tr11 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERACTURL_GETWINDOWSTATE2);
-      /* TODO: implement test */
-      tr11.appendTcDetail("Not implemented.");
-      tr11.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURL_RenderActurl_removePublicRenderParameter1 */
-      /* Details: "Method removePublicRenderParameter(String): Removes the    */
-      /* specified public render parameter"                                   */
-      TestResult tr12 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERACTURL_REMOVEPUBLICRENDERPARAMETER1);
-      /* TODO: implement test */
-      tr12.appendTcDetail("Not implemented.");
-      tr12.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURL_RenderActurl_removePublicRenderParameter2 */
-      /* Details: "Method removePublicRenderParameter(String): Throws         */
-      /* IllegalArgumentException if the name is null"                        */
-      TestResult tr13 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERACTURL_REMOVEPUBLICRENDERPARAMETER2);
-      /* TODO: implement test */
-      tr13.appendTcDetail("Not implemented.");
-      tr13.writeTo(writer);
-
-   }
-
-}

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/db1071e7/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_PortletURL_RenderRenurl.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_PortletURL_RenderRenurl.java b/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_PortletURL_RenderRenurl.java
deleted file mode 100644
index 5a8745e..0000000
--- a/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_PortletURL_RenderRenurl.java
+++ /dev/null
@@ -1,223 +0,0 @@
-/*  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-
-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.*;
-
-/**
- * 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_PortletURL_RenderRenurl_event
- *
- */
-public class URLTests_PortletURL_RenderRenurl implements Portlet, ResourceServingPortlet {
-   private static final String LOG_CLASS = 
-         URLTests_PortletURL_RenderRenurl.class.getName();
-   private final Logger LOGGER = Logger.getLogger(LOG_CLASS);
-   
-   private PortletConfig portletConfig = null;
-
-   @Override
-   public void init(PortletConfig config) throws PortletException {
-      this.portletConfig = config;
-   }
-
-   @Override
-   public void destroy() {
-   }
-
-   @Override
-   public void processAction(ActionRequest portletReq, ActionResponse portletResp)
-         throws PortletException, IOException {
-      LOGGER.entering(LOG_CLASS, "main portlet processAction entry");
-
-      portletResp.setRenderParameters(portletReq.getParameterMap());
-      long tid = Thread.currentThread().getId();
-      portletReq.setAttribute(THREADID_ATTR, tid);
-
-      StringWriter writer = new StringWriter();
-
-   }
-
-   @Override
-   public void serveResource(ResourceRequest portletReq, ResourceResponse portletResp)
-         throws PortletException, IOException {
-      LOGGER.entering(LOG_CLASS, "main portlet serveResource entry");
-
-      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 {
-      LOGGER.entering(LOG_CLASS, "main portlet render entry");
-
-      long tid = Thread.currentThread().getId();
-      portletReq.setAttribute(THREADID_ATTR, tid);
-
-      PrintWriter writer = portletResp.getWriter();
-
-      JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
-
-      // Create result objects for the tests
-
-      /* TestCase: V2URLTests_PortletURL_RenderRenurl_setWindowState1         */
-      /* Details: "Method setWindowState(WindowState): Sets the WindowState   */
-      /* to be used when the URL is activated"                                */
-      TestResult tr0 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERRENURL_SETWINDOWSTATE1);
-      /* TODO: implement test */
-      tr0.appendTcDetail("Not implemented.");
-      tr0.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURL_RenderRenurl_setWindowState2         */
-      /* Details: "Method setWindowState(WindowState): Throws                 */
-      /* WindowStateException if the portal does not support the specified    */
-      /* Window State"                                                        */
-      TestResult tr1 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERRENURL_SETWINDOWSTATE2);
-      /* TODO: implement test */
-      tr1.appendTcDetail("Not implemented.");
-      tr1.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURL_RenderRenurl_setWindowState3         */
-      /* Details: "Method setWindowState(WindowState): Throws                 */
-      /* WindowStateException if the specified WindowState is not declared    */
-      /* in the deployment descriptor"                                        */
-      TestResult tr2 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERRENURL_SETWINDOWSTATE3);
-      /* TODO: implement test */
-      tr2.appendTcDetail("Not implemented.");
-      tr2.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURL_RenderRenurl_setWindowState4         */
-      /* Details: "Method setWindowState(WindowState): Throws                 */
-      /* WindowStateException if the user is not allowed to switch to the     */
-      /* specified WindowState"                                               */
-      TestResult tr3 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERRENURL_SETWINDOWSTATE4);
-      /* TODO: implement test */
-      tr3.appendTcDetail("Not implemented.");
-      tr3.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURL_RenderRenurl_setPortletMode1         */
-      /* Details: "Method setPortletMode(PortletMode): Sets the PortletMode   */
-      /* to be used when the URL is activated"                                */
-      TestResult tr4 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERRENURL_SETPORTLETMODE1);
-      /* TODO: implement test */
-      tr4.appendTcDetail("Not implemented.");
-      tr4.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURL_RenderRenurl_setPortletMode2         */
-      /* Details: "Method setPortletMode(PortletMode): Throws                 */
-      /* PortletModeException if the portal does not support the specified    */
-      /* Window State"                                                        */
-      TestResult tr5 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERRENURL_SETPORTLETMODE2);
-      /* TODO: implement test */
-      tr5.appendTcDetail("Not implemented.");
-      tr5.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURL_RenderRenurl_setPortletMode3         */
-      /* Details: "Method setPortletMode(PortletMode): Throws                 */
-      /* PortletModeException if the specified PortletMode is not declared    */
-      /* in the deployment descriptor"                                        */
-      TestResult tr6 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERRENURL_SETPORTLETMODE3);
-      /* TODO: implement test */
-      tr6.appendTcDetail("Not implemented.");
-      tr6.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURL_RenderRenurl_setPortletMode4         */
-      /* Details: "Method setPortletMode(PortletMode): Throws                 */
-      /* PortletModeException if the user is not allowed to switch to the     */
-      /* specified PortletMode"                                               */
-      TestResult tr7 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERRENURL_SETPORTLETMODE4);
-      /* TODO: implement test */
-      tr7.appendTcDetail("Not implemented.");
-      tr7.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURL_RenderRenurl_getPortletMode1         */
-      /* Details: "Method getPortletMode(): Returns the PortletMode object    */
-      /* set on the URL"                                                      */
-      TestResult tr8 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERRENURL_GETPORTLETMODE1);
-      /* TODO: implement test */
-      tr8.appendTcDetail("Not implemented.");
-      tr8.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURL_RenderRenurl_getPortletMode2         */
-      /* Details: "Method getPortletMode(): Returns null if the PortletMode   */
-      /* has not been set"                                                    */
-      TestResult tr9 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERRENURL_GETPORTLETMODE2);
-      /* TODO: implement test */
-      tr9.appendTcDetail("Not implemented.");
-      tr9.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURL_RenderRenurl_getWindowState1         */
-      /* Details: "Method getWindowState(): Returns the WindowState object    */
-      /* set on the URL"                                                      */
-      TestResult tr10 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERRENURL_GETWINDOWSTATE1);
-      /* TODO: implement test */
-      tr10.appendTcDetail("Not implemented.");
-      tr10.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURL_RenderRenurl_getWindowState2         */
-      /* Details: "Method getWindowState(): Returns null if the Window        */
-      /* State has not been set"                                              */
-      TestResult tr11 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERRENURL_GETWINDOWSTATE2);
-      /* TODO: implement test */
-      tr11.appendTcDetail("Not implemented.");
-      tr11.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURL_RenderRenurl_removePublicRenderParameter1 */
-      /* Details: "Method removePublicRenderParameter(String): Removes the    */
-      /* specified public render parameter"                                   */
-      TestResult tr12 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERRENURL_REMOVEPUBLICRENDERPARAMETER1);
-      /* TODO: implement test */
-      tr12.appendTcDetail("Not implemented.");
-      tr12.writeTo(writer);
-
-      /* TestCase: V2URLTests_PortletURL_RenderRenurl_removePublicRenderParameter2 */
-      /* Details: "Method removePublicRenderParameter(String): Throws         */
-      /* IllegalArgumentException if the name is null"                        */
-      TestResult tr13 = tcd.getTestResultFailed(V2URLTESTS_PORTLETURL_RENDERRENURL_REMOVEPUBLICRENDERPARAMETER2);
-      /* TODO: implement test */
-      tr13.appendTcDetail("Not implemented.");
-      tr13.writeTo(writer);
-
-   }
-
-}

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/db1071e7/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_ResourceURL_ApiRenderResurl.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_ResourceURL_ApiRenderResurl.java b/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_ResourceURL_ApiRenderResurl.java
new file mode 100644
index 0000000..d19da72
--- /dev/null
+++ b/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_ResourceURL_ApiRenderResurl.java
@@ -0,0 +1,185 @@
+/*  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+
+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.*;
+
+/**
+ * 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_ResourceURL_ApiRenderResurl_event
+ *
+ */
+public class URLTests_ResourceURL_ApiRenderResurl implements Portlet, ResourceServingPortlet {
+   private static final String LOG_CLASS = 
+         URLTests_ResourceURL_ApiRenderResurl.class.getName();
+   private final Logger LOGGER = Logger.getLogger(LOG_CLASS);
+   
+   private PortletConfig portletConfig = null;
+
+   @Override
+   public void init(PortletConfig config) throws PortletException {
+      this.portletConfig = config;
+   }
+
+   @Override
+   public void destroy() {
+   }
+
+   @Override
+   public void processAction(ActionRequest portletReq, ActionResponse portletResp)
+         throws PortletException, IOException {
+      LOGGER.entering(LOG_CLASS, "main portlet processAction entry");
+
+      portletResp.setRenderParameters(portletReq.getParameterMap());
+      long tid = Thread.currentThread().getId();
+      portletReq.setAttribute(THREADID_ATTR, tid);
+
+      StringWriter writer = new StringWriter();
+
+   }
+
+   @Override
+   public void serveResource(ResourceRequest portletReq, ResourceResponse portletResp)
+         throws PortletException, IOException {
+      LOGGER.entering(LOG_CLASS, "main portlet serveResource entry");
+
+      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 {
+      LOGGER.entering(LOG_CLASS, "main portlet render entry");
+
+      long tid = Thread.currentThread().getId();
+      portletReq.setAttribute(THREADID_ATTR, tid);
+
+      PrintWriter writer = portletResp.getWriter();
+
+      JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
+
+      // Create result objects for the tests
+
+      /* TestCase: V2URLTests_ResourceURL_ApiRenderResurl_fieldFULL           */
+      /* Details: "Has String field FULL with value of \"cacheLevelFull\" "   */
+      TestResult tr0 = tcd.getTestResultFailed(V2URLTESTS_RESOURCEURL_APIRENDERRESURL_FIELDFULL);
+      /* TODO: implement test */
+      tr0.appendTcDetail("Not implemented.");
+      tr0.writeTo(writer);
+
+      /* TestCase: V2URLTests_ResourceURL_ApiRenderResurl_fieldPAGE           */
+      /* Details: "Has String field PAGE with value of \"cacheLevelPage\" "   */
+      TestResult tr1 = tcd.getTestResultFailed(V2URLTESTS_RESOURCEURL_APIRENDERRESURL_FIELDPAGE);
+      /* TODO: implement test */
+      tr1.appendTcDetail("Not implemented.");
+      tr1.writeTo(writer);
+
+      /* TestCase: V2URLTests_ResourceURL_ApiRenderResurl_fieldPORTLET        */
+      /* Details: "Has String field PORTLET with value of                     */
+      /* \"cacheLevelPortlet\" "                                              */
+      TestResult tr2 = tcd.getTestResultFailed(V2URLTESTS_RESOURCEURL_APIRENDERRESURL_FIELDPORTLET);
+      /* TODO: implement test */
+      tr2.appendTcDetail("Not implemented.");
+      tr2.writeTo(writer);
+
+      /* TestCase: V2URLTests_ResourceURL_ApiRenderResurl_fieldSHARED         */
+      /* Details: "Has String field SHARED with value of                      */
+      /* \"javax.portlet.shared\" "                                           */
+      TestResult tr3 = tcd.getTestResultFailed(V2URLTESTS_RESOURCEURL_APIRENDERRESURL_FIELDSHARED);
+      /* TODO: implement test */
+      tr3.appendTcDetail("Not implemented.");
+      tr3.writeTo(writer);
+
+      /* TestCase: V2URLTests_ResourceURL_ApiRenderResurl_implementsBaseURL2  */
+      /* Details: "Method implementsBaseUR(): All tests described for the     */
+      /* BaseURL execute correctly with the ResourceURL"                      */
+      TestResult tr4 = tcd.getTestResultFailed(V2URLTESTS_RESOURCEURL_APIRENDERRESURL_IMPLEMENTSBASEURL2);
+      /* TODO: implement test */
+      tr4.appendTcDetail("Not implemented.");
+      tr4.writeTo(writer);
+
+      /* TestCase: V2URLTests_ResourceURL_ApiRenderResurl_setResourceID       */
+      /* Details: "Method setResourceID(String): Sets the specified String    */
+      /* as the portlet resource ID"                                          */
+      TestResult tr5 = tcd.getTestResultFailed(V2URLTESTS_RESOURCEURL_APIRENDERRESURL_SETRESOURCEID);
+      /* TODO: implement test */
+      tr5.appendTcDetail("Not implemented.");
+      tr5.writeTo(writer);
+
+      /* TestCase: V2URLTests_ResourceURL_ApiRenderResurl_getCacheability     */
+      /* Details: "Method getCacheability(): Returns a String containing      */
+      /* the cacheability level set on the resource URL"                      */
+      TestResult tr6 = tcd.getTestResultFailed(V2URLTESTS_RESOURCEURL_APIRENDERRESURL_GETCACHEABILITY);
+      /* TODO: implement test */
+      tr6.appendTcDetail("Not implemented.");
+      tr6.writeTo(writer);
+
+      /* TestCase: V2URLTests_ResourceURL_ApiRenderResurl_setCacheability1    */
+      /* Details: "Method setCacheability(String): Sets the cacheability      */
+      /* level for the resource URL"                                          */
+      TestResult tr7 = tcd.getTestResultFailed(V2URLTESTS_RESOURCEURL_APIRENDERRESURL_SETCACHEABILITY1);
+      /* TODO: implement test */
+      tr7.appendTcDetail("Not implemented.");
+      tr7.writeTo(writer);
+
+      /* TestCase: V2URLTests_ResourceURL_ApiRenderResurl_setCacheability2    */
+      /* Details: "Method setCacheability(String): Throws                     */
+      /* IllegalArgumentException if the input parameter does not have a      */
+      /* value of \"FULL\", \"PAGE\", or \"PORTLET\""                         */
+      TestResult tr8 = tcd.getTestResultFailed(V2URLTESTS_RESOURCEURL_APIRENDERRESURL_SETCACHEABILITY2);
+      /* TODO: implement test */
+      tr8.appendTcDetail("Not implemented.");
+      tr8.writeTo(writer);
+
+      /* TestCase: V2URLTests_ResourceURL_ApiRenderResurl_setCacheability3    */
+      /* Details: "Method setCacheability(String): Throws                     */
+      /* IllegalStateException if the specified cacheability level is         */
+      /* weaker than the cacheability level for the parent resource URL"      */
+      TestResult tr9 = tcd.getTestResultFailed(V2URLTESTS_RESOURCEURL_APIRENDERRESURL_SETCACHEABILITY3);
+      /* TODO: implement test */
+      tr9.appendTcDetail("Not implemented.");
+      tr9.writeTo(writer);
+
+   }
+
+}

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/db1071e7/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_ResourceURL_RenderResurl.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_ResourceURL_RenderResurl.java b/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_ResourceURL_RenderResurl.java
deleted file mode 100644
index 6415348..0000000
--- a/portlet-tck_3.0/V2URLTests/src/main/java/javax/portlet/tck/portlets/URLTests_ResourceURL_RenderResurl.java
+++ /dev/null
@@ -1,185 +0,0 @@
-/*  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-
-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.*;
-
-/**
- * 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_ResourceURL_RenderResurl_event
- *
- */
-public class URLTests_ResourceURL_RenderResurl implements Portlet, ResourceServingPortlet {
-   private static final String LOG_CLASS = 
-         URLTests_ResourceURL_RenderResurl.class.getName();
-   private final Logger LOGGER = Logger.getLogger(LOG_CLASS);
-   
-   private PortletConfig portletConfig = null;
-
-   @Override
-   public void init(PortletConfig config) throws PortletException {
-      this.portletConfig = config;
-   }
-
-   @Override
-   public void destroy() {
-   }
-
-   @Override
-   public void processAction(ActionRequest portletReq, ActionResponse portletResp)
-         throws PortletException, IOException {
-      LOGGER.entering(LOG_CLASS, "main portlet processAction entry");
-
-      portletResp.setRenderParameters(portletReq.getParameterMap());
-      long tid = Thread.currentThread().getId();
-      portletReq.setAttribute(THREADID_ATTR, tid);
-
-      StringWriter writer = new StringWriter();
-
-   }
-
-   @Override
-   public void serveResource(ResourceRequest portletReq, ResourceResponse portletResp)
-         throws PortletException, IOException {
-      LOGGER.entering(LOG_CLASS, "main portlet serveResource entry");
-
-      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 {
-      LOGGER.entering(LOG_CLASS, "main portlet render entry");
-
-      long tid = Thread.currentThread().getId();
-      portletReq.setAttribute(THREADID_ATTR, tid);
-
-      PrintWriter writer = portletResp.getWriter();
-
-      JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
-
-      // Create result objects for the tests
-
-      /* TestCase: V2URLTests_ResourceURL_RenderResurl_fieldFULL              */
-      /* Details: "Has String field FULL with value of \"cacheLevelFull\" "   */
-      TestResult tr0 = tcd.getTestResultFailed(V2URLTESTS_RESOURCEURL_RENDERRESURL_FIELDFULL);
-      /* TODO: implement test */
-      tr0.appendTcDetail("Not implemented.");
-      tr0.writeTo(writer);
-
-      /* TestCase: V2URLTests_ResourceURL_RenderResurl_fieldPAGE              */
-      /* Details: "Has String field PAGE with value of \"cacheLevelPage\" "   */
-      TestResult tr1 = tcd.getTestResultFailed(V2URLTESTS_RESOURCEURL_RENDERRESURL_FIELDPAGE);
-      /* TODO: implement test */
-      tr1.appendTcDetail("Not implemented.");
-      tr1.writeTo(writer);
-
-      /* TestCase: V2URLTests_ResourceURL_RenderResurl_fieldPORTLET           */
-      /* Details: "Has String field PORTLET with value of                     */
-      /* \"cacheLevelPortlet\" "                                              */
-      TestResult tr2 = tcd.getTestResultFailed(V2URLTESTS_RESOURCEURL_RENDERRESURL_FIELDPORTLET);
-      /* TODO: implement test */
-      tr2.appendTcDetail("Not implemented.");
-      tr2.writeTo(writer);
-
-      /* TestCase: V2URLTests_ResourceURL_RenderResurl_fieldSHARED            */
-      /* Details: "Has String field SHARED with value of                      */
-      /* \"javax.portlet.shared\" "                                           */
-      TestResult tr3 = tcd.getTestResultFailed(V2URLTESTS_RESOURCEURL_RENDERRESURL_FIELDSHARED);
-      /* TODO: implement test */
-      tr3.appendTcDetail("Not implemented.");
-      tr3.writeTo(writer);
-
-      /* TestCase: V2URLTests_ResourceURL_RenderResurl_implementsBaseURL2     */
-      /* Details: "Method implementsBaseUR(): All tests described for the     */
-      /* BaseURL execute correctly with the ResourceURL"                      */
-      TestResult tr4 = tcd.getTestResultFailed(V2URLTESTS_RESOURCEURL_RENDERRESURL_IMPLEMENTSBASEURL2);
-      /* TODO: implement test */
-      tr4.appendTcDetail("Not implemented.");
-      tr4.writeTo(writer);
-
-      /* TestCase: V2URLTests_ResourceURL_RenderResurl_setResourceID          */
-      /* Details: "Method setResourceID(String): Sets the specified String    */
-      /* as the portlet resource ID"                                          */
-      TestResult tr5 = tcd.getTestResultFailed(V2URLTESTS_RESOURCEURL_RENDERRESURL_SETRESOURCEID);
-      /* TODO: implement test */
-      tr5.appendTcDetail("Not implemented.");
-      tr5.writeTo(writer);
-
-      /* TestCase: V2URLTests_ResourceURL_RenderResurl_getCacheability        */
-      /* Details: "Method getCacheability(): Returns a String containing      */
-      /* the cacheability level set on the resource URL"                      */
-      TestResult tr6 = tcd.getTestResultFailed(V2URLTESTS_RESOURCEURL_RENDERRESURL_GETCACHEABILITY);
-      /* TODO: implement test */
-      tr6.appendTcDetail("Not implemented.");
-      tr6.writeTo(writer);
-
-      /* TestCase: V2URLTests_ResourceURL_RenderResurl_setCacheability1       */
-      /* Details: "Method setCacheability(String): Sets the cacheability      */
-      /* level for the resource URL"                                          */
-      TestResult tr7 = tcd.getTestResultFailed(V2URLTESTS_RESOURCEURL_RENDERRESURL_SETCACHEABILITY1);
-      /* TODO: implement test */
-      tr7.appendTcDetail("Not implemented.");
-      tr7.writeTo(writer);
-
-      /* TestCase: V2URLTests_ResourceURL_RenderResurl_setCacheability2       */
-      /* Details: "Method setCacheability(String): Throws                     */
-      /* IllegalArgumentException if the input parameter does not have a      */
-      /* value of \"FULL\", \"PAGE\", or \"PORTLET\""                         */
-      TestResult tr8 = tcd.getTestResultFailed(V2URLTESTS_RESOURCEURL_RENDERRESURL_SETCACHEABILITY2);
-      /* TODO: implement test */
-      tr8.appendTcDetail("Not implemented.");
-      tr8.writeTo(writer);
-
-      /* TestCase: V2URLTests_ResourceURL_RenderResurl_setCacheability3       */
-      /* Details: "Method setCacheability(String): Throws                     */
-      /* IllegalStateException if the specified cacheability level is         */
-      /* weaker than the cacheability level for the parent resource URL"      */
-      TestResult tr9 = tcd.getTestResultFailed(V2URLTESTS_RESOURCEURL_RENDERRESURL_SETCACHEABILITY3);
-      /* TODO: implement test */
-      tr9.appendTcDetail("Not implemented.");
-      tr9.writeTo(writer);
-
-   }
-
-}


Mime
View raw message