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

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

template contains [setting number_format="00.00"]

Definition at line 47 of file VisualTemplateTest.java.

                                                                                      {
        File templateFile = getTestFile("visual-script-setting-template.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