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

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

template contains special characters in JooScript for output

Definition at line 162 of file VisualTemplateTest.java.

        File templateFile = getTestFile("visual-script-special-chars-output-template.odt");
        Map model = new HashMap();
        model.put("value", "<!@#$%^&*-->");
        model.put("JooScriptNullDevice", "fdsfdfs");
        String actual = processTemplate(templateFile, model);
        assertEquals("Value: <!@#$%^&*-->", actual);

Generated by  Doxygen 1.6.0   Back to index