Package org.allspice.structured.expr

Examples of org.allspice.structured.expr.PreIncExpr


    public int meth(int arg0) ;
  }

  public void test1() throws Exception {
    MyInterface obj = makeObject(MyInterface.class,   
            new ExprStatement(new PreIncExpr(ARG0,null),null),
            new ReturnStatement(ARG0,null)) ;
    assertEquals(obj.meth(5),6) ;
  }
View Full Code Here


    assertEquals(obj.meth(5),6) ;
  }
 
  public void test2() throws Exception {
    MyInterface obj = makeObject(MyInterface.class,
        new PreIncExpr(ARG0,null)) ;
    assertEquals(obj.meth(5),6) ;
  }
View Full Code Here

TOP

Related Classes of org.allspice.structured.expr.PreIncExpr

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.