use of net.sf.dynamicreports.jasper.builder.JasperReportBuilder in project hmftools by hartwigmedical.
the class PDFWriterTest method canGeneratePostDNAIsolationFailReport.
@Test
public void canGeneratePostDNAIsolationFailReport() throws DRException, IOException {
final JasperReportBuilder report = generateNotSequenceableCPCTReport(0.6, NotSequenceableReason.POST_ISOLATION_FAIL);
assertNotNull(report);
if (SHOW_AND_PRINT) {
report.show().print();
}
if (WRITE_TO_PDF) {
report.toPdf(new FileOutputStream(REPORT_BASE_DIR + File.separator + "hmf_post_dna_isolation_fail_report.pdf"));
}
}
Aggregations