Examples of EqualsExpr


Examples of org.jostraca.tree.path.expr.EqualsExpr

import junit.framework.TestCase;

public class EqualsExprTest extends TestCase {

  public void testHappy() {
    assertEquals(true,  new EqualsExpr(new NullExpr(), new NullExpr()).eval(null));
    assertEquals(false, new EqualsExpr(new NullExpr(), new StringExpr("foo")).eval(null));
    assertEquals(false, new EqualsExpr(new StringExpr("foo"), new NullExpr()).eval(null));
  }
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.