Examples of IMXMLRemoteObjectNode


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

public class MXMLRemoteObjectNodeTests extends MXMLInstanceNodeTests
{
  private IMXMLRemoteObjectNode getMXMLRemoteObjectNode(String[] code)
  {
    IMXMLFileNode fileNode = getMXMLFileNode(code);
    IMXMLRemoteObjectNode node = (IMXMLRemoteObjectNode)findFirstDescendantOfType(fileNode, IMXMLRemoteObjectNode.class);
    assertThat("getNodeID", node.getNodeID(), is(ASTNodeID.MXMLRemoteObjectID));
    assertThat("getName", node.getName(), is("mx.rpc.remoting.mxml.RemoteObject"));
    return node;
  }
View Full Code Here

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

        "            <symbol>{stockSymbol.text}</symbol>",
        "        </mx:arguments>",
        "    </mx:method>",
        "</mx:RemoteObject>"
    };
    IMXMLRemoteObjectNode node = getMXMLRemoteObjectNode(code);
    assertThat("getChildCount", node.getChildCount(), is(2));
    IMXMLPropertySpecifierNode destinationNode = (IMXMLPropertySpecifierNode)node.getChild(0);
    assertThat("", destinationNode.getName(), is("destination"));
    IMXMLRemoteObjectMethodNode methodNode = (IMXMLRemoteObjectMethodNode)node.getChild(1);
    assertThat("", methodNode.getName(), is("mx.rpc.remoting.mxml.Operation"));
    assertThat("", methodNode.getMethodName(), is("GetQuote"));
  }
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.