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

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

input fields for directive "switch"

[switch option][case '1']
...
[break]
...
[/switch]

Definition at line 101 of file TextInputTagTest.java.

                                                                                     {
        File templateFile = getTestFile("textinput-directives-switch-template.odt");
        Map model = new HashMap();
        model.put("option", "2");
        String actual = processTemplate(templateFile, model);
        assertEquals("output content", "Two", actual);
    }

Generated by  Doxygen 1.6.0   Back to index