Package org.apache.imperius.spl.parser.expressions.impl

Examples of org.apache.imperius.spl.parser.expressions.impl.ToString


          propertySensor2=new BooleanConstant(true);
         
          try {
              Vector v = new Vector();
              v.add(propertySensor1);
              Expression es1 = new ToString(v,true);

              v.clear();
              v.add(propertySensor2);
              Expression es2 = new ToString(v,true);

             
             
              String x=(String)es1.evaluate();
              assertTrue(x.equals("845"));
              x=(String)es2.evaluate();
              assertTrue(x.equals("true"));
                     
             
          } catch (SPLException e) {
              fail("Received evaluation exception " + e.getMessage());
View Full Code Here

TOP

Related Classes of org.apache.imperius.spl.parser.expressions.impl.ToString

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.