Search in sources :

Example 6 with WContent

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

the class WContentRenderer_Test method testRendererCorrectlyConfigured.

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

Aggregations

WContent (com.github.bordertech.wcomponents.WContent)6 Test (org.junit.Test)3 MockRequest (com.github.bordertech.wcomponents.util.mock.MockRequest)2 Action (com.github.bordertech.wcomponents.Action)1 ActionEvent (com.github.bordertech.wcomponents.ActionEvent)1 ComponentWithContext (com.github.bordertech.wcomponents.ComponentWithContext)1 InternalResource (com.github.bordertech.wcomponents.InternalResource)1 MockContentAccess (com.github.bordertech.wcomponents.MockContentAccess)1 MockLabel (com.github.bordertech.wcomponents.MockLabel)1 Request (com.github.bordertech.wcomponents.Request)1 UIContext (com.github.bordertech.wcomponents.UIContext)1 WApplication (com.github.bordertech.wcomponents.WApplication)1 WAudio (com.github.bordertech.wcomponents.WAudio)1 WButton (com.github.bordertech.wcomponents.WButton)1 WComponent (com.github.bordertech.wcomponents.WComponent)1 WContainer (com.github.bordertech.wcomponents.WContainer)1 WContentLink (com.github.bordertech.wcomponents.WContentLink)1 WImage (com.github.bordertech.wcomponents.WImage)1 WMenu (com.github.bordertech.wcomponents.WMenu)1 WMenuItem (com.github.bordertech.wcomponents.WMenuItem)1