JBoss Rich Faces SVN: r12120 - trunk/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2009-01-05 13:54:38 -0500 (Mon, 05 Jan 2009)
New Revision: 12120
Modified:
trunk/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/SeleniumTestBase.java
Log:
findFirefox() method added
Modified: trunk/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/SeleniumTestBase.java
===================================================================
--- trunk/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/SeleniumTestBase.java 2009-01-05 18:40:58 UTC (rev 12119)
+++ trunk/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/SeleniumTestBase.java 2009-01-05 18:54:38 UTC (rev 12120)
@@ -2,6 +2,9 @@
+import java.io.File;
+import java.io.FileFilter;
+
import org.ajax4jsf.javascript.JSFunction;
import org.ajax4jsf.javascript.ScriptUtils;
import org.openqa.selenium.server.RemoteControlConfiguration;
@@ -90,7 +93,14 @@
@BeforeClass
@Parameters({"browser", "filterPrefix"})
public void startSelenium(String browser, String filterPrefix) {
- synchronized (MUTEX) {
+ if (browser.equals("*firefox")) {
+ String firefox = findFirefox();
+ if (firefox != null) {
+ browser = firefox;
+ }
+ }
+
+ synchronized (MUTEX) {
this.filterPrefix = filterPrefix;
selenium = createSeleniumClient(protocol + "://" + host + ":" + port + "/", browser);
selenium.start();
@@ -98,7 +108,42 @@
}
}
- /**
+ private String findFirefox() {
+ String browser = null;
+ File[] libs = {new File("/usr/lib"), new File("/usr/lib64")};
+ for (int i = 0; browser == null && i < libs.length; i++) {
+ File lib = libs[i];
+ if (lib.isDirectory()) {
+ System.out.println("---->lib#" + i + ": " + lib.getPath());
+ File[] firefoxDirs = lib.listFiles(new FileFilter() {
+ public boolean accept(File pathname) {
+ return pathname != null&& pathname.getName().startsWith("firefox")
+ && pathname.isDirectory();
+ }
+ });
+ for (int j = firefoxDirs.length - 1; browser == null && j >= 0; j--) {
+ System.out.println("------>firefoxDir#" + j + ": " + firefoxDirs[j].getPath());
+ File[] firefoxes = firefoxDirs[j].listFiles(new FileFilter() {
+ public boolean accept(File pathname) {
+ boolean result = false;
+ if (pathname != null && pathname.isFile()) {
+ String name = pathname.getName();
+ result = "firefox".equals(name) || "firefox-bin".equals(name);
+ }
+ return result;
+ }
+ });
+ for (int k = firefoxes.length - 1; browser == null && k >= 0; k--) {
+ System.out.println("-------->firefox#" + k + ": " + firefoxes[k].getPath());
+ browser = "*firefox " + firefoxes[k].getPath();
+ }
+ }
+ }
+ }
+ return browser;
+ }
+
+ /**
* This method are invoked after selenium tests completed
*/
@AfterClass(alwaysRun=true)
15 years, 3 months
JBoss Rich Faces SVN: r12119 - trunk/test-applications/regressionArea/regressionArea-ear.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2009-01-05 13:40:58 -0500 (Mon, 05 Jan 2009)
New Revision: 12119
Modified:
trunk/test-applications/regressionArea/regressionArea-ear/pom.xml
Log:
Hudson profile added
Modified: trunk/test-applications/regressionArea/regressionArea-ear/pom.xml
===================================================================
--- trunk/test-applications/regressionArea/regressionArea-ear/pom.xml 2009-01-05 18:35:29 UTC (rev 12118)
+++ trunk/test-applications/regressionArea/regressionArea-ear/pom.xml 2009-01-05 18:40:58 UTC (rev 12119)
@@ -169,7 +169,7 @@
<append>false</append>
<zipUrlInstaller>
- <url>file:Y:\Distribs\jboss-4.2.3.GA.zip</url>
+ <url>${jboss.installer.url}</url>
<installDir>
${project.basedir}/target/installs
</installDir>
@@ -200,5 +200,15 @@
<properties>
<jbosshome>${project.basedir}/target/installs/jboss-4.2.3.GA/jboss-4.2.3.GA</jbosshome>
+ <jboss.installer.url>file:Y:\Distribs\jboss-4.2.3.GA.zip</jboss.installer.url>
</properties>
+
+ <profiles>
+ <profile>
+ <id>hudson</id>
+ <properties>
+ <jboss.installer.url>http://internap.dl.sourceforge.net/sourceforge/jboss/jboss-4.2.3.GA.zip</jboss.installer.url>
+ </properties>
+ </profile>
+ </profiles>
</project>
15 years, 4 months
JBoss Rich Faces SVN: r12118 - in trunk/test-applications/seleniumTest/richfaces/src: test/java/org/richfaces/testng and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2009-01-05 13:35:29 -0500 (Mon, 05 Jan 2009)
New Revision: 12118
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/calendar/layoutTests.xhtml
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java
Log:
cell height/width attributes test fixed
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/calendar/layoutTests.xhtml
===================================================================
(Binary files differ)
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java 2009-01-05 18:26:11 UTC (rev 12117)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java 2009-01-05 18:35:29 UTC (rev 12118)
@@ -1624,8 +1624,10 @@
@Test
public void testInputSizeAttribute(Template template) {
renderPage(LAYOUT_TESTS_URL, template, null);
- initIds(getParentId());
+ inputDateId = getParentId() + "form:calendarInputDate";
+ showPopupId = getParentId() + "form:showPopup";
+
writeStatus("Check 'inputSize' attribute");
check(showPopupId, true);
@@ -1636,10 +1638,17 @@
@Test
public void testCellWidthAndCellHeightAttributes(Template template) {
renderPage(LAYOUT_TESTS_URL, template, null);
- initIds(getParentId());
+ //In IE 6 the class selector doesn’t work if the class name starts with an underscore or a hyphen
+ //I was reluctant to rename form name
+ calendarId = getParentId() + "form:calendar";
+ showPopupId = getParentId() + "form:showPopup";
+ popupButtonId = calendarId + "PopupButton";
+ String dayCell5 = calendarId + "DayCell5";
+
int expectedCellWidth = 31;
int expectedCellHeight = 33;
+ int precision = 1;
writeStatus("Check 'cellWidth' and 'cellHeight' attributes.");
@@ -1647,15 +1656,22 @@
check(showPopupId, false);
writeStatus("Check size of arbitrary cell. Width must be 31px, height must be 33px");
- Assert.assertEquals(selenium.getElementHeight(calendarId + "DayCell5").intValue(), expectedCellHeight);
- Assert.assertEquals(selenium.getElementWidth(calendarId + "DayCell5").intValue(), expectedCellWidth);
+ int height = selenium.getElementHeight(dayCell5).intValue();
+ int width = selenium.getElementWidth(dayCell5).intValue();
+
+ Assert.assertTrue((Math.abs(height - expectedCellHeight) <= precision), height + "==" + expectedCellHeight);
+ Assert.assertTrue((Math.abs(width - expectedCellWidth) <= precision), width + "==" + expectedCellWidth);
+
writeStatus("Check the same for popup mode");
check(showPopupId, true);
showPopup();
- Assert.assertEquals(selenium.getElementHeight(calendarId + "DayCell5").intValue(), expectedCellHeight);
- Assert.assertEquals(selenium.getElementWidth(calendarId + "DayCell5").intValue(), expectedCellWidth);
+ height = selenium.getElementHeight(dayCell5).intValue();
+ width = selenium.getElementWidth(dayCell5).intValue();
+
+ Assert.assertTrue((Math.abs(height - expectedCellHeight) <= precision), height + "==" + expectedCellHeight);
+ Assert.assertTrue((Math.abs(width - expectedCellWidth) <= precision), width + "==" + expectedCellWidth);
}
@Test
@@ -1841,6 +1857,12 @@
clickById(popupButtonId);
}
+ private void showPopupAndWait() {
+ writeStatus("Show popup");
+ clickById(popupButtonId);
+ waiteForCondition("$('" + calendarId + "').style.display != 'none'", 1000);
+ }
+
/**
* Test an icon.
*
15 years, 4 months
JBoss Rich Faces SVN: r12117 - trunk/ui/core/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2009-01-05 13:26:11 -0500 (Mon, 05 Jan 2009)
New Revision: 12117
Modified:
trunk/ui/core/src/main/config/component/queue.xml
Log:
RF-4664 - descriptions for attributes have been added
Modified: trunk/ui/core/src/main/config/component/queue.xml
===================================================================
--- trunk/ui/core/src/main/config/component/queue.xml 2009-01-05 18:23:59 UTC (rev 12116)
+++ trunk/ui/core/src/main/config/component/queue.xml 2009-01-05 18:26:11 UTC (rev 12117)
@@ -96,15 +96,18 @@
<property>
<name>onrequestqueue</name>
<classname>java.lang.String</classname>
+ <description>JavaScript code for call after the request has got into the queue</description>
</property>
<property>
<name>onrequestdequeue</name>
<classname>java.lang.String</classname>
+ <description>JavaScript code for call after the request has removed from the queue</description>
</property>
<property>
<name>status</name>
<classname>java.lang.String</classname>
+ <description>ID (in format of call UIComponent.findComponent()) of Request status component</description>
</property>
<property hidden="true">
15 years, 4 months
JBoss Rich Faces SVN: r12116 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2009-01-05 13:23:59 -0500 (Mon, 05 Jan 2009)
New Revision: 12116
Modified:
trunk/docs/userguide/en/src/main/docbook/included/queue.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/queue.xml
Log:
RF-4664 - information for the some sections has been updated
Modified: trunk/docs/userguide/en/src/main/docbook/included/queue.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/queue.desc.xml 2009-01-05 18:17:49 UTC (rev 12115)
+++ trunk/docs/userguide/en/src/main/docbook/included/queue.desc.xml 2009-01-05 18:23:59 UTC (rev 12116)
@@ -7,7 +7,8 @@
</keywordset>
</sectioninfo>
<title>Description</title>
- <para>The <emphasis role="bold"><property><a4j:queue></property></emphasis> component creates queues of requests of Ajax request that other Ajax4JSF or RichFaces components can reference and use.</para>
- <para>This component can manage server requests of the components, which referred to it, with help of its attributes.</para>
+ <para>The <emphasis role="bold"><property><a4j:queue></property></emphasis> component creates queues of requests of Ajax request.
+ With the help of this component other Ajax4JSF or RichFaces components can reference and use it.</para>
+ <para>By means of the attributes of this component you can manage server requests of the components, which refered to it.</para>
</section>
</chapter>
\ No newline at end of file
Modified: trunk/docs/userguide/en/src/main/docbook/included/queue.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/queue.xml 2009-01-05 18:17:49 UTC (rev 12115)
+++ trunk/docs/userguide/en/src/main/docbook/included/queue.xml 2009-01-05 18:23:59 UTC (rev 12116)
@@ -37,7 +37,9 @@
<section>
<title>Creating on a page</title>
- <para>In order to create the named queue, see following example.</para>
+ <para>There is possibility of the creation as a named queue so and a queue with the default name.
+ You can reference the named queue only from such components which have <emphasis><property>"eventsQueue"</property></emphasis> attribute.</para>
+ <para>So, the following example helps to create the named queue.</para>
<para>
<emphasis role="bold">Example:</emphasis>
</para>
@@ -46,16 +48,15 @@
<h:inputText value="#{myQueue.text}">
<a:support id="onblur" event="onblur" eventsQueue="myQueue"/>
</h:inputText>
-...
-<a4j:commandButton eventsQueue="myQueue" ... >]]></programlisting>
- <para>You can also create the queue with a default name. This queue is global for the all form. See the example below.</para>
+...>]]></programlisting>
+ <para>See the example of the creation the default queue below.</para>
<para>
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[<h:form>
- ...
+ ...
<a4j:queue/>
- ...
+ ...
</h:form>
]]></programlisting>
</section>
@@ -74,23 +75,23 @@
<section>
<title>Key attributes and ways of usage</title>
- <para>By means of the <emphasis role="bold"><property><a4j:queue></property></emphasis> component you can create several types of queues associated with it.</para>
+ <para>It's possible by means of the <emphasis role="bold"><property><a4j:queue></property></emphasis> component to create the several types of the queues.</para>
<itemizedlist>
<listitem>
<para>
- In order to create global queue for the all Can set a queue globally in "web.xml". You don't need set the queue on the page itself. The global queue can be used by all components. You can see the example below:
+ So that to create a global queue you should add the following code into your "web.xml" file. In this instance the queue can be used for the all pages and all components of these pages.
</para>
+ <para>
+ You can define only one global queue.
+ </para>
<programlisting role="XML"><![CDATA[<context-param>
<param-name>org.richfaces.queue.global.enabled</param-name>
<param-value>true</param-value>
</context-param>]]></programlisting>
<para>
- In order to enable/disable a global queue for concrete views see the following examples:
+ By default the global queue is disabled. In order to enable or disable the queue the value of the "<code>org.richfaces.global_queue</code>" parameter should be "true" or "false" accordingly.
</para>
<programlisting role="XML"><![CDATA[<a4j:queue name="org.richfaces.global_queue" disabled="false"... />]]></programlisting>
- <para>
- In order to disable the queue the<emphasis><property>"disabled"</property></emphasis> attribute should be "true".
- </para>
</listitem>
<listitem>
<para>
15 years, 4 months
JBoss Rich Faces SVN: r12115 - in trunk/test-applications/seleniumTest/richfaces/src/main: webapp/template and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2009-01-05 13:17:49 -0500 (Mon, 05 Jan 2009)
New Revision: 12115
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/template/TestConstants.java
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/template/autotest/dataTable.xhtml
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/template/dataTable.xhtml
Log:
removed underscores from template ids - ie6 does not understand css class name starting with an underscore or a hyphen
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/template/TestConstants.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/template/TestConstants.java 2009-01-05 18:11:01 UTC (rev 12114)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/template/TestConstants.java 2009-01-05 18:17:49 UTC (rev 12115)
@@ -23,8 +23,8 @@
public interface TestConstants {
/* Constants of component prefixes */
- public static final String COMPONENT_PREFIX_INSIDE_TABLE1 = "_Selenium_Test_DataTable:0:";
- public static final String COMPONENT_PREFIX_INSIDE_TABLE2 = "_Selenium_Test_DataTable:1:";
+ public static final String COMPONENT_PREFIX_INSIDE_TABLE1 = "Selenium_Test_DataTable:0:";
+ public static final String COMPONENT_PREFIX_INSIDE_TABLE2 = "Selenium_Test_DataTable:1:";
public static final String COMPONENT_PREFIX_SIMPLE = "";
/* Constants of template names */
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/template/autotest/dataTable.xhtml
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/webapp/template/autotest/dataTable.xhtml 2009-01-05 18:11:01 UTC (rev 12114)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/webapp/template/autotest/dataTable.xhtml 2009-01-05 18:17:49 UTC (rev 12115)
@@ -7,7 +7,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition template="../dataTable.xhtml">
<ui:define name="template">
- <rich:dataTable value="#{templateBean.dataTableModel}" id="_Selenium_Test_DataTable" rowKeyVar="row">
+ <rich:dataTable value="#{templateBean.dataTableModel}" id="Selenium_Test_DataTable" rowKeyVar="row">
<rich:column>
<f:facet name="header">
<h:outputText value="Data Table" />
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/template/dataTable.xhtml
===================================================================
(Binary files differ)
15 years, 4 months
JBoss Rich Faces SVN: r12114 - in trunk/ui/inplaceSelect/src/main: resources/org/richfaces/renderkit/html/scripts and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2009-01-05 13:11:01 -0500 (Mon, 05 Jan 2009)
New Revision: 12114
Modified:
trunk/ui/inplaceSelect/src/main/java/org/richfaces/renderkit/InplaceSelectBaseRenderer.java
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx
Log:
fix empty default label bug: widget have disappeared after changed state if no item is selected and defaultLabel == ""
Modified: trunk/ui/inplaceSelect/src/main/java/org/richfaces/renderkit/InplaceSelectBaseRenderer.java
===================================================================
--- trunk/ui/inplaceSelect/src/main/java/org/richfaces/renderkit/InplaceSelectBaseRenderer.java 2009-01-05 17:39:07 UTC (rev 12113)
+++ trunk/ui/inplaceSelect/src/main/java/org/richfaces/renderkit/InplaceSelectBaseRenderer.java 2009-01-05 18:11:01 UTC (rev 12114)
@@ -107,6 +107,35 @@
return parentList;
}
+ public String encodeScriptAttributes(FacesContext context, UIComponent component) {
+ StringBuilder attributes = new StringBuilder();
+ attributes.append("var attributes = ");
+
+ ScriptOptions options = new ScriptOptions(component);
+
+ String defaultLabel = (String)component.getAttributes().get("defaultLabel");
+
+ if (defaultLabel == null || defaultLabel.trim().equals("")) {
+ defaultLabel = EMPTY_DEFAULT_LABEL;
+ }
+
+ options.addOption("defaultLabel", defaultLabel);
+ options.addOption("showControls");
+ options.addOption("editEvent");
+ options.addOption("verticalPosition", component.getAttributes().get("controlsVerticalPosition"));
+ options.addOption("horizontalPosition", component.getAttributes().get("controlsHorizontalPosition"));
+ options.addOption("inputWidth",component.getAttributes().get("selectWidth") );
+ options.addOption("minInputWidth", component.getAttributes().get("minSelectWidth"));
+ options.addOption("maxInputWidth", component.getAttributes().get("maxSelectWidth") );
+ options.addOption("openOnEdit");
+ options.addOption("showValueInView");
+ options.addOption("closeOnSelect", true);
+
+ attributes.append(options.toScript());
+
+ return attributes.toString();
+ }
+
public void encodeControlsFacet(FacesContext context, UIComponent component) throws IOException {
UIComponent facet = component.getFacet(CONTROLS_FACET);
if ((facet != null) && (facet.isRendered())) {
@@ -159,7 +188,7 @@
protected String createDefaultLabel(UIComponent component) {
String defaultLabel = (String) component.getAttributes().get("defaultLabel");
- if (defaultLabel == null || defaultLabel.length() == 0) {
+ if (defaultLabel == null || defaultLabel.trim().equals("")) {
defaultLabel = EMPTY_DEFAULT_LABEL;
}
return defaultLabel;
Modified: trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
===================================================================
--- trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js 2009-01-05 17:39:07 UTC (rev 12113)
+++ trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js 2009-01-05 18:11:01 UTC (rev 12114)
@@ -185,7 +185,7 @@
var unescapedValue = this.currentItemValue;
// var params = {itemValue: unescapedValue,itemLabel: this.tempValueKeeper.value}
// var unescapeText = this.tempValueKeeper.value.unescapeHTML();
- this.setValue(e,unescapedValue);
+ this.setValue(unescapedValue);
}
},
Modified: trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx
===================================================================
--- trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx 2009-01-05 17:39:07 UTC (rev 12113)
+++ trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx 2009-01-05 18:11:01 UTC (rev 12114)
@@ -227,8 +227,8 @@
<script type="text/javascript">
-
-
+ #{this:encodeScriptAttributes(context, component)};
+
var inplaceSelectUserStyles = {
combolist: {
@@ -250,17 +250,7 @@
'#{clientId}inplaceTmpValue', '#{clientId}shadow', 0, 0, #{encodedFieldValue}),
'#{clientId}', '#{clientId}inplaceTmpValue',
'#{clientId}inplaceValue', '#{clientId}tabber',
- {defaultLabel : '#{component.attributes["defaultLabel"]}',
- showControls : #{component.attributes["showControls"]},
- editEvent : '#{component.attributes["editEvent"]}',
- verticalPosition : '#{component.attributes["controlsVerticalPosition"]}',
- horizontalPosition : '#{component.attributes["controlsHorizontalPosition"]}',
- inputWidth : '#{component.attributes["selectWidth"]}',
- minInputWidth : '#{component.attributes["minSelectWidth"]}',
- maxInputWidth : '#{component.attributes["maxSelectWidth"]}',
- openOnEdit: #{component.attributes["openOnEdit"]},
- showValueInView: #{component.attributes["showValueInView"]},
- closeOnSelect: true},
+ attributes,
{oneditactivation : #{this:getAsEventHandler(context, component, "oneditactivation")},
onviewactivation : #{this:getAsEventHandler(context, component, "onviewactivation")},
oneditactivated : #{this:getAsEventHandler(context, component, "oneditactivated")},
15 years, 4 months
JBoss Rich Faces SVN: r12113 - trunk/test-applications/seleniumTest/richfaces.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2009-01-05 12:39:07 -0500 (Mon, 05 Jan 2009)
New Revision: 12113
Modified:
trunk/test-applications/seleniumTest/richfaces/pom.xml
Log:
ReportNG added to Hudson configuration
Modified: trunk/test-applications/seleniumTest/richfaces/pom.xml
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/pom.xml 2009-01-05 17:38:17 UTC (rev 12112)
+++ trunk/test-applications/seleniumTest/richfaces/pom.xml 2009-01-05 17:39:07 UTC (rev 12113)
@@ -111,9 +111,13 @@
</suiteXmlFile>
</suiteXmlFiles>
<properties>
- <property>
- <name>listener</name>
- <value>org.richfaces.TestAnnotationTransformer</value>
+ <property>
+ <name>usedefaultlisteners</name>
+ <value>false</value> <!-- disabling default listeners is optional -->
+ </property>
+ <property>
+ <name>listener</name>
+ <value>org.richfaces.TestAnnotationTransformer,org.uncommons.reportng.JUnitXMLReporter</value>
</property>
</properties>
</configuration>
@@ -128,6 +132,29 @@
</plugin>
</plugins>
</build>
+ <dependencies>
+ <dependency>
+ <groupId>org.uncommons</groupId>
+ <artifactId>reportng</artifactId>
+ <version>0.9.8</version>
+
+ <exclusions>
+ <exclusion>
+ <groupId>org.testng</groupId>
+ <artifactId>testng</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.velocity</groupId>
+ <artifactId>velocity</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>velocity</groupId>
+ <artifactId>velocity</artifactId>
+ <version>1.4</version>
+ </dependency>
+ </dependencies>
</profile>
</profiles>
<repositories>
15 years, 4 months
JBoss Rich Faces SVN: r12112 - trunk/test-applications/seleniumTest.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2009-01-05 12:38:17 -0500 (Mon, 05 Jan 2009)
New Revision: 12112
Modified:
trunk/test-applications/seleniumTest/pom.xml
Log:
ReportNG repository added
Modified: trunk/test-applications/seleniumTest/pom.xml
===================================================================
--- trunk/test-applications/seleniumTest/pom.xml 2009-01-05 16:52:55 UTC (rev 12111)
+++ trunk/test-applications/seleniumTest/pom.xml 2009-01-05 17:38:17 UTC (rev 12112)
@@ -42,6 +42,10 @@
<enabled>false</enabled>
</releases>
</repository>
+ <repository>
+ <id>maven-2-repository.dev.java.net</id>
+ <url>http://download.java.net/maven/2</url>
+ </repository>
</repositories>
<build>
<plugins>
15 years, 4 months
JBoss Rich Faces SVN: r12111 - trunk/test-applications/realworld/web/src/main/webapp/WEB-INF.
by richfaces-svn-commits@lists.jboss.org
Author: amarkhel
Date: 2009-01-05 11:52:55 -0500 (Mon, 05 Jan 2009)
New Revision: 12111
Modified:
trunk/test-applications/realworld/web/src/main/webapp/WEB-INF/web.xml
Log:
Modified: trunk/test-applications/realworld/web/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/test-applications/realworld/web/src/main/webapp/WEB-INF/web.xml 2009-01-05 16:51:42 UTC (rev 12110)
+++ trunk/test-applications/realworld/web/src/main/webapp/WEB-INF/web.xml 2009-01-05 16:52:55 UTC (rev 12111)
@@ -106,6 +106,10 @@
<servlet-name>Picture Servlet</servlet-name>
<url-pattern>/picture/*</url-pattern>
</servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>Picture Servlet</servlet-name>
+ <url-pattern>/galleries/*</url-pattern>
+ </servlet-mapping>
<security-constraint>
<display-name>Restrict raw XHTML Documents</display-name>
15 years, 4 months