report.getParameterValues().put("productline_name", "All Product Lines");//$NON-NLS-1$ //$NON-NLS-2$
report.getParameterValues().put("time_stop", "2005-05-31");//$NON-NLS-1$ //$NON-NLS-2$
report.getParameterValues().put("time_start", "2005-01-01");//$NON-NLS-1$ //$NON-NLS-2$
XmlDebugReportUtil.createFlowTable(report, outputFilename);
// Comparing the File just generated with the golden version
DetailedDiff myDiff = new DetailedDiff(compareXML(readFileAsString(inputFileName),
readFileAsString(outputFilename)));
allDifferences = myDiff.getAllDifferences();
if (myDiff != null && myDiff.toString() != null) {
FileOutputStream outputStream = new FileOutputStream(logFile);
outputStream.write(myDiff.toString().getBytes());
outputStream.flush();
outputStream.close();
}
// Done!
System.err.println("Done!");//$NON-NLS-1$