org.easetech.easytest.reports.impl
Class ReportBuilder

java.lang.Object
  extended by org.easetech.easytest.reports.impl.ReportBuilder

public class ReportBuilder
extends Object

This class prepares all the data before being offered to be processed by the ReportRunner

Author:
gpcmol

Nested Class Summary
static class ReportBuilder.REPORT_TYPES
           
 
Constructor Summary
ReportBuilder(ReportDataContainer reportDataContainer)
          Constructor
 
Method Summary
 net.sf.jasperreports.engine.JRDataSource buildTestReport(Map<String,Object> reportParameters)
          Produces the main test datasource, which will be displayed in the details band of the report
 ReportTotalsBean createTestClassSummary(List<ReportTotalsBean> testReportTotalsList)
          Produces the summary of the test class with statistics about totals (passed/failed/exception etc.)
 ReportTotalsBean createTestMethodSummary(List<TestResultBean> testResultBeans)
          Produces the summary of the test methed with statistics about totals (passed/failed/exception etc.)
 void createTestReportSummaryGraphs(ReportTotalsBean reportTotalsBean)
          Produces the graphs of the totals for the test report
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportBuilder

public ReportBuilder(ReportDataContainer reportDataContainer)
Constructor

Parameters:
reportDataContainer -
Method Detail

buildTestReport

public net.sf.jasperreports.engine.JRDataSource buildTestReport(Map<String,Object> reportParameters)
Produces the main test datasource, which will be displayed in the details band of the report


createTestMethodSummary

public ReportTotalsBean createTestMethodSummary(List<TestResultBean> testResultBeans)
Produces the summary of the test methed with statistics about totals (passed/failed/exception etc.)


createTestClassSummary

public ReportTotalsBean createTestClassSummary(List<ReportTotalsBean> testReportTotalsList)
Produces the summary of the test class with statistics about totals (passed/failed/exception etc.) This is all the summary of the test methods accumulated


createTestReportSummaryGraphs

public void createTestReportSummaryGraphs(ReportTotalsBean reportTotalsBean)
Produces the graphs of the totals for the test report



Copyright © 2013. All Rights Reserved.