/** * Default constructor. * * @param reportName the name of the report to export. * @param messages the resource bundles with messages to display as labels in * the generated report. * @param exporter the exporter that knows the format of the file to be * written. * @param exportIndices the indices to created. */ protected AbstractOutputManager(final String reportName, final MessageHelper messages, final AbstractReportExporter exporter, final List<ExportIndex> exportIndices) { this.reportName = reportName; this.messages = messages; this.exporter = exporter; this.testDocs = new TreeSet<UnitTestDoc>(exporter.getTestDocHelper() .getUnitTestDocComparator()); for (final ExportIndex exportIndex : exportIndices) { index.addIndex(exportIndex); } }
/** * Default constructor. * * @param reportName the name of the report to export. * @param messages the resource bundles with messages to display as labels in * the generated report. * @param exporter the exporter that knows the format of the file to be * written. * @param exportIndices the indices to created. */ protected AbstractOutputManager(final String reportName, final MessageHelper messages, final AbstractReportExporter exporter, final List<ExportIndex> exportIndices) { this.reportName = reportName; this.messages = messages; this.exporter = exporter; this.testDocs = new TreeSet<UnitTestDoc>(exporter.getTestDocHelper() .getUnitTestDocComparator()); for (final ExportIndex exportIndex : exportIndices) { index.addIndex(exportIndex); } }