Search in sources :

Example 6 with WSection

use of com.github.bordertech.wcomponents.WSection in project wcomponents by BorderTech.

the class WSectionRenderer_Test method testRendererCorrectlyConfigured.

@Test
public void testRendererCorrectlyConfigured() {
    WSection section = new WSection("");
    Assert.assertTrue("Incorrect renderer supplied", getWebXmlRenderer(section) instanceof WSectionRenderer);
}
Also used : WSection(com.github.bordertech.wcomponents.WSection) Test(org.junit.Test)

Aggregations

WSection (com.github.bordertech.wcomponents.WSection)6 Test (org.junit.Test)5 WText (com.github.bordertech.wcomponents.WText)3 DefaultWComponent (com.github.bordertech.wcomponents.DefaultWComponent)2 UIContext (com.github.bordertech.wcomponents.UIContext)2 AjaxOperation (com.github.bordertech.wcomponents.AjaxOperation)1 Margin (com.github.bordertech.wcomponents.Margin)1 SectionMode (com.github.bordertech.wcomponents.WSection.SectionMode)1 XmlStringBuilder (com.github.bordertech.wcomponents.XmlStringBuilder)1 SystemException (com.github.bordertech.wcomponents.util.SystemException)1