portals-pluto-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject portals-pluto git commit: Implemented first TCK test of V3PortletConfigs
Date Wed, 06 Jul 2016 05:35:20 GMT
Repository: portals-pluto
Updated Branches:
  refs/heads/master 242d7e2f7 -> 0c02b82a1


Implemented first TCK test of V3PortletConfigs


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

Branch: refs/heads/master
Commit: 0c02b82a173abd47ae5436e72b2872a8e7bebb75
Parents: 242d7e2
Author: bluesunrise <david@bluesunrise.com>
Authored: Tue Jul 5 22:34:52 2016 -0700
Committer: bluesunrise <david@bluesunrise.com>
Committed: Tue Jul 5 22:34:52 2016 -0700

----------------------------------------------------------------------
 dist-build.xml                                  |   2 +-
 portlet-tck_3.0/README.txt                      |   4 +-
 portlet-tck_3.0/V3PortletConfigTests/pom.xml    | 136 +++++++++++++++++++
 .../src/main/docs/ModuleAssertions.csv          |   8 ++
 .../tck/portlets/PortletConfigTests_Config.java | 114 ++++++++++++++++
 .../portlet/tck/util/ModuleTestCaseDetails.java |  60 ++++++++
 .../src/main/resources/logging.properties       |  13 ++
 .../resources/xml-resources/additionalPages.xml |  19 +++
 .../resources/xml-resources/additionalTCs.xml   |  24 ++++
 .../src/main/webapp/WEB-INF/beans.xml           |   7 +
 portlet-tck_3.0/deploy/pom.xml                  |   6 +
 portlet-tck_3.0/driver/pom.xml                  |   9 +-
 .../main/resources/xml-resources/pageFiles.xml  |   1 +
 .../main/resources/xml-resources/testFiles.xml  |   1 +
 portlet-tck_3.0/pom.xml                         |   1 +
 15 files changed, 401 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/0c02b82a/dist-build.xml
----------------------------------------------------------------------
diff --git a/dist-build.xml b/dist-build.xml
index 5bf25c6..bdc3472 100644
--- a/dist-build.xml
+++ b/dist-build.xml
@@ -169,7 +169,7 @@
 
 	<target name="run-maven-include-demos" if="includeDemos" description="Runs the install
goal and includes the demos in pluto-portal-driver-config.xml">
 		<exec executable="mvn" vmlauncher="false" dir="${basedir}" failonerror="true">
-			<arg line="install -DincludeDemosBegin= -DincludeDemosEnd="/>
+			<arg line="install -DskipTests=true -DincludeDemosBegin= -DincludeDemosEnd="/>
 		</exec>
 	</target>
 

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/0c02b82a/portlet-tck_3.0/README.txt
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/README.txt b/portlet-tck_3.0/README.txt
index baaf755..a89a9c3 100644
--- a/portlet-tck_3.0/README.txt
+++ b/portlet-tck_3.0/README.txt
@@ -8,7 +8,7 @@ Overview:
 =========
 
 The TCK contains portlets and a test driver that are used to perform the
-compatibility test. The portlets contain the code that actually excercises the
+compatibility test. The portlets contain the code that actually exercises the
 portlet API. The driver uses Selenium 2 driven by Junit to access the system
 under test through a browser.
 
@@ -111,7 +111,7 @@ Deploying TCK artifacts:
 
 Deploy the portlet war files contained in the deploy/target/deploy-files
 directory on your system under test. Use the page file which has the default
-name of deploy/target/deploy-files/pluto-portlet-driver-config.xml to create
+name of deploy/target/deploy-files/pluto-portal-driver-config.xml to create
 pages for your system. If you are testing with Apache Pluto, you can simply copy
 this file into the Pluto webapps/pluto/WEB-INF directory in order to set up the
 pages. The WAR files contain the test portlet code. Deploy these files on your 

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/0c02b82a/portlet-tck_3.0/V3PortletConfigTests/pom.xml
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V3PortletConfigTests/pom.xml b/portlet-tck_3.0/V3PortletConfigTests/pom.xml
new file mode 100644
index 0000000..85a02db
--- /dev/null
+++ b/portlet-tck_3.0/V3PortletConfigTests/pom.xml
@@ -0,0 +1,136 @@
+<!--
+    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>portlet-tck</artifactId>
+      <version>3.0-SNAPSHOT</version>
+   </parent>
+
+   <artifactId>tck-V3PortletConfigTests</artifactId>
+   <packaging>war</packaging>
+
+   <dependencies>
+      <dependency>
+         <groupId>org.apache.portals.pluto</groupId>
+         <artifactId>portlet-api</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.apache.tomcat</groupId>
+         <artifactId>tomcat-servlet-api</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>javax.portlet</groupId>
+         <artifactId>tck-common</artifactId>
+         <version>${project.version}</version>
+         <scope>compile</scope>
+      </dependency>
+
+      <!-- for tooling purposes -->
+      <dependency>
+         <groupId>org.apache.tomcat</groupId>
+         <artifactId>tomcat-jsp-api</artifactId>
+         <scope>provided</scope>
+      </dependency>
+      <dependency>
+         <groupId>org.apache.tomcat</groupId>
+         <artifactId>tomcat-el-api</artifactId>
+         <scope>provided</scope>
+      </dependency>
+      <dependency>
+         <groupId>org.apache.taglibs</groupId>
+         <artifactId>taglibs-standard-spec</artifactId>
+         <scope>provided</scope>
+      </dependency>
+      <dependency>
+         <groupId>org.apache.taglibs</groupId>
+         <artifactId>taglibs-standard-impl</artifactId>
+         <scope>provided</scope>
+      </dependency>
+      <dependency>
+         <groupId>org.apache.taglibs</groupId>
+         <artifactId>taglibs-standard-jstlel</artifactId>
+         <scope>provided</scope>
+      </dependency>
+      <dependency>
+         <groupId>org.apache.portals.pluto</groupId>
+         <artifactId>pluto-taglib</artifactId>
+         <scope>provided</scope>
+      </dependency>
+   </dependencies>
+
+   <properties>
+      <!-- This module defines all test cases in a file (TCs are not generated from the
portlet.xml) -->
+      <additional.testcases.only>true</additional.testcases.only>
+
+      <!-- This module places the portlets on the page through a file. (Page is not generated
from the portlet.xml) -->
+      <additional.pagefile.only>true</additional.pagefile.only>
+   </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>
+         
+         <!-- copy page & test case files, renaming properly -->
+         <plugin>
+            <groupId>com.coderplus.maven.plugins</groupId>
+            <artifactId>copy-rename-maven-plugin</artifactId>
+         </plugin>
+      </plugins>
+   </build>
+
+
+   <profiles>
+      <profile>
+         <id>pluto</id>
+
+         <dependencies>
+            <dependency>
+               <groupId>org.apache.taglibs</groupId>
+               <artifactId>taglibs-standard-spec</artifactId>
+               <scope>compile</scope>
+            </dependency>
+            <dependency>
+               <groupId>org.apache.taglibs</groupId>
+               <artifactId>taglibs-standard-impl</artifactId>
+               <scope>compile</scope>
+            </dependency>
+            <dependency>
+               <groupId>org.apache.taglibs</groupId>
+               <artifactId>taglibs-standard-jstlel</artifactId>
+               <scope>compile</scope>
+            </dependency>
+         </dependencies>
+        
+      </profile>
+   </profiles>
+
+</project>

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/0c02b82a/portlet-tck_3.0/V3PortletConfigTests/src/main/docs/ModuleAssertions.csv
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V3PortletConfigTests/src/main/docs/ModuleAssertions.csv b/portlet-tck_3.0/V3PortletConfigTests/src/main/docs/ModuleAssertions.csv
new file mode 100644
index 0000000..e4a1997
--- /dev/null
+++ b/portlet-tck_3.0/V3PortletConfigTests/src/main/docs/ModuleAssertions.csv
@@ -0,0 +1,8 @@
+PARMS genManual=true tcDetailsClassName=ModuleTestCaseDetails singlePage=true
+Class / Section;Keywords;Name;Testable;Description
+PortletContextTests;;;;
+SPEC3_8;Context;getClassLoader;TRUE;The PortletContext.getClassLoader method returns the
class loader for this portlet application.
+SPEC3_8;Context;getContextPath;TRUE;The PortletContext.getContextPath method returns the
context path for this portlet application.
+SPEC3_8;Context;getEffectiveMinorVersion;TRUE;The PortletContext.getEffectiveMinorVersion
method returns the minor version of the Portlet API used by the portlet application running
in this PortletContext. 
+SPEC3_8;Context;getEffectiveMajorVersion;TRUE;The PortletContext.getEffectiveMajorVersion
method returns the major version of the Portlet API used by the portlet application running
in this PortletContext. 
+

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/0c02b82a/portlet-tck_3.0/V3PortletConfigTests/src/main/java/javax/portlet/tck/portlets/PortletConfigTests_Config.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V3PortletConfigTests/src/main/java/javax/portlet/tck/portlets/PortletConfigTests_Config.java
b/portlet-tck_3.0/V3PortletConfigTests/src/main/java/javax/portlet/tck/portlets/PortletConfigTests_Config.java
new file mode 100644
index 0000000..c500500
--- /dev/null
+++ b/portlet-tck_3.0/V3PortletConfigTests/src/main/java/javax/portlet/tck/portlets/PortletConfigTests_Config.java
@@ -0,0 +1,114 @@
+/*  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 javax.inject.Inject;
+import javax.portlet.ActionRequest;
+import javax.portlet.ActionResponse;
+import javax.portlet.PortletConfig;
+import javax.portlet.PortletException;
+import javax.portlet.PortletMode;
+import javax.portlet.RenderRequest;
+import javax.portlet.RenderResponse;
+import javax.portlet.ResourceRequest;
+import javax.portlet.ResourceResponse;
+import javax.portlet.annotations.PortletConfiguration;
+import javax.portlet.annotations.RenderMethod;
+import javax.portlet.annotations.Supports;
+import javax.portlet.tck.beans.TestResult;
+import javax.portlet.tck.util.ModuleTestCaseDetails;
+import java.io.IOException;
+import java.io.PrintWriter;
+import java.util.Collections;
+import java.util.Enumeration;
+import java.util.List;
+
+import static javax.portlet.tck.constants.Constants.THREADID_ATTR;
+import static javax.portlet.tck.util.ModuleTestCaseDetails.V3PORTLETCONFIGTESTS_CONFIG_GETPORTLETMODES;
+
+/**
+ * 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
+ * PortletContextTests_Context_event
+ * 
+ */
+@PortletConfiguration(portletName = "PortletConfigTests_Config",
+        supports = {
+         @Supports(mimeType = "text/html", portletModes = {"view" , "help", "edit"}),
+         @Supports(mimeType = "text/xml", portletModes = {"view", "help"})
+        }
+   )
+public class PortletConfigTests_Config {
+
+
+   @Inject
+   PortletConfig portletConfig;
+
+   public void processAction(ActionRequest portletReq, ActionResponse portletResp) throws
PortletException, IOException {
+   }
+
+   public void serveResource(ResourceRequest portletReq, ResourceResponse portletResp) throws
PortletException, IOException {
+   }
+
+   @RenderMethod(portletNames = "PortletConfigTests_Config")
+   public void render(RenderRequest portletReq, RenderResponse portletResp) throws PortletException,
IOException {
+
+      long tid = Thread.currentThread().getId();
+      portletReq.setAttribute(THREADID_ATTR, tid);
+
+      PrintWriter writer = portletResp.getWriter();
+
+      ModuleTestCaseDetails tcd = new ModuleTestCaseDetails();
+
+      /* TestCase: PortletConfigTests_Config_getPortletModes */
+      /* Details: "The PortletConfig.getPortletModes method returns the */
+      /* supported portlet modes for the given mime type." */
+      {
+         TestResult result = tcd.getTestResultSucceeded(V3PORTLETCONFIGTESTS_CONFIG_GETPORTLETMODES);
+         Enumeration<PortletMode> portletModes = portletConfig.getPortletModes("text/html");
+         if (portletModes == null) {
+            result.setTcSuccess(false);
+            result.appendTcDetail("Portlet Mode list was null.");
+         }
+         List<PortletMode> modes = Collections.list(portletModes);
+         StringBuilder sb = new StringBuilder();
+         for (PortletMode mode : modes)
+         {
+            sb.append(mode);
+            sb.append(",");
+         }
+         result.appendTcDetail(sb.toString());
+         if (modes.size() != 3) {
+            result.setTcSuccess(false);
+            result.appendTcDetail("Portlet Mode list was not correct size: " + modes.size());
+         }
+         if (!modes.contains(PortletMode.EDIT) || !modes.contains(PortletMode.VIEW) || !modes.contains(PortletMode.HELP))
{
+            result.setTcSuccess(false);
+            result.appendTcDetail("Portlet Mode list did not contain expected modes");
+         }
+         result.writeTo(writer);
+      }
+
+   }
+
+}

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/0c02b82a/portlet-tck_3.0/V3PortletConfigTests/src/main/java/javax/portlet/tck/util/ModuleTestCaseDetails.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V3PortletConfigTests/src/main/java/javax/portlet/tck/util/ModuleTestCaseDetails.java
b/portlet-tck_3.0/V3PortletConfigTests/src/main/java/javax/portlet/tck/util/ModuleTestCaseDetails.java
new file mode 100644
index 0000000..718aebd
--- /dev/null
+++ b/portlet-tck_3.0/V3PortletConfigTests/src/main/java/javax/portlet/tck/util/ModuleTestCaseDetails.java
@@ -0,0 +1,60 @@
+/*  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.util;
+
+import javax.portlet.tck.beans.TestCaseDetails;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Defines constants for the test case names and test case details 
+ * for the JSR 286 API compatibility tests.
+ * 
+ * Note that the backing map is static and not threadsafe. Operations
+ * that change the map such as put, remove, etc., should not be used
+ * in portlets.
+ * 
+ * @author nick
+ */
+public class ModuleTestCaseDetails extends TestCaseDetails {
+
+   public final static String V3PORTLETCONFIGTESTS_CONFIG_GETPORTLETMODES = "V3PortletContextTests_Context_getPortletModes";
+
+   
+   private final static Map<String, String> tcd = new HashMap<String, String>();
+   static {
+
+      tcd.put(V3PORTLETCONFIGTESTS_CONFIG_GETPORTLETMODES, "The PortletConfig.getPortletModes
method returns the a list of supported portlet modes for this portlet for a given mimetype.");
+
+   }
+
+   /**
+    * Constructor.
+    * 
+    * Passes the static test case names - details map to the superclass
+    * 
+    * Note that the backing map is static and not threadsafe. Operations
+    * that change the map such as put, remove, etc., should not be used
+    * in portlets.
+    */
+   public ModuleTestCaseDetails() {
+     super(tcd); 
+   }
+
+}

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/0c02b82a/portlet-tck_3.0/V3PortletConfigTests/src/main/resources/logging.properties
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V3PortletConfigTests/src/main/resources/logging.properties b/portlet-tck_3.0/V3PortletConfigTests/src/main/resources/logging.properties
new file mode 100644
index 0000000..4ef0056
--- /dev/null
+++ b/portlet-tck_3.0/V3PortletConfigTests/src/main/resources/logging.properties
@@ -0,0 +1,13 @@
+############################################################
+# Define logging for this webapp (Tomcat)
+############################################################
+handlers = org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
+
+org.apache.juli.FileHandler.level = FINEST
+org.apache.juli.FileHandler.directory = ${catalina.base}/logs
+org.apache.juli.FileHandler.prefix = javax.portlet-tck.V2SigTests.
+
+java.util.logging.ConsoleHandler.level = FINEST
+java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
+
+javax.portlet.tck.level = FINE

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/0c02b82a/portlet-tck_3.0/V3PortletConfigTests/src/main/resources/xml-resources/additionalPages.xml
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V3PortletConfigTests/src/main/resources/xml-resources/additionalPages.xml
b/portlet-tck_3.0/V3PortletConfigTests/src/main/resources/xml-resources/additionalPages.xml
new file mode 100644
index 0000000..f57b4d2
--- /dev/null
+++ b/portlet-tck_3.0/V3PortletConfigTests/src/main/resources/xml-resources/additionalPages.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?><pluto-portal-driver xmlns="http://portals.apache.org/pluto/xsd/pluto-portal-driver-config.xsd"
xmlns:pa="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://portals.apache.org/pluto/xsd/pluto-portal-driver-config.xsd   
                     http://portals.apache.org/pluto/pluto-portal/1.1/pluto-portal-driver-config.xsd"
version="1.1">
+<portal-name>pluto-portal-driver</portal-name>
+<portal-version>2.1.0-SNAPSHOT</portal-version>
+<container-name>Pluto Portal Driver</container-name>
+<supports>
+<portlet-mode>view</portlet-mode>
+<portlet-mode>edit</portlet-mode>
+<portlet-mode>help</portlet-mode>
+<portlet-mode>config</portlet-mode>
+<window-state>normal</window-state>
+<window-state>maximized</window-state>
+<window-state>minimized</window-state>
+</supports>
+<render-config default="About Apache Pluto">
+<page xmlns="" name="V3PortletConfigTests" uri="/WEB-INF/themes/pluto-default-theme.jsp">
+<portlet context="/tck-V3PortletConfigTests-3.0-SNAPSHOT" name="PortletConfigTests_Config"/>
+</page>
+</render-config>
+</pluto-portal-driver>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/0c02b82a/portlet-tck_3.0/V3PortletConfigTests/src/main/resources/xml-resources/additionalTCs.xml
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V3PortletConfigTests/src/main/resources/xml-resources/additionalTCs.xml
b/portlet-tck_3.0/V3PortletConfigTests/src/main/resources/xml-resources/additionalTCs.xml
new file mode 100644
index 0000000..1863703
--- /dev/null
+++ b/portlet-tck_3.0/V3PortletConfigTests/src/main/resources/xml-resources/additionalTCs.xml
@@ -0,0 +1,24 @@
+<?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.     
+-->
+<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
+<properties>
+<!-- JSR 286 API PortletConfigTests test case names and page mappings -->
+<entry key="V3PortletConfigTests_Config_getPortletModes">V3PortletConfigTests</entry>
+</properties>

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/0c02b82a/portlet-tck_3.0/V3PortletConfigTests/src/main/webapp/WEB-INF/beans.xml
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V3PortletConfigTests/src/main/webapp/WEB-INF/beans.xml b/portlet-tck_3.0/V3PortletConfigTests/src/main/webapp/WEB-INF/beans.xml
new file mode 100644
index 0000000..7e0ddef
--- /dev/null
+++ b/portlet-tck_3.0/V3PortletConfigTests/src/main/webapp/WEB-INF/beans.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://xmlns.jcp.org/xml/ns/javaee"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/beans_1_1.xsd"
+       version="1.1" bean-discovery-mode="all">
+   
+</beans>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/0c02b82a/portlet-tck_3.0/deploy/pom.xml
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/deploy/pom.xml b/portlet-tck_3.0/deploy/pom.xml
index 6ef756e..a4f9f7a 100644
--- a/portlet-tck_3.0/deploy/pom.xml
+++ b/portlet-tck_3.0/deploy/pom.xml
@@ -292,6 +292,12 @@
          <version>${project.version}</version>
          <type>war</type>
       </dependency>
+        <dependency>
+            <groupId>${project.groupId}</groupId>
+            <artifactId>tck-V3PortletConfigTests</artifactId>
+            <version>${project.version}</version>
+            <type>war</type>
+        </dependency>
 
       <dependency>
          <groupId>${project.groupId}</groupId>

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/0c02b82a/portlet-tck_3.0/driver/pom.xml
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/driver/pom.xml b/portlet-tck_3.0/driver/pom.xml
index b36acc2..5c2ee16 100644
--- a/portlet-tck_3.0/driver/pom.xml
+++ b/portlet-tck_3.0/driver/pom.xml
@@ -318,6 +318,12 @@
          <version>${project.version}</version>
          <type>war</type>
       </dependency>
+      <dependency>
+         <groupId>${project.groupId}</groupId>
+         <artifactId>tck-V3PortletConfigTests</artifactId>
+         <version>${project.version}</version>
+         <type>war</type>
+      </dependency>
    </dependencies>
 
    <properties>
@@ -394,7 +400,8 @@
                         tck-V2DispatcherTests6,
                         tck-V2DispatcherTests3S,
                         
-                        tck-V3PortletContextTests
+                        tck-V3PortletContextTests,
+                        tck-V3PortletConfigTests
                      </includeArtifactIds>
                      <includes>${test.file.dir}/*.xml</includes>
                      <outputDirectory>${project.build.directory}</outputDirectory>

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/0c02b82a/portlet-tck_3.0/driver/src/main/resources/xml-resources/pageFiles.xml
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/driver/src/main/resources/xml-resources/pageFiles.xml b/portlet-tck_3.0/driver/src/main/resources/xml-resources/pageFiles.xml
index 9730b7c..5cb910f 100644
--- a/portlet-tck_3.0/driver/src/main/resources/xml-resources/pageFiles.xml
+++ b/portlet-tck_3.0/driver/src/main/resources/xml-resources/pageFiles.xml
@@ -63,4 +63,5 @@
    <fl:file>tck-V2SigTestsURL-pages.xml</fl:file>
    <fl:file>tck-V2SigTestsWrapper-pages.xml</fl:file>
    <fl:file>tck-V3PortletContextTests-pages.xml</fl:file>
+   <fl:file>tck-V3PortletConfigTests-pages.xml</fl:file>
 </fl:filelist>

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/0c02b82a/portlet-tck_3.0/driver/src/main/resources/xml-resources/testFiles.xml
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/driver/src/main/resources/xml-resources/testFiles.xml b/portlet-tck_3.0/driver/src/main/resources/xml-resources/testFiles.xml
index 37ac5b0..9a3fede 100644
--- a/portlet-tck_3.0/driver/src/main/resources/xml-resources/testFiles.xml
+++ b/portlet-tck_3.0/driver/src/main/resources/xml-resources/testFiles.xml
@@ -63,4 +63,5 @@
    <fl:file>tck-V2SigTestsURL-tests.xml</fl:file>
    <fl:file>tck-V2SigTestsWrapper-tests.xml</fl:file>
    <fl:file>tck-V3PortletContextTests-tests.xml</fl:file>
+   <fl:file>tck-V3PortletConfigTests-tests.xml</fl:file>
 </fl:filelist>

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/0c02b82a/portlet-tck_3.0/pom.xml
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/pom.xml b/portlet-tck_3.0/pom.xml
index 7bc9d8b..d4aeaa8 100644
--- a/portlet-tck_3.0/pom.xml
+++ b/portlet-tck_3.0/pom.xml
@@ -168,6 +168,7 @@
       <module>V2SigTestsURL</module>
       <module>V2SigTestsWrapper</module>
       <module>V3PortletContextTests</module>
+      <module>V3PortletConfigTests</module>
       <module>deploy</module>
       <module>driver</module>
    </modules>


Mime
View raw message