@Test public void testEmptyPdfCounterRequestContext() throws IOException, DocumentException { final ByteArrayOutputStream output = new ByteArrayOutputStream(); final PdfDocumentFactory pdfDocumentFactory = new PdfDocumentFactory(TEST_APP, null, output); final Document document = pdfDocumentFactory.createDocument(); document.open(); final PdfCounterRequestContextReport report = new PdfCounterRequestContextReport( Collections.<CounterRequestContext> emptyList(), Collections.<PdfCounterReport> emptyList(), Collections.<ThreadInformations> emptyList(), true, pdfDocumentFactory, document); report.toPdf(); report.setTimeOfSnapshot(System.currentTimeMillis()); report.writeContextDetails(); assertNotNull("PdfCounterRequestContextReport", report); }
public void toPdf() throws IOException { try { document.open(); pdfCoreReport.toPdf(); } catch (final DocumentException e) { throw createIOException(e); } document.close(); }
PdfReport { public void toPdf() throws IOException { try { document.open(); pdfCoreReport.toPdf(); } catch (final DocumentException e) { throw createIOException(e); } document.close(); } }
PdfReport { public void toPdf() throws IOException { try { document.open(); pdfCoreReport.toPdf(); } catch (final DocumentException e) { throw createIOException(e); } document.close(); } PdfReport(Collector collector, boolean collectorServer,
			List<JavaInformations> javaInformationsList, Range range, OutputStream output);  PdfReport(Collector collector, boolean collectorServer,
			List<JavaInformations> javaInformationsList, Period period, OutputStream output); }
PdfReport { public void toPdf() throws IOException { try { document.open(); pdfCoreReport.toPdf(); } catch (final DocumentException e) { throw createIOException(e); } document.close(); } PdfReport(Collector collector, boolean collectorServer,
			List<JavaInformations> javaInformationsList, Range range, OutputStream output);  PdfReport(Collector collector, boolean collectorServer,
			List<JavaInformations> javaInformationsList, Period period, OutputStream output); static String getFileName(String application); static boolean shouldUseEnglishInsteadOfUkrainian(); void toPdf(); void preInitGraphs(Map<String, byte[]> newSmallGraphs,
			Map<String, byte[]> newSmallOtherGraphs, Map<String, byte[]> newLargeGraphs); void setCounterRange(Range counterRange); void setCurrentRequests(List<CounterRequestContext> currentRequests); void close(); }
PdfReport { public void toPdf() throws IOException { try { document.open(); pdfCoreReport.toPdf(); } catch (final DocumentException e) { throw createIOException(e); } document.close(); } PdfReport(Collector collector, boolean collectorServer,
			List<JavaInformations> javaInformationsList, Range range, OutputStream output);  PdfReport(Collector collector, boolean collectorServer,
			List<JavaInformations> javaInformationsList, Period period, OutputStream output); static String getFileName(String application); static boolean shouldUseEnglishInsteadOfUkrainian(); void toPdf(); void preInitGraphs(Map<String, byte[]> newSmallGraphs,
			Map<String, byte[]> newSmallOtherGraphs, Map<String, byte[]> newLargeGraphs); void setCounterRange(Range counterRange); void setCurrentRequests(List<CounterRequestContext> currentRequests); void close();  }