Package org.apache.velocity.test.provider

Examples of org.apache.velocity.test.provider.TestNumber


        context.put ("long1", new Long (10000000000l));
        context.put ("float1", new Float (1000.1234));
        context.put ("double1", new Double (10000000000d));

        // Add a TemplateNumber
        context.put ("templatenumber1", new TestNumber (999.125));

        /**
         * Test #foreach() with a list containing nulls
         */
        ArrayList nullList = new ArrayList();
View Full Code Here


        context.put ("long1", new Long (10000000000l));
        context.put ("float1", new Float (1000.1234));
        context.put ("double1", new Double (10000000000d));

        // Add a TemplateNumber
        context.put ("templatenumber1", new TestNumber (999.125));

        /**
         * Test #foreach() with a list containing nulls
         */
        ArrayList nullList = new ArrayList();
View Full Code Here

        context.put ("long1", new Long (10000000000l));
        context.put ("float1", new Float (1000.1234));
        context.put ("double1", new Double (10000000000d));

        // Add a TemplateNumber
        context.put ("templatenumber1", new TestNumber (999.125));

        /**
         * Test #foreach() with a list containing nulls
         */
        ArrayList nullList = new ArrayList();
View Full Code Here

TOP

Related Classes of org.apache.velocity.test.provider.TestNumber

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.