" }",
"}");
}
public void test_flowContainer_MOVE() throws Exception {
LayoutInfo layout =
parseJavaInfo(
"public class Test extends HLayout {",
" public Test() {",
" {",
" Button button_1 = new Button();",
" addMember(button_1);",
" }",
" {",
" Button button_2 = new Button();",
" addMember(button_2);",
" }",
" }",
"}");
CanvasInfo button_1 = getJavaInfoByName("button_1");
CanvasInfo button_2 = getJavaInfoByName("button_2");
layout.refresh();
//
FlowContainer flowContainer = new FlowContainerFactory(layout, true).get().get(0);
assertTrue(flowContainer.validateComponent(button_2));
assertTrue(flowContainer.validateReference(button_1));
flowContainer.command_MOVE(button_2, button_1);