////////////////////////////////////////////////////////////////////////////
/**
* <code>ListGrid</code> parsing.
*/
public void test_parse() throws Exception {
ListGridInfo listGrid =
openJavaInfo(
"public class Test extends ListGrid {",
" public Test() {",
" ListGridField field = new ListGridField('field', 'Field');",
" setFields(new ListGridField[] { field });",
" }",
"}");
//
assertEquals(1, listGrid.getFields().size());
List<ArrayObjectInfo> arrayInfos = listGrid.getChildren(ArrayObjectInfo.class);
assertEquals(1, arrayInfos.size());
}