Author: ppitonak(a)redhat.com
Date: 2009-12-16 09:23:05 -0500 (Wed, 16 Dec 2009)
New Revision: 16149
Added:
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/images/rf7975/
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/images/rf7975/getflash.png
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/pages/rf7975.xhtml
Removed:
branches/community/3.3.X/test-applications/regression-test/src/test/java/org/
Modified:
branches/community/3.3.X/test-applications/regression-test/pom.xml
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/pages/index.xhtml
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/pages/rf7994.xhtml
Log:
https://jira.jboss.org/jira/browse/RFPL-302
* pom refactored
* added a test case for file upload (RF-7975)
Modified: branches/community/3.3.X/test-applications/regression-test/pom.xml
===================================================================
--- branches/community/3.3.X/test-applications/regression-test/pom.xml 2009-12-16 13:51:42
UTC (rev 16148)
+++ branches/community/3.3.X/test-applications/regression-test/pom.xml 2009-12-16 14:23:05
UTC (rev 16149)
@@ -48,9 +48,20 @@
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-ui</artifactId>
- <version>3.3.2.SR1</version>
+ <version>3.3.3-SNAPSHOT</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>richfaces-impl</artifactId>
+ <groupId>org.richfaces.framework</groupId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
+ <groupId>org.richfaces.framework</groupId>
+ <artifactId>richfaces-impl</artifactId>
+ <version>3.3.3-SNAPSHOT</version>
+ </dependency>
+ <dependency>
<groupId>com.sun.facelets</groupId>
<artifactId>jsf-facelets</artifactId>
<version>1.1.15.B1</version>
Added:
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/images/rf7975/getflash.png
===================================================================
(Binary files differ)
Property changes on:
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/images/rf7975/getflash.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified:
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/pages/index.xhtml
===================================================================
---
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/pages/index.xhtml 2009-12-16
13:51:42 UTC (rev 16148)
+++
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/pages/index.xhtml 2009-12-16
14:23:05 UTC (rev 16149)
@@ -17,6 +17,10 @@
<h:form>
<table>
<tr>
+ <td style="width: 150px;"><a id="rf7975-tc"
href="/regression-test/pages/rf7975.jsf">File Upload</a></td>
+ <td><a id="rf7975-jira"
href="https://jira.jboss.org/jira/browse/RF-7975">https://ji...
+ </tr>
+ <tr>
<td style="width: 150px;"><a id="rf7994-tc"
href="/regression-test/pages/rf7994.jsf">Menu Item</a></td>
<td><a id="rf7994-jira"
href="https://jira.jboss.org/jira/browse/RF-7994">https://ji...
</tr>
Added:
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/pages/rf7975.xhtml
===================================================================
---
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/pages/rf7975.xhtml
(rev 0)
+++
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/pages/rf7975.xhtml 2009-12-16
14:23:05 UTC (rev 16149)
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:a4j="http://richfaces.org/a4j">
+
+<body>
+<ui:composition template="/templates/template.xhtml">
+
+ <ui:define name="title">Menu Item - RF-7975</ui:define>
+
+ <ui:define name="body">
+ <h1>Menu Item</h1>
+ <h3><a
href="https://jira.jboss.org/jira/browse/RF-7975">https://ji...
+
+ <h:form>
+ <a id="back1"
href="#{facesContext.externalContext.requestContextPath}">Back to main
page</a>
+ <h:panelGrid columns="3" class="bug-table">
+ <h:outputText value="Component"/>
+ <h:outputText value="WRONG" style="color: red;"/>
+ <h:outputText value="Description"/>
+
+ <rich:fileUpload allowFlash="true" maxFilesQuantity="3"/>
+ <h:graphicImage value="/images/rf7975/getflash.png"/>
+ <h:panelGroup>
+ <ol>
+ <li>Verify that there is no "Get Adobe Flash player" image (ensure
flash works in your browser).</li>
+ <li>verify that it is possible to choose one file.</li>
+ <li>Verify that it is possible to choose three files.</li>
+ </ol>
+ </h:panelGroup>
+
+
+ </h:panelGrid>
+ <a id="back2"
href="#{facesContext.externalContext.requestContextPath}">Back to main
page</a>
+ </h:form>
+
+ </ui:define>
+
+</ui:composition>
+</body>
+</html>
Property changes on:
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/pages/rf7975.xhtml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/pages/rf7994.xhtml
===================================================================
---
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/pages/rf7994.xhtml 2009-12-16
13:51:42 UTC (rev 16148)
+++
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/pages/rf7994.xhtml 2009-12-16
14:23:05 UTC (rev 16149)
@@ -16,7 +16,7 @@
<h3><a
href="https://jira.jboss.org/jira/browse/RF-7994">https://ji...
<h:form>
- <h:commandLink id="back1" action="index" value="Back to
main page"/>
+ <a id="back1"
href="#{facesContext.externalContext.requestContextPath}">Back to main
page</a>
<h:panelGrid columns="3" class="bug-table">
<h:outputText value="Component"/>
<h:outputText value="WRONG" style="color: red;"/>
@@ -85,7 +85,7 @@
</h:panelGroup>
</h:panelGrid>
- <h:commandLink id="back2" action="index" value="Back to
main page"/>
+ <a id="back2"
href="#{facesContext.externalContext.requestContextPath}">Back to main
page</a>
</h:form>
</ui:define>