JBoss Rich Faces SVN: r20727 - in branches/4.0.0.M5/ui/misc/ui/src/main: config and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2010-12-21 12:00:47 -0500 (Tue, 21 Dec 2010)
New Revision: 20727
Added:
branches/4.0.0.M5/ui/misc/ui/src/main/config/
branches/4.0.0.M5/ui/misc/ui/src/main/config/faces-config.xml
Removed:
branches/4.0.0.M5/ui/misc/ui/src/main/config/faces-config.xml
Log:
RF-10065
Copied: branches/4.0.0.M5/ui/misc/ui/src/main/config (from rev 20726, trunk/ui/misc/ui/src/main/config)
Deleted: branches/4.0.0.M5/ui/misc/ui/src/main/config/faces-config.xml
===================================================================
--- trunk/ui/misc/ui/src/main/config/faces-config.xml 2010-12-21 16:40:06 UTC (rev 20726)
+++ branches/4.0.0.M5/ui/misc/ui/src/main/config/faces-config.xml 2010-12-21 17:00:47 UTC (rev 20727)
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<faces-config version="2.0" metadata-complete="false" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:cdk="http://jboss.org/schema/richfaces/cdk/extensions" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <render-kit>
- <render-kit-id>HTML_BASIC</render-kit-id>
- <client-behavior-renderer>
- <client-behavior-renderer-type>org.richfaces.behavior.ComponentControlBehavior</client-behavior-renderer-type>
- <client-behavior-renderer-class>org.richfaces.renderkit.ComponentControlBehaviorRenderer</client-behavior-renderer-class>
- </client-behavior-renderer>
- </render-kit>
-</faces-config>
Copied: branches/4.0.0.M5/ui/misc/ui/src/main/config/faces-config.xml (from rev 20726, trunk/ui/misc/ui/src/main/config/faces-config.xml)
===================================================================
--- branches/4.0.0.M5/ui/misc/ui/src/main/config/faces-config.xml (rev 0)
+++ branches/4.0.0.M5/ui/misc/ui/src/main/config/faces-config.xml 2010-12-21 17:00:47 UTC (rev 20727)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<faces-config version="2.0" metadata-complete="false" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:cdk="http://jboss.org/schema/richfaces/cdk/extensions" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <render-kit>
+ <render-kit-id>HTML_BASIC</render-kit-id>
+ <client-behavior-renderer>
+ <client-behavior-renderer-type>org.richfaces.behavior.ComponentControlBehavior</client-behavior-renderer-type>
+ <client-behavior-renderer-class>org.richfaces.renderkit.ComponentControlBehaviorRenderer</client-behavior-renderer-class>
+ </client-behavior-renderer>
+ </render-kit>
+</faces-config>
14 years
JBoss Rich Faces SVN: r20725 - in modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest: a4jAttachQueue and 18 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ppitonak(a)redhat.com
Date: 2010-12-21 11:31:07 -0500 (Tue, 21 Dec 2010)
New Revision: 20725
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHCommandButton.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHCommandLink.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHGraphicImage.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHInputSecret.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHInputText.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHInputTextarea.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAttachQueue/TestNestedAttachQueue.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jCommandButton/TestA4JCommandButton.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jCommandLink/TestA4JCommandLink.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jQueue/TestFormQueue.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jQueue/TestGlobalQueue.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jRepeat/TestMatrix.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jStatus/TestInstantAttributes.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordionItem/TestRichAccordionItem.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCalendar/TestRichCalendarAttributes.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richComponentControl/TestDataScroller.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInplaceInput/TestRichInplaceInput.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInplaceSelect/TestRichInplaceSelect.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSlider/TestRichSlider.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSpinner/TestRichSpinner.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richSelect/TestRichSelect.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTab/TestRichTab.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTabPanel/TestRichTabPanel.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTogglePanel/TestRichTogglePanel.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTogglePanelItem/TestRichTogglePanelItem.java
Log:
* issue tracking URLs fixed
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHCommandButton.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHCommandButton.java 2010-12-21 16:20:59 UTC (rev 20724)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHCommandButton.java 2010-12-21 16:31:07 UTC (rev 20725)
@@ -50,7 +50,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9665")// </editor-fold>
+ @IssueTracking("https://issues.jboss.org/browse/RF-9665")// </editor-fold>
public void testSimpleClickUnicode() {
super.testClick(button, "ľščťžýáíéúôň фывацукйешгщь");
}
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHCommandLink.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHCommandLink.java 2010-12-21 16:20:59 UTC (rev 20724)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHCommandLink.java 2010-12-21 16:31:07 UTC (rev 20725)
@@ -50,7 +50,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9665")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9665")
public void testSimpleClickUnicode() {
super.testClick(link, "ľščťžýáíéúôň фывацукйешгщь");
}
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHGraphicImage.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHGraphicImage.java 2010-12-21 16:20:59 UTC (rev 20724)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHGraphicImage.java 2010-12-21 16:31:07 UTC (rev 20725)
@@ -50,7 +50,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9665")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9665")
public void testSimpleClickUnicode() {
super.testClick(button, "ľščťžýáíéúôň фывацукйешгщь");
}
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHInputSecret.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHInputSecret.java 2010-12-21 16:20:59 UTC (rev 20724)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHInputSecret.java 2010-12-21 16:31:07 UTC (rev 20725)
@@ -50,7 +50,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9665")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9665")
public void testSimpleTypeUnicode() {
super.testType(input, "ľščťžýáíéúôň фывацукйешгщь");
}
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHInputText.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHInputText.java 2010-12-21 16:20:59 UTC (rev 20724)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHInputText.java 2010-12-21 16:31:07 UTC (rev 20725)
@@ -50,7 +50,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9665")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9665")
public void testSimpleTypeUnicode() {
super.testType(input, "ľščťžýáíéúôň фывацукйешгщь");
}
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHInputTextarea.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHInputTextarea.java 2010-12-21 16:20:59 UTC (rev 20724)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHInputTextarea.java 2010-12-21 16:31:07 UTC (rev 20725)
@@ -50,7 +50,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9665")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9665")
public void testSimpleTypeUnicode() {
super.testType(input, "ľščťžýáíéúôň фывацукйешгщь");
}
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAttachQueue/TestNestedAttachQueue.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAttachQueue/TestNestedAttachQueue.java 2010-12-21 16:20:59 UTC (rev 20724)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAttachQueue/TestNestedAttachQueue.java 2010-12-21 16:31:07 UTC (rev 20725)
@@ -114,7 +114,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9328")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9328")
public void testRendered() {
attributesAttachQueue1.setRequestDelay(1500);
attributesAttachQueue1.setRendered(false);
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jCommandButton/TestA4JCommandButton.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jCommandButton/TestA4JCommandButton.java 2010-12-21 16:20:59 UTC (rev 20724)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jCommandButton/TestA4JCommandButton.java 2010-12-21 16:31:07 UTC (rev 20725)
@@ -74,7 +74,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9665")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9665")
public void testSimpleClickUnicode() {
selenium.typeKeys(input, "ľščťžýáíéňô");
selenium.click(button);
@@ -268,7 +268,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9307")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9307")
public void testStyleClass() {
JQueryLocator wide = pjq("input[name$=styleClassInput][value=wide]");
JQueryLocator big = pjq("input[name$=styleClassInput][value=big]");
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jCommandLink/TestA4JCommandLink.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jCommandLink/TestA4JCommandLink.java 2010-12-21 16:20:59 UTC (rev 20724)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jCommandLink/TestA4JCommandLink.java 2010-12-21 16:31:07 UTC (rev 20725)
@@ -74,7 +74,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9665")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9665")
public void testSimpleClickUnicode() {
selenium.typeKeys(input, "ľščťžýáíéňô");
selenium.click(link);
@@ -271,7 +271,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9307")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9307")
public void testStyleClass() {
JQueryLocator bold = pjq("input[name$=styleClassInput][value=bold]");
JQueryLocator strike = pjq("input[name$=styleClassInput][value=strike]");
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jQueue/TestFormQueue.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jQueue/TestFormQueue.java 2010-12-21 16:20:59 UTC (rev 20724)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jQueue/TestFormQueue.java 2010-12-21 16:31:07 UTC (rev 20725)
@@ -77,7 +77,7 @@
* </p>
*/
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9606")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9606")
public void testTimingOneQueueTwoEvents() {
attributesQueueA.setRequestDelay(DELAY_A);
attributesGlobalQueue.setRequestDelay(GLOBAL_DELAY);
@@ -149,7 +149,7 @@
* </p>
*/
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9606")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9606")
public void testTimingTwoQueuesFourEvents() {
attributesQueueA.setRequestDelay(DELAY_A);
attributesQueueB.setRequestDelay(DELAY_B);
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jQueue/TestGlobalQueue.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jQueue/TestGlobalQueue.java 2010-12-21 16:20:59 UTC (rev 20724)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jQueue/TestGlobalQueue.java 2010-12-21 16:31:07 UTC (rev 20725)
@@ -153,7 +153,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9328")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9328")
public void testRendered() {
attributes.setRequestDelay(1500);
attributes.setRendered(false);
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jRepeat/TestMatrix.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jRepeat/TestMatrix.java 2010-12-21 16:20:59 UTC (rev 20724)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jRepeat/TestMatrix.java 2010-12-21 16:31:07 UTC (rev 20725)
@@ -41,7 +41,7 @@
* @author <a href="mailto:lfryc@redhat.com">Lukas Fryc</a>
* @version $Revision$
*/
-@IssueTracking("https://jira.jboss.org/browse/RF-9375")
+@IssueTracking("https://issues.jboss.org/browse/RF-9375")
public class TestMatrix extends AbstractMetamerTest {
Vector<Vector<Integer>> matrix;
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jStatus/TestInstantAttributes.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jStatus/TestInstantAttributes.java 2010-12-21 16:20:59 UTC (rev 20724)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jStatus/TestInstantAttributes.java 2010-12-21 16:31:07 UTC (rev 20725)
@@ -69,7 +69,7 @@
}
@Test
- @IssueTracking({ "https://jira.jboss.org/browse/RF-9118",
+ @IssueTracking({ "https://issues.jboss.org/browse/RF-9118",
"https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1788" })
public void testOnError() {
for (int i = 0; i < 2; i++) {
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordionItem/TestRichAccordionItem.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordionItem/TestRichAccordionItem.java 2010-12-21 16:20:59 UTC (rev 20724)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordionItem/TestRichAccordionItem.java 2010-12-21 16:31:07 UTC (rev 20725)
@@ -173,7 +173,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9821")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9821")
public void testOnenter() {
testFireEvent(Event.CLICK, itemHeaders[0], "enter");
}
@@ -204,7 +204,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9821")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9821")
public void testOnleave() {
selenium.type(pjq("input[type=text][id$=onleaveInput]"), "metamerEvents += \"leave \"");
selenium.waitForPageToLoad();
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCalendar/TestRichCalendarAttributes.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCalendar/TestRichCalendarAttributes.java 2010-12-21 16:20:59 UTC (rev 20724)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCalendar/TestRichCalendarAttributes.java 2010-12-21 16:31:07 UTC (rev 20725)
@@ -276,7 +276,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9837")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9837")
public void testDefaultTime() {
selenium.type(pjq("input[type=text][id$=defaultTimeInput]"), "21:24");
selenium.waitForPageToLoad();
@@ -319,7 +319,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9646")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9646")
public void testFirstWeekDay() {
selenium.type(pjq("input[type=text][id$=firstWeekDayInput]"), "6");
selenium.waitForPageToLoad();
@@ -404,7 +404,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9602")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9602")
public void testOninputchange() {
selenium.click(pjq("input[name$=enableManualInputInput][value=true]"));
selenium.waitForPageToLoad();
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java 2010-12-21 16:20:59 UTC (rev 20724)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java 2010-12-21 16:31:07 UTC (rev 20725)
@@ -120,7 +120,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9421")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9421")
public void testBypassUpdates() {
selenium.click(pjq("input[type=radio][name$=bypassUpdatesInput][value=true]"));
selenium.waitForPageToLoad();
@@ -147,7 +147,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9421")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9421")
public void testImmediate() {
selenium.click(pjq("input[type=radio][name$=immediateInput][value=true]"));
selenium.waitForPageToLoad();
@@ -160,7 +160,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9535")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9535")
public void testLimitRender() {
selenium.type(pjq("input[type=text][id$=renderInput]"), "@this");
selenium.waitForPageToLoad();
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richComponentControl/TestDataScroller.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richComponentControl/TestDataScroller.java 2010-12-21 16:20:59 UTC (rev 20724)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richComponentControl/TestDataScroller.java 2010-12-21 16:31:07 UTC (rev 20725)
@@ -66,7 +66,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9306")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9306")
public void testScrollerPagination() {
paginationTester.testNumberedPages();
}
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInplaceInput/TestRichInplaceInput.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInplaceInput/TestRichInplaceInput.java 2010-12-21 16:20:59 UTC (rev 20724)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInplaceInput/TestRichInplaceInput.java 2010-12-21 16:31:07 UTC (rev 20725)
@@ -167,7 +167,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9868")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9868")
public void testOnblur() {
selenium.type(pjq("input[id$=onblurInput]"), "metamerEvents += \"blur \"");
selenium.waitForPageToLoad(TIMEOUT);
@@ -205,7 +205,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9868")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9868")
public void testOnfocus() {
selenium.type(pjq("input[id$=onfocusInput]"), "metamerEvents += \"focus \"");
selenium.waitForPageToLoad(TIMEOUT);
@@ -345,7 +345,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9872")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9872")
public void testClickCancelButton() {
selenium.click(pjq("input[type=radio][name$=showControlsInput][value=true]"));
selenium.waitForPageToLoad();
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInplaceSelect/TestRichInplaceSelect.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInplaceSelect/TestRichInplaceSelect.java 2010-12-21 16:20:59 UTC (rev 20724)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInplaceSelect/TestRichInplaceSelect.java 2010-12-21 16:31:07 UTC (rev 20725)
@@ -72,7 +72,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9664")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9664")
public void testClick() {
guardNoRequest(selenium).click(select);
assertFalse(selenium.belongsClass(edit, "rf-is-none"), "Edit should not contain class rf-is-none when popup is open.");
@@ -140,13 +140,13 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9845")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9845")
public void testListClass() {
testStyleClass(popup, "listClass");
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9647")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9647")
public void testListHeight() {
selenium.type(pjq("input[type=text][id$=listHeightInput]"), "300px");
selenium.waitForPageToLoad();
@@ -164,7 +164,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9647")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9647")
public void testListWidth() {
selenium.type(pjq("input[type=text][id$=listWidthInput]"), "300px");
selenium.waitForPageToLoad();
@@ -182,7 +182,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9849")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9849")
public void testOnblur() {
selenium.type(pjq("input[id$=onblurInput]"), "metamerEvents += \"blur \"");
selenium.waitForPageToLoad(TIMEOUT);
@@ -194,7 +194,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9571")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9571")
public void testOnchange() {
selenium.type(pjq("input[type=text][id$=onchangeInput]"), "metamerEvents += \"change \"");
selenium.waitForPageToLoad();
@@ -218,7 +218,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9849")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9849")
public void testOnfocus() {
selenium.type(pjq("input[type=text][id$=onfocusInput]"), "metamerEvents += \"focus \"");
selenium.waitForPageToLoad();
@@ -473,7 +473,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9896")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9896")
public void testSelectItemClass() {
selenium.type(pjq("input[type=text][id$=selectItemClassInput]"), "metamer-ftest-class");
selenium.waitForPageToLoad();
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSlider/TestRichSlider.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSlider/TestRichSlider.java 2010-12-21 16:20:59 UTC (rev 20724)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSlider/TestRichSlider.java 2010-12-21 16:31:07 UTC (rev 20725)
@@ -425,7 +425,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9860")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9860")
public void testMaxlength() {
selenium.type(pjq("input[type=text][id$=maxlengthInput]"), "5");
selenium.waitForPageToLoad();
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSpinner/TestRichSpinner.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSpinner/TestRichSpinner.java 2010-12-21 16:20:59 UTC (rev 20724)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSpinner/TestRichSpinner.java 2010-12-21 16:31:07 UTC (rev 20725)
@@ -23,7 +23,6 @@
import static org.jboss.test.selenium.guard.request.RequestTypeGuardFactory.guardNoRequest;
import static org.jboss.test.selenium.guard.request.RequestTypeGuardFactory.guardXhr;
-import static org.jboss.test.selenium.locator.LocatorFactory.jq;
import static org.jboss.test.selenium.utils.URLUtils.buildUrl;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertFalse;
@@ -382,7 +381,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9568")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9568")
public void testOninputdblclick() {
testFireEvent(Event.DBLCLICK, input, "inputdblclick");
}
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richSelect/TestRichSelect.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richSelect/TestRichSelect.java 2010-12-21 16:20:59 UTC (rev 20724)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richSelect/TestRichSelect.java 2010-12-21 16:31:07 UTC (rev 20725)
@@ -166,7 +166,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9855")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9855")
public void testEnableManualInput() {
selenium.click(pjq("input[type=radio][name$=enableManualInputInput][value=false]"));
selenium.waitForPageToLoad();
@@ -197,13 +197,13 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9735")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9735")
public void testListClass() {
testStyleClass(popup, "listClass");
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9737")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9737")
public void testListHeight() {
selenium.type(pjq("input[type=text][id$=listHeightInput]"), "300px");
selenium.waitForPageToLoad();
@@ -221,7 +221,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9737")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9737")
public void testListWidth() {
selenium.type(pjq("input[type=text][id$=listWidthInput]"), "300px");
selenium.waitForPageToLoad();
@@ -451,7 +451,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9663")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9663")
public void testShowButtonClick() {
selenium.click(pjq("input[type=radio][name$=showButtonInput][value=false]"));
selenium.waitForPageToLoad();
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTab/TestRichTab.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTab/TestRichTab.java 2010-12-21 16:20:59 UTC (rev 20724)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTab/TestRichTab.java 2010-12-21 16:31:07 UTC (rev 20725)
@@ -24,7 +24,6 @@
import static org.jboss.test.selenium.guard.request.RequestTypeGuardFactory.guardHttp;
import static org.jboss.test.selenium.guard.request.RequestTypeGuardFactory.guardNoRequest;
import static org.jboss.test.selenium.guard.request.RequestTypeGuardFactory.guardXhr;
-import static org.jboss.test.selenium.locator.LocatorFactory.jq;
import static org.jboss.test.selenium.utils.URLUtils.buildUrl;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertFalse;
@@ -245,7 +244,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9537")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9537")
public void testOnenter() {
selenium.type(pjq("input[type=text][id$=onenterInput]"), "metamerEvents += \"enter \"");
selenium.waitForPageToLoad();
@@ -289,7 +288,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9537")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9537")
public void testOnleave() {
selenium.type(pjq("input[type=text][id$=onleaveInput]"), "metamerEvents += \"leave \"");
selenium.waitForPageToLoad();
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTabPanel/TestRichTabPanel.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTabPanel/TestRichTabPanel.java 2010-12-21 16:20:59 UTC (rev 20724)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTabPanel/TestRichTabPanel.java 2010-12-21 16:31:07 UTC (rev 20725)
@@ -284,7 +284,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9535")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9535")
public void testLimitRender() {
selenium.type(pjq("input[type=text][id$=renderInput]"), "@this");
selenium.waitForPageToLoad();
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTogglePanel/TestRichTogglePanel.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTogglePanel/TestRichTogglePanel.java 2010-12-21 16:20:59 UTC (rev 20724)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTogglePanel/TestRichTogglePanel.java 2010-12-21 16:31:07 UTC (rev 20725)
@@ -348,7 +348,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9881")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9881")
public void testLimitRender() {
selenium.click(pjq("input[type=radio][name$=limitRenderInput][value=true]"));
selenium.waitForPageToLoad();
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTogglePanelItem/TestRichTogglePanelItem.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTogglePanelItem/TestRichTogglePanelItem.java 2010-12-21 16:20:59 UTC (rev 20724)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTogglePanelItem/TestRichTogglePanelItem.java 2010-12-21 16:31:07 UTC (rev 20725)
@@ -24,7 +24,6 @@
import static org.jboss.test.selenium.guard.request.RequestTypeGuardFactory.guardHttp;
import static org.jboss.test.selenium.guard.request.RequestTypeGuardFactory.guardNoRequest;
import static org.jboss.test.selenium.guard.request.RequestTypeGuardFactory.guardXhr;
-import static org.jboss.test.selenium.locator.LocatorFactory.jq;
import static org.jboss.test.selenium.utils.URLUtils.buildUrl;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertFalse;
@@ -104,7 +103,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9895")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9895")
public void testOnenter() {
selenium.type(pjq("input[type=text][id$=onenterInput]"), "metamerEvents += \"enter \"");
selenium.waitForPageToLoad();
@@ -124,7 +123,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9895")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9895")
public void testOnleave() {
selenium.type(pjq("input[type=text][id$=onleaveInput]"), "metamerEvents += \"leave \"");
selenium.waitForPageToLoad();
@@ -167,7 +166,7 @@
}
@Test
- @IssueTracking("https://jira.jboss.org/browse/RF-9894")
+ @IssueTracking("https://issues.jboss.org/browse/RF-9894")
public void testRendered() {
JQueryLocator input = pjq("input[type=radio][name$=renderedInput][value=false]");
selenium.click(input);
14 years
JBoss Rich Faces SVN: r20724 - in modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest: richAccordion and 10 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ppitonak(a)redhat.com
Date: 2010-12-21 11:20:59 -0500 (Tue, 21 Dec 2010)
New Revision: 20724
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestTextInput.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectManyCheckbox.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordion/TestRichAccordion.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordionItem/TestRichAccordionItem.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCalendar/AbstractCalendarTest.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestFacets.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInplaceInput/TestRichInplaceInput.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSlider/TestRichSlider.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSpinner/TestRichSpinner.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTab/TestRichTab.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTabPanel/TestRichTabPanel.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTogglePanel/TestRichTogglePanel.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTogglePanelItem/TestRichTogglePanelItem.java
Log:
* cleanup and refactoring - removed unnecessary variables, renaming variables, removing unnecessary imports
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestTextInput.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestTextInput.java 2010-12-21 16:00:55 UTC (rev 20723)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestTextInput.java 2010-12-21 16:20:59 UTC (rev 20724)
@@ -61,7 +61,6 @@
}
public void testBypassUpdates(JQueryLocator input) {
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.click(pjq("input[type=radio][name$=bypassUpdatesInput][value=true]"));
@@ -82,7 +81,6 @@
selenium.type(pjq("input[type=text][id$=oncompleteInput]"), "data = event.data");
selenium.waitForPageToLoad();
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
typeToInput(input, "RichFaces 4");
@@ -96,7 +94,6 @@
selenium.type(pjq("input[type=text][id$=executeInput]"), "@this executeChecker");
selenium.waitForPageToLoad();
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
typeToInput(input, "RichFaces 4");
waitGui.failWith("Page was not updated").waitForChange(timeValue, retrieveText.locator(time));
@@ -112,7 +109,6 @@
}
public void testImmediate(JQueryLocator input) {
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.click(pjq("input[type=radio][name$=immediateInput][value=true]"));
@@ -127,7 +123,6 @@
}
public void testImmediateBypassUpdates(JQueryLocator input) {
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.click(pjq("input[type=radio][name$=bypassUpdatesInput][value=true]"));
@@ -146,7 +141,6 @@
selenium.click(pjq("input[type=radio][name$=limitRenderInput][value=true]"));
selenium.waitForPageToLoad();
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
typeToInput(input, "RichFaces 4");
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectManyCheckbox.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectManyCheckbox.java 2010-12-21 16:00:55 UTC (rev 20723)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectManyCheckbox.java 2010-12-21 16:20:59 UTC (rev 20724)
@@ -66,7 +66,6 @@
@Test
public void testBypassUpdates() {
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.click(pjq("input[type=radio][name$=bypassUpdatesInput][value=true]"));
@@ -88,7 +87,6 @@
selenium.type(pjq("input[type=text][id$=oncompleteInput]"), "data = event.data");
selenium.waitForPageToLoad();
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
guardXhr(selenium).click(input);
@@ -103,7 +101,6 @@
selenium.type(pjq("input[type=text][id$=executeInput]"), "input executeChecker");
selenium.waitForPageToLoad();
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
guardXhr(selenium).click(input);
waitGui.failWith("Page was not updated").waitForChange(timeValue, retrieveText.locator(time));
@@ -120,7 +117,6 @@
@Test
public void testImmediate() {
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.click(pjq("input[type=radio][name$=immediateInput][value=true]"));
@@ -136,7 +132,6 @@
@Test
public void testImmediateBypassUpdates() {
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.click(pjq("input[type=radio][name$=bypassUpdatesInput][value=true]"));
@@ -156,7 +151,6 @@
selenium.click(pjq("input[type=radio][name$=limitRenderInput][value=true]"));
selenium.waitForPageToLoad();
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
guardXhr(selenium).click(input);
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordion/TestRichAccordion.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordion/TestRichAccordion.java 2010-12-21 16:00:55 UTC (rev 20723)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordion/TestRichAccordion.java 2010-12-21 16:20:59 UTC (rev 20724)
@@ -349,8 +349,6 @@
@Test
public void testItemchangeEvents() {
- JQueryLocator time = jq("span[id$=requestTime]");
-
selenium.type(pjq("input[type=text][id$=onbeforeitemchangeInput]"), "metamerEvents += \"beforeitemchange \"");
selenium.waitForPageToLoad();
selenium.type(pjq("input[type=text][id$=onitemchangeInput]"), "metamerEvents += \"itemchange \"");
@@ -376,18 +374,16 @@
@Test
@IssueTracking("https://issues.jboss.org/browse/RF-9934")
public void testLimitRender() {
- JQueryLocator timeLoc = jq("span[id$=requestTime]");
-
selenium.click(pjq("input[type=radio][name$=limitRenderInput][value=true]"));
selenium.waitForPageToLoad();
- String time = selenium.getText(timeLoc);
+ String timeValue = selenium.getText(time);
guardXhr(selenium).click(inactiveHeaders[1]);
waitGui.failWith("Item 2 is not displayed.").until(isDisplayed.locator(itemContents[1]));
- String newTime = selenium.getText(timeLoc);
- assertNotSame(newTime, time, "Panel with ajaxRendered=true should not be rerendered.");
+ String newTime = selenium.getText(time);
+ assertNotSame(newTime, timeValue, "Panel with ajaxRendered=true should not be rerendered.");
}
@Test
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordionItem/TestRichAccordionItem.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordionItem/TestRichAccordionItem.java 2010-12-21 16:00:55 UTC (rev 20723)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordionItem/TestRichAccordionItem.java 2010-12-21 16:20:59 UTC (rev 20724)
@@ -206,8 +206,6 @@
@Test
@IssueTracking("https://jira.jboss.org/browse/RF-9821")
public void testOnleave() {
- JQueryLocator time = jq("span[id$=requestTime]");
-
selenium.type(pjq("input[type=text][id$=onleaveInput]"), "metamerEvents += \"leave \"");
selenium.waitForPageToLoad();
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCalendar/AbstractCalendarTest.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCalendar/AbstractCalendarTest.java 2010-12-21 16:00:55 UTC (rev 20723)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCalendar/AbstractCalendarTest.java 2010-12-21 16:20:59 UTC (rev 20724)
@@ -21,8 +21,6 @@
*******************************************************************************/
package org.richfaces.tests.metamer.ftest.richCalendar;
-import static org.jboss.test.selenium.locator.LocatorFactory.jq;
-
import org.jboss.test.selenium.locator.JQueryLocator;
import org.richfaces.tests.metamer.ftest.AbstractMetamerTest;
@@ -90,5 +88,4 @@
protected JQueryLocator cancelButton = pjq("td.rf-ca-time-layout-cancel > div");
protected JQueryLocator output = pjq("span[id$=output]");
- JQueryLocator time = jq("span[id$=requestTime]");
}
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestFacets.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestFacets.java 2010-12-21 16:00:55 UTC (rev 20723)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestFacets.java 2010-12-21 16:20:59 UTC (rev 20724)
@@ -24,20 +24,15 @@
import static org.jboss.test.selenium.guard.request.RequestTypeGuardFactory.guardHttp;
import static org.jboss.test.selenium.guard.request.RequestTypeGuardFactory.guardNoRequest;
import static org.jboss.test.selenium.guard.request.RequestTypeGuardFactory.guardXhr;
-import static org.jboss.test.selenium.locator.LocatorFactory.jq;
import static org.jboss.test.selenium.utils.URLUtils.buildUrl;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertFalse;
import static org.testng.Assert.assertTrue;
-import static org.testng.Assert.assertNotSame;
import java.net.URL;
-import javax.faces.event.PhaseId;
-
import org.jboss.test.selenium.locator.JQueryLocator;
import org.richfaces.tests.metamer.ftest.AbstractMetamerTest;
-import org.richfaces.tests.metamer.ftest.annotations.IssueTracking;
import org.testng.annotations.Test;
/**
@@ -53,8 +48,7 @@
private JQueryLocator headerExp = pjq("div[id$=collapsiblePanel:header] div.rf-cp-hdr-exp");
private JQueryLocator headerColps = pjq("div[id$=collapsiblePanel:header] div.rf-cp-hdr-colps");
private JQueryLocator content = pjq("div[id$=collapsiblePanel:content]");
- private JQueryLocator time = jq("span[id$=requestTime]");
-
+
@Override
public URL getTestUrl() {
return buildUrl(contextPath, "faces/components/richCollapsiblePanel/facets.xhtml");
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java 2010-12-21 16:00:55 UTC (rev 20723)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java 2010-12-21 16:20:59 UTC (rev 20724)
@@ -52,8 +52,7 @@
private JQueryLocator headerExp = pjq("div[id$=collapsiblePanel:header] div.rf-cp-hdr-exp");
private JQueryLocator headerColps = pjq("div[id$=collapsiblePanel:header] div.rf-cp-hdr-colps");
private JQueryLocator content = pjq("div[id$=collapsiblePanel:content]");
- private JQueryLocator time = jq("span[id$=requestTime]");
-
+
@Override
public URL getTestUrl() {
return buildUrl(contextPath, "faces/components/richCollapsiblePanel/simple.xhtml");
@@ -163,20 +162,18 @@
@Test
@IssueTracking("https://jira.jboss.org/browse/RF-9535")
public void testLimitRender() {
- JQueryLocator timeLoc = jq("span[id$=requestTime]");
-
selenium.type(pjq("input[type=text][id$=renderInput]"), "@this");
selenium.waitForPageToLoad();
selenium.click(pjq("input[type=radio][name$=limitRenderInput][value=true]"));
selenium.waitForPageToLoad();
- String timeValue = selenium.getText(timeLoc);
+ String timeValue = selenium.getText(time);
guardXhr(selenium).click(header);
waitGui.failWith("Panel should be collapsed.").until(isDisplayed.locator(headerColps));
- String newTime = selenium.getText(timeLoc);
+ String newTime = selenium.getText(time);
assertTrue(newTime.equals(timeValue), "Panel with ajaxRendered=true should not be rerendered (old and new time should be same).");
}
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInplaceInput/TestRichInplaceInput.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInplaceInput/TestRichInplaceInput.java 2010-12-21 16:00:55 UTC (rev 20723)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInplaceInput/TestRichInplaceInput.java 2010-12-21 16:20:59 UTC (rev 20724)
@@ -56,7 +56,6 @@
private JQueryLocator okButton = pjq("input.rf-ii-btn[id$=Okbtn]");
private JQueryLocator cancelButton = pjq("input.rf-ii-btn[id$=Cancelbtn]");
private JQueryLocator output = pjq("span[id$=output]");
- private JQueryLocator time = jq("span[id$=requestTime]");
@Override
public URL getTestUrl() {
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSlider/TestRichSlider.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSlider/TestRichSlider.java 2010-12-21 16:00:55 UTC (rev 20723)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSlider/TestRichSlider.java 2010-12-21 16:20:59 UTC (rev 20724)
@@ -28,7 +28,6 @@
import static org.jboss.test.selenium.utils.URLUtils.buildUrl;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertFalse;
-import static org.testng.Assert.assertNotSame;
import static org.testng.Assert.assertTrue;
import static org.testng.Assert.fail;
@@ -73,7 +72,6 @@
private JQueryLocator handle = pjq("span.rf-insl-hnd");
private JQueryLocator tooltip = pjq("span.rf-insl-tt");
private JQueryLocator output = pjq("span[id$=output]");
- private JQueryLocator time = jq("span[id$=requestTime]");
private String[] correctNumbers = {"-10", "-5", "-1", "0", "1", "5", "10"};
private String[] smallNumbers = {"-11", "-15", "-100"};
private String[] bigNumbers = {"11", "15", "100"};
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSpinner/TestRichSpinner.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSpinner/TestRichSpinner.java 2010-12-21 16:00:55 UTC (rev 20723)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSpinner/TestRichSpinner.java 2010-12-21 16:20:59 UTC (rev 20724)
@@ -58,7 +58,6 @@
private JQueryLocator up = pjq("span[id$=spinner] span.rf-insp-inc");
private JQueryLocator down = pjq("span[id$=spinner] span.rf-insp-dec");
private JQueryLocator output = pjq("span[id$=output]");
- private JQueryLocator time = jq("span[id$=requestTime]");
private String[] correctNumbers = {"-10", "-5", "-1", "0", "1", "5", "10"};
private String[] smallNumbers = {"-11", "-15", "-100"};
private String[] bigNumbers = {"11", "15", "100"};
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTab/TestRichTab.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTab/TestRichTab.java 2010-12-21 16:00:55 UTC (rev 20723)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTab/TestRichTab.java 2010-12-21 16:20:59 UTC (rev 20724)
@@ -247,8 +247,6 @@
@Test
@IssueTracking("https://jira.jboss.org/browse/RF-9537")
public void testOnenter() {
- JQueryLocator time = jq("span[id$=requestTime]");
-
selenium.type(pjq("input[type=text][id$=onenterInput]"), "metamerEvents += \"enter \"");
selenium.waitForPageToLoad();
@@ -293,8 +291,6 @@
@Test
@IssueTracking("https://jira.jboss.org/browse/RF-9537")
public void testOnleave() {
- JQueryLocator time = jq("span[id$=requestTime]");
-
selenium.type(pjq("input[type=text][id$=onleaveInput]"), "metamerEvents += \"leave \"");
selenium.waitForPageToLoad();
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTabPanel/TestRichTabPanel.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTabPanel/TestRichTabPanel.java 2010-12-21 16:00:55 UTC (rev 20723)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTabPanel/TestRichTabPanel.java 2010-12-21 16:20:59 UTC (rev 20724)
@@ -286,21 +286,19 @@
@Test
@IssueTracking("https://jira.jboss.org/browse/RF-9535")
public void testLimitRender() {
- JQueryLocator timeLoc = jq("span[id$=requestTime]");
-
selenium.type(pjq("input[type=text][id$=renderInput]"), "@this");
selenium.waitForPageToLoad();
selenium.click(pjq("input[type=radio][name$=limitRenderInput][value=true]"));
selenium.waitForPageToLoad();
- String time = selenium.getText(timeLoc);
+ String timeValue = selenium.getText(time);
guardXhr(selenium).click(inactiveHeaders[1]);
waitGui.failWith("Tab 2 is not displayed.").until(isDisplayed.locator(itemContents[1]));
- String newTime = selenium.getText(timeLoc);
- assertNotSame(newTime, time, "Panel with ajaxRendered=true should not be rerendered.");
+ String newTimeValue = selenium.getText(time);
+ assertNotSame(newTimeValue, timeValue, "Panel with ajaxRendered=true should not be rerendered.");
}
@Test
@@ -316,8 +314,6 @@
@Test
public void testItemchangeEvents() {
- JQueryLocator time = jq("span[id$=requestTime]");
-
selenium.type(pjq("input[type=text][id$=onbeforeitemchangeInput]"), "metamerEvents += \"beforeitemchange \"");
selenium.waitForPageToLoad();
selenium.type(pjq("input[type=text][id$=onitemchangeInput]"), "metamerEvents += \"itemchange \"");
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTogglePanel/TestRichTogglePanel.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTogglePanel/TestRichTogglePanel.java 2010-12-21 16:00:55 UTC (rev 20723)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTogglePanel/TestRichTogglePanel.java 2010-12-21 16:20:59 UTC (rev 20724)
@@ -350,18 +350,16 @@
@Test
@IssueTracking("https://jira.jboss.org/browse/RF-9881")
public void testLimitRender() {
- JQueryLocator timeLoc = jq("span[id$=requestTime]");
-
selenium.click(pjq("input[type=radio][name$=limitRenderInput][value=true]"));
selenium.waitForPageToLoad();
- String time = selenium.getText(timeLoc);
+ String timeValue = selenium.getText(time);
guardXhr(selenium).click(tc2);
waitGui.failWith("Item 2 is not displayed.").until(isDisplayed.locator(item2));
- String newTime = selenium.getText(timeLoc);
- assertEquals(newTime, time, "Panel with ajaxRendered=true should not be rerendered.");
+ String newTimeValue = selenium.getText(time);
+ assertEquals(newTimeValue, timeValue, "Panel with ajaxRendered=true should not be rerendered.");
}
@Test
@@ -377,8 +375,6 @@
@Test
public void testItemchangeEvents() {
- JQueryLocator time = jq("span[id$=requestTime]");
-
selenium.type(pjq("input[type=text][id$=onbeforeitemchangeInput]"), "metamerEvents += \"beforeitemchange \"");
selenium.waitForPageToLoad();
selenium.type(pjq("input[type=text][id$=onitemchangeInput]"), "metamerEvents += \"itemchange \"");
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTogglePanelItem/TestRichTogglePanelItem.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTogglePanelItem/TestRichTogglePanelItem.java 2010-12-21 16:00:55 UTC (rev 20723)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTogglePanelItem/TestRichTogglePanelItem.java 2010-12-21 16:20:59 UTC (rev 20724)
@@ -106,8 +106,6 @@
@Test
@IssueTracking("https://jira.jboss.org/browse/RF-9895")
public void testOnenter() {
- JQueryLocator time = jq("span[id$=requestTime]");
-
selenium.type(pjq("input[type=text][id$=onenterInput]"), "metamerEvents += \"enter \"");
selenium.waitForPageToLoad();
@@ -128,8 +126,6 @@
@Test
@IssueTracking("https://jira.jboss.org/browse/RF-9895")
public void testOnleave() {
- JQueryLocator time = jq("span[id$=requestTime]");
-
selenium.type(pjq("input[type=text][id$=onleaveInput]"), "metamerEvents += \"leave \"");
selenium.waitForPageToLoad();
14 years
JBoss Rich Faces SVN: r20723 - in modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest: a4jAjax and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ppitonak(a)redhat.com
Date: 2010-12-21 11:00:55 -0500 (Tue, 21 Dec 2010)
New Revision: 20723
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/AbstractMetamerTest.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestCommand.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestSelectMany.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestSelectOne.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestTextInput.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHCommandButton.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHCommandLink.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHGraphicImage.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHInputSecret.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHInputText.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHInputTextarea.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectBooleanCheckbox.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectManyCheckbox.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectManyListbox.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectManyMenu.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectOneListbox.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectOneMenu.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectOneRadio.java
Log:
* added tests for attribute execute of a4j:ajax
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/AbstractMetamerTest.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/AbstractMetamerTest.java 2010-12-21 14:45:31 UTC (rev 20722)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/AbstractMetamerTest.java 2010-12-21 16:00:55 UTC (rev 20723)
@@ -32,15 +32,11 @@
import java.net.URL;
import java.util.Locale;
-import java.util.Random;
-import java.util.Set;
import javax.faces.event.PhaseId;
import org.apache.commons.lang.LocaleUtils;
import org.jboss.test.selenium.AbstractTestCase;
-import org.jboss.test.selenium.cookie.Cookie;
-import org.jboss.test.selenium.cookie.DeleteCookieOptions;
import org.jboss.test.selenium.dom.Event;
import org.jboss.test.selenium.encapsulated.JavaScript;
import org.jboss.test.selenium.locator.Attribute;
@@ -64,6 +60,7 @@
*/
public abstract class AbstractMetamerTest extends AbstractTestCase {
+ protected JQueryLocator time = jq("span[id$=requestTime]");
/**
* timeout in miliseconds
*/
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestCommand.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestCommand.java 2010-12-21 14:45:31 UTC (rev 20722)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestCommand.java 2010-12-21 16:00:55 UTC (rev 20723)
@@ -24,6 +24,7 @@
import static org.jboss.test.selenium.guard.request.RequestTypeGuardFactory.guardXhr;
import static org.jboss.test.selenium.locator.LocatorFactory.jq;
import static org.testng.Assert.assertEquals;
+import static org.testng.Assert.fail;
import javax.faces.event.PhaseId;
@@ -54,7 +55,6 @@
}
public void testBypassUpdates(JQueryLocator command) {
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.click(pjq("input[type=radio][name$=bypassUpdatesInput][value=true]"));
@@ -76,7 +76,6 @@
selenium.type(pjq("input[type=text][id$=oncompleteInput]"), "data = event.data");
selenium.waitForPageToLoad();
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.type(input, "some input text");
@@ -87,8 +86,25 @@
assertEquals(data, "RichFaces 4", "Data sent with ajax request");
}
+ public void testExecute(JQueryLocator command) {
+ selenium.type(pjq("input[type=text][id$=executeInput]"), "input executeChecker");
+ selenium.waitForPageToLoad();
+
+ selenium.type(input, "RichFaces 4");
+ guardXhr(selenium).click(command);
+ waitGui.failWith("Page was not updated").waitForChangeAndReturn("", retrieveText.locator(output1));
+
+ JQueryLocator logItems = jq("ul.phases-list li:eq({0})");
+ for (int i = 0; i < 6; i++) {
+ if ("* executeChecker".equals(selenium.getText(logItems.format(i)))) {
+ return;
+ }
+ }
+
+ fail("Attribute execute does not work");
+ }
+
public void testImmediate(JQueryLocator command) {
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.click(pjq("input[type=radio][name$=immediateInput][value=true]"));
@@ -104,7 +120,6 @@
}
public void testImmediateBypassUpdates(JQueryLocator command) {
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.click(pjq("input[type=radio][name$=bypassUpdatesInput][value=true]"));
@@ -124,7 +139,6 @@
selenium.click(pjq("input[type=radio][name$=limitRenderInput][value=true]"));
selenium.waitForPageToLoad();
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.type(input, "RichFaces 4");
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestSelectMany.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestSelectMany.java 2010-12-21 14:45:31 UTC (rev 20722)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestSelectMany.java 2010-12-21 16:00:55 UTC (rev 20723)
@@ -25,6 +25,7 @@
import static org.jboss.test.selenium.locator.LocatorFactory.jq;
import static org.jboss.test.selenium.locator.option.OptionLocatorFactory.optionValue;
import static org.testng.Assert.assertEquals;
+import static org.testng.Assert.fail;
import javax.faces.event.PhaseId;
@@ -54,7 +55,6 @@
}
public void testBypassUpdates(JQueryLocator input) {
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.click(pjq("input[type=radio][name$=bypassUpdatesInput][value=true]"));
@@ -75,7 +75,6 @@
selenium.type(pjq("input[type=text][id$=oncompleteInput]"), "data = event.data");
selenium.waitForPageToLoad();
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
guardXhr(selenium).addSelection(input, optionValue("Audi"));
@@ -85,8 +84,25 @@
assertEquals(data, "RichFaces 4 data", "Data sent with ajax request");
}
+ public void testExecute(JQueryLocator input) {
+ selenium.type(pjq("input[type=text][id$=executeInput]"), "input executeChecker");
+ selenium.waitForPageToLoad();
+
+ String timeValue = selenium.getText(time);
+ guardXhr(selenium).addSelection(input, optionValue("Audi"));
+ waitGui.failWith("Page was not updated").waitForChange(timeValue, retrieveText.locator(time));
+
+ JQueryLocator logItems = jq("ul.phases-list li:eq({0})");
+ for (int i = 0; i < 6; i++) {
+ if ("* executeChecker".equals(selenium.getText(logItems.format(i)))) {
+ return;
+ }
+ }
+
+ fail("Attribute execute does not work");
+ }
+
public void testImmediate(JQueryLocator input) {
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.click(pjq("input[type=radio][name$=immediateInput][value=true]"));
@@ -101,7 +117,6 @@
}
public void testImmediateBypassUpdates(JQueryLocator input) {
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.click(pjq("input[type=radio][name$=bypassUpdatesInput][value=true]"));
@@ -120,7 +135,6 @@
selenium.click(pjq("input[type=radio][name$=limitRenderInput][value=true]"));
selenium.waitForPageToLoad();
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
guardXhr(selenium).addSelection(input, optionValue("Audi"));
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestSelectOne.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestSelectOne.java 2010-12-21 14:45:31 UTC (rev 20722)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestSelectOne.java 2010-12-21 16:00:55 UTC (rev 20723)
@@ -25,6 +25,7 @@
import static org.jboss.test.selenium.locator.LocatorFactory.jq;
import static org.jboss.test.selenium.locator.option.OptionLocatorFactory.optionValue;
import static org.testng.Assert.assertEquals;
+import static org.testng.Assert.fail;
import javax.faces.event.PhaseId;
@@ -54,7 +55,6 @@
}
public void testBypassUpdates(JQueryLocator input) {
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.click(pjq("input[type=radio][name$=bypassUpdatesInput][value=true]"));
@@ -75,7 +75,6 @@
selenium.type(pjq("input[type=text][id$=oncompleteInput]"), "data = event.data");
selenium.waitForPageToLoad();
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
guardXhr(selenium).select(input, optionValue("Audi"));
@@ -85,8 +84,25 @@
assertEquals(data, "RichFaces 4 data", "Data sent with ajax request");
}
+ public void testExecute(JQueryLocator input) {
+ selenium.type(pjq("input[type=text][id$=executeInput]"), "input executeChecker");
+ selenium.waitForPageToLoad();
+
+ String timeValue = selenium.getText(time);
+ guardXhr(selenium).select(input, optionValue("Audi"));
+ waitGui.failWith("Page was not updated").waitForChange(timeValue, retrieveText.locator(time));
+
+ JQueryLocator logItems = jq("ul.phases-list li:eq({0})");
+ for (int i = 0; i < 6; i++) {
+ if ("* executeChecker".equals(selenium.getText(logItems.format(i)))) {
+ return;
+ }
+ }
+
+ fail("Attribute execute does not work");
+ }
+
public void testImmediate(JQueryLocator input) {
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.click(pjq("input[type=radio][name$=immediateInput][value=true]"));
@@ -101,7 +117,6 @@
}
public void testImmediateBypassUpdates(JQueryLocator input) {
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.click(pjq("input[type=radio][name$=bypassUpdatesInput][value=true]"));
@@ -120,7 +135,6 @@
selenium.click(pjq("input[type=radio][name$=limitRenderInput][value=true]"));
selenium.waitForPageToLoad();
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
guardXhr(selenium).select(input, optionValue("Audi"));
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestTextInput.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestTextInput.java 2010-12-21 14:45:31 UTC (rev 20722)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestTextInput.java 2010-12-21 16:00:55 UTC (rev 20723)
@@ -24,6 +24,7 @@
import static org.jboss.test.selenium.guard.request.RequestTypeGuardFactory.guardXhr;
import static org.jboss.test.selenium.locator.LocatorFactory.jq;
import static org.testng.Assert.assertEquals;
+import static org.testng.Assert.fail;
import javax.faces.event.PhaseId;
import org.jboss.test.selenium.dom.Event;
@@ -91,6 +92,25 @@
assertEquals(data, "RichFaces 4 data", "Data sent with ajax request");
}
+ public void testExecute(JQueryLocator input) {
+ selenium.type(pjq("input[type=text][id$=executeInput]"), "@this executeChecker");
+ selenium.waitForPageToLoad();
+
+ JQueryLocator time = jq("span[id$=requestTime]");
+ String timeValue = selenium.getText(time);
+ typeToInput(input, "RichFaces 4");
+ waitGui.failWith("Page was not updated").waitForChange(timeValue, retrieveText.locator(time));
+
+ JQueryLocator logItems = jq("ul.phases-list li:eq({0})");
+ for (int i = 0; i < 6; i++) {
+ if ("* executeChecker".equals(selenium.getText(logItems.format(i)))) {
+ return;
+ }
+ }
+
+ fail("Attribute execute does not work");
+ }
+
public void testImmediate(JQueryLocator input) {
JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHCommandButton.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHCommandButton.java 2010-12-21 14:45:31 UTC (rev 20722)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHCommandButton.java 2010-12-21 16:00:55 UTC (rev 20723)
@@ -66,6 +66,11 @@
}
@Test
+ public void testExecute() {
+ super.testExecute(button);
+ }
+
+ @Test
public void testImmediate() {
super.testImmediate(button);
}
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHCommandLink.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHCommandLink.java 2010-12-21 14:45:31 UTC (rev 20722)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHCommandLink.java 2010-12-21 16:00:55 UTC (rev 20723)
@@ -38,7 +38,7 @@
public class TestHCommandLink extends AbstractTestCommand {
private JQueryLocator link = pjq("a[id$=commandLink]");
-
+
@Override
public URL getTestUrl() {
return buildUrl(contextPath, "faces/components/a4jAjax/hCommandLink.xhtml");
@@ -66,6 +66,11 @@
}
@Test
+ public void testExecute() {
+ super.testExecute(link);
+ }
+
+ @Test
public void testImmediate() {
super.testImmediate(link);
}
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHGraphicImage.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHGraphicImage.java 2010-12-21 14:45:31 UTC (rev 20722)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHGraphicImage.java 2010-12-21 16:00:55 UTC (rev 20723)
@@ -38,7 +38,7 @@
public class TestHGraphicImage extends AbstractTestCommand {
private JQueryLocator button = pjq("img[id$=image]");
-
+
@Override
public URL getTestUrl() {
return buildUrl(contextPath, "faces/components/a4jAjax/hGraphicImage.xhtml");
@@ -66,6 +66,11 @@
}
@Test
+ public void testExecute() {
+ super.testExecute(button);
+ }
+
+ @Test
public void testImmediate() {
super.testImmediate(button);
}
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHInputSecret.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHInputSecret.java 2010-12-21 14:45:31 UTC (rev 20722)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHInputSecret.java 2010-12-21 16:00:55 UTC (rev 20723)
@@ -66,6 +66,11 @@
}
@Test
+ public void testExecute() {
+ super.testExecute(input);
+ }
+
+ @Test
public void testImmediate() {
super.testImmediate(input);
}
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHInputText.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHInputText.java 2010-12-21 14:45:31 UTC (rev 20722)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHInputText.java 2010-12-21 16:00:55 UTC (rev 20723)
@@ -66,6 +66,11 @@
}
@Test
+ public void testExecute() {
+ super.testExecute(input);
+ }
+
+ @Test
public void testImmediate() {
super.testImmediate(input);
}
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHInputTextarea.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHInputTextarea.java 2010-12-21 14:45:31 UTC (rev 20722)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHInputTextarea.java 2010-12-21 16:00:55 UTC (rev 20723)
@@ -66,6 +66,11 @@
}
@Test
+ public void testExecute() {
+ super.testExecute(input);
+ }
+
+ @Test
public void testImmediate() {
super.testImmediate(input);
}
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectBooleanCheckbox.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectBooleanCheckbox.java 2010-12-21 14:45:31 UTC (rev 20722)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectBooleanCheckbox.java 2010-12-21 16:00:55 UTC (rev 20723)
@@ -25,6 +25,7 @@
import static org.jboss.test.selenium.guard.request.RequestTypeGuardFactory.guardXhr;
import static org.jboss.test.selenium.locator.LocatorFactory.jq;
import static org.testng.Assert.assertEquals;
+import static org.testng.Assert.fail;
import java.net.URL;
@@ -65,7 +66,6 @@
@Test
public void testBypassUpdates() {
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.click(pjq("input[type=radio][name$=bypassUpdatesInput][value=true]"));
@@ -87,7 +87,6 @@
selenium.type(pjq("input[type=text][id$=oncompleteInput]"), "data = event.data");
selenium.waitForPageToLoad();
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
guardXhr(selenium).click(input);
@@ -98,8 +97,26 @@
}
@Test
+ public void testExecute() {
+ selenium.type(pjq("input[type=text][id$=executeInput]"), "input executeChecker");
+ selenium.waitForPageToLoad();
+
+ String timeValue = selenium.getText(time);
+ guardXhr(selenium).click(input);
+ waitGui.failWith("Page was not updated").waitForChange(timeValue, retrieveText.locator(time));
+
+ JQueryLocator logItems = jq("ul.phases-list li:eq({0})");
+ for (int i = 0; i < 6; i++) {
+ if ("* executeChecker".equals(selenium.getText(logItems.format(i)))) {
+ return;
+ }
+ }
+
+ fail("Attribute execute does not work");
+ }
+
+ @Test
public void testImmediate() {
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.click(pjq("input[type=radio][name$=immediateInput][value=true]"));
@@ -115,7 +132,6 @@
@Test
public void testImmediateBypassUpdates() {
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.click(pjq("input[type=radio][name$=bypassUpdatesInput][value=true]"));
@@ -135,7 +151,6 @@
selenium.click(pjq("input[type=radio][name$=limitRenderInput][value=true]"));
selenium.waitForPageToLoad();
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
guardXhr(selenium).click(input);
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectManyCheckbox.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectManyCheckbox.java 2010-12-21 14:45:31 UTC (rev 20722)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectManyCheckbox.java 2010-12-21 16:00:55 UTC (rev 20723)
@@ -25,6 +25,7 @@
import static org.jboss.test.selenium.guard.request.RequestTypeGuardFactory.guardXhr;
import static org.jboss.test.selenium.locator.LocatorFactory.jq;
import static org.testng.Assert.assertEquals;
+import static org.testng.Assert.fail;
import java.net.URL;
@@ -98,6 +99,26 @@
}
@Test
+ public void testExecute() {
+ selenium.type(pjq("input[type=text][id$=executeInput]"), "input executeChecker");
+ selenium.waitForPageToLoad();
+
+ JQueryLocator time = jq("span[id$=requestTime]");
+ String timeValue = selenium.getText(time);
+ guardXhr(selenium).click(input);
+ waitGui.failWith("Page was not updated").waitForChange(timeValue, retrieveText.locator(time));
+
+ JQueryLocator logItems = jq("ul.phases-list li:eq({0})");
+ for (int i = 0; i < 6; i++) {
+ if ("* executeChecker".equals(selenium.getText(logItems.format(i)))) {
+ return;
+ }
+ }
+
+ fail("Attribute execute does not work");
+ }
+
+ @Test
public void testImmediate() {
JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectManyListbox.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectManyListbox.java 2010-12-21 14:45:31 UTC (rev 20722)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectManyListbox.java 2010-12-21 16:00:55 UTC (rev 20723)
@@ -59,6 +59,11 @@
}
@Test
+ public void testExecute() {
+ super.testExecute(input);
+ }
+
+ @Test
public void testImmediate() {
super.testImmediate(input);
}
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectManyMenu.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectManyMenu.java 2010-12-21 14:45:31 UTC (rev 20722)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectManyMenu.java 2010-12-21 16:00:55 UTC (rev 20723)
@@ -59,6 +59,11 @@
}
@Test
+ public void testExecute() {
+ super.testExecute(input);
+ }
+
+ @Test
public void testImmediate() {
super.testImmediate(input);
}
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectOneListbox.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectOneListbox.java 2010-12-21 14:45:31 UTC (rev 20722)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectOneListbox.java 2010-12-21 16:00:55 UTC (rev 20723)
@@ -59,6 +59,11 @@
}
@Test
+ public void testExecute() {
+ super.testExecute(input);
+ }
+
+ @Test
public void testImmediate() {
super.testImmediate(input);
}
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectOneMenu.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectOneMenu.java 2010-12-21 14:45:31 UTC (rev 20722)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectOneMenu.java 2010-12-21 16:00:55 UTC (rev 20723)
@@ -59,6 +59,11 @@
}
@Test
+ public void testExecute() {
+ super.testExecute(input);
+ }
+
+ @Test
public void testImmediate() {
super.testImmediate(input);
}
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectOneRadio.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectOneRadio.java 2010-12-21 14:45:31 UTC (rev 20722)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectOneRadio.java 2010-12-21 16:00:55 UTC (rev 20723)
@@ -25,6 +25,7 @@
import static org.jboss.test.selenium.locator.LocatorFactory.jq;
import static org.jboss.test.selenium.utils.URLUtils.buildUrl;
import static org.testng.Assert.assertEquals;
+import static org.testng.Assert.fail;
import java.net.URL;
import javax.faces.event.PhaseId;
@@ -63,7 +64,6 @@
@Test
public void testBypassUpdates() {
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.click(pjq("input[type=radio][name$=bypassUpdatesInput][value=true]"));
@@ -85,7 +85,6 @@
selenium.type(pjq("input[type=text][id$=oncompleteInput]"), "data = event.data");
selenium.waitForPageToLoad();
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
guardXhr(selenium).click(input);
@@ -97,7 +96,6 @@
@Test
public void testImmediate() {
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.click(pjq("input[type=radio][name$=immediateInput][value=true]"));
@@ -112,8 +110,27 @@
}
@Test
+ public void testExecute() {
+ String timeValue = selenium.getText(time);
+
+ selenium.type(pjq("input[type=text][id$=executeInput]"), "input executeChecker");
+ selenium.waitForPageToLoad();
+
+ guardXhr(selenium).click(input);
+ waitGui.failWith("Page was not updated").waitForChange(timeValue, retrieveText.locator(time));
+
+ JQueryLocator logItems = jq("ul.phases-list li:eq({0})");
+ for (int i = 0; i < 6; i++) {
+ if ("* executeChecker".equals(selenium.getText(logItems.format(i)))) {
+ return;
+ }
+ }
+
+ fail("Attribute execute does not work");
+ }
+
+ @Test
public void testImmediateBypassUpdates() {
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.click(pjq("input[type=radio][name$=bypassUpdatesInput][value=true]"));
@@ -133,7 +150,6 @@
selenium.click(pjq("input[type=radio][name$=limitRenderInput][value=true]"));
selenium.waitForPageToLoad();
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
guardXhr(selenium).click(input);
14 years
JBoss Rich Faces SVN: r20722 - in modules/tests/metamer/trunk/application/src/main: webapp/components/richFileUpload and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ppitonak(a)redhat.com
Date: 2010-12-21 09:45:31 -0500 (Tue, 21 Dec 2010)
New Revision: 20722
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichFileUploadBean.java
modules/tests/metamer/trunk/application/src/main/webapp/components/richFileUpload/simple.xhtml
Log:
* file upload sample fixed to work in all environments
Modified: modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichFileUploadBean.java
===================================================================
--- modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichFileUploadBean.java 2010-12-21 14:15:13 UTC (rev 20721)
+++ modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichFileUploadBean.java 2010-12-21 14:45:31 UTC (rev 20722)
@@ -95,4 +95,8 @@
files.clear();
return null;
}
+
+ public boolean isRenderButton() {
+ return files.size() > 0;
+ }
}
Modified: modules/tests/metamer/trunk/application/src/main/webapp/components/richFileUpload/simple.xhtml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/components/richFileUpload/simple.xhtml 2010-12-21 14:15:13 UTC (rev 20721)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/richFileUpload/simple.xhtml 2010-12-21 14:45:31 UTC (rev 20722)
@@ -80,7 +80,7 @@
<a4j:commandButton id="clearUploadedDataButton"
action="#{richFileUploadBean.clearUploadedData}"
value="Clear Uploaded Data"
- rendered="#{richFileUploadBean.items.size() > 0}" />
+ rendered="#{richFileUploadBean.renderButton}" />
</a4j:outputPanel>
</fieldset>
14 years
JBoss Rich Faces SVN: r20721 - trunk/ui/output/ui/src/main/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: amarkhel
Date: 2010-12-21 09:15:13 -0500 (Tue, 21 Dec 2010)
New Revision: 20721
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractPanel.java
Log:
https://issues.jboss.org/browse/RF-9942 Taglib: panel has not attributes
Modified: trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractPanel.java
===================================================================
--- trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractPanel.java 2010-12-21 13:31:53 UTC (rev 20720)
+++ trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractPanel.java 2010-12-21 14:15:13 UTC (rev 20721)
@@ -27,7 +27,7 @@
import org.richfaces.cdk.annotations.JsfRenderer;
import org.richfaces.cdk.annotations.Tag;
import org.richfaces.cdk.annotations.TagType;
-
+import org.richfaces.cdk.annotations.Attribute;
/**
* JSF component class
*
@@ -38,8 +38,17 @@
)
public abstract class AbstractPanel extends UIComponentBase {
- private static final String COMPONENT_FAMILY = "org.richfaces.Panel";
+ private static final String COMPONENT_FAMILY = "org.richfaces.Panel";
+ @Attribute
+ public abstract String getHeader();
+
+ @Attribute
+ public abstract String getHeaderClass();
+
+ @Attribute
+ public abstract String getBodyClass();
+
public boolean getRendersChildren() {
return true;
}
14 years
JBoss Rich Faces SVN: r20720 - in modules/tests/metamer/trunk: ftest and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2010-12-21 08:31:53 -0500 (Tue, 21 Dec 2010)
New Revision: 20720
Modified:
modules/tests/metamer/trunk/ftest-source/pom.xml
modules/tests/metamer/trunk/ftest/pom.xml
modules/tests/metamer/trunk/pom.xml
Log:
switching to release versions of richfaces and richfaces-selenium
Modified: modules/tests/metamer/trunk/ftest/pom.xml
===================================================================
--- modules/tests/metamer/trunk/ftest/pom.xml 2010-12-21 13:31:29 UTC (rev 20719)
+++ modules/tests/metamer/trunk/ftest/pom.xml 2010-12-21 13:31:53 UTC (rev 20720)
@@ -25,7 +25,7 @@
<parent>
<artifactId>functional-test-jboss-ci-template</artifactId>
<groupId>org.jboss.test.richfaces-selenium</groupId>
- <version>1.5.3-SNAPSHOT</version>
+ <version>1.5.2.SP2</version>
</parent>
<groupId>org.richfaces.tests</groupId>
Modified: modules/tests/metamer/trunk/ftest-source/pom.xml
===================================================================
--- modules/tests/metamer/trunk/ftest-source/pom.xml 2010-12-21 13:31:29 UTC (rev 20719)
+++ modules/tests/metamer/trunk/ftest-source/pom.xml 2010-12-21 13:31:53 UTC (rev 20720)
@@ -37,7 +37,7 @@
<dependency>
<artifactId>root</artifactId>
<groupId>org.jboss.test.richfaces-selenium</groupId>
- <version>1.5.3-SNAPSHOT</version>
+ <version>1.5.2.SP2</version>
<scope>import</scope>
<type>pom</type>
</dependency>
Modified: modules/tests/metamer/trunk/pom.xml
===================================================================
--- modules/tests/metamer/trunk/pom.xml 2010-12-21 13:31:29 UTC (rev 20719)
+++ modules/tests/metamer/trunk/pom.xml 2010-12-21 13:31:53 UTC (rev 20720)
@@ -26,7 +26,7 @@
<parent>
<groupId>org.richfaces.examples</groupId>
<artifactId>richfaces-example-parent</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>4.0.0.20101220-M5</version>
</parent>
<groupId>org.richfaces.tests</groupId>
@@ -124,7 +124,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<richfaces.checkstyle.version>2</richfaces.checkstyle.version>
- <version.richfaces>4.0.0-SNAPSHOT</version.richfaces>
+ <version.richfaces>4.0.0.20101220-M5</version.richfaces>
</properties>
<dependencyManagement>
14 years
JBoss Rich Faces SVN: r20719 - modules/tests/metamer/trunk/application.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2010-12-21 08:31:29 -0500 (Tue, 21 Dec 2010)
New Revision: 20719
Modified:
modules/tests/metamer/trunk/application/pom.xml
Log:
set jsf-ri version explicitly to 2.0.3-b05
Modified: modules/tests/metamer/trunk/application/pom.xml
===================================================================
--- modules/tests/metamer/trunk/application/pom.xml 2010-12-21 13:31:08 UTC (rev 20718)
+++ modules/tests/metamer/trunk/application/pom.xml 2010-12-21 13:31:29 UTC (rev 20719)
@@ -121,6 +121,17 @@
<artifactId>javassist</artifactId>
<version>3.12.1.GA</version>
</dependency>
+
+ <dependency>
+ <groupId>com.sun.faces</groupId>
+ <artifactId>jsf-api</artifactId>
+ <version>2.0.3-b05</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.faces</groupId>
+ <artifactId>jsf-impl</artifactId>
+ <version>2.0.3-b05</version>
+ </dependency>
<!--
<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-validator</artifactId>
14 years
JBoss Rich Faces SVN: r20718 - in modules/tests/metamer/trunk: application and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2010-12-21 08:31:08 -0500 (Tue, 21 Dec 2010)
New Revision: 20718
Modified:
modules/tests/metamer/trunk/application/pom.xml
modules/tests/metamer/trunk/build.sh
modules/tests/metamer/trunk/ftest/pom.xml
modules/tests/metamer/trunk/pom.xml
Log:
added profiles for jee6 with jsf bundles
Modified: modules/tests/metamer/trunk/application/pom.xml
===================================================================
--- modules/tests/metamer/trunk/application/pom.xml 2010-12-21 13:30:29 UTC (rev 20717)
+++ modules/tests/metamer/trunk/application/pom.xml 2010-12-21 13:31:08 UTC (rev 20718)
@@ -320,6 +320,54 @@
</build>
</profile>
<profile>
+ <id>war-jee6-bundled-mojarra</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>jee6-bundled-mojarra</id>
+ <phase>integration-test</phase>
+ <goals>
+ <goal>war</goal>
+ </goals>
+ <configuration>
+ <classifier>jee6-bundled-mojarra</classifier>
+ <packagingExcludes>WEB-INF/lib/myfaces-api-*,WEB-INF/lib/myfaces-impl-*,WEB-INF/lib/validation-api-*</packagingExcludes>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>war-jee6-bundled-myfaces</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>jee6-bundled-myfaces</id>
+ <phase>integration-test</phase>
+ <goals>
+ <goal>war</goal>
+ </goals>
+ <configuration>
+ <classifier>jee6-bundled-myfaces</classifier>
+ <packagingExcludes>WEB-INF/lib/jsf-api-*,WEB-INF/lib/jsf-impl-*,WEB-INF/lib/validation-api-*</packagingExcludes>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
<id>war-mojarra</id>
<activation>
<property>
@@ -509,10 +557,10 @@
<scope>provided</scope>
</dependency>
<dependency>
- <groupId>javax.validation</groupId>
- <artifactId>validation-api</artifactId>
- <scope>provided</scope>
- </dependency>
+ <groupId>javax.validation</groupId>
+ <artifactId>validation-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
</profile>
</profiles>
Modified: modules/tests/metamer/trunk/build.sh
===================================================================
--- modules/tests/metamer/trunk/build.sh 2010-12-21 13:30:29 UTC (rev 20717)
+++ modules/tests/metamer/trunk/build.sh 2010-12-21 13:31:08 UTC (rev 20718)
@@ -1,2 +1,2 @@
#!/bin/bash
-mvn clean install -Pmyfaces,war-myfaces -Dselenium.server.skip=true -Dselenium.test.skip=true $*
+mvn clean install -Pmyfaces,war-myfaces,war-jee6-bundled-mojarra,war-jee6-bundled-myfaces -Dselenium.server.skip=true -Dselenium.test.skip=true $*
Modified: modules/tests/metamer/trunk/ftest/pom.xml
===================================================================
--- modules/tests/metamer/trunk/ftest/pom.xml 2010-12-21 13:30:29 UTC (rev 20717)
+++ modules/tests/metamer/trunk/ftest/pom.xml 2010-12-21 13:31:08 UTC (rev 20718)
@@ -368,8 +368,7 @@
<profile>
<id>jboss6x-mojarra</id>
<properties>
- <deployable.classifier>jee6</deployable.classifier>
- <jsf.config>Mojarra-2.0</jsf.config>
+ <deployable.classifier>jee6-bundled-mojarra</deployable.classifier>
</properties>
</profile>
<profile>
@@ -381,7 +380,7 @@
<profile>
<id>jboss6x-myfaces</id>
<properties>
- <deployable.classifier>myfaces</deployable.classifier>
+ <deployable.classifier>jee6-bundled-myfaces</deployable.classifier>
</properties>
</profile>
<profile>
Modified: modules/tests/metamer/trunk/pom.xml
===================================================================
--- modules/tests/metamer/trunk/pom.xml 2010-12-21 13:30:29 UTC (rev 20717)
+++ modules/tests/metamer/trunk/pom.xml 2010-12-21 13:31:08 UTC (rev 20718)
@@ -167,7 +167,7 @@
<plugin>
<artifactId>maven-release-plugin</artifactId>
<configuration>
- <arguments>-Pmyfaces,war-myfaces -Dselenium.test.skip=true -Dselenium.server.skip=true</arguments>
+ <arguments>-Pmyfaces,war-myfaces,war-jee6-bundled-mojarra,war-jee6-bundled-myfaces -Dselenium.test.skip=true -Dselenium.server.skip=true</arguments>
<tagBase>https://svn.jboss.org/repos/richfaces/modules/tests/metamer/tags</tagBase>
<branchBase>https://svn.jboss.org/repos/richfaces/modules/tests/metamer/branches</branchBase>
</configuration>
14 years