Author: lfryc(a)redhat.com
Date: 2011-02-15 12:22:05 -0500 (Tue, 15 Feb 2011)
New Revision: 21672
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richTooltip/simple.xhtml
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTooltip/TestTooltipSimple.java
Log:
fixed tooltip request event handlers + removed issue tracking + added test (RF-10476)
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richTooltip/simple.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richTooltip/simple.xhtml 2011-02-15
15:53:47 UTC (rev 21671)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richTooltip/simple.xhtml 2011-02-15
17:22:05 UTC (rev 21672)
@@ -79,6 +79,9 @@
onmouseout="#{richTooltipBean.attributes['onmouseout'].value}"
onmouseover="#{richTooltipBean.attributes['onmouseover'].value}"
onmouseup="#{richTooltipBean.attributes['onmouseup'].value}"
+ onbegin="#{richTooltipBean.attributes['onbegin'].value}"
+ onbeforedomupdate="#{richTooltipBean.attributes['onbeforedomupdate'].value}"
+ oncomplete="#{richTooltipBean.attributes['oncomplete'].value}"
onshow="#{richTooltipBean.attributes['onshow'].value}"
render="#{richTooltipBean.attributes['render'].value}"
rendered="#{richTooltipBean.attributes['rendered'].value}"
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTooltip/TestTooltipSimple.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTooltip/TestTooltipSimple.java 2011-02-15
15:53:47 UTC (rev 21671)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTooltip/TestTooltipSimple.java 2011-02-15
17:22:05 UTC (rev 21672)
@@ -120,10 +120,10 @@
}
@Test
- @IssueTracking("https://issues.jboss.org/browse/RF-10476")
public void testData() {
attributes.setData("RichFaces 4");
attributes.setOncomplete("data = event.data");
+ attributes.setMode(TooltipMode.ajax);
retrieveRequestTime.initializeValue();
tooltip.recall();
@@ -133,6 +133,17 @@
}
@Test
+ public void testRequestEventHandlers() {
+ attributes.setMode(TooltipMode.ajax);
+
+ super.testRequestEventsBefore("begin", "beforedomupdate",
"complete");
+ retrieveRequestTime.initializeValue();
+ tooltip.recall();
+ waitGui.waitForChange(retrieveRequestTime);
+ super.testRequestEventsAfter("begin", "beforedomupdate",
"complete");
+ }
+
+ @Test
public void testDir() {
super.testDir(tooltip);
}
Show replies by date