Main Reporting Task
(MGNLMIGRATION-106)
|
|
| Status: | Closed |
| Project: | Migration 4.4 to 4.5 (closed) |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.2 |
| Type: | Sub-task | Priority: | Neutral |
| Reporter: | Jozef Chocholacek | Assignee: | Jozef Chocholacek |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Date of First Response: |
| Comments |
| Comment by Jozef Chocholacek [ 26/Oct/12 ] |
|
generator is now able to produce single HTML page report as well as the ZIPped set of one-page-per-[module|task|script|component] reports. |
| Comment by Jan Haderka [ 02/Dec/12 ] |
60 * The default implementation of the ReportGenerator. I think any user will figure that info out from the name of the class - DefaultReportGenerator. What they need more is info on how this generator provides its output, or what special settings it needs to work. + // commented out due to Hudson
+ // FileUtils.writeStringToFile(new File("/Users/jchocholacek/tmp/report/report.html"), report);
+
+ // commented out due to Hudson
+ // FileOutputStream out = new FileOutputStream("/Users/jchocholacek/tmp/report/report.zip");
+ // assertNotNull(out);
+ // ZipOutputStream zip = generator.getZippedReport(out);
+ // zip.close();
rather then commenting out tests you should create normal temp file and write your report there. There is method File.createTempFile() you can use. |
| Comment by Jozef Chocholacek [ 03/Dec/12 ] |
|
JavaDoc improved, started to use temp files in test |