Search in sources :

Example 11 with DivTestPanel

use of org.odlabs.wiquery.ui.DivTestPanel in project wiquery by WiQuery.

the class PositionBehaviorTestCase method setUp.

@Override
@Before
public void setUp() {
    super.setUp();
    positionBehavior = new PositionBehavior();
    Panel panel = new DivTestPanel("panelId");
    WebMarkupContainer component = new WebMarkupContainer("anId");
    component.setMarkupId("anId");
    component.add(positionBehavior);
    panel.add(component);
    tester.startComponentInPage(panel);
}
Also used : Panel(org.apache.wicket.markup.html.panel.Panel) DivTestPanel(org.odlabs.wiquery.ui.DivTestPanel) DivTestPanel(org.odlabs.wiquery.ui.DivTestPanel) WebMarkupContainer(org.apache.wicket.markup.html.WebMarkupContainer) Before(org.junit.Before)

Aggregations

Panel (org.apache.wicket.markup.html.panel.Panel)11 Before (org.junit.Before)11 DivTestPanel (org.odlabs.wiquery.ui.DivTestPanel)11 WebMarkupContainer (org.apache.wicket.markup.html.WebMarkupContainer)6