JBoss Rich Faces SVN: r23018 - modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richToolbar.
by richfaces-svn-commits@lists.jboss.org
Author: jpapouse
Date: 2011-12-01 06:54:35 -0500 (Thu, 01 Dec 2011)
New Revision: 23018
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richToolbar/TestRichToolbar.java
Log:
RFPL-1871: tests for style and styleClass attribute (rich:toolbar)
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richToolbar/TestRichToolbar.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richToolbar/TestRichToolbar.java 2011-12-01 11:49:02 UTC (rev 23017)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richToolbar/TestRichToolbar.java 2011-12-01 11:54:35 UTC (rev 23018)
@@ -227,6 +227,16 @@
}
@Test
+ public void testStyle() {
+ super.testStyle(toolbar);
+ }
+
+ @Test
+ public void testStyleClass() {
+ super.testStyleClass(toolbar);
+ }
+
+ @Test
public void testWidth() {
AttributeLocator attr = toolbar.getAttribute(Attribute.WIDTH);
assertTrue(selenium.isAttributePresent(attr), "Attribute width should be present.");
13 years
JBoss Rich Faces SVN: r23017 - modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/model/tree.
by richfaces-svn-commits@lists.jboss.org
Author: jpapouse
Date: 2011-12-01 06:49:02 -0500 (Thu, 01 Dec 2011)
New Revision: 23017
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/model/tree/RichFacesTreeNode.java
Log:
bug fixed - ordering of children elements in tree model
Modified: modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/model/tree/RichFacesTreeNode.java
===================================================================
--- modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/model/tree/RichFacesTreeNode.java 2011-11-30 10:27:23 UTC (rev 23016)
+++ modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/model/tree/RichFacesTreeNode.java 2011-12-01 11:49:02 UTC (rev 23017)
@@ -61,7 +61,7 @@
@Override
public Iterator<Object> getChildrenKeysIterator() {
- return children.keySet().iterator();
+ return keys.iterator();
}
@Override
13 years