Package org.auraframework.expression

Examples of org.auraframework.expression.Expression.evaluate()


     * Non-english string literals are parsed correctly.
     */
    public void testNonEnglishString() throws Exception {
        Expression e = buildExpression("'天ぷらが食べたいです'");
        assertEquals("Unexpected expression type", ExpressionType.LITERAL, e.getExpressionType());
        assertEquals("Unexpected evaluation of non-english string", "天ぷらが食べたいです", e.evaluate(null));
    }

    /**
     * Missing operands throw a parse exception.
     */
 
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.