Package com.googlecode.aviator.runtime.function.system

Examples of com.googlecode.aviator.runtime.function.system.SysDateFunction



public class SysDateFunctionUnitTest {
    @Test
    public void testCall() {
        SysDateFunction fun = new SysDateFunction();

        AviatorObject result = fun.call(null);
        assertNotNull(result);
        assertTrue(result.getValue(null) instanceof Date);
    }
View Full Code Here


    }


    @Test(expected = IllegalArgumentException.class)
    public void hasArugment() {
        SysDateFunction fun = new SysDateFunction();
        fun.call(null, AviatorBoolean.TRUE);

    }
View Full Code Here

TOP

Related Classes of com.googlecode.aviator.runtime.function.system.SysDateFunction

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.