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

void net::sf::jooreports::templates::TextInputTagTest::testVariable (  ) throws IOException, DocumentTemplateException [inline]

input field with content $name

Definition at line 31 of file TextInputTagTest.java.

                                                                             {
        File templateFile = getTestFile("textinput-variable-template.odt");
        Map model = new HashMap();
        model.put("name", "Mirko");
        String actual = processTemplate(templateFile, model);
        assertEquals("output content", "Hello Mirko!", actual);
    }

Generated by  Doxygen 1.6.0   Back to index