" }",
"}");
}
public void test_CREATE_insertRowVerticalSpan() throws Exception {
PanelInfo panel =
parseJavaInfo(
"import com.google.gwt.user.client.ui.Button;",
"public class Test extends Panel {",
" public Test() {",
" setLayout(new TableLayout(2));",
" {",
" Button button = new Button('0');",
" TableLayoutData tableLayoutData = new TableLayoutData(1);",
" tableLayoutData.setRowspan(2);",
" add(button, tableLayoutData);",
" }",
" {",
" Button button = new Button('1');",
" add(button);",
" }",
" {",
" Button button = new Button('2');",
" add(button);",
" }",
" }",
"}");
panel.refresh();
TableLayoutInfo layout = (TableLayoutInfo) panel.getLayout();
//
WidgetInfo newButton = createButton();
layout.command_CREATE(newButton, 1, false, 1, true);
assertEditor(
"import com.google.gwt.user.client.ui.Button;",