You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mf...@apache.org on 2010/05/19 22:02:04 UTC

svn commit: r946363 - in /myfaces/portlet-bridge/testsuite/trunk: client/lifecycle-portlet.xml client/pom.xml pom.xml

Author: mfreedman
Date: Wed May 19 20:02:04 2010
New Revision: 946363

URL: http://svn.apache.org/viewvc?rev=946363&view=rev
Log:
Fixed problems with generating the test.xml template/added/improved ability to configure browser the harness runs with.

Added:
    myfaces/portlet-bridge/testsuite/trunk/client/lifecycle-portlet.xml
Modified:
    myfaces/portlet-bridge/testsuite/trunk/client/pom.xml
    myfaces/portlet-bridge/testsuite/trunk/pom.xml

Added: myfaces/portlet-bridge/testsuite/trunk/client/lifecycle-portlet.xml
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/testsuite/trunk/client/lifecycle-portlet.xml?rev=946363&view=auto
==============================================================================
--- myfaces/portlet-bridge/testsuite/trunk/client/lifecycle-portlet.xml (added)
+++ myfaces/portlet-bridge/testsuite/trunk/client/lifecycle-portlet.xml Wed May 19 20:02:04 2010
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<portlet-app version="1.0"
+             xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+             xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
+
+    <portlet>
+        <portlet-name>chapter3Tests-lifecycleTest-portlet</portlet-name>
+        <portlet-class>org.apache.myfaces.portlet.faces.testsuite.common.portlet.GenericFacesTestSuitePortlet</portlet-class>
+
+        <init-param>
+          <name>javax.portlet.faces.defaultViewId.view</name>
+          <value>/tests/SingleRequestTest.jsp</value>
+        </init-param>
+
+        <expiration-cache>0</expiration-cache>
+
+       <supports>
+         <mime-type>text/html</mime-type>
+       </supports>
+        <portlet-info>
+                <title>chapter3Tests-lifecycleTest-portlet - LIFECYCLE IMPLEMENTATION CLASS SET</title>
+        </portlet-info>
+    </portlet>
+
+</portlet-app>

Modified: myfaces/portlet-bridge/testsuite/trunk/client/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/testsuite/trunk/client/pom.xml?rev=946363&r1=946362&r2=946363&view=diff
==============================================================================
--- myfaces/portlet-bridge/testsuite/trunk/client/pom.xml (original)
+++ myfaces/portlet-bridge/testsuite/trunk/client/pom.xml Wed May 19 20:02:04 2010
@@ -144,7 +144,10 @@
                     </parameter>
                     <parameter>
                       <name>portlet-def-1-xml</name>
-                      <value>${basedir}/../portlet-bridge-testsuite-section3-2-lifecycle-set/src/main/webapp/WEB-INF/portlet.xml</value>
+                      <!-- Using a relative path which points to the parent 
+                           directory leads to a bug during the transform, hence
+                           the local copy of the portlet definition file -->
+                      <value>lifecycle-portlet.xml</value>
                     </parameter>
                   </parameters>
                   <stylesheet>${bridge.tck.test.file.stylesheet}</stylesheet>

Modified: myfaces/portlet-bridge/testsuite/trunk/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/testsuite/trunk/pom.xml?rev=946363&r1=946362&r2=946363&view=diff
==============================================================================
--- myfaces/portlet-bridge/testsuite/trunk/pom.xml (original)
+++ myfaces/portlet-bridge/testsuite/trunk/pom.xml Wed May 19 20:02:04 2010
@@ -274,6 +274,10 @@
                 <name>bridge.tck.selenium.port</name>
                 <value>${bridge.tck.selenium.port}</value>
               </property>
+              <property>
+                <name>bridge.tck.browser</name>
+                <value>${bridge.tck.browser}</value>
+              </property>
             </systemProperties>
           </configuration>
         </plugin>