You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-scm@portals.apache.org by ms...@apache.org on 2014/08/04 07:48:08 UTC
[07/20] Added modules tck-V2AddlEnvironmentTests,
tck-V2AddlFilterTests, tck-V2AddlPortletTests, tck-V2AddlRequestTests,
tck-V2AddlResponseTests,
for the JSR 286 Sppecification assertions. The modules contain code to create
the test cases and add them to
http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/bb161a0c/portlet-tck_3.0/V2AddlUrlTests/src/main/java/javax/portlet/tck/portlets/AddlUrlTests_SPEC2_7_UrlResource.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2AddlUrlTests/src/main/java/javax/portlet/tck/portlets/AddlUrlTests_SPEC2_7_UrlResource.java b/portlet-tck_3.0/V2AddlUrlTests/src/main/java/javax/portlet/tck/portlets/AddlUrlTests_SPEC2_7_UrlResource.java
new file mode 100644
index 0000000..71edb33
--- /dev/null
+++ b/portlet-tck_3.0/V2AddlUrlTests/src/main/java/javax/portlet/tck/portlets/AddlUrlTests_SPEC2_7_UrlResource.java
@@ -0,0 +1,154 @@
+/* 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.IOException;
+import java.io.PrintWriter;
+
+import java.util.Enumeration;
+import java.util.Locale;
+import java.util.logging.Level;
+import java.util.logging.Logger;
+
+import javax.portlet.*;
+import javax.portlet.filter.*;
+import javax.portlet.tck.beans.ClassChecker;
+import javax.portlet.tck.beans.TestCaseDetails;
+import javax.portlet.tck.beans.JSR286ApiTestCaseDetails;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.*;
+import javax.portlet.tck.beans.TestResult;
+
+/**
+ * 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.
+ */
+public class AddlUrlTests_SPEC2_7_UrlResource implements Portlet {
+ private static final String LOG_CLASS =
+ AddlUrlTests_SPEC2_7_UrlResource.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 actionRequest, ActionResponse actionResponse)
+ throws PortletException, IOException {
+ }
+
+ @Override
+ public void render(RenderRequest renderRequest, RenderResponse renderResponse)
+ throws PortletException, IOException {
+
+ if (LOGGER.isLoggable(Level.FINE)) {
+ LOGGER.logp(Level.FINE, LOG_CLASS, "render", "Entry");
+ }
+
+ PrintWriter writer = renderResponse.getWriter();
+ JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
+
+ // Create result objects for the tests
+
+ /* TestCase: SPEC2_7_UrlResource_resourceURL1 */
+ /* Details: "When a resource URL is triggered, the serveResource */
+ /* method must be invoked" */
+ TestResult tr0 = tcd.getTestResultFailed(SPEC2_7_URLRESOURCE_RESOURCEURL1);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_7_UrlResource_resourceURL2 */
+ /* Details: "When resource parameters are set on a resource URL, */
+ /* those parameters must become resource parameters of the request */
+ /* resulting from triggering the resourceURL" */
+ TestResult tr1 = tcd.getTestResultFailed(SPEC2_7_URLRESOURCE_RESOURCEURL2);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_7_UrlResource_resourceURL3 */
+ /* Details: "When resource parameters are set on a resource URL, */
+ /* those parameters must become resource parameters of the request */
+ /* resulting from triggering the resourceURL" */
+ TestResult tr2 = tcd.getTestResultFailed(SPEC2_7_URLRESOURCE_RESOURCEURL3);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_7_UrlResource_resourceURL4 */
+ /* Details: "Resource parameters can be set on the resource URL */
+ /* through the setParameter(String, String) method" */
+ TestResult tr3 = tcd.getTestResultFailed(SPEC2_7_URLRESOURCE_RESOURCEURL4);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_7_UrlResource_resourceURL5 */
+ /* Details: "Resource parameters can be set on the resource URL */
+ /* through the setParameter(String, String[]) method" */
+ TestResult tr4 = tcd.getTestResultFailed(SPEC2_7_URLRESOURCE_RESOURCEURL5);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_7_UrlResource_resourceURL6 */
+ /* Details: "Resource parameters can be set on the resource URL */
+ /* through the setParameterMap(Map<String, String[]>) method" */
+ TestResult tr5 = tcd.getTestResultFailed(SPEC2_7_URLRESOURCE_RESOURCEURL6);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_7_UrlResource_resourceURL7 */
+ /* Details: "If a parameter with an existing name is set through one */
+ /* of the setParameter methods, the existing value is replaced with */
+ /* the new value" */
+ TestResult tr6 = tcd.getTestResultFailed(SPEC2_7_URLRESOURCE_RESOURCEURL7);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_7_UrlResource_resourceURL8 */
+ /* Details: "When a resource URL is created, render parameters from */
+ /* the current request are automatically copied to the new resource */
+ /* URL" */
+ TestResult tr7 = tcd.getTestResultFailed(SPEC2_7_URLRESOURCE_RESOURCEURL8);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_7_UrlResource_resourceURL9 */
+ /* Details: "When a resource URL is created, the automatically copied */
+ /* render parameters are hidden to the ResourceURL getParameter */
+ /* method" */
+ TestResult tr8 = tcd.getTestResultFailed(SPEC2_7_URLRESOURCE_RESOURCEURL9);
+ /* TODO: implement test */
+
+
+
+ // Write the results to the output stream
+
+ tr0.writeTo(writer);
+ tr1.writeTo(writer);
+ tr2.writeTo(writer);
+ tr3.writeTo(writer);
+ tr4.writeTo(writer);
+ tr5.writeTo(writer);
+ tr6.writeTo(writer);
+ tr7.writeTo(writer);
+ tr8.writeTo(writer);
+
+
+ }
+
+}
+
http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/bb161a0c/portlet-tck_3.0/V2AddlUrlTests/src/main/resources/xml-resources/additionalTCs.xml
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2AddlUrlTests/src/main/resources/xml-resources/additionalTCs.xml b/portlet-tck_3.0/V2AddlUrlTests/src/main/resources/xml-resources/additionalTCs.xml
new file mode 100644
index 0000000..eb5dc39
--- /dev/null
+++ b/portlet-tck_3.0/V2AddlUrlTests/src/main/resources/xml-resources/additionalTCs.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
+<!--
+ Defines the test cases for this module.
+ For this module, the test case names are not automatically generated from.
+ the deployment descriptor, so edit this file to add new test cases.
+ This allows a portlet to define multiple test cases.
+-->
+<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
+<properties>
+<!-- JSR 286 API AddlUrlTests test case names and page mappings -->
+<entry key="SPEC2_7_UrlRender_renderURL0">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlRender_renderURL1">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlRender_renderURL2">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlRender_renderURL3">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlRender_renderURL4">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlRender_renderURL5">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlRender_renderURL6">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlRender_renderURL7">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlRender_renderURL8">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlRender_renderURL9">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlRender_renderURL10">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlRender_renderURL11">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlAction_actionURL1">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlAction_actionURL2">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlAction_actionURL3">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlAction_actionURL4">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlAction_actionURL5">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlAction_actionURL6">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlAction_actionURL7">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlAction_actionURL8">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlResource_resourceURL1">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlResource_resourceURL2">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlResource_resourceURL3">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlResource_resourceURL4">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlResource_resourceURL5">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlResource_resourceURL6">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlResource_resourceURL7">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlResource_resourceURL8">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlResource_resourceURL9">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_Url_portletMode1">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_Url_portletMode2">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_Url_portletMode4">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_Url_windowState1">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_Url_windowState2">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_Url_windowState4">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_Url_setSecure1">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_Url_setSecure3">V2AddlUrlTests</entry>
+<entry key="SPEC2_7_UrlListener_portletURLGenerationListener6">V2AddlUrlTests</entry>
+
+</properties>
http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/bb161a0c/portlet-tck_3.0/V2AddlUrlTests/src/main/webapp/WEB-INF/portlet.xml
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2AddlUrlTests/src/main/webapp/WEB-INF/portlet.xml b/portlet-tck_3.0/V2AddlUrlTests/src/main/webapp/WEB-INF/portlet.xml
new file mode 100644
index 0000000..8549002
--- /dev/null
+++ b/portlet-tck_3.0/V2AddlUrlTests/src/main/webapp/WEB-INF/portlet.xml
@@ -0,0 +1,137 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
+<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
+ version="2.0" id="javax.portlet-tck-AddlUrlTests">
+
+ <portlet>
+ <portlet-name>AddlUrlTests_SPEC2_7_UrlRender</portlet-name>
+ <portlet-class>javax.portlet.tck.portlets.AddlUrlTests_SPEC2_7_UrlRender</portlet-class>
+
+ <init-param>
+ <name>TestParameter</name>
+ <value>TestValue</value>
+ </init-param>
+
+ <expiration-cache>0</expiration-cache>
+
+ <supports>
+ <mime-type>text/html</mime-type>
+ </supports>
+
+ <supported-locale>en_US</supported-locale>
+
+ <portlet-info>
+ <title>AddlUrlTests_SPEC2_7_UrlRender</title>
+ </portlet-info>
+ </portlet>
+
+ <portlet>
+ <portlet-name>AddlUrlTests_SPEC2_7_UrlAction</portlet-name>
+ <portlet-class>javax.portlet.tck.portlets.AddlUrlTests_SPEC2_7_UrlAction</portlet-class>
+
+ <init-param>
+ <name>TestParameter</name>
+ <value>TestValue</value>
+ </init-param>
+
+ <expiration-cache>0</expiration-cache>
+
+ <supports>
+ <mime-type>text/html</mime-type>
+ </supports>
+
+ <supported-locale>en_US</supported-locale>
+
+ <portlet-info>
+ <title>AddlUrlTests_SPEC2_7_UrlAction</title>
+ </portlet-info>
+ </portlet>
+
+ <portlet>
+ <portlet-name>AddlUrlTests_SPEC2_7_UrlResource</portlet-name>
+ <portlet-class>javax.portlet.tck.portlets.AddlUrlTests_SPEC2_7_UrlResource</portlet-class>
+
+ <init-param>
+ <name>TestParameter</name>
+ <value>TestValue</value>
+ </init-param>
+
+ <expiration-cache>0</expiration-cache>
+
+ <supports>
+ <mime-type>text/html</mime-type>
+ </supports>
+
+ <supported-locale>en_US</supported-locale>
+
+ <portlet-info>
+ <title>AddlUrlTests_SPEC2_7_UrlResource</title>
+ </portlet-info>
+ </portlet>
+
+ <portlet>
+ <portlet-name>AddlUrlTests_SPEC2_7_Url</portlet-name>
+ <portlet-class>javax.portlet.tck.portlets.AddlUrlTests_SPEC2_7_Url</portlet-class>
+
+ <init-param>
+ <name>TestParameter</name>
+ <value>TestValue</value>
+ </init-param>
+
+ <expiration-cache>0</expiration-cache>
+
+ <supports>
+ <mime-type>text/html</mime-type>
+ </supports>
+
+ <supported-locale>en_US</supported-locale>
+
+ <portlet-info>
+ <title>AddlUrlTests_SPEC2_7_Url</title>
+ </portlet-info>
+ </portlet>
+
+ <portlet>
+ <portlet-name>AddlUrlTests_SPEC2_7_UrlListener</portlet-name>
+ <portlet-class>javax.portlet.tck.portlets.AddlUrlTests_SPEC2_7_UrlListener</portlet-class>
+
+ <init-param>
+ <name>TestParameter</name>
+ <value>TestValue</value>
+ </init-param>
+
+ <expiration-cache>0</expiration-cache>
+
+ <supports>
+ <mime-type>text/html</mime-type>
+ </supports>
+
+ <supported-locale>en_US</supported-locale>
+
+ <portlet-info>
+ <title>AddlUrlTests_SPEC2_7_UrlListener</title>
+ </portlet-info>
+ </portlet>
+
+
+
+</portlet-app>
http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/bb161a0c/portlet-tck_3.0/V2AddlUrlTests/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2AddlUrlTests/src/main/webapp/WEB-INF/web.xml b/portlet-tck_3.0/V2AddlUrlTests/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 0000000..2419db0
--- /dev/null
+++ b/portlet-tck_3.0/V2AddlUrlTests/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
+<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+ <display-name>javax.portlet-tck-AddlUrlTests</display-name>
+</web-app>
+
http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/bb161a0c/portlet-tck_3.0/V2PortletTagLibraryTests/pom.xml
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2PortletTagLibraryTests/pom.xml b/portlet-tck_3.0/V2PortletTagLibraryTests/pom.xml
new file mode 100644
index 0000000..5edd507
--- /dev/null
+++ b/portlet-tck_3.0/V2PortletTagLibraryTests/pom.xml
@@ -0,0 +1,123 @@
+<!--
+ 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.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>javax.portlet</groupId>
+ <artifactId>tck</artifactId>
+ <version>3.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>tck-V2PortletTagLibraryTests</artifactId>
+ <packaging>war</packaging>
+
+ <dependencies>
+ <dependency>
+ <groupId>javax.portlet</groupId>
+ <artifactId>portlet-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.portlet</groupId>
+ <artifactId>tck-common</artifactId>
+ <version>${project.version}</version>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+
+ <properties>
+
+ <!-- This project contains additional test cases to run with the portlets -->
+ <additional.testcase.uri>file:///${basedir}/src/main/resources/xml-resources/additionalTCs.xml</additional.testcase.uri>
+
+ <!-- Set to true for modules that define all test cases in a file (TCs are not generated from the portlet.xml) -->
+ <additional.testcases.only>true</additional.testcases.only>
+
+ <!-- put all portlets from this module on the same page -->
+ <page.file.xsl>plutoMultiPortletPage.xsl</page.file.xsl>
+
+ </properties>
+
+ <build>
+ <finalName>${project.artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ </plugin>
+ <!-- Transform the portlet XML into test properties XML file -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>xml-maven-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+
+
+ <profiles>
+ <profile>
+ <id>pluto</id>
+
+ <dependencies>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jstl</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>taglibs</groupId>
+ <artifactId>standard</artifactId>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-war-plugin</artifactId>
+ <configuration>
+ <webXml>${project.build.directory}/pluto-resources/web.xml</webXml>
+ </configuration>
+ </plugin>
+ <!-- bind 'pluto:assemble' goal to 'generate-resources' lifecycle -->
+ <plugin>
+ <groupId>org.apache.portals.pluto</groupId>
+ <artifactId>maven-pluto-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>assemble</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
+</project>
http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/bb161a0c/portlet-tck_3.0/V2PortletTagLibraryTests/src/main/java/javax/portlet/tck/portlets/PortletTagLibraryTests_SPEC2_26_TagLib.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2PortletTagLibraryTests/src/main/java/javax/portlet/tck/portlets/PortletTagLibraryTests_SPEC2_26_TagLib.java b/portlet-tck_3.0/V2PortletTagLibraryTests/src/main/java/javax/portlet/tck/portlets/PortletTagLibraryTests_SPEC2_26_TagLib.java
new file mode 100644
index 0000000..ca17b60
--- /dev/null
+++ b/portlet-tck_3.0/V2PortletTagLibraryTests/src/main/java/javax/portlet/tck/portlets/PortletTagLibraryTests_SPEC2_26_TagLib.java
@@ -0,0 +1,130 @@
+/* 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.IOException;
+import java.io.PrintWriter;
+
+import java.util.Enumeration;
+import java.util.Locale;
+import java.util.logging.Level;
+import java.util.logging.Logger;
+
+import javax.portlet.*;
+import javax.portlet.filter.*;
+import javax.portlet.tck.beans.ClassChecker;
+import javax.portlet.tck.beans.TestCaseDetails;
+import javax.portlet.tck.beans.JSR286ApiTestCaseDetails;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.*;
+import javax.portlet.tck.beans.TestResult;
+
+/**
+ * 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.
+ */
+public class PortletTagLibraryTests_SPEC2_26_TagLib implements Portlet {
+ private static final String LOG_CLASS =
+ PortletTagLibraryTests_SPEC2_26_TagLib.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 actionRequest, ActionResponse actionResponse)
+ throws PortletException, IOException {
+ }
+
+ @Override
+ public void render(RenderRequest renderRequest, RenderResponse renderResponse)
+ throws PortletException, IOException {
+
+ if (LOGGER.isLoggable(Level.FINE)) {
+ LOGGER.logp(Level.FINE, LOG_CLASS, "render", "Entry");
+ }
+
+ PrintWriter writer = renderResponse.getWriter();
+ JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
+
+ // Create result objects for the tests
+
+ /* TestCase: SPEC2_26_TagLib_defineObjects1 */
+ /* Details: "The portlet-container must provide an implementation of */
+ /* the Tag Lib" */
+ TestResult tr0 = tcd.getTestResultFailed(SPEC2_26_TAGLIB_DEFINEOBJECTS1);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLib_defineObjects2 */
+ /* Details: "In order to obtain version 2 support, the tag library */
+ /* must be specified as <%@ taglib */
+ /* uri=\"http://java.sun.com/portlet_2_0\" prefix=\"portlet\" %>" */
+ TestResult tr1 = tcd.getTestResultFailed(SPEC2_26_TAGLIB_DEFINEOBJECTS2);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLib_defineObjects4 */
+ /* Details: "The defineObjects tag must not define any attribute and */
+ /* it must not contain any body content" */
+ TestResult tr2 = tcd.getTestResultFailed(SPEC2_26_TAGLIB_DEFINEOBJECTS4);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLib_namespace */
+ /* Details: "The namespace tag produces a unique string value for the */
+ /* current portlet equal to the value returned by the */
+ /* PortletResponse.getNamespace method" */
+ TestResult tr3 = tcd.getTestResultFailed(SPEC2_26_TAGLIB_NAMESPACE);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLib_escapeXML1 */
+ /* Details: "The container runtime option \"javax.portlet.escapeXml\" */
+ /* can be used to set the default escapeXML setting to true" */
+ TestResult tr4 = tcd.getTestResultFailed(SPEC2_26_TAGLIB_ESCAPEXML1);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLib_escapeXML2 */
+ /* Details: "The container runtime option \"javax.portlet.escapeXml\" */
+ /* can be used to set the default escapeXML setting to false" */
+ TestResult tr5 = tcd.getTestResultFailed(SPEC2_26_TAGLIB_ESCAPEXML2);
+ /* TODO: implement test */
+
+
+
+ // Write the results to the output stream
+
+ tr0.writeTo(writer);
+ tr1.writeTo(writer);
+ tr2.writeTo(writer);
+ tr3.writeTo(writer);
+ tr4.writeTo(writer);
+ tr5.writeTo(writer);
+
+
+ }
+
+}
+
http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/bb161a0c/portlet-tck_3.0/V2PortletTagLibraryTests/src/main/java/javax/portlet/tck/portlets/PortletTagLibraryTests_SPEC2_26_TagLibAction.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2PortletTagLibraryTests/src/main/java/javax/portlet/tck/portlets/PortletTagLibraryTests_SPEC2_26_TagLibAction.java b/portlet-tck_3.0/V2PortletTagLibraryTests/src/main/java/javax/portlet/tck/portlets/PortletTagLibraryTests_SPEC2_26_TagLibAction.java
new file mode 100644
index 0000000..5e7768c
--- /dev/null
+++ b/portlet-tck_3.0/V2PortletTagLibraryTests/src/main/java/javax/portlet/tck/portlets/PortletTagLibraryTests_SPEC2_26_TagLibAction.java
@@ -0,0 +1,516 @@
+/* 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.IOException;
+import java.io.PrintWriter;
+
+import java.util.Enumeration;
+import java.util.Locale;
+import java.util.logging.Level;
+import java.util.logging.Logger;
+
+import javax.portlet.*;
+import javax.portlet.filter.*;
+import javax.portlet.tck.beans.ClassChecker;
+import javax.portlet.tck.beans.TestCaseDetails;
+import javax.portlet.tck.beans.JSR286ApiTestCaseDetails;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.*;
+import javax.portlet.tck.beans.TestResult;
+
+/**
+ * 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.
+ */
+public class PortletTagLibraryTests_SPEC2_26_TagLibAction implements Portlet {
+ private static final String LOG_CLASS =
+ PortletTagLibraryTests_SPEC2_26_TagLibAction.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 actionRequest, ActionResponse actionResponse)
+ throws PortletException, IOException {
+ }
+
+ @Override
+ public void render(RenderRequest renderRequest, RenderResponse renderResponse)
+ throws PortletException, IOException {
+
+ if (LOGGER.isLoggable(Level.FINE)) {
+ LOGGER.logp(Level.FINE, LOG_CLASS, "render", "Entry");
+ }
+
+ PrintWriter writer = renderResponse.getWriter();
+ JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
+
+ // Create result objects for the tests
+
+ /* TestCase: SPEC2_26_TagLibAction_defineObjectsAction1 */
+ /* Details: "When included in the Action phase, the defineObjects tag */
+ /* defines the variable RenderRequest renderRequest to be null or */
+ /* undefined" */
+ TestResult tr0 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_DEFINEOBJECTSACTION1);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_defineObjectsAction2 */
+ /* Details: "When included in the Action phase, the defineObjects tag */
+ /* defines the variable ResourceRequest resourceRequest to be null or */
+ /* undefined" */
+ TestResult tr1 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_DEFINEOBJECTSACTION2);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_defineObjectsAction3 */
+ /* Details: "When included in the Action phase, the defineObjects tag */
+ /* defines the variable ActionRequest actionRequest to the */
+ /* corresponding object" */
+ TestResult tr2 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_DEFINEOBJECTSACTION3);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_defineObjectsAction4 */
+ /* Details: "When included in the Action phase, the defineObjects tag */
+ /* defines the variable EventRequest eventRequest to be null or */
+ /* undefined" */
+ TestResult tr3 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_DEFINEOBJECTSACTION4);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_defineObjectsAction5 */
+ /* Details: "When included in the Action phase, the defineObjects tag */
+ /* defines the variable RenderResponse renderResponse to be null or */
+ /* undefined" */
+ TestResult tr4 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_DEFINEOBJECTSACTION5);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_defineObjectsAction6 */
+ /* Details: "When included in the Action phase, the defineObjects tag */
+ /* defines the variable ResourceResponse resourceResponse to be null */
+ /* or undefined" */
+ TestResult tr5 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_DEFINEOBJECTSACTION6);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_defineObjectsAction7 */
+ /* Details: "When included in the Action phase, the defineObjects tag */
+ /* defines the variable ActionResponse actionResponse to the */
+ /* corresponding object" */
+ TestResult tr6 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_DEFINEOBJECTSACTION7);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_defineObjectsAction8 */
+ /* Details: "When included in the Action phase, the defineObjects tag */
+ /* defines the variable EventResponse eventResponse to be null or */
+ /* undefined" */
+ TestResult tr7 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_DEFINEOBJECTSACTION8);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_defineObjectsAction9 */
+ /* Details: "When included in the Action phase, the defineObjects tag */
+ /* defines the variable PortletConfig portletConfig" */
+ TestResult tr8 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_DEFINEOBJECTSACTION9);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_defineObjectsAction10 */
+ /* Details: "When included in the Action phase, the defineObjects tag */
+ /* defines the variable PortletSession portletSession, providing */
+ /* access to the portletSession, does not create a new session, only */
+ /* returns an existing session or null if no session exists." */
+ TestResult tr9 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_DEFINEOBJECTSACTION10);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_defineObjectsAction11 */
+ /* Details: "When included in the Action phase, the defineObjects tag */
+ /* defines the variable Map<String, Object> portletSessionScope, */
+ /* providing access to the portletSession attributes as a Map */
+ /* equivalent to the PortletSession.getAttributeMap() call, does not */
+ /* create a new session, only returns an existing session. If no */
+ /* session attributes exist this method returns an empty Map." */
+ TestResult tr10 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_DEFINEOBJECTSACTION11);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_defineObjectsAction12 */
+ /* Details: "When included in the Action phase, the defineObjects tag */
+ /* defines the variable PortletPreferences portletPreferences, */
+ /* providing access to the portlet preferences." */
+ TestResult tr11 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_DEFINEOBJECTSACTION12);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_defineObjectsAction13 */
+ /* Details: "When included in the Action phase, the defineObjects tag */
+ /* defines the variable Map<String, String[]> */
+ /* portletPreferencesValues, providing access to the portlet */
+ /* preferences as a Map, equivalent to the */
+ /* PortletPreferences.getMap() call. If no portlet preferences exist, */
+ /* the Map is empty." */
+ TestResult tr12 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_DEFINEOBJECTSACTION13);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_defineObjectsEvent1 */
+ /* Details: "When included in the Event phase, the defineObjects tag */
+ /* defines the variable RenderRequest renderRequest to be null or */
+ /* undefined" */
+ TestResult tr13 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_DEFINEOBJECTSEVENT1);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_defineObjectsEvent2 */
+ /* Details: "When included in the Event phase, the defineObjects tag */
+ /* defines the variable ResourceRequest resourceRequest to be null or */
+ /* undefined" */
+ TestResult tr14 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_DEFINEOBJECTSEVENT2);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_defineObjectsEvent3 */
+ /* Details: "When included in the Event phase, the defineObjects tag */
+ /* defines the variable ActionRequest actionRequest to be null or */
+ /* undefined" */
+ TestResult tr15 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_DEFINEOBJECTSEVENT3);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_defineObjectsEvent4 */
+ /* Details: "When included in the Event phase, the defineObjects tag */
+ /* defines the variable EventRequest eventRequest to the */
+ /* corresponding object" */
+ TestResult tr16 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_DEFINEOBJECTSEVENT4);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_defineObjectsEvent5 */
+ /* Details: "When included in the Event phase, the defineObjects tag */
+ /* defines the variable RenderResponse renderResponse to be null or */
+ /* undefined" */
+ TestResult tr17 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_DEFINEOBJECTSEVENT5);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_defineObjectsEvent6 */
+ /* Details: "When included in the Event phase, the defineObjects tag */
+ /* defines the variable ResourceResponse resourceResponse to be null */
+ /* or undefined" */
+ TestResult tr18 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_DEFINEOBJECTSEVENT6);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_defineObjectsEvent7 */
+ /* Details: "When included in the Event phase, the defineObjects tag */
+ /* defines the variable ActionResponse actionResponse to be null or */
+ /* undefined" */
+ TestResult tr19 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_DEFINEOBJECTSEVENT7);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_defineObjectsEvent8 */
+ /* Details: "When included in the Event phase, the defineObjects tag */
+ /* defines the variable EventResponse eventResponse to the */
+ /* corresponding object" */
+ TestResult tr20 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_DEFINEOBJECTSEVENT8);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_defineObjectsEvent9 */
+ /* Details: "When included in the Event phase, the defineObjects tag */
+ /* defines the variable PortletConfig portletConfig" */
+ TestResult tr21 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_DEFINEOBJECTSEVENT9);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_defineObjectsEvent10 */
+ /* Details: "When included in the Event phase, the defineObjects tag */
+ /* defines the variable PortletSession portletSession, providing */
+ /* access to the portletSession, does not create a new session, only */
+ /* returns an existing session or null if no session exists." */
+ TestResult tr22 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_DEFINEOBJECTSEVENT10);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_defineObjectsEvent11 */
+ /* Details: "When included in the Event phase, the defineObjects tag */
+ /* defines the variable Map<String, Object> portletSessionScope, */
+ /* providing access to the portletSession attributes as a Map */
+ /* equivalent to the PortletSession.getAttributeMap() call, does not */
+ /* create a new session, only returns an existing session. If no */
+ /* session attributes exist this method returns an empty Map." */
+ TestResult tr23 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_DEFINEOBJECTSEVENT11);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_defineObjectsEvent12 */
+ /* Details: "When included in the Event phase, the defineObjects tag */
+ /* defines the variable PortletPreferences portletPreferences, */
+ /* providing access to the portlet preferences." */
+ TestResult tr24 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_DEFINEOBJECTSEVENT12);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_defineObjectsEvent13 */
+ /* Details: "When included in the Event phase, the defineObjects tag */
+ /* defines the variable Map<String, String[]> */
+ /* portletPreferencesValues, providing access to the portlet */
+ /* preferences as a Map, equivalent to the */
+ /* PortletPreferences.getMap() call. If no portlet preferences exist, */
+ /* the Map is empty." */
+ TestResult tr25 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_DEFINEOBJECTSEVENT13);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL1 */
+ /* Details: "The portlet actionURL tag creates a URL that must point */
+ /* to the current portlet and must trigger an action request with the */
+ /* supplied parameters" */
+ TestResult tr26 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL1);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL2 */
+ /* Details: "Parameters may be added to the URL by including the */
+ /* param tag between the actionURL start and end tags" */
+ TestResult tr27 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL2);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL3 */
+ /* Details: "The optional actionURL \"windowState\" attribute can */
+ /* specify the desired window state after the URL is triggered" */
+ TestResult tr28 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL3);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL4 */
+ /* Details: "If the \"windowState\" attribute specifies an invalid */
+ /* value, a JspException with the PortletException that caused this */
+ /* error as root cause is thrown" */
+ TestResult tr29 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL4);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL5 */
+ /* Details: "The \"windowState\" attribute is not case sensitive" */
+ TestResult tr30 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL5);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL6 */
+ /* Details: "The \"windowState\" attribute is not specified, the */
+ /* current window state is retained when the URL is triggered" */
+ TestResult tr31 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL6);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL7 */
+ /* Details: "The optional actionURL \"portletMode\" attribute can */
+ /* specify the desired portlet mode after the URL is triggered" */
+ TestResult tr32 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL7);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL8 */
+ /* Details: "If the \"portletMode\" attribute specifies an invalid */
+ /* value, a JspException with the PortletException that caused this */
+ /* error as root cause is thrown" */
+ TestResult tr33 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL8);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL9 */
+ /* Details: "The \"portletMode\" attribute is not case sensitive" */
+ TestResult tr34 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL9);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL10 */
+ /* Details: "The \"portletMode\" attribute is not specified, the */
+ /* current portlet mode is retained when the URL is triggered" */
+ TestResult tr35 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL10);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL11 */
+ /* Details: "The optional actionURL \"var\" attribute can specify a */
+ /* scoped variable for exporting the action URL" */
+ TestResult tr36 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL11);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL12 */
+ /* Details: "If the actionURL \"var\" attribute is specified, the URL */
+ /* is not written to the JspWriter" */
+ TestResult tr37 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL12);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL13 */
+ /* Details: "If the actionURL \"var\" attribute is not specified, the */
+ /* URL is written to the JspWriter" */
+ TestResult tr38 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL13);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL14 */
+ /* Details: "If the optional actionURL \"secure\" attribute is set to */
+ /* true, the resulting URL should require a secure connection" */
+ TestResult tr39 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL14);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL15 */
+ /* Details: "If the optional actionURL \"secure\" attribute is set to */
+ /* false, the resulting URL does not need to require a secure */
+ /* connection" */
+ TestResult tr40 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL15);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL17 */
+ /* Details: "The \"secure\" attribute is not specified, the security */
+ /* setting is retained" */
+ TestResult tr41 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL17);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL18 */
+ /* Details: "If the optional actionURL */
+ /* \"copyCurrentRenderParameters\" attribute is set to true, the */
+ /* current private render parameters are attached to the URL" */
+ TestResult tr42 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL18);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL19 */
+ /* Details: "If the optional actionURL */
+ /* \"copyCurrentRenderParameters\" attribute is set to true, */
+ /* additional parameters specified with the <portlet:param> element */
+ /* are merged with the render parameters" */
+ TestResult tr43 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL19);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL20 */
+ /* Details: "If the optional actionURL */
+ /* \"copyCurrentRenderParameters\" attribute is set to true, */
+ /* additional parameters specified with the <portlet:param> element */
+ /* appear in the values array before the render parameter values if */
+ /* there is a name conflict" */
+ TestResult tr44 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL20);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL21 */
+ /* Details: "If the optional actionURL */
+ /* \"copyCurrentRenderParameters\" attribute is set to false, the */
+ /* current render parameters are not attached to the URL" */
+ TestResult tr45 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL21);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL22 */
+ /* Details: "If the \"copyCurrentRenderParameters\" attribute */
+ /* specifies an invalid value, a JspException is thrown" */
+ TestResult tr46 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL22);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL23 */
+ /* Details: "The \"copyCurrentRenderParameters\" attribute is not */
+ /* specified, the security setting is retained" */
+ TestResult tr47 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL23);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL25 */
+ /* Details: "If the optional actionURL \"escapeXML\" attribute is set */
+ /* to false, the characters \"<>&'\\\"\" are not converted to their */
+ /* entity codes" */
+ TestResult tr48 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL25);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL26 */
+ /* Details: "The \"escapeXML\" attribute default value is true" */
+ TestResult tr49 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL26);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL27 */
+ /* Details: "If the optional actionURL \"name\" attribute is set, the */
+ /* provided name string is used by GenericPortlet to dispatch the */
+ /* request to the coresponding annotated method" */
+ TestResult tr50 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL27);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL28 */
+ /* Details: "Setting the \"name\" attribute will add a parameter to */
+ /* the action URL with the name of \"javax.portlet.action\"" */
+ TestResult tr51 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL28);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL29 */
+ /* Details: "If this tag is used in markup provided by a */
+ /* serveResource call that was directly or indirectly triggered via a */
+ /* resource URL of type FULL, a JspException with the */
+ /* IllegalStateException that caused this error is thrown" */
+ TestResult tr52 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL29);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibAction_actionURL30 */
+ /* Details: "If this tag is used in markup provided by a */
+ /* serveResource call that was directly or indirectly triggered via a */
+ /* resource URL of type PORTLET, a JspException with the */
+ /* IllegalStateException that caused this error is thrown" */
+ TestResult tr53 = tcd.getTestResultFailed(SPEC2_26_TAGLIBACTION_ACTIONURL30);
+ /* TODO: implement test */
+
+
+
+ // Write the results to the output stream
+
+ tr0.writeTo(writer);
+ tr1.writeTo(writer);
+ tr2.writeTo(writer);
+ tr3.writeTo(writer);
+ tr4.writeTo(writer);
+ tr5.writeTo(writer);
+ tr6.writeTo(writer);
+ tr7.writeTo(writer);
+ tr8.writeTo(writer);
+ tr9.writeTo(writer);
+ tr10.writeTo(writer);
+ tr11.writeTo(writer);
+ tr12.writeTo(writer);
+ tr13.writeTo(writer);
+ tr14.writeTo(writer);
+ tr15.writeTo(writer);
+ tr16.writeTo(writer);
+ tr17.writeTo(writer);
+ tr18.writeTo(writer);
+ tr19.writeTo(writer);
+ tr20.writeTo(writer);
+ tr21.writeTo(writer);
+ tr22.writeTo(writer);
+ tr23.writeTo(writer);
+ tr24.writeTo(writer);
+ tr25.writeTo(writer);
+ tr26.writeTo(writer);
+ tr27.writeTo(writer);
+ tr28.writeTo(writer);
+ tr29.writeTo(writer);
+ tr30.writeTo(writer);
+ tr31.writeTo(writer);
+ tr32.writeTo(writer);
+ tr33.writeTo(writer);
+ tr34.writeTo(writer);
+ tr35.writeTo(writer);
+ tr36.writeTo(writer);
+ tr37.writeTo(writer);
+ tr38.writeTo(writer);
+ tr39.writeTo(writer);
+ tr40.writeTo(writer);
+ tr41.writeTo(writer);
+ tr42.writeTo(writer);
+ tr43.writeTo(writer);
+ tr44.writeTo(writer);
+ tr45.writeTo(writer);
+ tr46.writeTo(writer);
+ tr47.writeTo(writer);
+ tr48.writeTo(writer);
+ tr49.writeTo(writer);
+ tr50.writeTo(writer);
+ tr51.writeTo(writer);
+ tr52.writeTo(writer);
+ tr53.writeTo(writer);
+
+
+ }
+
+}
+
http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/bb161a0c/portlet-tck_3.0/V2PortletTagLibraryTests/src/main/java/javax/portlet/tck/portlets/PortletTagLibraryTests_SPEC2_26_TagLibParam.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2PortletTagLibraryTests/src/main/java/javax/portlet/tck/portlets/PortletTagLibraryTests_SPEC2_26_TagLibParam.java b/portlet-tck_3.0/V2PortletTagLibraryTests/src/main/java/javax/portlet/tck/portlets/PortletTagLibraryTests_SPEC2_26_TagLibParam.java
new file mode 100644
index 0000000..4cece5d
--- /dev/null
+++ b/portlet-tck_3.0/V2PortletTagLibraryTests/src/main/java/javax/portlet/tck/portlets/PortletTagLibraryTests_SPEC2_26_TagLibParam.java
@@ -0,0 +1,215 @@
+/* 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.IOException;
+import java.io.PrintWriter;
+
+import java.util.Enumeration;
+import java.util.Locale;
+import java.util.logging.Level;
+import java.util.logging.Logger;
+
+import javax.portlet.*;
+import javax.portlet.filter.*;
+import javax.portlet.tck.beans.ClassChecker;
+import javax.portlet.tck.beans.TestCaseDetails;
+import javax.portlet.tck.beans.JSR286ApiTestCaseDetails;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.*;
+import javax.portlet.tck.beans.TestResult;
+
+/**
+ * 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.
+ */
+public class PortletTagLibraryTests_SPEC2_26_TagLibParam implements Portlet {
+ private static final String LOG_CLASS =
+ PortletTagLibraryTests_SPEC2_26_TagLibParam.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 actionRequest, ActionResponse actionResponse)
+ throws PortletException, IOException {
+ }
+
+ @Override
+ public void render(RenderRequest renderRequest, RenderResponse renderResponse)
+ throws PortletException, IOException {
+
+ if (LOGGER.isLoggable(Level.FINE)) {
+ LOGGER.logp(Level.FINE, LOG_CLASS, "render", "Entry");
+ }
+
+ PrintWriter writer = renderResponse.getWriter();
+ JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
+
+ // Create result objects for the tests
+
+ /* TestCase: SPEC2_26_TagLibParam_paramAction1 */
+ /* Details: "The param tag can be used within the actionURL tag to */
+ /* add a parameter" */
+ TestResult tr0 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPARAM_PARAMACTION1);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibParam_paramAction2 */
+ /* Details: "The param tag required attribute \"name\" defines the */
+ /* parameter name" */
+ TestResult tr1 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPARAM_PARAMACTION2);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibParam_paramAction3 */
+ /* Details: "If more than one tags appear in the actionURL tag, the */
+ /* values must be stored as a multivalued array in order of */
+ /* appearance within the actionURL tag" */
+ TestResult tr2 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPARAM_PARAMACTION3);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibParam_paramAction4 */
+ /* Details: "If the \"name\" attribute is null or empty, no action is */
+ /* performed" */
+ TestResult tr3 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPARAM_PARAMACTION4);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibParam_paramAction5 */
+ /* Details: "The param tag required attribute \"value\" defines the */
+ /* parameter value" */
+ TestResult tr4 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPARAM_PARAMACTION5);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibParam_paramAction6 */
+ /* Details: "If the \"value\" attribute is null or empty, the */
+ /* parameter is removed" */
+ TestResult tr5 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPARAM_PARAMACTION6);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibParam_paramRender1 */
+ /* Details: "The param tag can be used within the renderURL tag to */
+ /* add a parameter" */
+ TestResult tr6 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPARAM_PARAMRENDER1);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibParam_paramRender2 */
+ /* Details: "The param tag required attribute \"name\" defines the */
+ /* parameter name" */
+ TestResult tr7 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPARAM_PARAMRENDER2);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibParam_paramRender3 */
+ /* Details: "If more than one tags appear in the renderURL tag, the */
+ /* values must be stored as a multivalued array in order of */
+ /* appearance within the renderURL tag" */
+ TestResult tr8 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPARAM_PARAMRENDER3);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibParam_paramRender4 */
+ /* Details: "If the \"name\" attribute is null or empty, no action is */
+ /* performed" */
+ TestResult tr9 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPARAM_PARAMRENDER4);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibParam_paramRender5 */
+ /* Details: "The param tag required attribute \"value\" defines the */
+ /* parameter value" */
+ TestResult tr10 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPARAM_PARAMRENDER5);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibParam_paramRender6 */
+ /* Details: "If the \"value\" attribute is null or empty, the */
+ /* parameter is removed" */
+ TestResult tr11 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPARAM_PARAMRENDER6);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibParam_paramResource1 */
+ /* Details: "The param tag can be used within the resourceURL tag to */
+ /* add a parameter" */
+ TestResult tr12 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPARAM_PARAMRESOURCE1);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibParam_paramResource2 */
+ /* Details: "The param tag required attribute \"name\" defines the */
+ /* parameter name" */
+ TestResult tr13 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPARAM_PARAMRESOURCE2);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibParam_paramResource3 */
+ /* Details: "If more than one tags appear in the resourceURL tag, the */
+ /* values must be stored as a multivalued array in order of */
+ /* appearance within the resourceURL tag" */
+ TestResult tr14 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPARAM_PARAMRESOURCE3);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibParam_paramResource4 */
+ /* Details: "If the \"name\" attribute is null or empty, no action is */
+ /* performed" */
+ TestResult tr15 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPARAM_PARAMRESOURCE4);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibParam_paramResource5 */
+ /* Details: "The param tag required attribute \"value\" defines the */
+ /* parameter value" */
+ TestResult tr16 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPARAM_PARAMRESOURCE5);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibParam_paramResource6 */
+ /* Details: "If the \"value\" attribute is null or empty, no action */
+ /* is performed" */
+ TestResult tr17 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPARAM_PARAMRESOURCE6);
+ /* TODO: implement test */
+
+
+
+ // Write the results to the output stream
+
+ tr0.writeTo(writer);
+ tr1.writeTo(writer);
+ tr2.writeTo(writer);
+ tr3.writeTo(writer);
+ tr4.writeTo(writer);
+ tr5.writeTo(writer);
+ tr6.writeTo(writer);
+ tr7.writeTo(writer);
+ tr8.writeTo(writer);
+ tr9.writeTo(writer);
+ tr10.writeTo(writer);
+ tr11.writeTo(writer);
+ tr12.writeTo(writer);
+ tr13.writeTo(writer);
+ tr14.writeTo(writer);
+ tr15.writeTo(writer);
+ tr16.writeTo(writer);
+ tr17.writeTo(writer);
+
+
+ }
+
+}
+
http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/bb161a0c/portlet-tck_3.0/V2PortletTagLibraryTests/src/main/java/javax/portlet/tck/portlets/PortletTagLibraryTests_SPEC2_26_TagLibProperty.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2PortletTagLibraryTests/src/main/java/javax/portlet/tck/portlets/PortletTagLibraryTests_SPEC2_26_TagLibProperty.java b/portlet-tck_3.0/V2PortletTagLibraryTests/src/main/java/javax/portlet/tck/portlets/PortletTagLibraryTests_SPEC2_26_TagLibProperty.java
new file mode 100644
index 0000000..bfeacfa
--- /dev/null
+++ b/portlet-tck_3.0/V2PortletTagLibraryTests/src/main/java/javax/portlet/tck/portlets/PortletTagLibraryTests_SPEC2_26_TagLibProperty.java
@@ -0,0 +1,215 @@
+/* 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.IOException;
+import java.io.PrintWriter;
+
+import java.util.Enumeration;
+import java.util.Locale;
+import java.util.logging.Level;
+import java.util.logging.Logger;
+
+import javax.portlet.*;
+import javax.portlet.filter.*;
+import javax.portlet.tck.beans.ClassChecker;
+import javax.portlet.tck.beans.TestCaseDetails;
+import javax.portlet.tck.beans.JSR286ApiTestCaseDetails;
+import static javax.portlet.tck.beans.JSR286ApiTestCaseDetails.*;
+import javax.portlet.tck.beans.TestResult;
+
+/**
+ * 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.
+ */
+public class PortletTagLibraryTests_SPEC2_26_TagLibProperty implements Portlet {
+ private static final String LOG_CLASS =
+ PortletTagLibraryTests_SPEC2_26_TagLibProperty.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 actionRequest, ActionResponse actionResponse)
+ throws PortletException, IOException {
+ }
+
+ @Override
+ public void render(RenderRequest renderRequest, RenderResponse renderResponse)
+ throws PortletException, IOException {
+
+ if (LOGGER.isLoggable(Level.FINE)) {
+ LOGGER.logp(Level.FINE, LOG_CLASS, "render", "Entry");
+ }
+
+ PrintWriter writer = renderResponse.getWriter();
+ JSR286ApiTestCaseDetails tcd = new JSR286ApiTestCaseDetails();
+
+ // Create result objects for the tests
+
+ /* TestCase: SPEC2_26_TagLibProperty_propertyAction1 */
+ /* Details: "The property tag can be used within the actionURL tag to */
+ /* add a property" */
+ TestResult tr0 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPROPERTY_PROPERTYACTION1);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibProperty_propertyAction2 */
+ /* Details: "The property tag required attribute \"name\" defines the */
+ /* property name" */
+ TestResult tr1 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPROPERTY_PROPERTYACTION2);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibProperty_propertyAction3 */
+ /* Details: "If more than one tags appear in the actionURL tag, the */
+ /* values must be stored as a multivalued array in order of */
+ /* appearance within the actionURL tag" */
+ TestResult tr2 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPROPERTY_PROPERTYACTION3);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibProperty_propertyAction4 */
+ /* Details: "If the \"name\" attribute is null or empty, no action is */
+ /* performed" */
+ TestResult tr3 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPROPERTY_PROPERTYACTION4);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibProperty_propertyAction5 */
+ /* Details: "The property tag required attribute \"value\" defines */
+ /* the property value" */
+ TestResult tr4 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPROPERTY_PROPERTYACTION5);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibProperty_propertyAction6 */
+ /* Details: "If the \"value\" attribute is null or empty, the */
+ /* property value is set to null" */
+ TestResult tr5 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPROPERTY_PROPERTYACTION6);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibProperty_propertyRender1 */
+ /* Details: "The property tag can be used within the renderURL tag to */
+ /* add a property" */
+ TestResult tr6 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPROPERTY_PROPERTYRENDER1);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibProperty_propertyRender2 */
+ /* Details: "The property tag required attribute \"name\" defines the */
+ /* property name" */
+ TestResult tr7 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPROPERTY_PROPERTYRENDER2);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibProperty_propertyRender3 */
+ /* Details: "If more than one tags appear in the renderURL tag, the */
+ /* values must be stored as a multivalued array in order of */
+ /* appearance within the renderURL tag" */
+ TestResult tr8 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPROPERTY_PROPERTYRENDER3);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibProperty_propertyRender4 */
+ /* Details: "If the \"name\" attribute is null or empty, no action is */
+ /* performed" */
+ TestResult tr9 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPROPERTY_PROPERTYRENDER4);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibProperty_propertyRender5 */
+ /* Details: "The property tag required attribute \"value\" defines */
+ /* the property value" */
+ TestResult tr10 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPROPERTY_PROPERTYRENDER5);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibProperty_propertyRender6 */
+ /* Details: "If the \"value\" attribute is null or empty, the */
+ /* property value is set to null" */
+ TestResult tr11 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPROPERTY_PROPERTYRENDER6);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibProperty_propertyResource1 */
+ /* Details: "The property tag can be used within the resourceURL tag */
+ /* to add a property" */
+ TestResult tr12 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPROPERTY_PROPERTYRESOURCE1);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibProperty_propertyResource2 */
+ /* Details: "The property tag required attribute \"name\" defines the */
+ /* property name" */
+ TestResult tr13 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPROPERTY_PROPERTYRESOURCE2);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibProperty_propertyResource3 */
+ /* Details: "If more than one tags appear in the resourceURL tag, the */
+ /* values must be stored as a multivalued array in order of */
+ /* appearance within the resourceURL tag" */
+ TestResult tr14 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPROPERTY_PROPERTYRESOURCE3);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibProperty_propertyResource4 */
+ /* Details: "If the \"name\" attribute is null or empty, no action is */
+ /* performed" */
+ TestResult tr15 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPROPERTY_PROPERTYRESOURCE4);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibProperty_propertyResource5 */
+ /* Details: "The property tag required attribute \"value\" defines */
+ /* the property value" */
+ TestResult tr16 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPROPERTY_PROPERTYRESOURCE5);
+ /* TODO: implement test */
+
+ /* TestCase: SPEC2_26_TagLibProperty_propertyResource6 */
+ /* Details: "If the \"value\" attribute is null or empty, the */
+ /* property value is set to null" */
+ TestResult tr17 = tcd.getTestResultFailed(SPEC2_26_TAGLIBPROPERTY_PROPERTYRESOURCE6);
+ /* TODO: implement test */
+
+
+
+ // Write the results to the output stream
+
+ tr0.writeTo(writer);
+ tr1.writeTo(writer);
+ tr2.writeTo(writer);
+ tr3.writeTo(writer);
+ tr4.writeTo(writer);
+ tr5.writeTo(writer);
+ tr6.writeTo(writer);
+ tr7.writeTo(writer);
+ tr8.writeTo(writer);
+ tr9.writeTo(writer);
+ tr10.writeTo(writer);
+ tr11.writeTo(writer);
+ tr12.writeTo(writer);
+ tr13.writeTo(writer);
+ tr14.writeTo(writer);
+ tr15.writeTo(writer);
+ tr16.writeTo(writer);
+ tr17.writeTo(writer);
+
+
+ }
+
+}
+