Package org.apache.flex.compiler.tree.mxml

Examples of org.apache.flex.compiler.tree.mxml.IMXMLModelRootNode


        "    <root/>",
      "</fx:Model>"
    };
    IMXMLModelNode node = getMXMLModelNode(code);
    assertThat("getChildCount", node.getChildCount(), is(1));
    IMXMLModelRootNode rootNode = node.getRootNode();
    assertThat("index", rootNode.getIndex(), is(IMXMLModelPropertyContainerNode.NO_INDEX));
    assertThat("property nodes", rootNode.getPropertyNodes().length, is(0));
  }
View Full Code Here


        "    </root>",
      "</fx:Model>"
    };
    IMXMLModelNode node = getMXMLModelNode(code);
    assertThat("getChildCount", node.getChildCount(), is(1));
    IMXMLModelRootNode rootNode = node.getRootNode();
    assertThat("index", rootNode.getIndex(), is(IMXMLModelPropertyContainerNode.NO_INDEX));
    assertThat("property nodes", rootNode.getPropertyNodes().length, is(1));
    assertThat("a count", rootNode.getPropertyNodes("a").length, is(1));
  }
View Full Code Here

        "    </root>",
      "</fx:Model>"
    };
    IMXMLModelNode node = getMXMLModelNode(code);
    assertThat("getChildCount", node.getChildCount(), is(1));
    IMXMLModelRootNode rootNode = node.getRootNode();
    assertThat("index", rootNode.getIndex(), is(IMXMLModelPropertyContainerNode.NO_INDEX));
    assertThat("property nodes", rootNode.getPropertyNodes().length, is(4));
    assertThat("a count", rootNode.getPropertyNodes("a").length, is(2));
    assertThat("b count", rootNode.getPropertyNodes("a").length, is(2));
  }
View Full Code Here

TOP

Related Classes of org.apache.flex.compiler.tree.mxml.IMXMLModelRootNode

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.