use of com.github.bordertech.wcomponents.WCollapsible in project wcomponents by BorderTech.
the class WCollapsibleRenderer_Test method testDoRenderClientSideCollapse.
@Test
public void testDoRenderClientSideCollapse() throws IOException, SAXException, XpathException {
WCollapsible collapsible = new WCollapsible(new WText(COLLAPSIBLE_CONTENT), COLLAPSIBLE_HEADING, WCollapsible.CollapsibleMode.CLIENT);
assertSchemaMatch(collapsible);
assertXpathEvaluatesTo("client", "//ui:collapsible/@mode", collapsible);
assertRenderContentCorrectly(collapsible, true, true);
}
Aggregations