Package org.pirkaengine.core.expression

Examples of org.pirkaengine.core.expression.FunctionEngine


    Map<String, Object> model;
    Map<String, Function> functions;

    @Before
    public void setup() {
        target = new FunctionEngine(ExpressionEngine.getInstance());
        script = "foo(hoge)";
        model = new HashMap<String, Object>();
        functions = new HashMap<String, Function>();
        functions.put("bar", new Function(null, "return 0;", "bar"));
    }
View Full Code Here


        functions.put("bar", new Function(null, "return 0;", "bar"));
    }

    @Test(expected = IllegalArgumentException.class)
    public void FunctionEngine_null() {
        new FunctionEngine(null);
    }
View Full Code Here

TOP

Related Classes of org.pirkaengine.core.expression.FunctionEngine

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.