Package net.sourceforge.cruisecontrol.gui.configuration.tree.util

Examples of net.sourceforge.cruisecontrol.gui.configuration.tree.util.MockServer


    String xml =
      "<cruisecontrol>" +
      "<project name='proj1'><schedule interval='100' /></project>" +
      "<project name='proj2'><schedule interval='200' /></project>" +
      "</cruisecontrol>";
    MockServer server;
    try {
      server = new MockServer(
          xml, rootInfo);
    } catch (Exception e) {
      throw new RuntimeException(e);
    }
   
    server.addProjectInfo("proj1", proj1Info);
    server.addProjectInfo("proj2", proj2Info);
   
    // Construct the ConfigTree to be tested.
    ConfigTree tree = new ConfigTree(server);
    TreeModel model = tree.getModel();
    RootNode root = (RootNode) model.getRoot();
View Full Code Here

TOP

Related Classes of net.sourceforge.cruisecontrol.gui.configuration.tree.util.MockServer

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.