Package org.springframework.ide.eclipse.propertiesfileeditor

Examples of org.springframework.ide.eclipse.propertiesfileeditor.PropertyTree


        PropertyTree.split("a.bc.defg")
    );
  }
 
  public void testEmpty() {
    PropertyTree props = new PropertyTree();
    assertCompletions(props, "");
  }
View Full Code Here


    PropertyTree props = new PropertyTree();
    assertCompletions(props, "");
  }
 
  public void testSimple() throws Exception {
    PropertyTree props = propertyTree(
        "start",
        "stop",
        "arbiter",
        "stinger",
        "sanity"
View Full Code Here

    //    "stop"
    );
  }
 
  public void testNested() throws Exception {
    PropertyTree props = propertyTree(
        "start.the.bus",
        "start.the.train",
        "stop.the.bus",
        "start.a.bus",
        "stop.a.bus",
View Full Code Here

    );
   
  }

  public void testNestedAndTerminal() throws Exception {
    PropertyTree props = propertyTree(
        "foo.bar",
        "foo.bar.zinger"
    );
   
    assertCompletions(props, "foo.",
View Full Code Here

 
  /**
   * Create a property tree with a bunch of String as intialization data.
   */
  public PropertyTree propertyTree(String... props){
    PropertyTree tree = new PropertyTree();
    for (String prop : props) {
      tree.insert(prop);
    }
    return tree;
  }
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.propertiesfileeditor.PropertyTree

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.