Package de.cuioss.test.jsf.renderer
Interface RendererAttributeAssert
-
- All Known Implementing Classes:
CommonRendererAsserts
public interface RendererAttributeAssert
This interface defines the testing of implicit single attribute contracts.- Author:
- Oliver Wolff
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapplyAttribute(UIComponent component)Sets the attribute to be tested into the given componentvoidassertAttributeSet(org.jdom2.Element element)Asserts in the given render-result that the attribute was set properlyStringgetAttributeName()
-
-
-
Method Detail
-
getAttributeName
String getAttributeName()
- Returns:
- the name of the attribute to be checked
-
applyAttribute
void applyAttribute(UIComponent component)
Sets the attribute to be tested into the given component- Parameters:
component- where the attribute is to be applied to,
-
assertAttributeSet
void assertAttributeSet(org.jdom2.Element element)
Asserts in the given render-result that the attribute was set properly- Parameters:
element- to be checked
-
-