Package org.springframework.ide.eclipse.config.ui.actions

Examples of org.springframework.ide.eclipse.config.ui.actions.DeleteNodeAction.run()


    insert.run();
    assertEquals(1, root.getItemCount());

    IDOMElement node = (IDOMElement) root.getItem(0).getData();
    DeleteNodeAction delete = new DeleteNodeAction(textView, node);
    delete.run();
    assertEquals(0, root.getItemCount());
  }

  public void testLargeFileDeletion() throws Exception {
    cEditor = openFileInEditor("src/many-beans.xml");
View Full Code Here


    TreeItem root = treeViewer.getTree().getItem(0);
    IDOMElement node = (IDOMElement) root.getItem(0).getData();
    assertEquals(20, root.getItemCount());

    DeleteNodeAction action = new DeleteNodeAction(textView, node);
    action.run();
    assertEquals(19, root.getItemCount());
  }

  public void testLargeFileInsertion() throws Exception {
    cEditor = openFileInEditor("src/many-beans.xml");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.