Package com.google.test.metric.report

Examples of com.google.test.metric.report.ReportGenerator


          maxExcellentCost, maxAcceptableCost, maxClassesInReport, -1, -1, printDepth, -1, "", "");
      SourceLoader sourceLoader = new SourceLoader(classPath);

      AnalysisModel analysisModel = new AnalysisModel(issuesReporter);
      ReportModel reportModel = new HtmlReportModel(costModel, analysisModel, options);
      ReportGenerator report = new ReportGeneratorProvider(classPath, options,
          reportStream, hypotheticalCostModel, ReportFormat.html).build(costModel, reportModel, sourceLoader);

      new JavaTestabilityRunner(report, classPath, classRepository, computer, allJavaPackages, whitelist, errorStream).run();

      boolean runningInCompilationMode = configuration.getAttribute(
View Full Code Here


    BeansWrapper objectWrapper = new DefaultObjectWrapper();
    cfg.setObjectWrapper(objectWrapper);
    ResourceBundleModel bundleModel = new ResourceBundleModel(getBundle("messages"),
        objectWrapper);

    ReportGenerator report;
    switch (reportFormat) {
      case summary:
        report = new TextReportGenerator(out, costModel, options);
        break;
      case html:
View Full Code Here

      TestabilityExplorerMojo mojo,
      ReportFormat requestedFormat) {
    if (requestedFormat == ReportFormat.html) {
      return requestedReportProvider.get();
    }
    ReportGenerator htmlReportGenerator =
        new ReportGeneratorProvider(classPath, options, getOutput(mojo, ReportFormat.html),
            hypotheticalCostModel, ReportFormat.html).get();

    return new MultiReportGenerator(htmlReportGenerator, requestedReportProvider.get());
  }
View Full Code Here

TOP

Related Classes of com.google.test.metric.report.ReportGenerator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.