Package org.freeplane.uispec4j.framework

Examples of org.freeplane.uispec4j.framework.Node


  }
  @Test
  public void testUp() throws Exception {
    final FreeplaneWindow mainWindow = getFreeMindWindow();
    mainWindow.getAwtComponent();
    final Node node = mainWindow.getNode("22");
    node.selectAsTheOnlyOneSelected();
    node.pressKey(Key.UP);
    assertEquals("11", node.getSelected().getText());
    }
View Full Code Here


    }
  @Test
  public void testCtrlUp() throws Exception {
    final FreeplaneWindow mainWindow = getFreeMindWindow();
    mainWindow.getAwtComponent();
    final Node node = mainWindow.getNode("22");
    node.selectAsTheOnlyOneSelected();
    node.pressKey(Key.control(Key.UP));
    node.pressKey(Key.DOWN);
    assertEquals("11", node.getSelected().getText());
    mainWindow.getToolbar("/main_toolbar").getButton("Undo").click();
    }
View Full Code Here

TOP

Related Classes of org.freeplane.uispec4j.framework.Node

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.