" rootPanel.add(panel);",
" }",
"}");
frame.refresh();
assertNoErrors(frame);
GridInfo panel = (GridInfo) frame.getChildrenWidgets().get(0);
IGridInfo gridInfo = panel.getGridInfo();
// check intervals
{
Interval[] intervals = gridInfo.getRowIntervals();
assertEquals(2, intervals.length);
assertEquals(new Interval(0, 0), intervals[0]);