use of org.odlabs.wiquery.ui.DivTestPanel in project wiquery by WiQuery.
the class SelectableBehaviorTestCase method setUp.
@Override
@Before
public void setUp() {
super.setUp();
selectableBehavior = new SelectableBehavior();
Panel panel = new DivTestPanel("panelId");
WebMarkupContainer component = new WebMarkupContainer("anId");
component.setMarkupId("anId");
component.add(selectableBehavior);
panel.add(component);
tester.startComponentInPage(panel);
}
use of org.odlabs.wiquery.ui.DivTestPanel in project wiquery by WiQuery.
the class DraggableBehaviorTestCase method setUp.
@Override
@Before
public void setUp() {
super.setUp();
draggableBehavior = new DraggableBehavior();
Panel panel = new DivTestPanel("panelId");
WebMarkupContainer component = new WebMarkupContainer("anId");
component.setMarkupId("anId");
component.add(draggableBehavior);
panel.add(component);
tester.startComponentInPage(panel);
}
use of org.odlabs.wiquery.ui.DivTestPanel in project wiquery by WiQuery.
the class ProgressBarTestCase method setUp.
@Override
@Before
public void setUp() {
super.setUp();
Panel panel = new DivTestPanel("panelId");
progressBar = new ProgressBar("anId");
progressBar.setMarkupId(progressBar.getId());
panel.add(progressBar);
tester.startComponentInPage(panel);
}
use of org.odlabs.wiquery.ui.DivTestPanel in project wiquery by WiQuery.
the class AccordionTestCase method setUp.
@SuppressWarnings("deprecation")
@Override
@Before
public void setUp() {
super.setUp();
Panel panel = new DivTestPanel("panelId");
accordion = new Accordion("anId");
accordion.setMarkupId(accordion.getId());
panel.add(accordion);
tester.startComponentInPage(panel);
}
use of org.odlabs.wiquery.ui.DivTestPanel in project wiquery by WiQuery.
the class ResizableBehaviorTestCase method setUp.
@Override
@Before
public void setUp() {
super.setUp();
resizableBehavior = new ResizableBehavior();
Panel panel = new DivTestPanel("panelId");
WebMarkupContainer component = new WebMarkupContainer("anId");
component.setMarkupId("anId");
component.add(resizableBehavior);
panel.add(component);
tester.startComponentInPage(panel);
}
Aggregations