Package | Description |
---|---|
org.apache.myfaces.test.utils |
Modifier and Type | Method and Description |
---|---|
static HtmlRenderedAttr[] |
HtmlCheckAttributesUtil.generateAttrsNotRenderedForReadOnly() |
static HtmlRenderedAttr[] |
HtmlCheckAttributesUtil.generateBasicAttrs() |
static HtmlRenderedAttr[] |
HtmlCheckAttributesUtil.generateBasicReadOnlyAttrs() |
Modifier and Type | Method and Description |
---|---|
static void |
HtmlCheckAttributesUtil.checkRenderedAttributes(HtmlRenderedAttr[] attrs,
String output)
Iterates through all elements of attrs to check if they are only rendered once in output.
|
static void |
HtmlCheckAttributesUtil.checkRenderedAttributes(UIComponent component,
FacesContext context,
org.apache.myfaces.test.mock.MockResponseWriter writer,
HtmlRenderedAttr[] attrs)
This method adds all attributes from attrs into the component.
|
static String |
HtmlCheckAttributesUtil.constructErrorMessage(HtmlRenderedAttr[] attrs,
String actual)
Constructs an error message string detailing which attributes were not rendered
and which attributes were rendered more than once.
|
static boolean |
HtmlCheckAttributesUtil.hasFailedAttrRender(HtmlRenderedAttr[] attrs)
Checks the attrs array if it has elements which were rendered incorrectly.
|
Copyright © 2020 The Apache Software Foundation. All rights reserved.