Logo Search packages:      
Sourcecode: jodreports version File versions  Download package

void net::sf::jooreports::templates::VisualTemplateTest::testNewScriptWithSetting (  ) throws IOException, DocumentTemplateException [inline]

template contains [setting number_format="00.00"] in new JOOScript style

Definition at line 58 of file VisualTemplateTest.java.

                                                                                         {
        File templateFile = getTestFile("visual-script-setting-template-2.odt");
        Map model = new HashMap();
        model.put("value", new Double("7.5"));
        String actual = processTemplate(templateFile, model);
        assertEquals("Number: 07.50", actual);
    }

Generated by  Doxygen 1.6.0   Back to index