Examples of PluginPluginNode


Examples of net.sourceforge.cruisecontrol.gui.configuration.tree.nodes.PluginPluginNode

        "p");
    TreeModel model = tree.getModel();
    RootNode root = (RootNode) model.getRoot();
   
    assertEquals(2, root.getChildCount());
    PluginPluginNode pluginA = (PluginPluginNode) root.getChildAt(0);
    ProjectNode project = (ProjectNode) root.getChildAt(1);
   
    assertEquals("a", pluginA.getAttributeValue("name"));
    assertEquals("b", pluginA.getAttributeValue("classname"));
   
    tree.expandPath(new TreePath(project.getPath()));
    assertEquals(1, project.getChildCount());
    PluginPluginNode pluginC = (PluginPluginNode) project.getChildAt(0);
   
    assertEquals("c", pluginC.getAttributeValue("name"));
    assertEquals("d", pluginC.getAttributeValue("classname"));
  }
View Full Code Here

Examples of net.sourceforge.cruisecontrol.gui.configuration.tree.nodes.PluginPluginNode

    TreeModel model = tree.getModel();
    RootNode root = (RootNode) model.getRoot();
   
    assertEquals(1, root.getChildCount());
   
    PluginPluginNode plugin = (PluginPluginNode) root.getChildAt(0);
    assertEquals("modificationset", plugin.getAttributeValue("name"));
    assertEquals(ModificationSet.class.getName(), plugin.getAttributeValue("classname"));
    assertEquals(2, plugin.getChildCount());
   
    BasicNode svn = (BasicNode) plugin.getChildAt(0);
    assertEquals("svn", svn.getName());
    assertTrue(svn.isLeaf());
   
    BasicNode git = (BasicNode) plugin.getChildAt(1);
    assertEquals("git", git.getName());
    assertTrue(git.isLeaf());
  }
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.