report.read(EXAMPLE_REPORT); // Must come after setting password
report.setParameterXMLInput(PARAM_INPUT_FILE);
File f = File.createTempFile("xml-writer-test", ".xml");
f.deleteOnExit();
report.writeFile(f.getPath());
report.read(f);
f.delete();
}
catch (Exception e) {
fail(e.toString());