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

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

input fields for directive in split lines

[if showname='Yes']
...
[else]
...
[/if]

Definition at line 71 of file TextInputTagTest.java.

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

Generated by  Doxygen 1.6.0   Back to index