Author: ppitonak(a)redhat.com
Date: 2011-11-03 12:55:07 -0400 (Thu, 03 Nov 2011)
New Revision: 22873
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/AbstractMetamerTest.java
Log:
richPanel and richTogglePanel templates removed from the list of templates
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 2011-11-03
16:53:54 UTC (rev 22872)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/AbstractMetamerTest.java 2011-11-03
16:55:07 UTC (rev 22873)
@@ -102,8 +102,8 @@
@Inject
@Templates({ "plain", "richAccordion", "richDataTable",
"richCollapsibleSubTable", "richExtendedDataTable",
- "richDataGrid", "richList", "richCollapsiblePanel",
"richPanel", "richTabPanel", "richTogglePanel",
- "richPopupPanel", "a4jRegion", "a4jRepeat",
"hDataTable", "hPanelGrid", "uiRepeat" })
+ "richDataGrid", "richList", "richCollapsiblePanel",
"richTabPanel", "richPopupPanel", "a4jRegion",
"a4jRepeat",
+ "hDataTable", "hPanelGrid", "uiRepeat" })
private TemplatesList template;
/**
@@ -227,8 +227,8 @@
}
/**
- * A helper method for testing attribute "style" or similar. It sets
"background-color: yellow; font-size: 1.5em;" to the input
- * field and checks that it was changed on the page.
+ * A helper method for testing attribute "style" or similar. It sets
"background-color: yellow; font-size: 1.5em;"
+ * to the input field and checks that it was changed on the page.
*
* @param element
* locator of tested element
@@ -243,7 +243,7 @@
AttributeLocator<?> styleAttr = element.getAttribute(Attribute.STYLE);
assertTrue(selenium.getAttribute(styleAttr).contains(value), "Attribute
style should contain \"" + value + "\"");
}
-
+
/**
* A helper method for testing attribute "style". It sets
"background-color: yellow; font-size: 1.5em;" to the input
* field and checks that it was changed on the page.
@@ -258,15 +258,15 @@
}
/**
- * A helper method for testing attribute "class" or similar.
- * It sets "metamer-ftest-class" to the input field and checks that it was
changed on the page.
+ * A helper method for testing attribute "class" or similar. It sets
"metamer-ftest-class" to the input field and
+ * checks that it was changed on the page.
*
* @param element
* locator of tested element
* @param attribute
* name of the attribute that will be set (e.g. styleClass, headerClass,
itemContentClass)
*/
- protected void testStyleClass(ExtendedLocator<JQueryLocator> element,
BasicAttributes attribute) {
+ protected void testStyleClass(ExtendedLocator<JQueryLocator> element,
BasicAttributes attribute) {
final String styleClass = "metamer-ftest-class";
basicAttributes.set(attribute, styleClass);
@@ -275,12 +275,10 @@
assertTrue(selenium.isElementPresent(element));
assertFalse(selenium.isElementPresent(elementWhichHasntThatClass));
}
-
+
/**
- * A helper method for testing attribute "class".
- * It sets "metamer-ftest-class" to the input field and checks that it was
changed on the page.
- * This method is wrapping
- * {@link #testStyleClass(ExtendedLocator, BasicAttributes)}
+ * A helper method for testing attribute "class". It sets
"metamer-ftest-class" to the input field and checks that
+ * it was changed on the page. This method is wrapping {@link
#testStyleClass(ExtendedLocator, BasicAttributes)}
*
* @param element
* locator of tested element
Show replies by date