" }",
"}");
}
public void test_MOVE() throws Exception {
DockLayoutPanelInfo panel =
parseJavaInfo(
"public class Test extends DockLayoutPanel {",
" public Test() {",
" super(Unit.CM);",
" {",
" Button button_1 = new Button();",
" addWest(button_1, 1.0);",
" }",
" {",
" Button button_2 = new Button();",
" addNorth(button_2, 2.0);",
" }",
" }",
"}");
panel.refresh();
WidgetInfo button_1 = getJavaInfoByName("button_1");
WidgetInfo button_2 = getJavaInfoByName("button_2");
//
panel.command_MOVE2(button_2, button_1);
assertEditor(
"public class Test extends DockLayoutPanel {",
" public Test() {",
" super(Unit.CM);",
" {",