Package org.apache.flex.compiler.mxml

Examples of org.apache.flex.compiler.mxml.IMXMLData


public class MXMLUnitDataTests extends MXMLDataTests
{
    protected IMXMLUnitData getMXMLUnitData(String[] code)
    {
      String mxml = getMXML(code);
      IMXMLData mxmlData = getMXMLData(mxml);
      assertThat("mxmlData", mxmlData, is(notNullValue()));
    assertThat("getFileSpecification, getPath", mxmlData.getFileSpecification().getPath(), is(mxmlData.getPath()));
    assertThat("getNumUnits", mxmlData.getNumUnits(), is(1));
    assertThat("getEnd", mxmlData.getEnd(), is(mxml.length()));
    assertThat("getRootTag", mxmlData.getRootTag(), is(nullValue()));
    assertThat("getMXMLDialect", mxmlData.getMXMLDialect(), is(MXMLDialect.DEFAULT));
    assertThat("getProblems", mxmlData.getProblems().size(), is(0));
    return mxmlData.getUnit(0);
    }
View Full Code Here

TOP

Related Classes of org.apache.flex.compiler.mxml.IMXMLData

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.