use of org.odlabs.wiquery.ui.DivTestPanel in project wiquery by WiQuery.
the class DialogTestCase method setUp.
@Override
@Before
public void setUp() {
super.setUp();
Panel panel = new DivTestPanel("panelId");
dialog = new Dialog("anId");
dialog.setMarkupId(dialog.getId());
panel.add(dialog);
tester.startComponentInPage(panel);
}
use of org.odlabs.wiquery.ui.DivTestPanel in project wiquery by WiQuery.
the class DroppableBehaviorTestCase method setUp.
@Override
@Before
public void setUp() {
super.setUp();
droppableBehavior = new DroppableBehavior();
Panel panel = new DivTestPanel("panelId");
WebMarkupContainer component = new WebMarkupContainer("anId");
component.setMarkupId("anId");
component.add(droppableBehavior);
panel.add(component);
tester.startComponentInPage(panel);
}
use of org.odlabs.wiquery.ui.DivTestPanel in project wiquery by WiQuery.
the class SliderTestCase method setUp.
@Override
@Before
public void setUp() {
super.setUp();
Panel panel = new DivTestPanel("panelId");
slider = new Slider("anId", 5, 10);
slider.setMarkupId(slider.getId());
panel.add(slider);
tester.startComponentInPage(panel);
}
use of org.odlabs.wiquery.ui.DivTestPanel in project wiquery by WiQuery.
the class SortableBehaviorTestCase method setUp.
@Override
@Before
public void setUp() {
super.setUp();
sortableBehavior = new SortableBehavior();
Panel panel = new DivTestPanel("panelId");
WebMarkupContainer component = new WebMarkupContainer("anId");
component.setMarkupId("anId");
component.add(sortableBehavior);
panel.add(component);
tester.startComponentInPage(panel);
}
use of org.odlabs.wiquery.ui.DivTestPanel in project wiquery by WiQuery.
the class TabsTestCase method setUp.
@SuppressWarnings("deprecation")
@Override
@Before
public void setUp() {
super.setUp();
Panel panel = new DivTestPanel("panelId");
tabs = new Tabs("anId");
tabs.setMarkupId(tabs.getId());
panel.add(tabs);
tester.startComponentInPage(panel);
}
Aggregations