Package org.apache.flex.compiler.tree.as

Examples of org.apache.flex.compiler.tree.as.IInterfaceNode


  @Ignore
  @Override
    @Test
    public void testSimpleExtendsMultiple()
    {
        IInterfaceNode node = getInterfaceNode("public interface IA extends IB, IC, ID {}");
        visitor.visitInterface(node);
        assertOut("");
    }
View Full Code Here


  @Ignore
  @Override
    @Test
    public void testQualifiedExtendsMultiple()
    {
        IInterfaceNode node = getInterfaceNode("public interface IA extends foo.bar.IB, baz.goo.IC, foo.ID {}");
        visitor.visitInterface(node);
        assertOut("");
    }
View Full Code Here

  @Ignore
  @Override
    @Test
    public void testAccessors()
    {
        IInterfaceNode node = getInterfaceNode("public interface IA {"
                + "function get foo1():Object;"
                + "function set foo1(value:Object):void;}");
        visitor.visitInterface(node);
        assertOut("");
    }
View Full Code Here

  @Ignore
  @Override
    @Test
    public void testMethods()
    {
        IInterfaceNode node = getInterfaceNode("public interface IA {"
                + "function foo1():Object;"
                + "function foo1(value:Object):void;}");
        visitor.visitInterface(node);
        assertOut("");
    }
View Full Code Here

  @Ignore
  @Override
    @Test
    public void testAccessorsMethods()
    {
        IInterfaceNode node = getInterfaceNode("public interface IA {"
                + "function get foo1():Object;"
                + "function set foo1(value:Object):void;"
                + "function baz1():Object;"
                + "function baz2(value:Object):void;}");
        visitor.visitInterface(node);
View Full Code Here

    //--------------------------------------------------------------------------

    @Test
    public void testSimple()
    {
        IInterfaceNode node = getInterfaceNode("public interface IA{}");
        visitor.visitInterface(node);
        assertOut("public interface IA {\n}");
    }
View Full Code Here

    }

    @Test
    public void testSimpleExtends()
    {
        IInterfaceNode node = getInterfaceNode("public interface IA extends IB{}");
        visitor.visitInterface(node);
        assertOut("public interface IA extends IB {\n}");
    }
View Full Code Here

    }

    @Test
    public void testSimpleExtendsMultiple()
    {
        IInterfaceNode node = getInterfaceNode("public interface IA extends IB, IC, ID {}");
        visitor.visitInterface(node);
        assertOut("public interface IA extends IB, IC, ID {\n}");
    }
View Full Code Here

    }

    @Test
    public void testQualifiedExtendsMultiple()
    {
        IInterfaceNode node = getInterfaceNode("public interface IA extends foo.bar.IB, baz.goo.IC, foo.ID {}");
        visitor.visitInterface(node);
        assertOut("public interface IA extends foo.bar.IB, baz.goo.IC, foo.ID {\n}");
    }
View Full Code Here

    }

    @Test
    public void testAccessors()
    {
        IInterfaceNode node = getInterfaceNode("public interface IA {"
                + "function get foo1():Object;"
                + "function set foo1(value:Object):void;}");
        visitor.visitInterface(node);
        assertOut("public interface IA {\n\tfunction get foo1():Object;\n\t"
                + "function set foo1(value:Object):void;\n}");
View Full Code Here

TOP

Related Classes of org.apache.flex.compiler.tree.as.IInterfaceNode

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.