}
public void testAllowedHtmlPropertyPassTru() throws Exception {
HtmlRenderedAttr[] attrs = {
//_AccesskeyProperty
new HtmlRenderedAttr("accesskey"),
//_UniversalProperties
new HtmlRenderedAttr("dir"),
new HtmlRenderedAttr("lang"),
new HtmlRenderedAttr("title"),
//_FocusBlurProperties
new HtmlRenderedAttr("onfocus"),
new HtmlRenderedAttr("onblur"),
//_ChangeSelectProperties
new HtmlRenderedAttr("onchange"),
new HtmlRenderedAttr("onselect"),
//_EventProperties
//onclick is not allowed in this test case
new HtmlRenderedAttr("onclick", "onclick", "onclick=\""),
new HtmlRenderedAttr("ondblclick"),
new HtmlRenderedAttr("onkeydown"),
new HtmlRenderedAttr("onkeypress"),
new HtmlRenderedAttr("onkeyup"),
new HtmlRenderedAttr("onmousedown"),
new HtmlRenderedAttr("onmousemove"),
new HtmlRenderedAttr("onmouseout"),
new HtmlRenderedAttr("onmouseover"),
new HtmlRenderedAttr("onmouseup"),
//_StyleProperties
new HtmlRenderedAttr("style"),
new HtmlRenderedAttr("styleClass", "styleClass", "class=\"styleClass\""),
//_TabindexProperty
new HtmlRenderedAttr("tabindex")
};
MockServletContext servletContext = new MockServletContext();
servletContext.addInitParameter("org.apache.myfaces.ALLOW_JAVASCRIPT", "true");
MockExternalContext mockExtCtx = new MockExternalContext(servletContext,